From 7ce1a68637840c5800d48abf275f4385c80f5658 Mon Sep 17 00:00:00 2001 From: AntonioFCG <93491383+Antonio476587@users.noreply.github.com> Date: Fri, 17 Feb 2023 05:14:59 -0400 Subject: [PATCH] fix(ext/node): add support for BYOB streams (#17803) --- ext/node/polyfills/stream/web.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ext/node/polyfills/stream/web.ts b/ext/node/polyfills/stream/web.ts index d97a6b0f10..b92e7b55b4 100644 --- a/ext/node/polyfills/stream/web.ts +++ b/ext/node/polyfills/stream/web.ts @@ -5,6 +5,8 @@ import { CountQueuingStrategy, ReadableByteStreamController, ReadableStream, + ReadableStreamBYOBReader, + ReadableStreamBYOBRequest, ReadableStreamDefaultController, ReadableStreamDefaultReader, TransformStream, @@ -23,6 +25,8 @@ export { CountQueuingStrategy, ReadableByteStreamController, ReadableStream, + ReadableStreamBYOBReader, + ReadableStreamBYOBRequest, ReadableStreamDefaultController, ReadableStreamDefaultReader, TextDecoderStream, @@ -36,6 +40,8 @@ export { export default { ReadableStream, + ReadableStreamBYOBReader, + ReadableStreamBYOBRequest, ReadableStreamDefaultReader, ReadableByteStreamController, ReadableStreamDefaultController,