Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorcjihrig <cjihrig@gmail.com>2019-12-15 19:30:45 +0300
committerRich Trott <rtrott@gmail.com>2019-12-18 04:35:12 +0300
commit2b06166c76758e9394e2136b724f10ba9eb44589 (patch)
treee52f1844c250d69faf95bff5546567b6b8f56391 /lib
parentb6c589fde50b5b69a77fa6f316bccbc9ff259f48 (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 'lib')
-rw-r--r--lib/internal/bootstrap/pre_execution.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/internal/bootstrap/pre_execution.js b/lib/internal/bootstrap/pre_execution.js
index 47c709b424e..40dabdda504 100644
--- a/lib/internal/bootstrap/pre_execution.js
+++ b/lib/internal/bootstrap/pre_execution.js
@@ -404,7 +404,7 @@ function initializeWASI() {
const { NativeModule } = require('internal/bootstrap/loaders');
const mod = NativeModule.map.get('wasi');
mod.canBeRequiredByUsers =
- getOptionValue('--experimental-wasi-unstable-preview0');
+ getOptionValue('--experimental-wasi-unstable-preview1');
}
function initializeCJSLoader() {