File tree Expand file tree Collapse file tree 10 files changed +11
-11
lines changed Expand file tree Collapse file tree 10 files changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -221,7 +221,7 @@ added: v9.6.0
221221
222222Enable experimental ES Module support in the ` vm ` module.
223223
224- ### ` --experimental-wasi-unstable-preview0 `
224+ ### ` --experimental-wasi-unstable-preview1 `
225225<!-- YAML
226226added: REPLACEME
227227-->
@@ -1107,7 +1107,7 @@ Node.js options that are allowed are:
11071107* ` --experimental-report `
11081108* ` --experimental-specifier-resolution `
11091109* ` --experimental-vm-modules `
1110- * ` --experimental-wasi-unstable-preview0 `
1110+ * ` --experimental-wasi-unstable-preview1 `
11111111* ` --experimental-wasm-modules `
11121112* ` --force-context-aware `
11131113* ` --force-fips `
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ const importObject = { wasi_snapshot_preview1: wasi.wasiImport };
2929})();
3030```
3131
32- The ` --experimental-wasi-unstable-preview0 ` and ` --experimental-wasm-bigint `
32+ The ` --experimental-wasi-unstable-preview1 ` and ` --experimental-wasm-bigint `
3333CLI arguments are needed for the previous example to run.
3434
3535## Class: WASI
Original file line number Diff line number Diff line change @@ -141,7 +141,7 @@ feature.
141141.It Fl -experimental-vm-modules
142142Enable experimental ES module support in VM module.
143143.
144- .It Fl -experimental-wasi-unstable-preview0
144+ .It Fl -experimental-wasi-unstable-preview1
145145Enable experimental WebAssembly System Interface support.
146146.
147147.It Fl -experimental-wasm-modules
Original file line number Diff line number Diff line change @@ -405,7 +405,7 @@ function initializeWASI() {
405405 const { NativeModule } = require ( 'internal/bootstrap/loaders' ) ;
406406 const mod = NativeModule . map . get ( 'wasi' ) ;
407407 mod . canBeRequiredByUsers =
408- getOptionValue ( '--experimental-wasi-unstable-preview0 ' ) ;
408+ getOptionValue ( '--experimental-wasi-unstable-preview1 ' ) ;
409409}
410410
411411function initializeCJSLoader ( ) {
Original file line number Diff line number Diff line change @@ -397,7 +397,7 @@ EnvironmentOptionsParser::EnvironmentOptionsParser() {
397397 &EnvironmentOptions::experimental_report,
398398 kAllowedInEnvironment );
399399#endif // NODE_REPORT
400- AddOption (" --experimental-wasi-unstable-preview0 " ,
400+ AddOption (" --experimental-wasi-unstable-preview1 " ,
401401 " experimental WASI support" ,
402402 &EnvironmentOptions::experimental_wasi,
403403 kAllowedInEnvironment );
Original file line number Diff line number Diff line change 1- // Flags: --experimental-wasi-unstable-preview0
1+ // Flags: --experimental-wasi-unstable-preview1
22'use strict' ;
33
44const common = require ( '../common' ) ;
Original file line number Diff line number Diff line change 11'use strict' ;
22
3- // Flags: --experimental-wasi-unstable-preview0
3+ // Flags: --experimental-wasi-unstable-preview1
44
55require ( '../common' ) ;
66const assert = require ( 'assert' ) ;
Original file line number Diff line number Diff line change 1- // Flags: --experimental-wasi-unstable-preview0
1+ // Flags: --experimental-wasi-unstable-preview1
22'use strict' ;
33
44const common = require ( '../common' ) ;
Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ if (process.argv[2] === 'wasi-child') {
5959 console . log ( 'executing' , options . test ) ;
6060 const opts = { env : { ...process . env , NODE_DEBUG_NATIVE : 'wasi' } } ;
6161 const child = cp . spawnSync ( process . execPath , [
62- '--experimental-wasi-unstable-preview0 ' ,
62+ '--experimental-wasi-unstable-preview1 ' ,
6363 '--experimental-wasm-bigint' ,
6464 __filename ,
6565 'wasi-child' ,
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ if (process.argv[2] === 'wasi-child') {
4444 opts . input = options . stdin ;
4545
4646 const child = cp . spawnSync ( process . execPath , [
47- '--experimental-wasi-unstable-preview0 ' ,
47+ '--experimental-wasi-unstable-preview1 ' ,
4848 '--experimental-wasm-bigint' ,
4949 __filename ,
5050 'wasi-child' ,
You can’t perform that action at this time.
0 commit comments