Bartek Iwańczuk
47e8deeaf7
chore: add info about DENO_FUTURE_CHECK env var to --help ( #14267 )
2022-04-13 13:59:53 +02:00
Nayeem Rahman
4d18f558e4
feat(ext/web): Add error events for event listener and timer errors ( #14159 )
...
- feat: Add handleable error event for even listener errors
- feat: Add handleable error event for setTimeout()/setInterval() errors
- feat: Add Deno.core.destructureError()
- feat: Add Deno.core.terminate()
- fix: Don't throw listener errors from dispatchEvent()
- fix: Use biased mode when selecting between mod_evaluate() and
run_event_loop() results
2022-04-13 11:50:57 +02:00
Aaron O'Mullan
d621ce1cf0
fix(serde_v8): more robust number deserialization ( #14216 )
...
Fixes #14128
2022-04-12 14:36:21 +02:00
Bartek Iwańczuk
c8313a7457
feat(test): Improve testing report output ( #14255 )
...
Following changes were done in this commit:
- remove "test" prefix before each test
- use gray color for "running N tests from ..." prompt
- use relative path or remote URL instead of full URL in "running N tests from ..." prompt
- in "failures" section, add file path/remote URL before the test name
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2022-04-11 18:27:17 +02:00
Bartek Iwańczuk
c154ac5168
chore: use local copy of std in tools/bench/ scripts ( #14251 )
2022-04-11 11:46:23 +02:00
Ryan Dahl
1892612438
refactor: improve help text ( #14249 )
2022-04-11 01:01:02 -04:00
Bartek Iwańczuk
8ae17026cb
feat: Add "deno check" subcommand for type checking ( #14072 )
...
This commit adds new "deno check" subcommand.
Currently it is an alias for "deno cache" with the difference that remote
modules don't emit TS diagnostics by default.
Prints warning for "deno run" subcommand if "--check" flag is not present
and there's no "--no-check" flag. Adds "DENO_FUTURE_CHECK" env
variable that allows to opt into new behavior now.
2022-04-11 01:12:51 +02:00
David Sherret
a4eee007ef
chore: update release instructions based on 1.20.5 release ( #14239 )
2022-04-08 12:32:25 -04:00
David Sherret
a4c1e1bdcf
fix: upgrade to swc_ecmascript 0.143 ( #14238 )
2022-04-08 12:31:47 -04:00
Arthur Lafrance
e411747e24
feat(repl): Don't type check when importing modules ( #14112 )
2022-04-08 13:51:01 +02:00
Aaron O'Mullan
f5f7b56aca
refactor(core): OpCtx ( #14228 )
2022-04-08 10:32:48 +02:00
David Sherret
b2aaf708ab
chore: forward v1.20.5 release commit to main ( #14232 )
2022-04-07 14:40:20 -04:00
EduM22
181e378032
fix(ext/crypto): check extractable in exportKey ( #14222 )
2022-04-07 18:28:56 +05:30
Valentin Anger
b8d66a683a
fix(cli/install): preserve compat flag ( #14223 )
2022-04-06 16:54:12 -04:00
Yongwook Choi
0df1854249
feat(test): Add "name", "origin" and "parent" to "Deno.TestContext" ( #14007 )
...
This commit adds following fields to "Deno.TestContext" interface:
- name
- origin
- parent
These are prerequisites for supporting snapshot functionality in
"std/testing".
2022-04-06 16:51:38 +02:00
David Sherret
e33329b47e
chore(ci): automatically open PR to forward patch release back to main ( #14180 )
2022-04-04 14:56:29 -04:00
David Sherret
fcd986875a
chore(ci): update deno_std release steps ( #14178 )
2022-04-04 09:37:54 -04:00
Divy Srivastava
995d1666ff
chore(ext/websocket): custom arity ( #14202 )
2022-04-04 15:19:50 +05:30
Divy Srivastava
cc49b5e0d8
chore(ext/http): custom arity ( #14200 )
2022-04-04 15:19:35 +05:30
Divy Srivastava
6bb555b549
chore(ext/broadcast_channel): custom arity ( #14199 )
2022-04-04 15:18:29 +05:30
Divy Srivastava
797cf9cdd9
chore(ext/webstorage): custom arity ( #14201 )
2022-04-04 15:07:26 +05:30
Divy Srivastava
1f7dd5eda9
chore(ext/url): cleanup url ops ( #14177 )
2022-04-03 18:12:38 +05:30
Jason
a6e4b4297d
refactor(lsp): migrate from lspower back to tower-lsp ( #14163 )
2022-04-03 14:17:30 +10:00
Bartek Iwańczuk
6c25b5135d
chore: update tokio, tokio-util and libc dependencies ( #14174 )
2022-04-02 19:54:40 +02:00
David Sherret
c0ee027d34
chore(ci): automatically include releases notes in release draft ( #14179 )
2022-04-02 11:25:12 -04:00
Aaron O'Mullan
94885bc293
experiment(serde_v8): derive_more enabled opaque wrappers ( #14096 )
2022-04-02 14:37:11 +02:00
Aaron O'Mullan
13b9fc9304
feat(serde_v8): DetachedBuffer ( #14102 )
2022-04-02 13:35:57 +02:00
Aaron O'Mullan
4b33dd887e
cleanup(serde_v8): simpler ZeroCopyBuf ( #14095 )
2022-04-02 00:10:42 +02:00
Aaron O'Mullan
25b6b2ed66
feat(ops): #[op(unstable)] ( #14124 )
2022-04-02 00:09:21 +02:00
David Sherret
1535fdd949
chore: fix main ( #14175 )
2022-04-01 11:49:16 -04:00
David Sherret
1c37ac3352
chore(tests): use custom temp dir creation for the tests ( #14153 )
2022-04-01 11:15:37 -04:00
David Sherret
8ca4c1819f
chore(ci): fix Releases.md creation and tag name ( #14166 )
2022-04-01 11:11:53 -04:00
David Sherret
7fec7c834c
1.20.4 ( #14168 )
2022-03-31 15:48:35 -04:00
Divy Srivastava
b0f974fbfd
fix(compile): follow redirects when resolving ( #14161 )
2022-03-31 14:11:30 +05:30
David Sherret
1d24b2cf63
chore: disable wgpu tests in WSL ( #14157 )
2022-03-30 20:56:28 -04:00
David Sherret
d069360c46
chore(tests): add more lsp tests for formatting ( #14155 )
2022-03-30 18:44:47 -04:00
David Sherret
5cab3e7dba
build: use workflows for bumping versions and cargo publishing on the CI ( #13995 )
2022-03-30 16:37:00 -04:00
David Sherret
f61b2c0b11
chore: add semi-colon to compat/mod.rs export default output ( #14154 )
2022-03-30 14:57:13 -04:00
Kitson Kelly
061090de7e
feat(lsp): add experimental testing API ( #13798 )
...
Ref: denoland/vscode_deno#629
2022-03-30 09:59:27 +11:00
David Sherret
4a0b2c28a1
chore(ci): fix lsp bench due to notification that was accidentally added ( #14148 )
2022-03-29 17:28:55 -04:00
TrickyPi
85e16a08c7
feat(cli/fmt): ignore .git folder when formatting files ( #14138 )
2022-03-29 14:57:42 -04:00
David Sherret
03c71a8b4a
chore: upgrade dprint-core to 0.54.1 ( #14146 )
2022-03-29 13:33:00 -04:00
Andreu Botella
d983b577bc
chore(wasm): Don't await on the argument to handleWasmStreaming
( #14000 )
...
`handleWasmStreaming` is the function that provides the binding with
the `fetch` API needed for `WebAssembly.instantiateStreaming()` and
`WebAssembly.compileStreaming()`. When I implemented it in #11200 , I
thought V8 was calling these functions with the argument of the
`WebAssembly` streaming functions, without doing any resolving, and so
`handleWasmStreaming` awaits for the parameter to resolve. However,
as discovered in
https://github.com/denoland/deno/issues/13917#issuecomment-1065805565 ,
V8 does in fact resolve the parameter if it's a promise (and handles
rejections arising from that).
This change removes the `async` IIFE inside `handleWasmStreaming`,
letting initial errors be handled synchronously (which will however
not throw synchronously from the `WebAssembly` namespace functions).
Awaiting is still necessary for reading the bytes of the response,
though, and so there is an `async` IIFE for that.
2022-03-29 14:44:33 +02:00
ichizok
f7ce96ea6e
fix(runtime/ops/signal.rs): Add Solaris signals ( #13931 )
2022-03-29 04:00:20 +02:00
Bartek Iwańczuk
381d565acf
refactor(flags): rename CheckFlag to TypecheckMode ( #14111 )
2022-03-29 03:48:29 +02:00
Kitson Kelly
5a6a1eeb39
feat(lsp): support API for config file ( #14139 )
...
Closes: #13910
2022-03-29 11:27:43 +11:00
David Sherret
89dd5dac62
chore: fix compile_windows_ext test ( #14142 )
2022-03-28 14:38:15 -04:00
David Sherret
35cdf4926d
chore: update dprint internally to 0.24.1 ( #14141 )
2022-03-28 12:07:14 -04:00
David Sherret
af473ce15c
fix(task): handle PATHEXT
with trailing semi-colon ( #14140 )
2022-03-28 12:02:21 -04:00
Nayeem Rahman
317f13b63f
fix(ext/fetch): extend deprecated fetch() overload with string | Request
( #14134 )
2022-03-28 12:35:48 +02:00