diff options
author | Rich Trott <rtrott@gmail.com> | 2021-02-24 22:30:50 +0300 |
---|---|---|
committer | Michaƫl Zasso <targos@protonmail.com> | 2021-09-04 09:59:17 +0300 |
commit | 32a5b8f59b9d5f7a103bdee7aa6db20929d9f956 (patch) | |
tree | 53ffb2b07c5fe74c2e4f3ffba3ef5574282cb0b2 /node.gyp | |
parent | 2b0e2706c009742d54a1b6d47e5b26f9bc439a64 (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.gyp | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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', |