From 03225c5c160aa64a0178c48b793b7a784b3435a1 Mon Sep 17 00:00:00 2001 From: Hemanth HM Date: Tue, 11 Aug 2020 15:41:40 -0700 Subject: [PATCH] repl: unflag Top-Level Await unflags Top-Level await for the REPL. This is accomplished by getting rid of --experimental-repl-await flag and the checks related to the same. --- doc/api/cli.md | 8 -------- doc/api/repl.md | 4 +--- lib/repl.js | 6 ++---- src/node_options.cc | 2 +- .../test-process-env-allowed-flags-are-documented.js | 1 + test/parallel/test-repl-import-referrer.js | 2 +- test/parallel/test-repl-top-level-await.js | 2 +- 7 files changed, 7 insertions(+), 18 deletions(-) diff --git a/doc/api/cli.md b/doc/api/cli.md index 899c28f6f76675..944bef506fd86f 100644 --- a/doc/api/cli.md +++ b/doc/api/cli.md @@ -230,13 +230,6 @@ added: v11.8.0 Use the specified file as a security policy. -### `--experimental-repl-await` - - -Enable experimental top-level `await` keyword support in REPL. - ### `--experimental-specifier-resolution=mode`