From 37241e9b1e2d16cd160d529e69c6a782fff8a8b4 Mon Sep 17 00:00:00 2001 From: await-ovo <13152410380@163.com> Date: Mon, 17 Jul 2023 21:10:34 +0800 Subject: fix(ext/node): fix stream/promises export (#19820) --- ext/node/polyfills/stream/promises.mjs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'ext/node/polyfills/stream') diff --git a/ext/node/polyfills/stream/promises.mjs b/ext/node/polyfills/stream/promises.mjs index 98fe38e0a..aebbfae53 100644 --- a/ext/node/polyfills/stream/promises.mjs +++ b/ext/node/polyfills/stream/promises.mjs @@ -1,7 +1,9 @@ // Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. // Copyright Joyent and Node contributors. All rights reserved. MIT license. -import { finished, pipeline } from "ext:deno_node/_stream.mjs"; +import { Stream } from "ext:deno_node/_stream.mjs"; + +const { finished, pipeline } = Stream.promises; export default { finished, -- cgit v1.2.3