diff --git a/.eslintrc.js b/.eslintrc.js index f86f42e8f2e..9eaa7e3f47b 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -348,6 +348,7 @@ module.exports = { Crypto: 'readable', CryptoKey: 'readable', DecompressionStream: 'readable', + EventSource: 'readable', fetch: 'readable', FormData: 'readable', ReadableStream: 'readable', diff --git a/doc/api/cli.md b/doc/api/cli.md index 8f32a44ad41..0b8eb7b0cb2 100644 --- a/doc/api/cli.md +++ b/doc/api/cli.md @@ -898,6 +898,14 @@ CommonJS. This includes the following: * Lexical redeclarations of the CommonJS wrapper variables (`require`, `module`, `exports`, `__dirname`, `__filename`). +### `--experimental-eventsource` + + + +Enable exposition of [EventSource Web API][] on the global scope. + ### `--experimental-import-meta-resolve`