diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2023-07-02 20:19:30 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-02 20:19:30 +0200 |
commit | 01f0d03ae82c422c1f9551f3bfbb57daac769ddc (patch) | |
tree | 4506903def90de3da497c81e217d70d62f380dab /ext/node/polyfills/url.ts | |
parent | 805497a9a50c3219f64f481feb72271b2fcd6790 (diff) |
refactor: rename built-in node modules from ext:deno_node/ to node: (#19680)
Closes https://github.com/denoland/deno/issues/19510
Diffstat (limited to 'ext/node/polyfills/url.ts')
-rw-r--r-- | ext/node/polyfills/url.ts | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/ext/node/polyfills/url.ts b/ext/node/polyfills/url.ts index ae4c26e7a..1a8f4bf29 100644 --- a/ext/node/polyfills/url.ts +++ b/ext/node/polyfills/url.ts @@ -69,15 +69,12 @@ import { CHAR_VERTICAL_LINE, CHAR_ZERO_WIDTH_NOBREAK_SPACE, } from "ext:deno_node/path/_constants.ts"; -import * as path from "ext:deno_node/path.ts"; -import { toASCII, toUnicode } from "ext:deno_node/punycode.ts"; +import * as path from "node:path"; +import { toASCII, toUnicode } from "node:punycode"; import { isWindows, osType } from "ext:deno_node/_util/os.ts"; import { encodeStr, hexTable } from "ext:deno_node/internal/querystring.ts"; -import querystring from "ext:deno_node/querystring.ts"; -import type { - ParsedUrlQuery, - ParsedUrlQueryInput, -} from "ext:deno_node/querystring.ts"; +import querystring from "node:querystring"; +import type { ParsedUrlQuery, ParsedUrlQueryInput } from "node:querystring"; import { URL, URLSearchParams } from "ext:deno_url/00_url.js"; const forwardSlashRegEx = /\//g; |