David Sherret
6ee983b127
chore(tools): Fix stdout buffer of launched process getting full causing tools/lint.js to hang on Windows ( #10888 )
...
Also fix Windows only clippy issues.
2021-06-07 22:29:47 -04:00
Luca Casonato
8e96961f0e
chore: update wpt ( #10884 )
...
This commit updates wpt. It tries to get us ever closer to eventually
stop floating patches, and being able to use wpt upstream.
2021-06-07 19:16:27 +02:00
Bartek Iwańczuk
d9df4347a1
chore: upgrade deno_lint 0.6.1 ( #10882 )
2021-06-07 17:44:31 +02:00
Luca Casonato
7b9c59fd71
tests: upload WPT reports to wpt.fyi ( #10883 )
2021-06-07 17:41:33 +02:00
Satya Rohith
b6400a25a0
refactor(runtime): move performance API to timers extension ( #10818 )
...
Co-authored-by: Luca Casonato <hello@lcas.dev>
2021-06-07 14:19:33 +02:00
Divy Srivastava
89290741d1
feat(compile): Initialize runtime_compiler ops for standalone binaries ( #10052 )
2021-06-07 14:02:53 +02:00
Kitson Kelly
3b3be024fa
feat(lsp): add test code lens ( #10874 )
...
Ref #8643
2021-06-07 21:38:07 +10:00
Kitson Kelly
d6f6e157bd
tests(lsp): fix flakey lsp integration test ( #10875 )
2021-06-07 19:12:07 +10:00
Luca Casonato
3a4a47799f
refactor: clean up webidl protype configuration ( #10871 )
2021-06-07 10:04:10 +02:00
Bartek Iwańczuk
3b220c64f6
chore: upgrade crates ( #10867 )
...
* deno_doc - 0.5.0
* deno_lint - 0.6.0
* dprint-plugin-typescript - 0.46.0
* dprint-plugin-markdown - 0.8.0
* dprint-plugin-json - 0.12.0
* swc_bundler - 0.37.4
* swc_ecmascript - 0.36.0
2021-06-06 18:42:12 +02:00
Luca Casonato
a66f327250
tests: run wpt scripts with Deno.core.evalContext ( #10852 )
...
This means wpts are now run in script context, and there are better
stack traces.
2021-06-06 18:32:06 +02:00
Luca Casonato
f1deed41e7
tests: generate and upload wptreport.json ( #10869 )
...
These reports can be consumed by tools like `wptreport` or
https://wpt.fyi . The old style report could be removed in a future PR
when wpt.deno.land is updated.
2021-06-06 18:08:50 +02:00
Luca Casonato
5bd77f29e5
chore: optimize USVString webidl converters ( #10865 )
2021-06-06 16:56:44 +02:00
Luca Casonato
1fb2e23a67
feat(fetch): implement abort ( #10863 )
...
This commit introduces fetch aborting via an AbortSignal.
2021-06-06 15:37:17 +02:00
Casper Beyer
3f9187c366
feat(extensions/crypto): implement subtle.digest ( #10796 )
...
Co-authored-by: Yacine Hmito yacinehmito@users.noreply.github.com
2021-06-06 12:57:10 +02:00
jeiea
633c5aab1f
fix( #10747 ): cannot read config option in windows ( #10791 )
...
Fixes #10747
2021-06-06 15:00:17 +10:00
Andreu Botella
62bf403157
feat(web): Implement TextDecoderStream and TextEncoderStream ( #10842 )
2021-06-06 03:23:16 +02:00
Dezső Mészáros
eb3a20292f
ci: update comment for stale PR bot ( #10849 )
2021-06-06 01:39:11 +02:00
Luca Casonato
fdf068a607
fix: typo in validator for TextEncoder#encode ( #10862 )
2021-06-06 01:38:39 +02:00
Luca Casonato
c73ef5fa14
refactor(web): use encoding_rs for text encoding ( #10844 )
...
This commit removes all JS based text encoding / text decoding. Instead
encoding now happens in Rust via encoding_rs (already in tree). This
implementation retains stream support, but adds the last missing
encodings. We are incredibly close to 100% WPT on text encoding now.
This should reduce our baseline heap by quite a bit.
2021-06-05 23:10:07 +02:00
Leo K
bb0c90cadb
fix(crypto): change Crypto to interface ( #10853 )
...
Co-authored-by: Luca Casonato <hello@lcas.dev>
2021-06-05 22:56:59 +02:00
Luca Casonato
368c784d7f
tests: disable failing stream idl test ( #10860 )
...
Didn't catch failure in original PR due to #10856 and merge ordering.
2021-06-05 21:59:03 +02:00
Leo K
b748415baf
fix(streams): expose ReadableByteStreamController & TransformStreamDefaultController ( #10855 )
2021-06-05 19:32:05 +02:00
Leo K
083f5c3454
refactor(crypto): validate max random bytes in Rust ( #10857 )
2021-06-05 19:30:20 +02:00
Luca Casonato
706b75d742
tests: fix wpt runner expected test file failures ( #10856 )
2021-06-05 19:29:41 +02:00
Leo K
5bed6d56ec
tests: remove non-applicable webstorage wpt ( #10858 )
2021-06-05 19:29:28 +02:00
Divy Srivastava
e67010b5e2
feat(cli/compile): Support data uri dynamic imports in deno compile
( #9936 )
2021-06-05 16:24:17 +02:00
Elad Keyshawn
4b3d55b449
webutil: replace cloneValue impl with serialize/deserialize ( #10215 )
...
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2021-06-05 15:57:51 +02:00
Bartek Iwańczuk
1d070f3d47
feat: make 'deno lint' stable ( #10851 )
2021-06-05 15:57:31 +02:00
Leo K
cf351f77c2
feat(extensions/crypto): implement randomUUID ( #10848 )
2021-06-05 14:46:24 +02:00
Kitson Kelly
e8be116ab6
fix(lsp): refactor, fix issues and add benchmark for code lens ( #10841 )
2021-06-05 07:31:44 +10:00
Luca Casonato
1abff0e333
chore: add web crypto to expectations ( #10845 )
...
This should make wpt.deno.land a lot more accurate about our current
implementation status.
2021-06-04 20:46:44 +02:00
Bartek Iwańczuk
5457e741fa
fix: hang in op_http_next_request ( #10836 )
...
This commit adds "CancelHandle" to "ConnResource" and changes
"op_http_next_request" to await for the cancel signal. In turn
when async iterating over "Deno.HttpConn" the iterator breaks
upon closing of the resource.
2021-06-04 01:32:36 +02:00
Yusuke Tanaka
41e9a21307
fix(cli): output json with trailing newline character ( #10830 )
2021-06-03 20:49:02 +02:00
Andreu Botella
03184aeabb
fix(fetch): implement newline normalization and escapes in the multipart/form-data serializer ( #10832 )
2021-06-03 20:48:09 +02:00
Casper Beyer
55e962b688
feat(cli): support URL overload for Deno.chdir
( #10793 )
2021-06-03 16:32:18 +02:00
Casper Beyer
ece56d9935
feat(runtime): support URL overloads for Deno.symlink
and Deno.symlinkSync
( #10664 )
2021-06-03 16:16:00 +02:00
Casper Beyer
dc69b03339
feat(runtime): support URL overloads for Deno.rename/Deno.renameSync ( #10512 )
2021-06-03 16:14:37 +02:00
Kitson Kelly
844a1317ec
fix( #10775 ): diagnostics update on dependency changes ( #10817 )
...
Fixes #10775
2021-06-03 21:13:53 +10:00
Yoshiya Hinosawa
5a14827f9f
build: remove gnu tar installation ( #10826 )
2021-06-03 11:14:56 +02:00
Luca Casonato
b2a4c2e4f6
build: collect wpt results as json ( #10823 )
2021-06-03 01:12:28 +02:00
Bert Belder
b4ae243da8
docs(releases): remove doc changes ( #10821 )
2021-06-02 15:55:15 +02:00
Kitson Kelly
473713c621
fix( #10815 ): lsp only responds to formatting for md, json, jsonc ( #10816 )
...
Fixes #10815
2021-06-02 20:29:58 +10:00
Luca Casonato
9ae8dbf173
chore: update wpt ( #10807 )
2021-06-01 18:24:31 +02:00
Kitson Kelly
bb5bf91067
feat(lsp): registry auto discovery ( #10813 )
...
Closes: #10194
Fixes: #10468
2021-06-01 21:53:08 +10:00
Kitson Kelly
9abb899f5f
fix(lsp): updates to workspace config are processed sync ( #10812 )
2021-06-01 19:24:36 +10:00
Andreu Botella
e466a6fc9a
fix: Support the stream option to TextDecoder#decode ( #10805 )
2021-06-01 11:24:16 +02:00
Nayeem Rahman
6dd7a7ecd9
fix(cli): represent bare imports as module graph error slots ( #10804 )
...
Fixes #10795
2021-06-01 16:45:37 +10:00
Yoshiya Hinosawa
595700c993
feat: add FsWatcher interface ( #10798 )
2021-06-01 15:35:06 +09:00
Bert Belder
f891368057
v1.10.3 / 2021.05.31
...
- feat(lsp): diagnostics for deno types and triple-slash refs (#10699 )
- feat(lsp): provide X-Deno-Warning as a diagnostic (#10680 )
- feat(lsp): show hints from `deno_lint` in addition to messages
(#10739 )
- feat(lsp): support formatting json and markdown files (#10180 )
- fix(cli): always allow documentation modules to be checked (#10581 )
- fix(cli): canonicalize coverage dir (#10364 )
- fix(cli): don't statically error on dynamic unmapped bare specifiers
(#10618 )
- fix(cli): empty tsconfig.json file does not cause error (#10734 )
- fix(cli): support source maps with Deno.emit() and bundle (#10510 )
- fix(cli/dts): fix missing error class (NotSupported) in types (#10713 )
- fix(cli/install): support `file:` scheme URLs (#10562 )
- fix(cli/test): don't use reserved symbol `:` in specifier (#10751 )
- fix(cli/test): ensure coverage dir exists (#10717 )
- fix(cli/upgrade): modify download size paddings (#10639 )
- fix(runtime/http): expose nextRequest() errors in respondWith()
(#10384 )
- fix(runtime/http): fix empty blob response (#10689 )
- fix(serde_v8): remove intentional deserialization error on non-utf8
strings (#10156 )
- fix(ext/fetch): fix error message of Request constructor (#10772 )
- fix(ext/fetch): make prototype properties writable (#10769 )
- fix(ext/fetch): remove unimplemented Request attributes (#10784 )
- fix(ext/file): update File constructor following the spec (#10760 )
- fix(ext/webstorage): use opstate for sqlite connection (#10692 )
- fix(lsp): deps diagnostics include data property (#10696 )
- fix(lsp): ignore type definition not found diagnostic (#10610 )
- fix(lsp): local module import added by code action now includes the
file extension (#10778 )
- fix(lsp): make failed to load config error descriptive (#10685 )
- fix(lsp): memoize script versions per tsc request (#10601 )
- fix(lsp): re-enable the per resource configuration without a deadlock
(#10625 )
- docs(cli): update getting started for clarity (#10694 )
- docs(cli/dts) replace `read()` with `readSync()` (#10732 )
- docs(cli/dts): fix plugin example (#10647 )
- docs(cli/dts): fix typo in `TestDefinition.only` description (#10697 )
- docs(cli/dts): fix unix socket examples (#10705 )
- docs(cli/dts): make worker example pass (#10703 )
- docs(cli/dts): tag test permission example as typescript (#10753 )
- docs(permissions): fix grammatical error in permissions docs (#10755 )
- docs(runtime): fix fetch API usage of HTTP server (#10777 )
- docs(testing): fix misspelling (#10683 )
- docs(typescript): fix typo in faqs (#10682 )
-----BEGIN PGP SIGNATURE-----
iQFJBAABCgAzFiEERCcr7u+ib5W/fkyWeneIey4u1GEFAmC1RbwVHGJlcnRiZWxk
ZXJAZ21haWwuY29tAAoJEHp3iHsuLtRhXJsH/RETkMkLj1rZSdQWaOdVnRmP02pb
QmbmtfPVtM0Xvh+zL23Jk2fU2cJPRsf71U260QMyzxE8LVDZ58k9KFID24MdB3b/
J6Y5zLxyhkzc1EutN+D09y2nwrvJv3UKOls2ZLXtZ/HEmqQVOmqlGIaPIGxiQOPO
yAWXKXid/hZ41xDygJpL6FEmemnVlOzPHX/AeccKcyQos7CUUqcNocReUklZcje6
1IEEe6NcAi7x7hRB6lfjtXIZRcEjMD21ZmLsyKEH6YOJfoPzlR0uKYJR0i0ZO5Hr
H4erWA9R3OJDwvx5DhCGxyqW6IuD4A3HGChHtcANdH+RWTyHquqgDSzpeHA=
=Hhjk
-----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
iQFJBAABCgAzFiEERCcr7u+ib5W/fkyWeneIey4u1GEFAmC1TdsVHGJlcnRiZWxk
ZXJAZ21haWwuY29tAAoJEHp3iHsuLtRhYVEH/iHbk8AXA5xF8kV+q2R0IhRrtZjV
8VjDiC1nTGfIJcjXxoUVa1VaYQlfxNxcKPc/PSoW/oUwSoS0I9QvAxPY81dPYNUe
TtiJjf7fNWssu04TK/5rillRuag3e+AGrR605uK2A1b0Y/qlOumtaGN48TXcbyFt
p/p4zXT9TSC+/cOxZFNjnh+UVwpqOJxWxXBBtzrsDcsBfdvOCy/fo7qwjmqbe/q4
BDXNAG4AYHtg5X94b8bEgPDutUjk5HY08KA0EvVffGD0c3czvaF3lO7p8FHt95/3
rG+hS02OxUWRe8rltZk6s1mItypig4EyWWoiUJMaPt8zTz1t9rdy+M0oEpY=
=bAil
-----END PGP SIGNATURE-----
Merge v1.10.3 into main (#10801 )
2021-05-31 20:58:03 +00:00