1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-28 16:20:57 -05:00
denoland-deno/cli/npm/resolvers
Bartek Iwańczuk 8497cef156 refactor(ext/node): add NodeEnv::Fs associated type (#18484)
This commit adds associated type to "NodeEnv" trait, called "Fs".

The "Fs" type has a trait bound on "NodeFs", which specifies APIs
required for all ops and resolution APIs to function.

A "RealFs" implementation of "NodeFs" is exported from the "deno_node"
crate, that provides a default implementation for the trait.

All code in "deno_node" extension was changed to use the "NodeFs" trait
to handle file system operations, instead of relying on APIs from the
standard library.
2023-03-31 11:43:19 -06:00
..
common.rs refactor(npm): push npm struct creation to a higher level (#18139) 2023-03-12 23:32:59 -04:00
global.rs refactor(npm): push npm struct creation to a higher level (#18139) 2023-03-12 23:32:59 -04:00
local.rs refactor(ext/node): add NodeEnv::Fs associated type (#18484) 2023-03-31 11:43:19 -06:00
mod.rs fix(npm): show a progress bar when initializing the node_modules folder (#18136) 2023-03-13 18:18:29 +00:00