Bartek Iwańczuk
55c22ee1bd
fix: panic when require(esm) ( #25769 )
...
Upgrades `deno_core`.
Closes https://github.com/denoland/deno/issues/25761
Closes https://github.com/denoland/deno/issues/25738
2024-09-20 23:16:10 +02:00
Pig Fang
20ed4f5718
feat(fmt): upgrade markup_fmt ( #25768 )
...
Fixes #25259
Fixes #25687
2024-09-20 21:11:34 +00:00
Divy Srivastava
1fb482863e
chore: update sui to 0.3.1 ( #25758 )
2024-09-20 14:32:15 +05:30
Bartek Iwańczuk
dad5678baa
v2.0.0-rc.4 ( #25728 )
2024-09-19 17:59:53 +02:00
Bartek Iwańczuk
c3bc692842
v2.0.0-rc.3 ( #25704 )
2024-09-18 23:21:45 +02:00
Luca Casonato
ab1e391e1d
feat(ext/node): add rootCertificates to node:tls ( #25707 )
...
Closes https://github.com/denoland/deno/issues/25604
Signed-off-by: Satya Rohith <me@satyarohith.com>
Co-authored-by: Satya Rohith <me@satyarohith.com>
2024-09-18 21:14:26 +02:00
Divy Srivastava
fd860260ad
feat(lint): add no-process-global
lint rule ( #25709 )
...
Closes https://github.com/denoland/deno/issues/25679
2024-09-18 20:50:42 +02:00
David Sherret
3dd83fdbdb
Revert "feat(fmt): sort type-only named import/exports last" ( #25705 )
...
Reverts #25690
This was not an issue with the ts compiler anymore. Discussion here:
https://github.com/dprint/dprint-plugin-typescript/pull/664#issuecomment-2357000053
2024-09-18 13:54:52 +00:00
Yazan AbdAl-Rahman
bed46474b2
fix: do not panic running invalid file specifier ( #25530 )
...
Co-authored-by: Bedis Nbiba <bedisnbiba@gmail.com>
2024-09-18 14:51:39 +01:00
Bartek Iwańczuk
48ea4e3c92
feat(check): turn on noImplicitOverride ( #25695 )
...
Closes https://github.com/denoland/deno/issues/11836
Ref https://github.com/denoland/deno/issues/25162
2024-09-18 14:49:30 +01:00
Asher Gomez
3731591762
chore: bump deno_lint
to 0.66.0 ( #25697 )
2024-09-18 01:48:37 +00:00
Divy Srivastava
b4faf60948
perf: fast path for cached dyn imports ( #25636 )
...
Ref https://github.com/denoland/deno_core/pull/906
2024-09-17 22:57:37 +05:30
David Sherret
a14e9f55b4
feat(fmt): sort type-only named import/exports last ( #25690 )
...
Closes #22583
2024-09-17 18:26:23 +01:00
Bartek Iwańczuk
aaf2bf4bfb
chore: upgrade deno_core ( #25674 )
...
No functional changes, just removes dead code.
2024-09-17 01:13:34 +00:00
David Sherret
8fe90d2861
fix(npm): better error handling for remote npm deps ( #25670 )
...
* https://github.com/denoland/deno_npm/pull/68
2024-09-16 21:23:40 +00:00
David Sherret
e47606a554
fix(lockfile): use loose deserialization for version constraints ( #25660 )
...
* https://github.com/denoland/deno_lockfile/pull/39
Closes https://github.com/denoland/deno/issues/25649
2024-09-16 15:29:21 +00:00
David Sherret
af2d992ecd
feat: TypeScript 5.6 and npm:@types/node@22
( #25614 )
2024-09-14 11:58:47 +01:00
Bartek Iwańczuk
57556ade8c
v2.0.0-rc.2 ( #25583 )
2024-09-12 03:20:45 +02:00
Luca Casonato
7bfcb4dd10
feat(cli): use NotCapable error for permission errors ( #25431 )
...
Closes #7394
---------
Co-authored-by: snek <snek@deno.com>
2024-09-10 11:12:24 -07:00
HasanAlrimawi
3f6afd1947
fix: update malva in deno to support astro css comments ( #25553 )
...
This PR addresses issue #25534
**Code Changes**
- Updated malva version to the latest in cli/Cargo.toml.
- Updated LanguageOptions to match new Malva config.
- Added test case same as the issue to assure changes success.
2024-09-10 12:54:43 +02:00
David Sherret
1e0ac609b5
BREAKING: remove deprecated files config ( #25535 )
...
The long form "files" config has been flattened into the parent.
Old:
```json
{
"test": {
"files": {
"include": ["**/*.ts"],
"exclude": ["ignore.ts"]
}
}
}
```
New:
```json
{
"test": {
"include": ["**/*.ts"],
"exclude": ["ignore.ts"]
}
}
```
This was deprecated some time ago, but we're removing it now in Deno
2.0.
Closes #25415
2024-09-09 16:33:09 +00:00
Pig Fang
3daab54612
fix(fmt): fix tabs in YAML ( #25536 )
...
Fixes #25176
2024-09-09 15:45:17 +00:00
Bartek Iwańczuk
30687c786c
feat: Update no-window lint rule ( #25486 )
...
Closes https://github.com/denoland/deno/issues/25323
2024-09-07 09:35:27 +00:00
Nathan Whitaker
51f5f5789b
feat(add): Add npm packages to package.json if present ( #25477 )
...
Closes https://github.com/denoland/deno/issues/25321
Ended up being a larger refactoring, since we're now juggling
(potentially) two config files in the same `add`, instead of choosing
one. I don't love the shape of the code, but I think it's good enough
Some smaller side improvements:
- `deno remove` supports `jsonc`
- `deno install --dev` will be a really simple change
- if `deno remove` removes the last import/dependency in the
`imports`/`dependencies`/`devDependencies` field, it removes the field
instead of leaving an empty object
2024-09-06 17:18:13 +00:00
Bartek Iwańczuk
6919f33216
2.0.0-rc.1 ( #25467 )
2024-09-05 18:34:42 +02:00
David Sherret
c678550a17
BREAKING: remove "emit" and "map" from deno info output ( #25468 )
...
The map field has been empty for years now and we don't want the emit
file to be exposed so it allows us to iterate on making the cache
faster. Additionally, it's racy/unreliable to rely on this information.
Instead, people should emit the TS files themselves using tools like
deno_emit, typescript, esbuild, etc.
Closes https://github.com/denoland/deno/issues/17703
2024-09-05 14:22:13 +00:00
David Sherret
15fce5b290
feat(check): turn on useUnknownInCatchVariables ( #25465 )
...
Part of #25162
Closes #11826
2024-09-05 15:22:31 +02:00
denobot
e27a19c02c
chore: forward v1.46.3 release commit to main ( #25425 )
...
This is the release commit being forwarded back to main for 1.46.3
2024-09-04 17:16:24 +00:00
David Sherret
07ad47da53
BREAKING(config): make supported compilerOptions an allow list ( #25432 )
...
Deno has been using a deny list, which doesn't make sense because a lot
of these options don't even work.
Closes #25363
2024-09-04 17:39:30 +02:00
Luca Casonato
13911eb8ef
chore(cli): remove deno_emit dependency ( #25427 )
2024-09-04 13:43:32 +00:00
dependabot[bot]
1ec911f173
build(deps): bump quinn-proto from 0.11.3 to 0.11.8 ( #25400 )
2024-09-04 09:20:46 +02:00
Leo Kettmeir
9a36b6fb04
fix(flags): require global flag for permission flags in install subcommand ( #25391 )
...
Also rewrites some of the subcommands help text
Closes https://github.com/denoland/deno/issues/25362
---------
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2024-09-03 12:40:50 -07:00
Bartek Iwańczuk
b9da6d0d00
v2.0.0-rc.0 ( #25316 )
...
Not strictly necessary, but bumping for good measure :))
2024-08-31 00:00:21 +02:00
David Sherret
f891e73bbf
refactor: remove DENO_FUTURE ( #25314 )
2024-08-30 21:58:24 +00:00
David Sherret
4a5642779e
fix: upgrade deno_ast 0.42 ( #25313 )
2024-08-30 17:12:13 -04:00
Nathan Whitaker
86d5b919d8
feat(config): Node modules option for 2.0 ( #25299 )
2024-08-29 15:57:43 -07:00
denobot
0fb8df6c0c
chore: forward v1.46.2 release commit to main ( #25296 )
...
This is the release commit being forwarded back to main for 1.46.2
2024-08-29 22:13:28 +02:00
Arnau Orriols
a4707f7f3a
chore: upgrade rusqlite ( #25289 )
2024-08-29 11:39:25 +02:00
Leo Kettmeir
055cdd00f7
fix: update deno_doc ( #25290 )
2024-08-29 02:34:43 -07:00
snek
01eb017ed4
fix: upgrade deno_core to 0.307.0 ( #25287 )
...
- fix for https://github.com/denoland/deno/issues/25160
- changes needed to land https://github.com/denoland/deno/pull/25140
2024-08-29 01:17:26 +00:00
David Sherret
3afa3db4d3
fix: delete old Deno 1.x headers file when loading cache ( #25283 )
2024-08-28 23:47:15 +00:00
David Sherret
b708a13eb0
feat: improve lockfile v4 to store normalized version constraints and be more terse ( #25247 )
...
Stores normalized version constraints in the lockfile, which will
improve reproducibility and will fix a bug with duplicate specifiers
ending up in the lockfile. Also, gets rid of some duplicate data in the
specifiers area of the lockfile.
2024-08-28 14:17:47 -04:00
Divy Srivastava
553bd7dec3
fix(ext/node): import EC JWK keys ( #25266 )
2024-08-28 19:54:49 +05:30
Divy Srivastava
3394c4df75
fix(ext/node): update aead-gcm-stream to 0.3 ( #25261 )
...
Fixes https://github.com/denoland/deno/issues/25260
Fixes https://github.com/denoland/deno/issues/25254
Fixes https://github.com/denoland/deno/issues/23693
Verified that `web-push` GCM decryption works in the browser. See
`aead-gcm-stream` changes
[here](a9ffd0c07c
)
2024-08-28 18:34:18 +05:30
David Sherret
c89a20b428
perf(cache): single cache file for remote modules ( #24983 )
...
This changes the global cache to store the cache file for remote modules
in one file instead of two.
2024-08-26 23:59:17 +00:00
David Sherret
e13230226f
feat: lockfile v4 by default ( #25165 )
...
This won't be fully stabilized until 2.0 is released.
2024-08-26 23:01:50 +00:00
David Sherret
631d931973
fix(fmt/markdown): fix regression with multi-line footnotes and inline math ( #25222 )
...
What happened in this specific case was the parser used to actually
treat these as code block. Now it treats it as a multi-paragraph
footnote and that caused the issue
- https://github.com/dprint/dprint-plugin-markdown/pull/121/files
2024-08-26 18:36:24 +00:00
Nayeem Rahman
2ab4afc6b8
refactor(lsp): changes for lsp_types 0.97.0 ( #25169 )
2024-08-24 01:21:21 +01:00
Yusuke Tanaka
d54d29662f
chore: enable log
feature for tracing crate ( #25078 )
...
This commit enables the `log` feature for the `tracing` crate.
This allows us to examine additional detailed logs emitted by third party crates
that use `tracing` crate for logging by setting `RUST_LOG` env var or passing
`-L` option in command line.
Closes #25045
2024-08-22 19:15:10 -07:00
David Sherret
641b52bac7
chore(build): deno_kv - remove dep on deno_node ( #25158 )
...
This will help with build perf a bit.
2024-08-22 14:45:20 -04:00