Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
stream: move to internal/streams
Move all the streams constructors to internal/streams and avoid a circular dependencies between the modules. See: nodejs/readable-stream#348 PR-URL: #35239 Reviewed-By: Robert Nagy <ronagy@icloud.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
- Loading branch information
Showing
with
2,606 additions
and 2,575 deletions.
- +2 −104 lib/_stream_duplex.js
- +2 −43 lib/_stream_passthrough.js
- +2 −1,320 lib/_stream_readable.js
- +2 −242 lib/_stream_transform.js
- +2 −847 lib/_stream_writable.js
- +108 −0 lib/internal/streams/duplex.js
- +47 −0 lib/internal/streams/passthrough.js
- +1 −1 lib/internal/streams/pipeline.js
- +1,324 −0 lib/internal/streams/readable.js
- +246 −0 lib/internal/streams/transform.js
- +851 −0 lib/internal/streams/writable.js
- +5 −9 lib/stream.js
- +5 −0 node.gyp
- +4 −4 test/message/stdin_messages.out
- +5 −5 test/parallel/test-bootstrap-modules.js
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @@ -1,108 +1,6 @@ | ||
| 'use strict'; | ||
|
|
||
| // TODO(mcollina): deprecate this file | ||
|
|
||
| const Duplex = require('internal/streams/duplex'); | ||
| module.exports = Duplex; | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @@ -1,47 +1,6 @@ | ||
| 'use strict'; | ||
|
|
||
| // TODO(mcollina): deprecate this file | ||
|
|
||
| const PassThrough = require('internal/streams/passthrough'); | ||
| module.exports = PassThrough; | ||
Oops, something went wrong.

