Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRich Trott <rtrott@gmail.com>2021-02-24 22:30:50 +0300
committerMichaƫl Zasso <targos@protonmail.com>2021-09-04 09:59:17 +0300
commit32a5b8f59b9d5f7a103bdee7aa6db20929d9f956 (patch)
tree53ffb2b07c5fe74c2e4f3ffba3ef5574282cb0b2 /node.gyp
parent2b0e2706c009742d54a1b6d47e5b26f9bc439a64 (diff)
stream: move duplicated code to an internal module
Create a utils module for isIterable(), isReadable(), and isStream(). PR-URL: https://github.com/nodejs/node/pull/37508 Backport-PR-URL: https://github.com/nodejs/node/pull/39973 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: Robert Nagy <ronagy@icloud.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Diffstat (limited to 'node.gyp')
-rw-r--r--node.gyp1
1 files changed, 1 insertions, 0 deletions
diff --git a/node.gyp b/node.gyp
index 2197f0fd755..35b7912afa7 100644
--- a/node.gyp
+++ b/node.gyp
@@ -245,6 +245,7 @@
'lib/internal/streams/state.js',
'lib/internal/streams/pipeline.js',
'lib/internal/streams/end-of-stream.js',
+ 'lib/internal/streams/utils.js',
'deps/v8/tools/splaytree.js',
'deps/v8/tools/codemap.js',
'deps/v8/tools/consarray.js',