diff options
author | Steven Guerrero <stephenguerrero43@gmail.com> | 2020-11-26 07:50:08 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-26 13:50:08 +0100 |
commit | 9042fcc12e7774cdd0ca3a5d08918a07dae8102b (patch) | |
tree | 8b5ff11412aae9bb714e0bb0b9b0358db64a8657 /std/node/module.ts | |
parent | 60e980c78180ee3b0a14d692307be275dc181c8d (diff) |
feat(std/node/stream): Add Duplex, Transform, Passthrough, pipeline, finished and promises (#7940)
Diffstat (limited to 'std/node/module.ts')
-rw-r--r-- | std/node/module.ts | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/std/node/module.ts b/std/node/module.ts index 597da09db..f10fc2ca7 100644 --- a/std/node/module.ts +++ b/std/node/module.ts @@ -26,9 +26,10 @@ import * as nodeEvents from "./events.ts"; import * as nodeFS from "./fs.ts"; import * as nodeOs from "./os.ts"; import * as nodePath from "./path.ts"; -import * as nodeTimers from "./timers.ts"; import * as nodeQueryString from "./querystring.ts"; +import * as nodeStream from "./stream.ts"; import * as nodeStringDecoder from "./string_decoder.ts"; +import * as nodeTimers from "./timers.ts"; import * as nodeUtil from "./util.ts"; import * as path from "../path/mod.ts"; @@ -604,6 +605,10 @@ nativeModulePolyfill.set( createNativeModule("querystring", nodeQueryString), ); nativeModulePolyfill.set( + "stream", + createNativeModule("string_decoder", nodeStream), +); +nativeModulePolyfill.set( "string_decoder", createNativeModule("string_decoder", nodeStringDecoder), ); |