deno/cli/npm
Bartek Iwańczuk 913e2875c1
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-30 03:20:31 +02:00
..
resolution feat: TypeScript 5.0.2 (except decorators) (#18294) 2023-03-21 15:46:40 +00:00
resolvers refactor(ext/node): add NodeEnv::Fs associated type (#18484) 2023-03-30 03:20:31 +02:00
cache.rs fix(npm): improve peer dependency resolution with circular dependencies (#18069) 2023-03-08 12:22:08 -05:00
installer.rs fix: lazily surface errors in package.json deps parsing (#17974) 2023-03-03 18:27:05 -04:00
mod.rs refactor(npm): push npm struct creation to a higher level (#18139) 2023-03-12 23:32:59 -04:00
registry.rs refactor: use deno_graph for npm specifiers (#17858) 2023-02-22 14:15:25 -05:00
tarball.rs refactor: use deno_graph for npm specifiers (#17858) 2023-02-22 14:15:25 -05:00