diff options
| author | Divy Srivastava <dj.srivastava23@gmail.com> | 2024-01-02 10:24:11 +0530 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-01-02 04:54:11 +0000 |
| commit | 642c4a44a56ed02c2bf795bf04d7aebbc847e150 (patch) | |
| tree | 931139c9865eb2ee8b1f08f9351eae2abd3e5d7a /ext/node/lib.rs | |
| parent | b21462355a61d69bedf15ae51304719f6014b8df (diff) | |
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.
Diffstat (limited to 'ext/node/lib.rs')
| -rw-r--r-- | ext/node/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/node/lib.rs b/ext/node/lib.rs index ac35f8f26..2aac49754 100644 --- a/ext/node/lib.rs +++ b/ext/node/lib.rs @@ -523,7 +523,7 @@ deno_core::extension!(deno_node, "perf_hooks.ts" with_specifier "node:perf_hooks", "process.ts" with_specifier "node:process", "punycode.ts" with_specifier "node:punycode", - "querystring.ts" with_specifier "node:querystring", + "querystring.js" with_specifier "node:querystring", "readline.ts" with_specifier "node:readline", "repl.ts" with_specifier "node:repl", "stream.ts" with_specifier "node:stream", |
