diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2024-01-29 14:58:08 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-29 14:58:08 +0100 |
commit | 909986fa6ed3404e76590438b387391a6c213e46 (patch) | |
tree | 30eec861847dccadd83fcc65b91dc44c96af6d9e /ext/node/polyfills/punycode.ts | |
parent | aed5e4997df26c99a186fb9a5b18da3bbc594ed3 (diff) |
refactor: migrate 'ext/node' extension to virtual ops module (#22157)
Follow up to https://github.com/denoland/deno/pull/22135
Diffstat (limited to 'ext/node/polyfills/punycode.ts')
-rw-r--r-- | ext/node/polyfills/punycode.ts | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/ext/node/polyfills/punycode.ts b/ext/node/polyfills/punycode.ts index 53bec2e5e..6f137d31f 100644 --- a/ext/node/polyfills/punycode.ts +++ b/ext/node/polyfills/punycode.ts @@ -1,12 +1,11 @@ // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. -import { core } from "ext:core/mod.js"; -const { +import { + op_node_idna_domain_to_ascii, op_node_idna_domain_to_unicode, op_node_idna_punycode_decode, op_node_idna_punycode_encode, - op_node_idna_domain_to_ascii, -} = core.ensureFastOps(); +} from "ext:core/ops"; import { ucs2 } from "ext:deno_node/internal/idna.ts"; |