From 9648d3da1483ab77d9133ecd32fa240a597134eb Mon Sep 17 00:00:00 2001 From: crowlKats Date: Sat, 14 Mar 2020 21:43:49 +0100 Subject: Add node querystring polyfill (#4370) --- std/node/module.ts | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'std/node/module.ts') diff --git a/std/node/module.ts b/std/node/module.ts index 3520d804b..01f1f0477 100644 --- a/std/node/module.ts +++ b/std/node/module.ts @@ -27,6 +27,7 @@ import * as nodePath from "./path.ts"; import * as nodeTimers from "./timers.ts"; import * as nodeOs from "./os.ts"; import * as nodeEvents from "./events.ts"; +import * as nodeQueryString from "./querystring.ts"; import * as path from "../path/mod.ts"; import { assert } from "../testing/asserts.ts"; @@ -593,6 +594,10 @@ nativeModulePolyfill.set("os", createNativeModule("os", nodeOs)); nativeModulePolyfill.set("path", createNativeModule("path", nodePath)); nativeModulePolyfill.set("timers", createNativeModule("timers", nodeTimers)); nativeModulePolyfill.set("util", createNativeModule("util", nodeUtil)); +nativeModulePolyfill.set( + "querystring", + createNativeModule("querystring", nodeQueryString) +); function loadNativeModule( _filename: string, -- cgit v1.2.3