Luca Casonato
28f2f02b7a
feat: add --enable-testing-features-do-not-use ( #11499 )
...
This flag does nothing yet. It is added in preparation for the addition
of classic workers.
2021-07-23 16:31:16 +02:00
Luca Casonato
8b34f07bb0
fix(http/ws): case insensitive connection header ( #11489 )
...
The "connection" header should be case insensitive:
https://datatracker.ietf.org/doc/html/rfc7230#section-6.1
2021-07-22 14:28:55 +02:00
Casper Beyer
4861b13aab
fix(cli): normalize test command errors ( #11375 )
2021-07-22 13:34:29 +02:00
Luca Casonato
78fc9a4c60
fix: support --cert flag for tls connect APIs ( #11484 )
2021-07-22 12:28:46 +02:00
Kitson Kelly
7d151efc68
fix(cli): info now displays type reference deps ( #11478 )
...
Fixes #11476
2021-07-22 15:34:28 +10:00
Kitson Kelly
bdc53b45b7
fix(lsp): do not populate maybe_type slot with import type dep ( #11477 )
...
Fixes: #11458
Fixes: #11461
Closes: denoland/vscode_deno#414
2021-07-22 15:00:45 +10:00
Luca Casonato
31afd349d2
build: fix publishing of canaries ( #11480 )
2021-07-21 18:39:20 +02:00
Bert Belder
63546c15bf
fix(cli): rebuild when environment variables change ( #11471 )
2021-07-20 19:06:40 -07:00
Kitson Kelly
c34fef4b71
feat(lsp): add workspace config to status page ( #11459 )
2021-07-21 11:50:43 +10:00
Luca Casonato
e1d3c425c8
build: publish canary version file in seperate job ( #11462 )
2021-07-21 00:10:56 +02:00
Luca Casonato
a2512de95f
fix: close fetch response body on GC ( #11467 )
...
This commit fixes fetch response bodies to be automatically closed if
the `Response.body` readable stream goes out of scope and is GC'ed.
2021-07-20 21:06:24 +02:00
Bartek Iwańczuk
d744c0c6d9
chore: move docs to separate repository
2021-07-20 16:25:36 +02:00
Bartek Iwańczuk
9b9becf1ae
fix: panic for non-WS connections to inspector ( #11466 )
2021-07-20 15:41:36 +02:00
Bartek Iwańczuk
73ed009dda
chore: change links in README ( #11464 )
2021-07-20 14:14:29 +02:00
Yoshiya Hinosawa
65a1724acb
test(cli): add test case for 'deno test --watch' ( #11434 )
2021-07-20 18:29:17 +09:00
Luca Casonato
55632266e9
tests: re-enable disabled Response.formData test ( #11453 )
2021-07-20 00:11:50 +02:00
Bartek Iwańczuk
7d69f06db8
v1.12.1
2021-07-19 21:09:07 +02:00
Bartek Iwańczuk
cd445a2a0d
chore: release crates ( #11454 )
2021-07-19 20:20:42 +02:00
Luca Casonato
08d2c7250b
fix: Big{U|}Int64Array in crypto.getRandomValues ( #11447 )
...
Relevant spec change: https://github.com/w3c/webcrypto/pull/266
2021-07-19 15:35:47 +02:00
Ayato Tokubi
af4912ed0d
fix(repl): output error without hanging when input is invalid ( #11426 )
2021-07-19 05:38:13 -07:00
Luca Casonato
7b82ef9ded
chore: update wpt ( #11446 )
2021-07-19 13:46:02 +02:00
TED@Hexaflow
890a94989a
docs: fix npm_nodejs FAQ link ( #11444 )
2021-07-19 13:52:00 +10:00
Kitson Kelly
07eb44e483
fix(tsc): add .at() types manually to tsc ( #11443 )
...
Fixes: #11441
2021-07-19 11:56:14 +10:00
Casper Beyer
a23c0af5bd
docs: fix bash code blocks tagged as ts ( #11439 )
2021-07-19 00:29:10 +02:00
Casper Beyer
4dee1fd463
docs: tag bundler code blocks as bash ( #11440 )
2021-07-19 00:28:58 +02:00
Casper Beyer
3d3bb1e65c
fix(cli): re-enable --watch flag for test ( #11433 )
2021-07-18 17:55:25 +09:00
Kitson Kelly
44084cd0f9
docs: add npm-Node.js chapter ( #11419 )
...
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2021-07-18 16:30:17 +10:00
Casper Beyer
e0e26b4101
fix(cli): add help description for test --jobs option ( #11415 )
2021-07-17 18:27:37 -04:00
Andreu Botella
03ba63e108
docs: Document the WASM streaming APIs. ( #11430 )
2021-07-17 18:26:11 -04:00
Andreu Botella
240545282a
fix(workers): silently ignore non-existent worker IDs ( #11417 )
...
Fixes #11416
2021-07-17 08:51:06 +10:00
Luca Casonato
91bbd1a6d5
fix(ext/http): correctly concat cookie headers ( #11422 )
...
Cookie headers should not be concatenated by commas, rather by
semicolons.
2021-07-16 16:31:16 +02:00
Casper Beyer
2e57476fbb
fix(cli): return error from coverage_command
( #11411 )
2021-07-15 18:28:14 +02:00
David Sherret
79ac050d29
chore: upgrade to swc 0.46 ( #11402 )
2021-07-14 21:28:01 -04:00
Casper Beyer
69ca44d8e2
refactor(cli/tools/test_runner): split reporter into distinct stages ( #11395 )
...
This splits up the reporter into smaller functions, one for each
distinct event that happens during the testing process.
2021-07-14 21:05:16 +02:00
Ayato Tokubi
6ce2a089a8
chore(repl): fix integration test input to not throw parse errors ( #11401 )
2021-07-14 14:41:24 -04:00
Casper Beyer
844910e44f
test(cli): ensure clear timeout doesn't trigger sanitizers ( #11396 )
2021-07-14 19:47:47 +02:00
Andreu Botella
5b771e7e83
fix(extensions/web): aborting a FileReader should not affect later reads ( #11381 )
...
Currently, calling the `abort()` method on a `FileReader` object aborts
any current read operation, but it also prevents any read operation
started at some later point from starting. The File API instead
specifies that calling `abort()` should reset the `FileReader`'s state
and result, as well as removing any queued tasks from the current
operation that haven't yet run.
2021-07-14 12:08:42 +02:00
Casper Beyer
56635d3b52
refactor(cli/tools/test_runner): make test reporters stateless ( #11357 )
...
This collects summary information in the event collector and
passes it to the reporter instead of having this embedded in
each reporter which leads to a lot of duplication.
2021-07-14 00:11:58 +02:00
Casper Beyer
9cb48bd8fe
refactor(runtime): apply permissions as a hook during registration ( #11347 )
2021-07-14 00:11:02 +02:00
Divy Srivastava
9dc3390720
chore(extensions/crypto): use primoridials with verify() ( #11384 )
2021-07-13 18:52:59 +02:00
Bartek Iwańczuk
1ad6575028
v1.12.0
2021-07-13 10:45:17 +02:00
Bartek Iwańczuk
642dd3d3c4
chore: release crates ( #11378 )
2021-07-13 02:16:49 +02:00
Luca Casonato
9c020d8c27
upgrade: deno_lint 0.10.0 ( #11374 )
2021-07-13 00:04:44 +02:00
Andreu Botella
2c7c130f0a
chore(wpt): Mark a WPT test as failed if it exits before completion ( #11371 )
...
Currently, a WPT test is considered failed if its status code is
anything other than 0, regardless of whether the test suite completed
running or not, and any subtests that haven't finished running are not
considered to be failures.
But a test can exit with a zero status code before it has completed
running, if the event loop has run out of tasks because of a bug in one
of the ops, leading to false positives. This change fixes that.
2021-07-12 21:15:07 +02:00
Bartek Iwańczuk
6d4e9bad98
chore: upgrade rusty_v8 ( #11372 )
2021-07-12 21:03:10 +02:00
Luca Casonato
51e0bfda3c
chore(runtime): deprecate Deno.copy
( #11369 )
2021-07-12 19:44:42 +02:00
Divy Srivastava
00484d24ba
feat(extensions/crypto): implement verify() for RSA ( #11312 )
2021-07-12 14:45:36 +02:00
Bartek Iwańczuk
e95c0c85fa
fix: non-existent field in cli/flags.rs ( #11368 )
2021-07-12 14:22:33 +02:00
Yasser A.Idrissi
32855f2c85
feat: Add support for "deno test --fail-fast=N" ( #11316 )
...
This commit adds support for specifying threshold in the "--fail-fast"
flag for "deno test" subcommand. Previously using "--fail-fast" stopped
running the test suite after first failure and with this change users
may specify number of failed tests that will cause the suite to be interrupted.
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2021-07-12 12:55:42 +02:00
Casper Beyer
0bc54a0099
chore(cli/tools/test_runner): inline execute_module rresults ( #11358 )
2021-07-12 12:46:32 +02:00