diff options
author | Timothy Gu <timothygu99@gmail.com> | 2018-03-25 20:13:54 -0700 |
---|---|---|
committer | Timothy Gu <timothygu99@gmail.com> | 2018-04-18 07:50:17 -0700 |
commit | be92eab92a185fdd954da85bc41ab85af0f16690 (patch) | |
tree | 3653358ecb6afcc0b8420248c7d32c8458a17038 /src/node_config.cc | |
parent | d864f63611a86c33da7864e3af5fff3be8332d07 (diff) | |
download | node-new-be92eab92a185fdd954da85bc41ab85af0f16690.tar.gz |
repl: hide top-level await feature behind a flag
PR-URL: https://github.com/nodejs/node/pull/19604
Refs: https://github.com/nodejs/node/pull/17807
Refs: https://github.com/nodejs/node/pull/15566#issuecomment-353428430
Reviewed-By: Gus Caplan <me@gus.host>
Diffstat (limited to 'src/node_config.cc')
-rw-r--r-- | src/node_config.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/node_config.cc b/src/node_config.cc index 055a9b0ae4..e2b2662abd 100644 --- a/src/node_config.cc +++ b/src/node_config.cc @@ -89,6 +89,9 @@ static void Initialize(Local<Object> target, if (config_experimental_vm_modules) READONLY_BOOLEAN_PROPERTY("experimentalVMModules"); + if (config_experimental_repl_await) + READONLY_BOOLEAN_PROPERTY("experimentalREPLAwait"); + if (config_pending_deprecation) READONLY_BOOLEAN_PROPERTY("pendingDeprecation"); |