| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent bf4f516 commit 3454f65
10 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -221,7 +221,7 @@ added: v9.6.0 | |||
| 221 | 221 | ||
| 222 | 222 | Enable experimental ES Module support in the `vm` module. | |
| 223 | 223 | ||
| 224 | - ### `--experimental-wasi-unstable-preview0` | ||
| 224 | + ### `--experimental-wasi-unstable-preview1` | ||
| 225 | 225 | <!-- YAML | |
| 226 | 226 | added: REPLACEME | |
| 227 | 227 | --> | |
@@ -1107,7 +1107,7 @@ Node.js options that are allowed are: | |||
| 1107 | 1107 | * `--experimental-report` | |
| 1108 | 1108 | * `--experimental-specifier-resolution` | |
| 1109 | 1109 | * `--experimental-vm-modules` | |
| 1110 | - * `--experimental-wasi-unstable-preview0` | ||
| 1110 | + * `--experimental-wasi-unstable-preview1` | ||
| 1111 | 1111 | * `--experimental-wasm-modules` | |
| 1112 | 1112 | * `--force-context-aware` | |
| 1113 | 1113 | * `--force-fips` | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -29,7 +29,7 @@ const importObject = { wasi_snapshot_preview1: wasi.wasiImport }; | |||
| 29 | 29 | })(); | |
| 30 | 30 | ``` | |
| 31 | 31 | ||
| 32 | - The `--experimental-wasi-unstable-preview0` and `--experimental-wasm-bigint` | ||
| 32 | + The `--experimental-wasi-unstable-preview1` and `--experimental-wasm-bigint` | ||
| 33 | 33 | CLI arguments are needed for the previous example to run. | |
| 34 | 34 | ||
| 35 | 35 | ## Class: WASI | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -141,7 +141,7 @@ feature. | |||
| 141 | 141 | .It Fl -experimental-vm-modules | |
| 142 | 142 | Enable experimental ES module support in VM module. | |
| 143 | 143 | . | |
| 144 | - .It Fl -experimental-wasi-unstable-preview0 | ||
| 144 | + .It Fl -experimental-wasi-unstable-preview1 | ||
| 145 | 145 | Enable experimental WebAssembly System Interface support. | |
| 146 | 146 | . | |
| 147 | 147 | .It Fl -experimental-wasm-modules | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -405,7 +405,7 @@ function initializeWASI() { | |||
| 405 | 405 | const { NativeModule } = require('internal/bootstrap/loaders'); | |
| 406 | 406 | const mod = NativeModule.map.get('wasi'); | |
| 407 | 407 | mod.canBeRequiredByUsers = | |
| 408 | - getOptionValue('--experimental-wasi-unstable-preview0'); | ||
| 408 | + getOptionValue('--experimental-wasi-unstable-preview1'); | ||
| 409 | 409 | } | |
| 410 | 410 | ||
| 411 | 411 | function initializeCJSLoader() { | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -397,7 +397,7 @@ EnvironmentOptionsParser::EnvironmentOptionsParser() { | |||
| 397 | 397 | &EnvironmentOptions::experimental_report, | |
| 398 | 398 | kAllowedInEnvironment); | |
| 399 | 399 | #endif // NODE_REPORT | |
| 400 | - AddOption("--experimental-wasi-unstable-preview0", | ||
| 400 | + AddOption("--experimental-wasi-unstable-preview1", | ||
| 401 | 401 | "experimental WASI support", | |
| 402 | 402 | &EnvironmentOptions::experimental_wasi, | |
| 403 | 403 | kAllowedInEnvironment); | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,4 +1,4 @@ | |||
| 1 | - // Flags: --experimental-wasi-unstable-preview0 | ||
| 1 | + // Flags: --experimental-wasi-unstable-preview1 | ||
| 2 | 2 | 'use strict'; | |
| 3 | 3 | ||
| 4 | 4 | const common = require('../common'); | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,6 +1,6 @@ | |||
| 1 | 1 | 'use strict'; | |
| 2 | 2 | ||
| 3 | - // Flags: --experimental-wasi-unstable-preview0 | ||
| 3 | + // Flags: --experimental-wasi-unstable-preview1 | ||
| 4 | 4 | ||
| 5 | 5 | require('../common'); | |
| 6 | 6 | const assert = require('assert'); | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,4 +1,4 @@ | |||
| 1 | - // Flags: --experimental-wasi-unstable-preview0 | ||
| 1 | + // Flags: --experimental-wasi-unstable-preview1 | ||
| 2 | 2 | 'use strict'; | |
| 3 | 3 | ||
| 4 | 4 | const common = require('../common'); | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -59,7 +59,7 @@ if (process.argv[2] === 'wasi-child') { | |||
| 59 | 59 | console.log('executing', options.test); | |
| 60 | 60 | const opts = { env: { ...process.env, NODE_DEBUG_NATIVE: 'wasi' } }; | |
| 61 | 61 | const child = cp.spawnSync(process.execPath, [ | |
| 62 | - '--experimental-wasi-unstable-preview0', | ||
| 62 | + '--experimental-wasi-unstable-preview1', | ||
| 63 | 63 | '--experimental-wasm-bigint', | |
| 64 | 64 | __filename, | |
| 65 | 65 | 'wasi-child', | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -44,7 +44,7 @@ if (process.argv[2] === 'wasi-child') { | |||
| 44 | 44 | opts.input = options.stdin; | |
| 45 | 45 | ||
| 46 | 46 | const child = cp.spawnSync(process.execPath, [ | |
| 47 | - '--experimental-wasi-unstable-preview0', | ||
| 47 | + '--experimental-wasi-unstable-preview1', | ||
| 48 | 48 | '--experimental-wasm-bigint', | |
| 49 | 49 | __filename, | |
| 50 | 50 | 'wasi-child', | |
| Back | FazBrowse Home | New Git URL |
0 commit comments