diff options
author | cjihrig <cjihrig@gmail.com> | 2019-12-15 19:30:45 +0300 |
---|---|---|
committer | Ruben Bridgewater <ruben@bridgewater.de> | 2020-01-03 18:12:03 +0300 |
commit | d6f942003b35449107d4f4ffb2ef35a093e0e84a (patch) | |
tree | 7bad830681b81c7228a887d9365a57f6159e3d39 /doc | |
parent | 32805a9525d533ea7e58bd2536be4b40f5ed3fe9 (diff) |
doc,lib,src,test: rename WASI CLI flag
The WASI API has moved from preview0 to preview1. This commit
updates the CLI flag accordingly.
PR-URL: https://github.com/nodejs/node/pull/30980
Reviewed-By: David Carlier <devnexen@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/api/cli.md | 9 | ||||
-rw-r--r-- | doc/api/wasi.md | 2 | ||||
-rw-r--r-- | doc/node.1 | 2 |
3 files changed, 9 insertions, 4 deletions
diff --git a/doc/api/cli.md b/doc/api/cli.md index 6050e3dc0fb..f3d5df070cc 100644 --- a/doc/api/cli.md +++ b/doc/api/cli.md @@ -230,9 +230,14 @@ added: v9.6.0 Enable experimental ES Module support in the `vm` module. -### `--experimental-wasi-unstable-preview0` +### `--experimental-wasi-unstable-preview1` <!-- YAML added: v13.3.0 +changes: + - version: REPLACEME + pr-url: https://github.com/nodejs/node/pull/30980 + description: changed from `--experimental-wasi-unstable-preview0` to + `--experimental-wasi-unstable-preview1` --> Enable experimental WebAssembly System Interface (WASI) support. @@ -1073,7 +1078,7 @@ Node.js options that are allowed are: * `--experimental-resolve-self` * `--experimental-specifier-resolution` * `--experimental-vm-modules` -* `--experimental-wasi-unstable-preview0` +* `--experimental-wasi-unstable-preview1` * `--experimental-wasm-modules` * `--force-context-aware` * `--force-fips` diff --git a/doc/api/wasi.md b/doc/api/wasi.md index 7127e7f8bb0..078aeb8107e 100644 --- a/doc/api/wasi.md +++ b/doc/api/wasi.md @@ -29,7 +29,7 @@ const importObject = { wasi_snapshot_preview1: wasi.wasiImport }; })(); ``` -The `--experimental-wasi-unstable-preview0` and `--experimental-wasm-bigint` +The `--experimental-wasi-unstable-preview1` and `--experimental-wasm-bigint` CLI arguments are needed for the previous example to run. ## Class: WASI diff --git a/doc/node.1 b/doc/node.1 index 255f6746abf..c783195c957 100644 --- a/doc/node.1 +++ b/doc/node.1 @@ -141,7 +141,7 @@ Enable experimental support for a package to load itself. .It Fl -experimental-vm-modules Enable experimental ES module support in VM module. . -.It Fl -experimental-wasi-unstable-preview0 +.It Fl -experimental-wasi-unstable-preview1 Enable experimental WebAssembly System Interface support. . .It Fl -experimental-wasm-modules |