From 98d2a6e4304e0cc720046f8992b736a290aa038d Mon Sep 17 00:00:00 2001 From: Debadree Chatterjee Date: Wed, 25 Jan 2023 17:24:31 +0530 Subject: [PATCH] stream: remove brandchecks from stream duplexify Refs: https://github.com/nodejs/node/pull/46190 Refs: https://github.com/nodejs/node/pull/46205#discussion_r1070551161 PR-URL: https://github.com/nodejs/node/pull/46315 Reviewed-By: Robert Nagy Reviewed-By: Matteo Collina Reviewed-By: Darshan Sen Reviewed-By: Benjamin Gruenbaum Reviewed-By: Luigi Pinca Reviewed-By: Anna Henningsen --- lib/internal/streams/duplexify.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/internal/streams/duplexify.js b/lib/internal/streams/duplexify.js index bfcd51233ac786..b591ee3fd981ff 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 {