Luca Casonato
4d4ce4c4d8
chore: update wpt ( #11621 )
2021-08-09 18:49:31 +02:00
TheAifam5
353a4a1af3
feat: Add --unsafely-treat-insecure-origin-as-secure flag to disable SSL verification ( #11324 )
...
This commit adds "--unsafely-treat-insecure-origin-as-secure" flag
that allows to disable SSL verification for all domains, or specific
domains if they were passed as an argument to the flag.
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2021-08-09 16:53:21 +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
Ryan Dahl
f402904e6e
Upgrade deno-libffi to 0.0.7, fixes M1 build ( #11607 )
2021-08-09 14:15:37 +02:00
Leo K
f546f51698
fix(websocket): allow any close code for server ( #11614 )
2021-08-09 10:45:59 +02:00
Leo K
16ae4a0d57
feat(extensions/web): add structuredClone function ( #11572 )
...
Co-authored-by: Luca Casonato <hello@lcas.dev>
2021-08-09 10:39:00 +02:00
Justin Chase
02c74fb709
feat(tls): Optionally support loading native certs ( #11491 )
...
This commit adds "DENO_TLS_CA_STORE" env variable to support
optionally loading certificates from the users local certificate store.
This will allow them to successfully connect via tls with corporate
and self signed certs provided they have them installed in their keystore.
It also allows them to deal with revoked certs by simply updating
their keystore without having to upgrade Deno.
Currently supported values are "mozilla", "system" or empty value.
2021-08-07 14:49:38 +02:00
David Sherret
fddeb4cea2
chore: fix repl_with_eval_flag test ( #11603 )
2021-08-06 18:09:19 -04: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
Elias Sjögreen
33c8d790c3
feat: ffi to replace plugins ( #11152 )
...
This commit removes implementation of "native plugins" and replaces
it with FFI API.
Effectively "Deno.openPlugin" API was replaced with "Deno.dlopen" API.
2021-08-06 23:28:10 +02:00
Bartek Iwańczuk
0d1a522a03
revert: allow URL for permissions ( #11600 )
...
Revert changes to "net" permissions in regards to handling URLs
introduced in 15b0e61de
.
2021-08-06 21:10:04 +02:00
Benjamin Gruenbaum
2b53602d3c
feat: support AbortSignal in writeFile ( #11568 )
2021-08-06 10:21:29 -07:00
David Sherret
466d3df9d1
refactor: make ParsedModule
implement Sync
( #11581 )
2021-08-06 10:36:16 -04:00
David Sherret
e9ddc7a41a
feat(repl): support exports in the REPL ( #11592 )
2021-08-06 09:37:24 -04:00
Leo K
15b0e61de5
feat(runtime): allow URL for permissions ( #11578 )
2021-08-06 15:04:00 +02:00
Divy Srivastava
b6b71c3d59
chore: Upgrade RSA to 0.5.0 ( #11589 )
2021-08-06 10:10:50 +02:00
Jean Pierre
728d205d9d
feat(lsp): implement refactoring code actions ( #11555 )
...
Closes: denoland/vscode_deno#433
2021-08-06 11:46:32 +10:00
Leo K
3f0cf9619f
refactor(cli/tests): remove unnecessary void return types ( #11577 )
2021-08-05 13:08:58 +02:00
David Sherret
299c7cfe54
feat(fmt): format top-level JSX elements/fragments with parens when multi-line ( #11582 )
2021-08-04 23:17:32 -04:00
David Sherret
fcaf8cd8e3
chore: refactor netHangsOnClose
test to not use deferred
( #11585 )
2021-08-04 19:45:10 -04:00
Divy Srivastava
87de8e82a1
feat(extensions/crypto): implement verify() for HMAC ( #11387 )
2021-08-04 21:49:27 +02:00
Leo K
2ac031d6fd
feat(unstable): clean environmental variables for subprocess ( #11571 )
...
This commit adds "Deno.RunOptions.clearEnv" option, that allows
to clear environmental variables from parent process before spawning
a subprocess.
2021-08-04 21:47:43 +02:00
David Sherret
1cd95dd8b5
chore: surface import map JSON parse error to user ( #11573 )
2021-08-03 15:29:12 -04:00
Divy Srivastava
86f89f9222
feat(extensions/crypto): implement importKey and exportKey for raw HMAC keys ( #11367 )
...
This commit introduces "SubtleCrypto.importKey()" and
"SubtleCrypto.exportKey()" APIs.
2021-08-03 21:24:02 +02:00
David Sherret
d7d452efc1
chore: format toml files internally ( #11563 )
2021-08-02 10:19:27 -04:00
Bartek Iwańczuk
505d253436
Revert "fix(extensions/fetch): Add Origin header to outgoing requests for fetch ( #11557 )" ( #11565 )
...
This reverts commit f87aa44d94
.
2021-08-02 15:56:52 +02:00
Bartek Iwańczuk
3a2e94492b
feat: stabilize Deno.serveHttp() ( #11544 )
...
This commit moves "Deno.serveHttp()" and related types
to stable namespace.
2021-08-02 14:40:46 +02:00
Feng Yu
f87aa44d94
fix(extensions/fetch): Add Origin header to outgoing requests for fetch ( #11557 )
2021-08-02 02:19:21 -07:00
David Sherret
ecb4c9492f
chore: fix failing netTcpListenCloseWhileIterating test on some machines ( #11552 )
2021-07-31 21:10:19 -04:00
David Sherret
a13db3650e
fix(lsp): do not output to stderr before exiting the process ( #11562 )
2021-07-31 21:05:09 -04:00
Yusuke Tanaka
8f00b5542c
chore: upgrade Rust to 1.54.0 ( #11554 )
2021-07-30 15:03:41 +02:00
Ben Noordhuis
c909faf9e6
chore(core): use oneshot channel in mod_evaluate() ( #11556 )
...
Oneshot is more appropriate because mod_evaluate() only sends a single
value.
It also makes it easier to use it correctly. As an embedder, I wasn't
sure if I'm expected to drain the channel or not.
2021-07-30 13:36:43 +02:00
Divy Srivastava
2b13bb6945
feat(runtime): implement navigator.hardwareConcurrency ( #11448 )
...
This commit implements "navigator.hardwareConcurrency" API, which
supersedes "Deno.systemCpuInfo()" API (which was removed in this commit).
2021-07-29 21:45:11 +02:00
David Sherret
eece46f0d8
fix: support windows file specifiers with import maps ( #11551 )
2021-07-29 15:20:34 -04:00
Casper Beyer
c276b52828
feat: type check codeblocks in Markdown file with "deno test --doc" ( #11421 )
2021-07-29 21:03:06 +02:00
Satya Rohith
d0ec29b493
chore: release deno_fetch ( #11549 )
2021-07-29 21:59:44 +05:30
Satya Rohith
1fc8935ebc
refactor(extension/fetch): update init args ( #11546 )
2021-07-29 20:59:16 +05:30
Feng Yu
935083d99a
fix(cli): deno doc panics on invalid url ( #11536 )
2021-07-29 04:07:25 -07:00
David Sherret
4641aacba6
chore: update README.md to link to contributing section rather than style guide ( #11543 )
2021-07-28 14:54:33 -04:00
Nayeem Rahman
42afbed053
BREAKING(unstable): Rename Deno.WebSocketUpgrade::websocket to socket ( #11542 )
2021-07-28 13:13:14 +02:00
Bartek Iwańczuk
c198535caf
fix: flaky worker test ( #11540 )
2021-07-28 13:12:45 +02:00
Satya Rohith
7f3a34eeb8
feat(extensions/fetch): extend init options ( #11528 )
2021-07-28 04:34:08 +05:30
Kitson Kelly
667b026798
feat(lsp): ability to set DENO_DIR via settings ( #11527 )
...
Ref: denoland/vscode_deno#287
2021-07-28 07:25:09 +10:00
Yasser A.Idrissi
fd0b24b246
test(cli): add test for deno test --shuffle ( #11523 )
2021-07-27 20:18:16 +02:00
Feng Yu
f6ec72edc4
chore: update logo link in readme ( #11535 )
2021-07-27 19:29:59 +05:30
Bartek Iwańczuk
f47c550100
test: make integration::workers::workers test inspectable ( #11524 )
2021-07-27 02:11:38 +02:00
Bartek Iwańczuk
a05bb3924a
chore: update cut_a_release.md ( #11522 )
2021-07-27 00:26:39 +02:00
Kitson Kelly
c6f4e41529
refactor(lsp): minor improvements to handling closed documents ( #11518 )
...
Ref #10897
2021-07-27 07:40:12 +10:00
Liam Murphy
091a26104b
fix(cli/dts): Type Deno.errors.*
as subclasses of Error
( #10702 )
2021-07-26 20:40:24 +02:00
Casper Beyer
2e69d2135a
feat(cli/tools/test): imply media type from doc attribute ( #11438 )
2021-07-26 19:48:35 +02:00