From 9042fcc12e7774cdd0ca3a5d08918a07dae8102b Mon Sep 17 00:00:00 2001 From: Steven Guerrero Date: Thu, 26 Nov 2020 07:50:08 -0500 Subject: feat(std/node/stream): Add Duplex, Transform, Passthrough, pipeline, finished and promises (#7940) --- std/node/module.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'std/node/module.ts') 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"; @@ -603,6 +604,10 @@ nativeModulePolyfill.set( "querystring", createNativeModule("querystring", nodeQueryString), ); +nativeModulePolyfill.set( + "stream", + createNativeModule("string_decoder", nodeStream), +); nativeModulePolyfill.set( "string_decoder", createNativeModule("string_decoder", nodeStringDecoder), -- cgit v1.2.3