diff options
author | Antoine du Hamel <duhamelantoine1995@gmail.com> | 2022-02-22 23:25:59 +0100 |
---|---|---|
committer | Antoine du Hamel <duhamelantoine1995@gmail.com> | 2022-09-17 15:54:33 +0200 |
commit | 6de2673a9f9420e87066422375278d0156079889 (patch) | |
tree | a7e4648ce93e9093d31a1292692a86585117c129 /doc/api/cli.md | |
parent | 572d55645c0bd446e7f88e0f2120e5a115257234 (diff) | |
download | node-new-6de2673a9f9420e87066422375278d0156079889.tar.gz |
lib: enable global WebCrypto by default
Enables `--experimental-global-webcrypto` by default, and ensures that
the classic `node:crypto` core module is still available in `--eval` or
`--print` contexts.
PR-URL: https://github.com/nodejs/node/pull/42083
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Filip Skokan <panva.ip@gmail.com>
Reviewed-By: Michaƫl Zasso <targos@protonmail.com>
Diffstat (limited to 'doc/api/cli.md')
-rw-r--r-- | doc/api/cli.md | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/doc/api/cli.md b/doc/api/cli.md index 18daed918d..b1b0103cfd 100644 --- a/doc/api/cli.md +++ b/doc/api/cli.md @@ -351,16 +351,6 @@ added: Expose the [CustomEvent Web API][] on the global scope. -### `--experimental-global-webcrypto` - -<!-- YAML -added: - - v17.6.0 - - v16.15.0 ---> - -Expose the [Web Crypto API][] on the global scope. - ### `--experimental-import-meta-resolve` <!-- YAML @@ -413,6 +403,14 @@ added: v18.0.0 Disable experimental support for the [Fetch API][]. +### `--no-experimental-global-webcrypto` + +<!-- YAML +added: REPLACEME +--> + +Disable exposition of [Web Crypto API][] on the global scope. + ### `--no-experimental-repl-await` <!-- YAML @@ -1839,7 +1837,6 @@ Node.js options that are allowed are: * `--enable-source-maps` * `--experimental-abortcontroller` * `--experimental-global-customevent` -* `--experimental-global-webcrypto` * `--experimental-import-meta-resolve` * `--experimental-json-modules` * `--experimental-loader` @@ -1872,6 +1869,7 @@ Node.js options that are allowed are: * `--no-addons` * `--no-deprecation` * `--no-experimental-fetch` +* `--no-experimental-global-webcrypto` * `--no-experimental-repl-await` * `--no-extra-info-on-fatal-exception` * `--no-force-async-hooks-checks` |