diff --git a/.eslintrc.js b/.eslintrc.js index ea69a2893ff188..167107a0018e08 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -337,6 +337,7 @@ module.exports = { TextEncoderStream: 'readable', TransformStream: 'readable', TransformStreamDefaultController: 'readable', + ShadowRealm: 'readable', SubtleCrypto: 'readable', WritableStream: 'readable', WritableStreamDefaultWriter: 'readable', diff --git a/doc/api/cli.md b/doc/api/cli.md index 3db570deb695bc..723efb75c133e2 100644 --- a/doc/api/cli.md +++ b/doc/api/cli.md @@ -342,10 +342,18 @@ Disable experimental support for the [Fetch API][]. +--> Use this flag to disable top-level await in REPL. +### `--experimental-shadow-realm` + + + +Use this flag to enable [ShadowRealm][] support. + ### `--experimental-specifier-resolution=mode`