From 9102ba9b0f50ba1fe4f13111ec66ac4e09ba2db4 Mon Sep 17 00:00:00 2001 From: David Sherret Date: Wed, 5 Oct 2022 19:33:52 -0400 Subject: [PATCH] fix(node): add dns/promises and stream/consumers (#16169) --- cli/node/mod.rs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/cli/node/mod.rs b/cli/node/mod.rs index 06d62269eb33ee..97240cfe7bb405 100644 --- a/cli/node/mod.rs +++ b/cli/node/mod.rs @@ -113,6 +113,10 @@ static SUPPORTED_MODULES: &[NodeModulePolyfill] = &[ name: "dns", specifier: "node/dns.ts", }, + NodeModulePolyfill { + name: "dns/promises", + specifier: "node/dns/promises.ts", + }, NodeModulePolyfill { name: "domain", specifier: "node/domain.ts", @@ -184,6 +188,10 @@ static SUPPORTED_MODULES: &[NodeModulePolyfill] = &[ name: "stream", specifier: "node/stream.ts", }, + NodeModulePolyfill { + name: "stream/consumers", + specifier: "node/stream/consumers.mjs", + }, NodeModulePolyfill { name: "stream/promises", specifier: "node/stream/promises.mjs",