diff options
author | Rich Trott <rtrott@gmail.com> | 2021-02-24 11:30:50 -0800 |
---|---|---|
committer | Rich Trott <rtrott@gmail.com> | 2021-02-28 05:07:26 -0800 |
commit | 1e34df139cca62690320efe754baeef62a6356e4 (patch) | |
tree | dd3ec56d641964b6d6511be71f4884eac4418ab3 /node.gyp | |
parent | 7a4c2c8d86031b986e8a514d5c64b42d8a6b1806 (diff) | |
download | node-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.gyp | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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', |