1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-14 19:37:59 -05:00
denoland-deno/ext/node
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
..
crypto fix(ext/node): implement crypto.Sign (RSA/PEM/SHA{224,256,384,512}) (#18471) 2023-03-31 11:43:19 -06:00
polyfills fix(ext/node): implement crypto.Sign (RSA/PEM/SHA{224,256,384,512}) (#18471) 2023-03-31 11:43:19 -06:00
zlib feat: port node:zlib to rust (#18291) 2023-03-31 11:43:19 -06:00
Cargo.toml fix(ext/node): implement crypto.Sign (RSA/PEM/SHA{224,256,384,512}) (#18471) 2023-03-31 11:43:19 -06:00
clippy.toml refactor(ext/node): add NodeEnv::Fs associated type (#18484) 2023-03-31 11:43:19 -06:00
errors.rs chore: upgrade to Rust 1.67 (#17548) 2023-01-27 10:43:16 -05:00
idna.rs refactor: use ops for idna & punycode (#17817) 2023-02-20 18:47:42 +01:00
lib.rs refactor(ext/node): add NodeEnv::Fs associated type (#18484) 2023-03-31 11:43:19 -06:00
ops.rs refactor(ext/node): add NodeEnv::Fs associated type (#18484) 2023-03-31 11:43:19 -06:00
package_json.rs refactor(ext/node): add NodeEnv::Fs associated type (#18484) 2023-03-31 11:43:19 -06:00
path.rs chore(ext/node): fix variable name (#17948) 2023-02-27 21:26:02 +01:00
polyfill.rs refactor(ext/node): untangle dependencies between js files (#18284) 2023-03-20 14:05:13 -04:00
README.md chore(ext/node): correct publishing for ext/node (#15461) 2022-08-11 17:25:41 -04:00
resolution.rs refactor(ext/node): add NodeEnv::Fs associated type (#18484) 2023-03-31 11:43:19 -06:00
v8.rs feat(ext/node): implement node:v8 (#17806) 2023-02-17 18:48:09 +05:30
winerror.rs perf(ext/node): move winerror binding to rust (#17792) 2023-02-16 19:19:32 +05:30

deno_node

require and other node related functionality for Deno.