diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2024-09-12 01:25:46 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-12 02:25:46 +0200 |
commit | 3a3837545ce6f585f718069cc05d96f765a05d3f (patch) | |
tree | 4b5df24473636a405f096b2b26aa32983440c2f4 /ext/node/polyfills/punycode.ts | |
parent | 3f6605d123ea5c07c7e0bdb7fd5b06676aa8c8e0 (diff) |
feat(ext/node): export missing symbols from domain, puncode, repl, tls (#25585)
Diffstat (limited to 'ext/node/polyfills/punycode.ts')
-rw-r--r-- | ext/node/polyfills/punycode.ts | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ext/node/polyfills/punycode.ts b/ext/node/polyfills/punycode.ts index e89be15a2..adecdf4f9 100644 --- a/ext/node/polyfills/punycode.ts +++ b/ext/node/polyfills/punycode.ts @@ -11,6 +11,8 @@ import { deprecate } from "node:util"; import { ucs2 } from "ext:deno_node/internal/idna.ts"; +const version = "2.1.0"; + // deno-lint-ignore no-explicit-any function punyDeprecated(fn: any) { return deprecate( @@ -37,7 +39,7 @@ function encode(domain) { return punyDeprecated(op_node_idna_punycode_encode)(domain); } -export { decode, encode, toASCII, toUnicode, ucs2 }; +export { decode, encode, toASCII, toUnicode, ucs2, version }; export default { decode, @@ -45,4 +47,5 @@ export default { toASCII, toUnicode, ucs2, + version, }; |