summaryrefslogtreecommitdiff
path: root/node.gyp
diff options
context:
space:
mode:
authorRich Trott <rtrott@gmail.com>2021-02-24 11:30:50 -0800
committerRich Trott <rtrott@gmail.com>2021-02-28 05:07:26 -0800
commit1e34df139cca62690320efe754baeef62a6356e4 (patch)
treedd3ec56d641964b6d6511be71f4884eac4418ab3 /node.gyp
parent7a4c2c8d86031b986e8a514d5c64b42d8a6b1806 (diff)
downloadnode-new-1e34df139cca62690320efe754baeef62a6356e4.tar.gz
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 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 cba5c0113d..63c8c50987 100644
--- a/node.gyp
+++ b/node.gyp
@@ -263,6 +263,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',