diff options
| author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2023-03-04 23:37:37 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-03-05 03:37:37 +0000 |
| commit | 888ceac7fdc6e9b96d860f183dd2f31df3f3d601 (patch) | |
| tree | d56e78c736ca50ebf6d091e2804c4e468326befb /ext/node | |
| parent | 17574f1ef7adf4aea91ba497759ac3e3fed50f1a (diff) | |
refactor(runtime): remove 40_files.js, 40_write_file.js and 40_read_file.js (#18018)
JavaScript APIs from "runtime/js/40_files.js" combined abstractions
for stdio streams ("Stdout", "Stderr", "Stdin") and file system file
("File", "FsFile"). APIs from "runtime/js/40_read_file.js" and
"runtime/js/40_write_file.js" were implemented using ops from
"runtime/ops/fs.rs".
This file was removed and relevant APIs were moved to "deno_io/12_io.js"
and "runtime/js/30_fs.js".
This work is meant to enable factoring out "deno_fs" crate.
Diffstat (limited to 'ext/node')
| -rw-r--r-- | ext/node/lib.rs | 1 | ||||
| -rw-r--r-- | ext/node/polyfills/_process/streams.mjs | 12 | ||||
| -rw-r--r-- | ext/node/polyfills/process.ts | 6 |
3 files changed, 10 insertions, 9 deletions
diff --git a/ext/node/lib.rs b/ext/node/lib.rs index 444dffeec..a1fa9408a 100644 --- a/ext/node/lib.rs +++ b/ext/node/lib.rs @@ -365,6 +365,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"]) .ops(vec