diff options
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), ); |