From 642c4a44a56ed02c2bf795bf04d7aebbc847e150 Mon Sep 17 00:00:00 2001 From: Divy Srivastava Date: Tue, 2 Jan 2024 10:24:11 +0530 Subject: fix(ext/node): querystring stringify without encode callback (#21740) Fixes https://github.com/denoland/deno/issues/21734 Changes: - Use default encode when options do not provide a encode callback. - Remove internal TS for `node:querystring`. Its not helping catching bugs like this because of invalid type assumptions and use of `any`, more of a maintenance burden. --- tools/core_import_map.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools') diff --git a/tools/core_import_map.json b/tools/core_import_map.json index 6dff4c930..8122a2c84 100644 --- a/tools/core_import_map.json +++ b/tools/core_import_map.json @@ -181,7 +181,7 @@ "node:perf_hooks": "../ext/node/polyfills/perf_hooks.ts", "node:process": "../ext/node/polyfills/process.ts", "node:punycode": "../ext/node/polyfills/punycode.ts", - "node:querystring": "../ext/node/polyfills/querystring.ts", + "node:querystring": "../ext/node/polyfills/querystring.js", "node:readline": "../ext/node/polyfills/readline.ts", "ext:deno_node/readline/promises.ts": "../ext/node/polyfills/readline/promises.ts", "ext:deno_node/repl.ts": "../ext/node/polyfills/repl.ts", -- cgit v1.2.3