1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-22 07:14:47 -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",
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",