From 01f0d03ae82c422c1f9551f3bfbb57daac769ddc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Sun, 2 Jul 2023 20:19:30 +0200 Subject: refactor: rename built-in node modules from ext:deno_node/ to node: (#19680) Closes https://github.com/denoland/deno/issues/19510 --- ext/node/polyfills/internal/dns/promises.ts | 2 +- ext/node/polyfills/internal/dns/utils.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'ext/node/polyfills/internal/dns') diff --git a/ext/node/polyfills/internal/dns/promises.ts b/ext/node/polyfills/internal/dns/promises.ts index c88377aff..c68fedae3 100644 --- a/ext/node/polyfills/internal/dns/promises.ts +++ b/ext/node/polyfills/internal/dns/promises.ts @@ -59,7 +59,7 @@ import { GetAddrInfoReqWrap, QueryReqWrap, } from "ext:deno_node/internal_binding/cares_wrap.ts"; -import { toASCII } from "ext:deno_node/punycode.ts"; +import { toASCII } from "node:punycode"; function onlookup( this: GetAddrInfoReqWrap, diff --git a/ext/node/polyfills/internal/dns/utils.ts b/ext/node/polyfills/internal/dns/utils.ts index e9747f42e..c78046b56 100644 --- a/ext/node/polyfills/internal/dns/utils.ts +++ b/ext/node/polyfills/internal/dns/utils.ts @@ -24,7 +24,7 @@ // deno-lint-ignore-file prefer-primordials import { getOptionValue } from "ext:deno_node/internal/options.ts"; -import { emitWarning } from "ext:deno_node/process.ts"; +import { emitWarning } from "node:process"; import { AI_ADDRCONFIG, AI_ALL, -- cgit v1.2.3