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/fs/utils.mjs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'ext/node/polyfills/internal/fs/utils.mjs') diff --git a/ext/node/polyfills/internal/fs/utils.mjs b/ext/node/polyfills/internal/fs/utils.mjs index d73aae19b..09169127d 100644 --- a/ext/node/polyfills/internal/fs/utils.mjs +++ b/ext/node/polyfills/internal/fs/utils.mjs @@ -5,7 +5,7 @@ "use strict"; -import { Buffer } from "ext:deno_node/buffer.ts"; +import { Buffer } from "node:buffer"; import { ERR_FS_EISDIR, ERR_FS_INVALID_SYMLINK_TYPE, @@ -23,7 +23,7 @@ import { isUint8Array, } from "ext:deno_node/internal/util/types.ts"; import { once } from "ext:deno_node/internal/util.mjs"; -import { deprecate } from "ext:deno_node/util.ts"; +import { deprecate } from "node:util"; import { toPathIfFileURL } from "ext:deno_node/internal/url.ts"; import { validateAbortSignal, @@ -34,14 +34,14 @@ import { validateObject, validateUint32, } from "ext:deno_node/internal/validators.mjs"; -import pathModule from "ext:deno_node/path.ts"; +import pathModule from "node:path"; const kType = Symbol("type"); const kStats = Symbol("stats"); import assert from "ext:deno_node/internal/assert.mjs"; import { lstat, lstatSync } from "ext:deno_node/_fs/_fs_lstat.ts"; import { stat, statSync } from "ext:deno_node/_fs/_fs_stat.ts"; import { isWindows } from "ext:deno_node/_util/os.ts"; -import process from "ext:deno_node/process.ts"; +import process from "node:process"; import { fs as fsConstants, -- cgit v1.2.3