David Sherret
10e4b2e140
chore: update copyright year to 2023 ( #17247 )
...
Yearly tradition of creating extra noise in git.
2023-01-02 21:00:42 +00:00
Kamil Ogórek
2ac575abfb
chore(test): report correct cwd when running tests via itest macro ( #17132 )
2022-12-19 20:34:12 -05:00
Divy Srivastava
5a8adc342b
chore(test_util): use pty2 instead of pty ( #17131 )
...
Fixes https://github.com/denoland/deno/issues/484
Removes dependency on winapi 0.2.x versions.
2022-12-19 18:12:45 +00:00
David Sherret
f8bcf6be28
feat(npm): add support for NPM_CONFIG_REGISTRY
( #16980 )
2022-12-07 16:10:50 -05:00
Bartek Iwańczuk
075854e516
chore: update std submodule to 0.167.0 ( #16894 )
2022-12-02 00:56:10 +01:00
David Sherret
e2655c992e
fix(lsp): analyze fs dependencies of dependencies to find npm package requirements ( #16866 )
...
Closes #16867
2022-11-30 00:32:18 +00:00
Bartek Iwańczuk
fd51b2e506
fix(npm): allow to inspect npm modules with --inspect-brk ( #16841 )
2022-11-28 21:59:36 +01:00
Leo Kettmeir
13e3acf71d
chore: workspace inheritance ( #16343 )
2022-11-22 21:07:35 +01:00
Aaron O'Mullan
238590aa9f
chore: use Rust 1.65.0 ( #16688 )
2022-11-18 02:59:10 +01:00
Bartek Iwańczuk
8d5c0112fb
feat: don't require --unstable flag for npm programs ( #16520 )
...
This PR adds copies of several unstable APIs that are available
in "Deno[Deno.internal].nodeUnstable" namespace.
These copies do not perform unstable check (ie. don't require
"--unstable" flag to be present). Otherwise they work exactly
the same, including permission checks.
These APIs are not meant to be used by users directly and
can change at any time.
Copies of following APIs are available in that namespace:
- Deno.spawnChild
- Deno.spawn
- Deno.spawnSync
- Deno.serve
- Deno.upgradeHttpRaw
- Deno.listenDatagram
2022-11-10 22:03:28 +01:00
Bartek Iwańczuk
0d52945d43
chore: upgrade deno_std submodule ( #16546 )
2022-11-06 23:41:19 +01:00
Colin Ihrig
37340e2386
chore(unstable): rename Deno.getUid() and Deno.getGid() ( #16432 )
...
This commit renames `Deno.getUid()` to `Deno.uid()` and renames
`Deno.getGid()` to `Deno.gid()`.
2022-10-26 16:37:48 -04:00
Bartek Iwańczuk
ab0c33ebf8
feat: Stabilize Deno.consoleSize() API ( #15933 )
...
This commit stabilizes "Deno.consoleSize()" API.
There is one change compared to previous unstable API,
in that the API doesn't accept any arguments. Console size
is established by querying syscalls for stdio streams at fd
0, 1 and 2.
2022-10-26 00:23:21 +02:00
Marcos Casagrande
5828ce7675
test(wpt): add mimesniff tests ( #16225 )
...
This PR enables 1027/1911
[mimesniff](https://wpt.fyi/results/mimesniff/mime-types?label=master&product=chrome%5Bexperimental%5D&product=firefox%5Bexperimental%5D&product=safari%5Bexperimental%5D&product=deno&aligned&view=subtest )
tests.
2022-10-24 16:11:24 +02:00
David Sherret
bcfe279fba
feat(unstable/npm): initial type checking of npm specifiers ( #16332 )
2022-10-21 15:20:18 +00:00
David Sherret
74be01273c
chore: upgrade internal deno_std to 0.160 ( #16333 )
2022-10-17 22:57:31 +00:00
Marcos Casagrande
9fe508dfb9
fix(cli/bench): skip strace table border ( #16310 )
...
It crashes due to the table border output from `strace`,
```
% time seconds usecs/call calls errors syscall
------ ----------- ----------- --------- --------- ---------------- # this is skipped correctly
61.27 6.012053 678 8860 637 futex
0.00 0.000000 0 4 geteuid
------ ----------- ----------- --------- --------- ---------------- # this causes the crash
100.00 11.732230 25552 1205 total
```
It's flaky because that line is not always skipped from the output, for
some reason that I've yet to find out.
2022-10-16 21:37:42 +02:00
Divy Srivastava
0b016a7fb8
feat(npm): implement Node API ( #13633 )
...
This PR implements the NAPI for loading native modules into Deno.
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
Co-authored-by: DjDeveloper <43033058+DjDeveloperr@users.noreply.github.com>
Co-authored-by: Ryan Dahl <ry@tinyclouds.org>
2022-10-05 19:36:44 +05:30
Satya Rohith
b312279e58
feat: implement Web Cache API ( #15829 )
2022-09-28 17:41:12 +05:30
David Sherret
716005a0d4
feat(npm): add flag for creating and resolving npm packages to a local node_modules folder ( #15971 )
2022-09-22 11:17:02 -04:00
Divy Srivastava
11ced3c10e
chore: update wpt ( #15979 )
2022-09-22 14:37:50 +05:30
David Sherret
1464b756a4
refactor: move out test files from root testdata directory into sub directories ( #15949 )
2022-09-19 10:32:21 -04:00
Ryan Dahl
684841a18c
upgrade deps ( #15914 )
2022-09-16 19:11:30 -04:00
Arnau Orriols
8bdc3c2baf
feat(ext/ffi): Implement FFI fast-call trampoline with Dynasmrt ( #15305 )
2022-09-07 12:23:56 +05:30
David Sherret
5262937285
fix(npm): respect latest
dist tag for getting current version ( #15746 )
2022-09-02 13:06:42 -04:00
Bartek Iwańczuk
ad98c9fdd1
chore: update test_util/std/ submodule ( #15657 )
2022-08-29 11:35:27 +02:00
David Sherret
f583a7ebf4
chore(npm): add test for esm npm binary package ( #15609 )
2022-08-26 09:17:48 -04:00
David Sherret
376665d115
fix: avoid global declaration collisions in cjs ( #15608 )
...
* Use a default stack size * 2 in debug for Windows because swc using so much stack size. We should look into this more later though.
2022-08-25 20:24:18 -04:00
David Sherret
e7367044d9
feat: binary npm commands ( #15542 )
2022-08-23 10:39:19 -04:00
David Sherret
362af63c6f
fix(cache): do not attempt to emit non-emitable files ( #15562 )
2022-08-23 10:30:14 -04:00
David Sherret
7a1a082876
perf: cache swc dependency analysis and don't hold onto ParsedSource
s in memory ( #15502 )
2022-08-22 12:14:59 -04:00
Mathias Lafeldt
e96933bc16
chore: use Rust 1.63.0 ( #15464 )
2022-08-21 19:31:14 +02:00
David Sherret
87f80ff6be
feat(unstable): initial support for npm specifiers ( #15484 )
...
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2022-08-20 11:31:33 -04:00
Kitson Kelly
1c2ec1f48f
fix: update deno_graph to fix importing config as JSON module ( #15388 )
...
Ref: denoland/deno_graph#166
2022-08-10 07:27:22 +10:00
Nayeem Rahman
45c49034a7
BREAKING(unstable): Improve Deno.spawn() stdio API ( #14919 )
...
- "SpawnOutput" extends "ChildStatus" instead of composing it
- "SpawnOutput::stdout", "SpawnOutput::stderr", "Child::stdin",
"Child::stdout" and "Child::stderr" are no longer optional, instead
made them getters that throw at runtime if that stream wasn't set
to "piped".
- Remove the complicated "<T extends SpawnOptions = SpawnOptions>"
which we currently need to give proper type hints for the availability of
these fields. Their typings for these would get increasingly complex
if it became dependent on more options (e.g. "SpawnOptions::pty"
which if set should make the stdio streams unavailable)
2022-07-18 15:16:12 +02:00
David Sherret
635eed9373
chore: fix Windows specific clippy errors ( #15212 )
2022-07-15 12:30:25 -04:00
Mark Ladyshau
6743b3227b
fix(ext/web): remove ErrorEventInit
's error default ( #14809 )
2022-06-29 14:29:08 +02:00
Divy Srivastava
5eb9abd65f
chore(cli/bench): Add bun HTTP server ( #15004 )
2022-06-29 16:57:19 +05:30
David Sherret
3455f16079
chore(test_util): add new string assertion macros ( #14928 )
2022-06-21 15:25:07 -04:00
crowlkats
cbc8756e23
update std submodule
2022-06-16 12:05:33 -04:00
Ryan Dahl
d0dec8d36b
chore: upgrade various deps ( #14876 )
...
Co-authored-by: David Sherret <dsherret@gmail.com>
2022-06-15 13:48:53 -04:00
David Sherret
443041c23e
feat(vendor): support using an existing import map ( #14836 )
2022-06-14 10:05:37 -04:00
Kitson Kelly
7eee521199
feat: update to TypeScript 4.7 ( #14242 )
2022-06-01 10:19:18 +10:00
Bartek Iwańczuk
3aef7d1253
chore: upgrade test_util/std/ submodule ( #14722 )
2022-05-25 21:53:53 +02:00
David Sherret
69be1f3cf7
fix: deno task should actually use current exe for deno
command ( #14705 )
2022-05-23 12:04:28 -04:00
Bartek Iwańczuk
b543e84b39
chore: update test_util/std/ submodule ( #14595 )
2022-05-13 17:08:02 +02:00
Luca Casonato
a5b50d0915
feat(ext/web): implement static Response.json
( #14566 )
...
This commit adds support for the static `Response.json` method.
2022-05-13 14:28:05 +02:00
Luca Casonato
eed7afc3aa
chore: update wpt ( #14592 )
2022-05-13 13:34:53 +02:00
David Sherret
abf72c5b37
chore: fix flaky steps_output_within - part 2 ( #14562 )
2022-05-10 16:24:37 -04:00
Luca Casonato
242273e69b
chore: update deps ( #14416 )
2022-05-05 12:41:59 +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
Luca Casonato
ca3b20df3c
chore: update wpt ( #14313 )
2022-04-18 21:17:19 +02:00
David Sherret
a4c1e1bdcf
fix: upgrade to swc_ecmascript 0.143 ( #14238 )
2022-04-08 12:31:47 -04:00
Jason
a6e4b4297d
refactor(lsp): migrate from lspower back to tower-lsp ( #14163 )
2022-04-03 14:17:30 +10: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
d069360c46
chore(tests): add more lsp tests for formatting ( #14155 )
2022-03-30 18:44:47 -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
03c71a8b4a
chore: upgrade dprint-core to 0.54.1 ( #14146 )
2022-03-29 13:33:00 -04:00
David Sherret
5d60ee7f12
chore(test_util): use pretty_assertions::assert_eq when not pattern matching ( #13965 )
2022-03-15 18:15:56 -04:00
David Sherret
32c059544b
chore(test): fix flaky tasks ( #13916 )
2022-03-11 13:20:14 -05:00
Bartek Iwańczuk
47f22777be
feat: "deno task" subcommand ( #13725 )
...
Co-authored-by: David Sherret <dsherret@gmail.com>
2022-03-10 20:56:14 -05:00
Divy Srivastava
61fbecfd5b
chore: update regex to 1.5.5 ( #13875 )
2022-03-08 22:00:17 +05:30
Satya Rohith
70690f54af
chore: update deps ( #13821 )
2022-03-05 03:38:04 +05:30
Bartek Iwańczuk
cd04b6852f
chore: update deno_std submodule ( #13771 )
2022-02-25 01:23:10 +01:00
Andreu Botella
665ea9b5f0
chore: update wpt ( #13679 )
2022-02-16 14:33:34 +01:00
Leo Kettmeir
4799aaac15
refactor: factor out CDP message types ( #13551 )
2022-02-07 17:05:49 +01:00
David Sherret
ed3086e4b1
refactor(lsp): remove circular dependency between LanguageServer
and DiagnosticsServer
( #13577 )
2022-02-02 18:02:59 -05:00
Kitson Kelly
26f5c223df
fix(lsp): properly display x-deno-warning with redirects ( #13554 )
...
Fixes: #13472
2022-02-02 13:04:26 +11:00
Kitson Kelly
68c8c66b0f
fix(cli): handle extensionless imports better ( #13548 )
...
Fixes #13526
2022-01-31 20:32:49 +11:00
Leo Kettmeir
e134ac6741
chore: update wpt ( #13423 )
2022-01-19 12:31:32 +01:00
David Sherret
ad224f53c7
chore: upgrade to rust 1.58 ( #13377 )
2022-01-15 07:10:12 +01:00
Leo Kettmeir
b720af994a
chore: update wpt ( #13371 )
2022-01-14 17:00:02 +01:00
Ryan Dahl
1fb5858009
chore: update copyright to 2022 ( #13306 )
...
Co-authored-by: Erfan Safari <erfanshield@outlook.com>
2022-01-07 22:09:52 -05:00
Bartek Iwańczuk
a721c34c19
chore: update std submodule to efa94f2 ( #13260 )
2022-01-02 14:04:40 +01:00
Hirotaka Tagawa / wafuwafu13
9825c876b4
test(test_util/lsp): add tests for invalid content-length ( #12971 )
2021-12-21 09:14:49 -05:00
Kitson Kelly
b5fdfb9d25
feat(lsp): supply accept header when fetching registry config ( #13159 )
...
Closes #13153
2021-12-21 13:40:22 +11:00
Andreu Botella
542b71eef9
chore: update wpt ( #13043 )
2021-12-10 14:48:46 +01:00
Kitson Kelly
2347e60934
feat(lsp): registry suggestion cache respects cache headers ( #13010 )
...
Fixes #9931
2021-12-09 22:16:17 +11:00
Ryan Dahl
a2f1357fe8
chore: upgrade to rustls 0.20 ( #12488 )
...
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
Co-authored-by: Bert Belder <bertbelder@gmail.com>
2021-12-07 00:48:11 +01:00
Andreu Botella
b91e6fd02f
chore: Update WPT ( #12987 )
2021-12-06 16:03:09 +01:00
Bert Belder
c6f3493f18
chore: merge v1.16.3 into main ( #12892 )
2021-11-24 15:56:18 -08:00
Bartek Iwańczuk
1a51f2392d
chore: speed up compat tests ( #12884 )
...
This commit speeds up compat tests by using local copy of "deno_std"
instead of downloading it from https://deno.land for each test.
Additionally type checking is skipped.
2021-11-24 12:24:13 +01:00
Bartek Iwańczuk
e68420f960
chore: update std submodule to 0.115.1 ( #12883 )
2021-11-24 12:05:43 +01:00
Ikko Ashimine
dd91ecef50
chore(tests): fix typo in pty.rs ( #12757 )
2021-11-14 14:14:25 +01:00
Luca Casonato
0de6d1edc4
fix(fetch): set content-length for empty POST/PUT ( #12703 )
...
This commit changes `fetch` to set `content-length: 0` on POST and PUT
requests with no body.
2021-11-09 12:10:40 +01:00
Kitson Kelly
f5eb177f50
feat(cli): support React 17 JSX transforms ( #12631 )
...
Closes #8440
2021-11-09 12:26:39 +11:00
Leo Kettmeir
ccd730a8b7
feat(ext/web): add AbortSignal.reason
( #12697 )
2021-11-08 23:37:06 +01:00
Luca Casonato
3828a7eb11
chore: update wpt ( #12682 )
...
This commit updates WPT to 3904336d37ed6f480fc8879ea8bd5683a39ede3d.
2021-11-08 02:20:39 +01:00
Bartek Iwańczuk
8e31bbbe55
chore: update to Rust edition 2021 ( #12578 )
2021-11-02 10:03:37 -04:00
Andreu Botella
e39dace8cb
fix(tls): Make TLS clients support HTTP/2 ( #12530 )
...
`fetch()` and client-side websocket used to support HTTP/2, but this
regressed in #11491 . This patch reenables it by explicitly adding `h2`
and `http/1.1` to the list of ALPN protocols on the HTTP and websocket
clients.
2021-10-25 18:41:06 +02:00
Luca Casonato
0d7a417f33
feat(tls): custom in memory CA certificates ( #12219 )
...
This adds support for using in memory CA certificates for
`Deno.startTLS`, `Deno.connectTLS` and `Deno.createHttpClient`.
`certFile` is deprecated in `startTls` and `connectTls`, and removed
from `Deno.createHttpClient`.
2021-09-30 09:26:15 +02:00
Andreu Botella
1380defb80
chore: update wpt ( #12206 )
2021-09-25 15:27:34 +02:00
David Sherret
0f23d92601
chore(tests): windows pty tests ( #12091 )
2021-09-20 22:15:44 -04:00
Squirrel
4b79e5a459
chore: Remove unused deps from Cargo.toml files ( #12106 )
2021-09-17 14:39:32 +02:00
Ryan Dahl
fb35cd0ef4
fix: permission prompt stuffing ( #11931 )
...
Fixes #9750
2021-09-09 08:38:47 -04:00
BasiqueEvangelist
08e12380a0
feat(cli): Support Basic authentication in DENO_AUTH_TOKENS ( #11910 )
2021-09-08 06:18:11 +02:00
Luca Casonato
066f75ac07
chore: update wpt ( #11950 )
2021-09-07 23:50:22 +02:00
Craig Morten
930cb0afd8
chore(std/http): server module name migration ( #11890 )
2021-09-05 22:43:46 +02:00
Luca Casonato
1bf7b90ca8
chore: update dependencies ( #11856 )
...
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2021-09-02 23:38:44 +02:00
Luca Casonato
ad037b3b1a
chore: update wpt ( #11845 )
2021-08-27 12:37:22 +02:00
Sean Michael Wykes
dccf4cbe36
feat(fetch): mTLS client certificates for fetch() ( #11721 )
...
This commit adds support for specifying client certificates when using fetch, by means of `Deno.createHttpClient`.
2021-08-25 14:25:12 +02:00
David Sherret
480cfda8d5
chore(tests): delete the temporary deno dir when dropping the test lsp client ( #11749 )
2021-08-17 22:58:41 -04:00
Luca Casonato
47b7cd5a7e
chore: roll wpt ( #11692 )
...
This PR rolls WPT to 7eb7372a61
2021-08-14 13:27:09 +02:00
David Sherret
15a763152f
chore: move test files to testdata directory ( #11601 )
2021-08-11 10:20:47 -04:00
Luca Casonato
4d4ce4c4d8
chore: update wpt ( #11621 )
2021-08-09 18:49:31 +02:00
Ryan Dahl
3ab50b3551
feat: support client certificates for connectTls ( #11598 )
...
Co-authored-by: Daniel Lamando <dan@danopia.net>
Co-authored-by: Erik Price <github@erikprice.net>
2021-08-09 15:55:00 +02:00
David Sherret
864ce6e832
feat(repl): add --eval flag for evaluating code when the repl starts ( #11590 )
2021-08-06 17:30:28 -04:00
Luca Casonato
7b82ef9ded
chore: update wpt ( #11446 )
2021-07-19 13:46:02 +02:00
Luca Casonato
51e0bfda3c
chore(runtime): deprecate Deno.copy
( #11369 )
2021-07-12 19:44:42 +02:00
Luca Casonato
ab079a8d63
chore: update crates ( #11332 )
2021-07-09 17:15:50 +02:00
Yusuke Tanaka
0a33cc1951
chore: upgrade Tokio to 1.8.0 ( #11281 )
2021-07-05 15:50:56 +02:00
Andreu Botella
ffa75be480
feat: enable WebAssembly.instantiateStreaming and wasm async compilation ( #11200 )
...
The WebAssembly streaming APIs used to be enabled, but used to take
buffer sources as their first argument (see #6154 and #7259 ). This
change re-enables them, requiring a Promise<Response> instead, as well as
enabling asynchronous compilation of WebAssembly modules.
2021-07-03 23:33:36 +02:00
Luca Casonato
14104c4e5b
chore: update wpt submodule
2021-07-03 22:20:28 +02:00
Luca Casonato
f9ff981daf
feat: MessageChannel
and MessagePort
( #11051 )
...
This commit introduces support for MessageChannel and MessagePort.
MessagePorts can be transfered across other MessagePorts.
2021-06-21 19:53:52 +02:00
Yusuke Tanaka
b0c04a7941
chore: upgrade Tokio to 1.7.1 ( #11045 )
2021-06-19 15:37:07 +02:00
Yusuke Tanaka
8031644e65
chore: upgrade Rust to 1.53.0 ( #11021 )
2021-06-17 15:56:30 -04:00
Yusuke Tanaka
a8007059b7
chore: upgrade Tokio to 1.7.0 ( #11008 )
2021-06-16 16:39:51 +02:00
Luca Casonato
f48d66b2b0
tests: fix wpt epoch ci job ( #10960 )
2021-06-14 20:57:02 +02:00
Luca Casonato
c7ed125590
chore: update wpt ( #10931 )
...
This synchronizes our WPT revision with upstream.
2021-06-11 15:55:53 +02:00
David Sherret
9d706d71b5
chore: Fix broken test on Windows ( #10900 )
2021-06-10 12:35:38 -04:00
David Sherret
50063749e2
chore(tests): Friendlier message when running the tests and forgetting to run cargo build
first. ( #10901 )
2021-06-08 17:56:54 -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
Luca Casonato
9ae8dbf173
chore: update wpt ( #10807 )
2021-06-01 18:24:31 +02:00
Yusuke Tanaka
5f92f35bee
chore: upgrade Tokio to 1.6.1 ( #10782 )
2021-05-29 13:18:24 +02:00
Ben Noordhuis
5f0d91497b
chore: update wpt
2021-05-23 15:16:42 +02:00
Kitson Kelly
8708d3c045
chore(lsp): provide test for lsp deadlock issue ( #10679 )
...
Resolves: #10587
2021-05-21 07:35:37 +10:00
Kitson Kelly
27e7bb090e
refactor: share test harness for lsp between bench and integration ( #10659 )
2021-05-18 06:45:13 +10:00
Yusuke Tanaka
be2347ddc2
chore: upgrade Tokio to 1.6.0 ( #10637 )
2021-05-15 15:13:10 +02:00
Yoshiya Hinosawa
e8a7f237de
fix(cli): ignore x-typescript-types header when media type is not js/jsx ( #10574 )
2021-05-13 08:07:22 +09:00
Luca Casonato
d806dc0f16
chore: update wpt ( #10509 )
2021-05-09 16:32:30 +02:00
Ben Noordhuis
aa4eb1c9ec
chore(test): remove unused function ( #10537 )
...
Remove a function that was forgotten in commit 2638aa03a5
from January.
2021-05-09 01:10:46 +02:00
Ryan Dahl
f7c298e297
Remove denort optimization ( #10350 )
...
denort is an optimization to "deno compile" to produce slightly smaller
output. It's a decent idea, but causes a lot of negative side-effects:
- Deno's link time is a source of constant agony both locally and in CI,
denort doubles link time.
- The release process is a long and arduous undertaking with many manual
steps. denort necessitates an additional manual zip + upload from M1
apple computers.
- The "deno compile" interface is complicated with the "--lite" option.
This is confusing for uses ("why wouldn't you want lite?").
The benefits of this feature do not outweigh the negatives. We must find
a different approach to optimizing "deno compile" output.
2021-04-26 13:28:38 -04:00
Luca Casonato
cdd2355f0f
tests: enable idlharness wpt ( #10371 )
...
This enables more test cases that expose issues in our implementation.
2021-04-26 13:02:49 +02:00
Luca Casonato
9e6cd91014
chore: align fetch to spec ( #10203 )
...
This commit aligns the `fetch` API and the `Request` / `Response`
classes belonging to it to the spec. This commit enables all the
relevant `fetch` WPT tests. Spec compliance is now at around 90%.
Performance is essentially identical now (within 1% of 1.9.0).
2021-04-20 14:47:22 +02:00
Luca Casonato
0552eaf569
chore: align Headers
to spec ( #10199 )
...
This commit aligns `Headers` to spec. It also removes the now unused
03_dom_iterable.js file. We now pass all relevant `Headers` WPT. We do
not implement any sort of header filtering, as we are a server side
runtime.
This is likely not the most efficient implementation of `Headers` yet.
It is however spec compliant. Once all the APIs in the `HTTP` hot loop
are correct we can start optimizing them. It is likely that this commit
reduces bench throughput temporarily.
2021-04-19 01:00:13 +02:00
Luca Casonato
353e79c796
chore: align FormData to spec ( #10169 )
...
This PR aligns `FormData` to spec. All WPT tests are passing.
2021-04-14 22:49:16 +02:00
Kitson Kelly
d9d4a5d73c
feat(lsp): add registry import auto-complete ( #9934 )
2021-04-09 11:27:27 +10:00
Luca Casonato
4e70ff80c2
chore: update deps ( #10058 )
...
This commit updates crate dependencies.
2021-04-08 18:46:14 +02:00
Luca Casonato
c867c1aa47
fix: enable FileReader wpt and align to spec ( #10063 )
...
This adds some algorithms from the whatwg mimesniff, whatwg infra, and
whatwg encoding specs that FileReader needs to use internally.
2021-04-08 15:05:08 +02:00
Luca Casonato
ee07ef2962
chore: update deno_file to use deno_webidl ( #10042 )
...
This changes the custom input converters in deno_file to use deno_webidl
converters.
2021-04-08 01:23:26 +02:00
Luca Casonato
00e63306cb
refactor: add deno_file op crate ( #10019 )
...
Also enables WPT for FileReader.
2021-04-06 12:55:05 +02:00
Luca Casonato
284e6c3039
chore: update std submodule ( #10017 )
2021-04-05 15:57:52 +02:00
crowlKats
b11249647f
fix: update wpt + align AbortController ( #9907 )
2021-03-27 15:49:57 +01:00
Ryan Dahl
f46e39c5c5
remove macro_use ( #9884 )
2021-03-26 12:34:25 -04:00
Yusuke Tanaka
e7954413e1
upgrade: Rust 1.51.0 ( #9895 )
2021-03-25 19:17:37 +01:00
Ryan Dahl
0d26a82ea9
upgrade: tokio 1.4.0 ( #9842 )
2021-03-20 11:51:27 -04:00
Yusuke Tanaka
c8fbf6d38a
chore: upgrade to tokio 1.3.0 ( #9778 )
2021-03-14 10:03:24 -04:00
Yosi Pramajaya
f6a80f34d9
test: Fix --reload in integration_tests ( #9345 )
...
This commit removes redundant "--reload" args because "util::deno_cmd"
recreates "DENO_DIR".
This commit also fixes ta_reload in integration tests to actually test reload.
2021-02-24 15:18:35 +01:00
DjDeveloper
fe1b512820
fix(op_crates/websocket): default to close code 1005 ( #9339 )
...
Currently if WebSocket is closed without code, it will error
while on Chrome it would close with code 1005 instead.
Co-authored-by: crowlKats <13135287+crowlKats@users.noreply.github.com>
2021-02-21 17:51:46 +01:00
Kitson Kelly
879897ada6
feat(cli): support auth tokens for accessing private modules ( #9508 )
...
Closes #5239
2021-02-16 13:50:27 +11:00