mirror of
https://github.com/denoland/deno.git
synced 2025-08-31 07:47:46 +00:00
refactor: rename built-in node modules from ext:deno_node/ to node: (#19680)
Closes https://github.com/denoland/deno/issues/19510
This commit is contained in:
parent
805497a9a5
commit
01f0d03ae8
99 changed files with 422 additions and 554 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue