Nayeem Rahman
5e0836d4d8
refactor(lsp): changes for lsp_types 0.97.0 ( #25169 )
2024-08-29 15:34:31 +02:00
David Sherret
8309e8b725
fix: handle showing warnings while the progress bar is shown ( #25187 )
2024-08-29 15:34:26 +02:00
Divy Srivastava
58edc634f9
fix(ext/crypto): throw DataError for invalid EC key import ( #25181 )
...
Fixes https://github.com/denoland/deno/issues/20931
2024-08-29 15:34:21 +02:00
Divy Srivastava
37fa0e0f48
fix(ext/node): import JWK octet key pairs ( #25180 )
...
Ref https://github.com/denoland/deno/issues/24129
`kty: "okp"` is defined in
[rfc8037](https://www.rfc-editor.org/rfc/rfc8037.html )
2024-08-29 15:34:14 +02:00
Yusuke Tanaka
5b0d5b2e6b
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-29 15:34:09 +02:00
Yusuke Tanaka
bf1328bd29
chore(ext/node): bump minimum required version of dsa
to 0.6.3 ( #25154 )
...
This commit bumps the minimum required version of `dsa` crate to 0.6.3.
This is preferable because `SigningKey::sign_prehashed_rfc6979` function
we use in `deno_node` is available from this version.
Ref: [dsa's CHANGELOG.md](132b046314/dsa/CHANGELOG.md (063-2024-01-28)
)
2024-08-29 15:34:04 +02:00
Nathan Whitaker
1a1a7afbff
fix(install): Use relative symlinks in deno install ( #25164 )
...
Fixes https://github.com/denoland/deno/issues/25161
2024-08-29 15:33:59 +02:00
Kenta Moriuchi
168f1a5caa
chore: update config-file.v1.json ( #25163 )
2024-08-29 15:33:54 +02:00
David Sherret
a3f788d5f4
refactor: remove unused AllowAllNodePermissions ( #25159 )
2024-08-29 15:33:49 +02:00
David Sherret
58a4cde39d
chore(build): deno_kv - remove dep on deno_node ( #25158 )
...
This will help with build perf a bit.
2024-08-29 15:33:44 +02:00
denobot
de11ff8c55
1.46.1 ( #25153 )
2024-08-22 07:18:55 -07:00
Luca Casonato
2eeb37beb4
fix: trim space around DENO_AUTH_TOKENS ( #25147 )
...
(cherry picked from commit e7026c5ee8
)
2024-08-22 15:29:52 +02:00
Leo Kettmeir
9c23c52e4f
fix(urlpattern): fallback to empty string for undefined group values ( #25151 )
...
This change was introduced in #24741 , but due to the change in
behaviour, we will revert it and re-introduce it in 2.0
(cherry picked from commit 9bc7de9b13
)
2024-08-22 15:29:50 +02:00
Caleb Lloyd
1b6af339bb
fix(ext/node): http2session ready state ( #25143 )
...
Fixes #25142
Signed-off-by: Caleb Lloyd <caleblloyd@gmail.com>
(cherry picked from commit 79c7db3952
)
2024-08-22 15:29:47 +02:00
Divy Srivastava
1bafcf538e
fix(ext/node): register node:wasi
built-in ( #25134 )
...
Fixes https://github.com/denoland/deno/issues/23531
(cherry picked from commit 2531204a34
)
2024-08-22 15:29:42 +02:00
denobot
3314a0ceb8
1.46.0 ( #25139 )
...
Bumped versions for 1.46.0
Co-authored-by: bartlomieju <bartlomieju@users.noreply.github.com>
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2024-08-22 02:16:45 +02:00
David Sherret
32a579d418
fix(fmt/markdown): metadata header sometimes missing trailing blank line ( #25141 )
...
* https://github.com/dprint/dprint-plugin-markdown/pull/119
2024-08-22 02:16:00 +02:00
Bartek Iwańczuk
777e7eaa81
feat: Upgrade V8 to 12.9 ( #25138 )
2024-08-21 22:33:21 +00:00
Nathan Whitaker
48da3c17ea
fix(add): Handle packages without root exports ( #25102 )
...
Fixes #24607 .
This PR makes the logic that caches top level dependencies (things
present in import map) smarter, so we handle JSR dependencies without
root exports.
2024-08-21 15:23:32 -07:00
Divy Srivastava
9aaad3064a
fix(ext/websocket): unhandled close rejection in WebsocketStream ( #25125 )
...
Fixes https://github.com/denoland/deno/issues/25077
2024-08-21 23:00:23 +02:00
Nayeem Rahman
c22ff197db
fix(lsp): resolve jsx import source with types mode ( #25064 )
2024-08-21 20:00:23 +01:00
David Sherret
1d4169204c
fix: warn about import assertions when using typescript ( #25135 )
...
1. On emit, checks for the prescence of import assertions.
1. Warns and doesn't store the parsed source in the emit cache in this
case.
2024-08-21 17:12:56 +00:00
Divy Srivastava
e2c50f7e8a
fix(upgrade): better error message when check_exe fails ( #25133 )
...
Fixes https://github.com/denoland/deno/issues/24971
Fixes the panic. We can give a more personalized error by checking the
macOS version but probably not worth the effort.
2024-08-21 19:55:17 +05:30
Nayeem Rahman
76990df6fa
chore(lsp): use 'install' terminology for jsr and npm packages ( #25119 )
2024-08-21 15:10:28 +01:00
Leo Kettmeir
7139337083
feat(flags): improve help output and make deno run
list tasks ( #25108 )
...
- rewrite flag help
- use gray for indentation
- reorganize permission flags and split them up
- make help subcommand act like help flag
- `deno run` outputs list of tasks
- Fixes #25120
error handling for `deno run` in case of no config file being found
needs to be improved
---------
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2024-08-21 06:54:59 -07:00
Satya Rohith
e920835417
fix(ext/node): pass content-disposition header as string instead of bytes ( #25128 )
...
Closes https://github.com/denoland/deno/issues/25117
2024-08-21 10:13:17 +00:00
Nathan Whitaker
dd8a9c509f
fix: Don't panic if fail to handle JS stack frame ( #25122 )
2024-08-20 22:47:20 +00:00
David Sherret
f2668b3a0d
fix: deserialize lockfile v3 straight ( #25121 )
...
v4 is a somewhat lossy format and so we can't actually work with v3 by
upgrading to v4 and then downgrading.
2024-08-20 22:36:53 +00:00
seb
a3a54bc747
fix(ext/net): validate port in Deno.{connect,serve,listen} ( #24399 )
...
Co-authored-by: Will Leach <4619280+melbourne2991@users.noreply.github.com>
Co-authored-by: Luca Casonato <hello@lcas.dev>
Co-authored-by: David Sherret <dsherret@gmail.com>
2024-08-20 21:25:41 +00:00
David Sherret
37279e0b0a
fix(add): error when config file contains importMap field ( #25115 )
...
The "imports" field has higher precedence than "importMap", so we should
error when `deno add` goes to add an `"imports"` field.
Closes https://github.com/denoland/deno/issues/24264
Closes https://github.com/denoland/deno/pull/24478
2024-08-20 16:32:01 -04:00
David Sherret
a7c002ae63
chore: enable no-console dlint rule ( #25113 )
2024-08-20 15:14:37 -04:00
Nathan Whitaker
2f47b4d1fd
chore: Remove stray console.error
log in node:child_process
( #25111 )
...
Missed removing it before committing
2024-08-20 19:07:11 +00:00
Bartek Iwańczuk
7bfb93135d
chore(release): Release Deno v1.46.0-rc.3 ( #25112 )
2024-08-20 21:02:26 +02:00
Nayeem Rahman
acba2cd48c
fix(lsp): include scoped import map keys in completions ( #25047 )
2024-08-20 19:38:47 +01:00
Yazan AbdAl-Rahman
a7c8bb1596
feat: glob and directory support for deno check
and deno cache
cli arg paths ( #25001 )
...
Closes #24668
Closes #20813
---------
Co-authored-by: David Sherret <dsherret@gmail.com>
2024-08-20 18:38:06 +00:00
Bartek Iwańczuk
1f47248143
fix: adjust suggestion for lockfile regeneration ( #25107 )
...
Ref https://github.com/denoland/deno/pull/24436#issuecomment-2288568645
2024-08-20 20:13:17 +02:00
HasanAlrimawi
0704454755
feat: Print deprecation message for npm packages ( #24992 )
...
This commit adds ability to print deprecation notices
for npm packages that have been marked as deprecated.
Closes #24013
2024-08-20 19:53:53 +02:00
Nathan Whitaker
5168700be6
feat(config): Support frozen lockfile config option in deno.json ( #25100 )
...
Closes #24544
2024-08-20 14:55:47 +00:00
David Sherret
f1c58ec041
feat(unstable): ability to use a local copy of jsr packages ( #25068 )
2024-08-20 14:11:43 +00:00
Hajime-san
19bcb40059
feat(cli/tools): add a subcommand --hide-stacktraces
for test ( #24095 )
2024-08-20 01:27:36 +00:00
Yazan AbdAl-Rahman
4f49f703c1
fix(cli): update permission prompt message for compiled binaries ( #24081 )
...
Co-authored-by: David Sherret <dsherret@gmail.com>
2024-08-20 01:20:06 +00:00
melbourne2991
0eba180fdb
fix(repl): Prevent panic on broken pipe ( #21945 )
2024-08-20 00:21:12 +00:00
Bartek Iwańczuk
1c4db2aca9
chore(release): Release Deno v1.46.0-rc.2 ( #25101 )
2024-08-19 21:13:04 +00:00
Yazan AbdAl-Rahman
4285cb339d
fix(lint): support linting tsx/jsx from stdin ( #24955 )
...
Co-authored-by: David Sherret <dsherret@users.noreply.github.com>
2024-08-19 20:42:13 +00:00
Bartek Iwańczuk
b5051e25c2
feat: Deprecate "import assertions" with a warning ( #24743 )
...
This commit deprecates "import assertions" proposal that has been
replaced with "import attributes".
Any time an import assertion is encountered a warning will be printed
to the terminal. This warning will be printed for both local and
remote files (ie. user code and dependencies).
Import assertions support will be removed in Deno 2.
2024-08-19 22:36:35 +02:00
David Sherret
bf510544ef
chore: improve accessing special file test ( #25099 )
2024-08-19 16:21:27 -04:00
Bedis Nbiba
ee2b6899a1
fix: add permission name when accessing a special file errors ( #25085 )
2024-08-19 17:45:10 +00:00
Łukasz Czerniawski
0f2e47dd69
feat(watch): add watch paths to test subcommand ( #24771 )
2024-08-19 17:09:51 +00:00
David Sherret
c9edb15f15
fix(compile): make output more deterministic ( #25092 )
...
Closes https://github.com/denoland/deno/issues/25084
2024-08-19 16:41:11 +00:00
David Sherret
a20418e2e8
fix(fmt): regression with pipe in code blocks in tables ( #25098 )
2024-08-19 16:35:51 +00:00