1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-22 15:24:46 -05:00

fix(node): add dns/promises and stream/consumers (#16169)

This commit is contained in:
David Sherret 2022-10-05 19:33:52 -04:00 committed by GitHub
parent b487027b45
commit 9102ba9b0f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -113,6 +113,10 @@ static SUPPORTED_MODULES: &[NodeModulePolyfill] = &[
name: "dns", name: "dns",
specifier: "node/dns.ts", specifier: "node/dns.ts",
}, },
NodeModulePolyfill {
name: "dns/promises",
specifier: "node/dns/promises.ts",
},
NodeModulePolyfill { NodeModulePolyfill {
name: "domain", name: "domain",
specifier: "node/domain.ts", specifier: "node/domain.ts",
@ -184,6 +188,10 @@ static SUPPORTED_MODULES: &[NodeModulePolyfill] = &[
name: "stream", name: "stream",
specifier: "node/stream.ts", specifier: "node/stream.ts",
}, },
NodeModulePolyfill {
name: "stream/consumers",
specifier: "node/stream/consumers.mjs",
},
NodeModulePolyfill { NodeModulePolyfill {
name: "stream/promises", name: "stream/promises",
specifier: "node/stream/promises.mjs", specifier: "node/stream/promises.mjs",