summaryrefslogtreecommitdiff
path: root/ext/node
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2023-03-07 05:13:44 -0400
committerGitHub <noreply@github.com>2023-03-07 18:13:44 +0900
commitfe368b72c1dd2f2d17b7b7e5965b9e3d9ca61c35 (patch)
treeebc76fb86e3bee1baf1e336feb36a507affa7316 /ext/node
parent64354f41125642d420d80cbf617dfb8ddca398e5 (diff)
refactor: Add "deno_fs" extension crate (#18040)
This commit factors out APIs related to file system from "runtime/" to a separate "deno_fs" extension crate.
Diffstat (limited to 'ext/node')
-rw-r--r--ext/node/lib.rs2
-rw-r--r--ext/node/polyfills/_process/process.ts2
2 files changed, 2 insertions, 2 deletions
diff --git a/ext/node/lib.rs b/ext/node/lib.rs
index 468280075..e1134bd03 100644
--- a/ext/node/lib.rs
+++ b/ext/node/lib.rs
@@ -323,7 +323,7 @@ pub fn init_polyfill() -> Extension {
Extension::builder(env!("CARGO_PKG_NAME"))
.esm(esm_files)
.esm_entry_point("internal:deno_node/module_all.ts")
- .dependencies(vec!["deno_io"])
+ .dependencies(vec!["deno_io", "deno_fs"])
.ops(vec![
crypto::op_node_create_hash::decl(),
crypto::op_node_hash_update::decl(),
diff --git a/ext/node/polyfills/_process/process.ts b/ext/node/polyfills/_process/process.ts
index bee65f905..7ed40492d 100644
--- a/ext/node/polyfills/_process/process.ts
+++ b/ext/node/polyfills/_process/process.ts
@@ -7,7 +7,7 @@
const core = globalThis.Deno.core;
import { nextTick as _nextTick } from "internal:deno_node/_next_tick.ts";
import { _exiting } from "internal:deno_node/_process/exiting.ts";
-import * as fs from "internal:runtime/30_fs.js";
+import * as fs from "internal:deno_fs/30_fs.js";
/** Returns the operating system CPU architecture for which the Deno binary was compiled */
export function arch(): string {