diff options
author | Antoine du Hamel <duhamelantoine1995@gmail.com> | 2022-04-04 11:36:54 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-04 11:36:54 +0300 |
commit | 560cbc584908768f5802f835cb34bed783446939 (patch) | |
tree | 3ecf6a9efa7bc531ff9ae20c470665d1090dca85 /.eslintrc.js | |
parent | e6a7300a10eb7de8a79e1ace26631fb611b64bfe (diff) |
stream: expose web streams globals, remove runtime experimental warning
PR-URL: https://github.com/nodejs/node/pull/42225
Fixes: https://github.com/nodejs/node/issues/40950
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Mestery <mestery@protonmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com>
Diffstat (limited to '.eslintrc.js')
-rw-r--r-- | .eslintrc.js | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/.eslintrc.js b/.eslintrc.js index d44e3f1414f..f6de7559cb4 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -317,11 +317,28 @@ module.exports = { 'node-core/no-duplicate-requires': 'error', }, globals: { + ByteLengthQueuingStrategy: 'readable', + CompressionStream: 'readable', + CountQueuingStrategy: 'readable', Crypto: 'readable', CryptoKey: 'readable', + DecompressionStream: 'readable', fetch: 'readable', FormData: 'readable', + ReadableStream: 'readable', + ReadableStreamDefaultReader: 'readable', + ReadableStreamBYOBReader: 'readable', + ReadableStreamBYOBRequest: 'readable', + ReadableByteStreamController: 'readable', + ReadableStreamDefaultController: 'readable', Response: 'readable', + TextDecoderStream: 'readable', + TextEncoderStream: 'readable', + TransformStream: 'readable', + TransformStreamDefaultController: 'readable', SubtleCrypto: 'readable', + WritableStream: 'readable', + WritableStreamDefaultWriter: 'readable', + WritableStreamDefaultController: 'readable', }, }; |