From 3a3837545ce6f585f718069cc05d96f765a05d3f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Thu, 12 Sep 2024 01:25:46 +0100 Subject: feat(ext/node): export missing symbols from domain, puncode, repl, tls (#25585) --- ext/node/polyfills/punycode.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'ext/node/polyfills/punycode.ts') 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, }; -- cgit v1.2.3