summaryrefslogtreecommitdiff
path: root/ext/node/polyfills
diff options
context:
space:
mode:
authorawait-ovo <13152410380@163.com>2023-07-17 21:10:34 +0800
committerGitHub <noreply@github.com>2023-07-17 22:10:34 +0900
commit37241e9b1e2d16cd160d529e69c6a782fff8a8b4 (patch)
tree20f85d17b7d6b6ac4957dc78b5d07182bc8efaf0 /ext/node/polyfills
parent306b51d7728a6e28461171d3332a0b3aa8545a6e (diff)
fix(ext/node): fix stream/promises export (#19820)
Diffstat (limited to 'ext/node/polyfills')
-rw-r--r--ext/node/polyfills/stream/promises.mjs4
1 files changed, 3 insertions, 1 deletions
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,