diff --git a/lib/internal/streams/duplexify.js b/lib/internal/streams/duplexify.js index 68b47f1e8ce9cc..2198542706e4d4 100644 --- a/lib/internal/streams/duplexify.js +++ b/lib/internal/streams/duplexify.js @@ -8,6 +8,8 @@ const { isReadableNodeStream, isWritableNodeStream, isDuplexNodeStream, + isReadableStream, + isWritableStream, } = require('internal/streams/utils'); const eos = require('internal/streams/end-of-stream'); const { @@ -33,16 +35,6 @@ const { FunctionPrototypeCall } = primordials; - -const { - isBrandCheck, -} = require('internal/webstreams/util'); - -const isReadableStream = - isBrandCheck('ReadableStream'); -const isWritableStream = - isBrandCheck('WritableStream'); - // This is needed for pre node 17. class Duplexify extends Duplex { constructor(options) {