Nayeem Rahman
330c820ae8
BREAKING(unstable): Enable Deno namespace in workers by default ( #14581 )
...
This commit removes "WorkerOptions.deno" option as a boolean,
as well as "WorkerOptions.deno.namespace" settings. Starting
with this commit all workers have access to "Deno" namespace
by default.
2022-05-17 22:27:17 +02:00
Bartek Iwańczuk
f57aac77ff
BREAKING: Remove unstable Deno.emit and Deno.formatDiagnostics APIs ( #14463 )
2022-05-17 13:50:31 -04:00
Divy Srivastava
68bf43fca7
feat(core): deterministic snapshots ( #14037 )
2022-05-17 20:49:55 +05:30
Bartek Iwańczuk
d76acfdc17
fix: base64 encoding of source maps with emojis ( #14607 )
...
This commit fixes source maps for files that contain emojis.
This is done by updating "deno_ast" to "0.14.1" for the case
of "--no-check" flag (ie using SWC emit) and by overriding
TSC's default base64 encoder (which turned out to be buggy)
for the type checking case.
2022-05-17 16:59:35 +02:00
Aaron O'Mullan
037e46bb51
fix(ext/http): skip auto-compression if content-encoding present ( #14641 )
...
Regression from #14552
2022-05-17 14:02:45 +02:00
Bartek Iwańczuk
8af81d98a6
feat(lsp): enable linting by default ( #14583 )
2022-05-16 13:10:08 +02:00
Craig Morten
10a68a5635
feat(ext/net): add CAA
DNS record support in Deno.resolveDns() API ( #14624 )
2022-05-16 11:20:41 +02:00
David Sherret
eb5ffab1cb
fix(lsp): correct positions in some scenarios ( #14359 )
2022-05-15 14:41:37 -04:00
Craig Morten
c9e9265c3e
feat(ext/net): support NAPTR records in Deno.resolveDns() API ( #14613 )
2022-05-15 17:42:02 +02:00
Bartek Iwańczuk
45ee727412
chore: remove some unstable props ( #14618 )
2022-05-15 17:19:26 +02:00
Craig Morten
38e0a2ec1b
feat(ext/net): support full SOA
record interface ( #14617 )
2022-05-15 16:43:08 +02:00
Leo Kettmeir
b08b1da6f4
Revert "refactor(runtime): change from signal_str_to_int function to enum ( #14539 )" ( #14606 )
...
This reverts commit c496639d5d
.
2022-05-15 05:57:09 +02:00
Leo Kettmeir
c496639d5d
refactor(runtime): change from signal_str_to_int function to enum ( #14539 )
2022-05-14 14:10:39 +02:00
Thanapat Chotipun
bd4256262a
feat(ext/net): add support for SOA records in Deno.resolveDns() API ( #14534 )
2022-05-14 14:08:35 +02:00
randomicon00
f82a79ffdb
feat: add userAgent property to Navigator's prototype ( #14415 )
2022-05-14 12:00:02 +02:00
Geert-Jan Zwiers
0568be863b
feat(ext/web): add performance.toJSON ( #14548 )
2022-05-13 18:36:00 +02:00
Bartek Iwańczuk
939a070c8c
feat: add --no-config flag ( #14555 )
...
This flag disables loading of configuration file, ie. it will not be
automatically discovered and loaded. Of course this flag conflicts
with "--config" flag and they cannot be used together.
2022-05-13 17:40:50 +02:00
Bartek Iwańczuk
b543e84b39
chore: update test_util/std/ submodule ( #14595 )
2022-05-13 17:08:02 +02:00
Andy Kurnia
42fec5150e
fix(ext/http): make serveHttp compress for Accept-Encoding: deflate, gzip ( #14525 )
2022-05-13 14:10:05 +02:00
Andreu Botella
3e7afb8918
chore(runtime): Make some ops in ext and runtime infallible. ( #14589 )
...
Co-authored-by: Aaron O'Mullan <aaron.omullan@gmail.com>
2022-05-13 10:36:31 +02:00
Luca Casonato
0ee76da07b
chore: update to rust 1.60.0 & update Cargo.lock ( #14260 )
...
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
Co-authored-by: Aaron O'Mullan <aaron.omullan@gmail.com>
2022-05-13 01:12:55 +02:00
Bert Belder
89b428234c
1.21.3 ( #14584 )
2022-05-12 18:43:00 +02:00
David Sherret
e6142fafba
chore: fix flaky integration::test::pass test ( #14571 )
2022-05-11 18:05:54 -04:00
David Sherret
e6d8775611
chore: fix flaky lsp_testing_api test ( #14569 )
2022-05-11 15:44:15 -04:00
David Sherret
2da868bb4c
fix(task): accept double hyphen arg immediately following task name ( #14567 )
2022-05-11 12:58:35 -04:00
David Sherret
0ea6b51bf0
fix: stdout and stderr encoding on Windows ( #14559 )
2022-05-11 12:48:38 -04:00
Leo Kettmeir
b67f874b3f
feat(runtime/spawn): add AbortSignal
support ( #14538 )
2022-05-11 07:59:39 +02:00
David Sherret
e3f4b02f48
fix: do not panic on TestOutputPipe::flush
when receiver dropped ( #14560 )
2022-05-10 17:59:35 -04:00
David Sherret
abf72c5b37
chore: fix flaky steps_output_within - part 2 ( #14562 )
2022-05-10 16:24:37 -04:00
Nayeem Rahman
cb884de2e9
fix(runtime/web_worker): Use biased select when getting module result ( #14553 )
2022-05-10 11:26:57 +02:00
Mark Ladyshau
6f082f9d66
feat(cli): add deno version to manual links ( #14505 )
2022-05-09 20:16:34 +02:00
Bartek Iwańczuk
d4ad2b809c
feat(test): repeat test name if there's user output ( #14495 )
...
This commit changes test report output to repeat test name
before printing result, but only if there's user output, denoted
by markers.
2022-05-09 13:25:04 +02:00
Nayeem Rahman
23efc4fcab
feat(test): Represent uncaught errors ( #14513 )
...
This commit adds better reporting of uncaught errors
in top level scope of testing files. This change affects
both console runner as well as LSP runner.
2022-05-09 11:44:50 +02:00
Bartek Iwańczuk
ab728e9ccf
feat(test): change "failures:" headers in test report ( #14490 )
2022-05-09 10:56:13 +02:00
Aaron O'Mullan
d0f5cd6a06
fix(core): avoid panic on non-string Error.name ( #14529 )
...
Fixes #14518
2022-05-08 23:03:00 +02:00
Bartek Iwańczuk
bcd875030a
refactor(core): add AssertedModuleType enum ( #14501 )
...
Co-authored-by: Luca Casonato <hello@lcas.dev>
2022-05-07 18:46:35 +02:00
Geert-Jan Zwiers
dd1d6a0f67
feat(web): add performance.timeOrigin
( #14489 )
...
Add support for the `performance.timeOrigin` web API.
Co-authored-by: Jovi De Croock <decroockjovi@gmail.com>
2022-05-06 19:37:18 +02:00
Colin Ihrig
23c77df664
1.21.2 ( #14508 )
...
1.21.2
2022-05-05 19:37:27 -04:00
Bartek Iwańczuk
45a4d75296
refactor(core): use Box<u8> for ModuleSource.code instead of a String ( #14487 )
2022-05-05 13:16:25 +02:00
Luca Casonato
242273e69b
chore: update deps ( #14416 )
2022-05-05 12:41:59 +02:00
Nayeem Rahman
ca134d25e1
feat(test): Show Deno.test() call locations for failures ( #14484 )
2022-05-05 01:15:54 +02:00
Nayeem Rahman
6a21fe745a
test: Manually truncate path string ( #14407 )
2022-05-05 01:13:00 +02:00
David Sherret
d79a869ee6
chore: fix flaky steps_output_within
test ( #14479 )
2022-05-04 17:01:51 -04:00
Divy Srivastava
fb390c5701
fix(ext/http): explicitly close resource after reading ( #14471 )
2022-05-04 20:09:15 +05:30
Geert-Jan Zwiers
253fbf9d2a
fix(coverage): exclude .snap files ( #14480 )
2022-05-04 13:10:55 +02:00
Thanapat Chotipun
e3954df8c5
feat(ext/net): add "NS" record support in Deno.resolveDns API ( #14372 )
2022-05-03 20:04:20 +02:00
Bartek Iwańczuk
3f08a40412
refactor: add core.formatLocationFilename, remove op_format_filename ( #14474 )
...
This commit moves "op_format_location" to "core/ops_builtin.rs"
and removes "Deno.core.createPrepareStackTrace" in favor of
"Deno.core.prepareStackTrace".
Co-authored-by: Aaron O'Mullan <aaron.omullan@gmail.com>
2022-05-03 19:45:57 +02:00
Bartek Iwańczuk
5ddb83a4c2
BREAKING: Remove unstable Deno.applySourceMap API ( #14473 )
2022-05-03 18:44:05 +02:00
Adilson Schmitt Junior
256dcb058a
fix(test/bench): accept file protocol module specifier CLI args ( #14429 )
2022-05-02 15:43:03 -04:00
David Sherret
66b9187a2d
feat(unstable/task): resolve the current executable for the deno command ( #14462 )
...
Closes #14427
2022-05-02 12:25:10 -04:00