| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent d52f600 commit 2e5e7a9
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -8,6 +8,8 @@ const { | |||
| 8 | 8 | isReadableNodeStream, | |
| 9 | 9 | isWritableNodeStream, | |
| 10 | 10 | isDuplexNodeStream, | |
| 11 | + isReadableStream, | ||
| 12 | + isWritableStream, | ||
| 11 | 13 | } = require('internal/streams/utils'); | |
| 12 | 14 | const eos = require('internal/streams/end-of-stream'); | |
| 13 | 15 | const { | |
@@ -33,16 +35,6 @@ const { | |||
| 33 | 35 | FunctionPrototypeCall | |
| 34 | 36 | } = primordials; | |
| 35 | 37 | ||
| 36 | - | ||
| 37 | - const { | ||
| 38 | - isBrandCheck, | ||
| 39 | - } = require('internal/webstreams/util'); | ||
| 40 | - | ||
| 41 | - const isReadableStream = | ||
| 42 | - isBrandCheck('ReadableStream'); | ||
| 43 | - const isWritableStream = | ||
| 44 | - isBrandCheck('WritableStream'); | ||
| 45 | - | ||
| 46 | 38 | // This is needed for pre node 17. | |
| 47 | 39 | class Duplexify extends Duplex { | |
| 48 | 40 | constructor(options) { | |
| Back | FazBrowse Home | New Git URL |
0 commit comments