0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-02-12 16:59:32 -05:00
Commit graph

7414 commits

Author SHA1 Message Date
Luca Casonato
46b35a31ff
tests: re-generate WPT certificates (#14774) 2022-06-02 18:32:30 +02:00
James Bradlee
3896f6d130
feat(unstable): add Deno.getGid (#14528) 2022-06-02 17:45:51 +02:00
Geert-Jan Zwiers
81a8cc44cd
chore(docs): use cross-platform example in Deno.run jsdoc (#14754) 2022-06-02 17:45:45 +02:00
Nayeem Rahman
58f8edc833
refactor(bench): Allocate IDs for benches (#14757) 2022-06-02 17:45:39 +02:00
Bartek Iwańczuk
beef5a49c1
chore: update deprecated APIs docs (#14756) 2022-06-02 17:45:33 +02:00
David Sherret
efc6f7f96a
refactor: use deno_emit (#14737) 2022-06-02 17:45:26 +02:00
Andreu Botella
6fe724ce55
test(core): Test that sync ops return/throw objects in the right realm (#14750)
This behavior was introduced in #14019 but wasn't properly tested in
that PR.
2022-06-02 17:45:21 +02:00
Mark Ladyshau
938a550066
fix(cli/dts): add captureStackTrace to lib.dom.extras (#14748)
Fixes #14512
2022-06-02 17:45:16 +02:00
David Sherret
8defae8594
fix(scripts/release): add unstable flag when running ./tools/format.js (#14743) 2022-06-02 17:45:08 +02:00
denobot
6a71515397
1.22.1
Co-authored-by: Kitson Kelly <me@kitsonkelly.com>
2022-05-27 14:46:36 +10:00
Geert-Jan Zwiers
e3cc17e364
chore(serde_v8): throw error when string buffer exceeds v8 max length (#14588) 2022-05-27 11:24:50 +10:00
Mark Ladyshau
f54af8d08e
fix(core): rethrow exception during structured cloning serialization (#14671)
- Introduced optional callback for Deno.core.serialize API, that returns
cloning error if there is one.
- Removed try/catch in seralize structured clone function and throw error from
callback.
- Removed "Object with a getter that throws" assertion from WPT.
2022-05-27 11:24:41 +10:00
Bartek Iwańczuk
d41a90b4f9
chore: upgrade rusty_v8 to 0.43.1 (#14713) 2022-05-27 11:24:34 +10:00
David Sherret
1445ca65d9
fix(fmt): prevent infinite loop when formatting certain binary expressions (#14725) 2022-05-27 11:24:25 +10:00
Bartek Iwańczuk
afc702b136
chore: upgrade test_util/std/ submodule (#14722) 2022-05-27 11:24:12 +10:00
Aaron O'Mullan
f81ea85bb7
fix(core): op metrics op_names mismatch (#14716) 2022-05-27 11:24:05 +10:00
David Sherret
03ae0f0e83
fix(vendor): handle relative imports when mapped local folder name differs from remote's (#14465) 2022-05-27 11:23:56 +10:00
David Sherret
64feb8d49f
fix: read raw stdin to prevent buffering (regression) (#14704) 2022-05-27 11:23:46 +10:00
David Sherret
998a79d11b
fix: deno task should actually use current exe for deno command (#14705) 2022-05-27 11:23:35 +10:00
Leo Kettmeir
50ebb8799b
fix(ext/websocket): WebSocket dispatch single close event (#13443) 2022-05-27 11:23:20 +10:00
Colin Ihrig
bcc8891ec3
fix(coverage): do not report transpiled files with no lines (#14699)
This commit omits files from the coverage report that have no
lines of code to report coverage for.

Fixes: https://github.com/denoland/deno/issues/14683
2022-05-27 11:23:04 +10:00
Simon Lecoq
8b50cd07c2
fix(cli/dts): change ChildStatus.signal from string to Deno.Signal (#14690) 2022-05-27 11:22:54 +10:00
David Sherret
ca44586a18
refactor: upgrade to deno_ast 0.15 (#14680) 2022-05-27 11:22:22 +10:00
Yoshiya Hinosawa
ff37b255c6
fix: prevent Deno.exit to fail when dispatchEvent tampered (#14665)
Co-authored-by: Colin Ihrig <cjihrig@gmail.com>
2022-05-27 11:21:23 +10:00
Colin Ihrig
7ae0858fda
fix(runtime): improve permission descriptor validation (#14676)
This commit improves the permission descriptor validation by
explicitly checking for object types and using optional
chaining when creating error messages in case the descriptor
is not an object.

Fixes: https://github.com/denoland/deno/issues/14675
2022-05-27 11:20:55 +10:00
Geert-Jan Zwiers
11e4d43cfc
fix(bench): update typo in bench summary (#14672) 2022-05-27 11:20:45 +10:00
Leo Kettmeir
e906fc656a
refactor: use spawn API across codebase (#14414) 2022-05-27 11:20:37 +10:00
denobot
5ad8919d64
1.22.0 (#14657)
Co-authored-by: Divy Srivastava <dj.srivastava23@gmail.com>
2022-05-18 20:35:16 +05:30
Luca Casonato
1c4028a381
fix: add types for Response.json (#14655) 2022-05-18 16:16:11 +02:00
Aaron O'Mullan
f2410b4481
perf(ext/http): faster accept-encoding parsing (#14654) 2022-05-18 16:14:23 +02:00
Luca Casonato
c4b7bdb9d1
chore: update rustls (#14647)
This fixes thevery annoying "Received a ServerHelloDone handshake
message while expecting [CertificateRequest]" debug log from rustls.
2022-05-18 15:04:44 +02:00
Aleksei Kosyrev
037466e9cd
fix(ext/tls): ability to ignore IP-address certificate errors (#14610) 2022-05-18 13:32:12 +02:00
Divy Srivastava
4d82610700
fix(ext/http): no response body reader when cancelling during shutdown (#14653) 2022-05-18 16:13:22 +05:30
Leo Kettmeir
a151092aa1
feat: return a signal string instead number on ChildStatus (#14643) 2022-05-18 07:32:45 +02:00
Bartek Iwańczuk
9a85a95c43
feat: subcommands type-check only local files by default (#14623)
This commit changes default mode of type-checking to "local" 
and adds "--check" flag to following subcommands:
- deno bench
- deno bundle
- deno cache
- deno compile
- deno eval
- deno install
- deno test
2022-05-17 23:53:42 +02:00
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
Aaron O'Mullan
9766399a3f
fix(core): support classifying ENOTDIR (#14646) 2022-05-17 19:20:57 +02: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
Bartek Iwańczuk
b2ba0c54af
chore: fix failing bench (#14644) 2022-05-17 16:28:03 +02:00
randomicon00
e58f77e431
perf(ext/web): Add fast path for non-streaming TextDecoder (#14217)
Co-authored-by: Divy Srivastava <dj.srivastava23@gmail.com>
2022-05-17 19:22:48 +05:30
Aaron O'Mullan
8879244f72
fix(ext/http): error on invalid headers (#14642)
Minor regression/change-in-behaviour from #14552 that filtered out invalid http headers in rust vs error-ing back to JS
2022-05-17 14:40:30 +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
Colin Ihrig
1fa75f75c9
fix(ext/web): throw if listener and signal are null (#14601)
This commit fixes a failing WPT test by making EventTarget's
addEventListener() method throw if both the listener and the
signal option are null.

Fixes: https://github.com/denoland/deno/issues/14593
2022-05-16 10:46:39 -04: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
Aaron O'Mullan
8744ee883e
perf(core): optimize encode on large strings (#14619)
Follow up to serde_v8's #14450
2022-05-15 17:52:32 +02:00
Craig Morten
c9e9265c3e
feat(ext/net): support NAPTR records in Deno.resolveDns() API (#14613) 2022-05-15 17:42:02 +02:00