From c5302a0587bfdc8a78e8edf7429772f471c47304 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Tue, 28 Mar 2023 23:52:08 +0200 Subject: refactor(ext/node): change extension type parameter (#18483) This commit changes the type parameter for "deno_node" extension, from `P: NodePermission` to `Env: NodeEnv`. `NodeEnv` is a new trait that has associated type `P: NodePermission`. This is a stepping stone to support swappable file system for the extension, that will be added as a second associated type to the `NodeEnv` trait. --- cli/build.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cli') diff --git a/cli/build.rs b/cli/build.rs index bcf5a0a38..30e63f679 100644 --- a/cli/build.rs +++ b/cli/build.rs @@ -363,7 +363,7 @@ fn create_cli_snapshot(snapshot_path: PathBuf) { deno_io::deno_io::init_ops(Default::default()), deno_fs::deno_fs::init_ops::(false), deno_flash::deno_flash::init_ops::(false), // No --unstable - deno_node::deno_node::init_ops::(None), + deno_node::deno_node::init_ops::(None), cli::init_ops_and_esm(), // NOTE: This needs to be init_ops_and_esm! ]; -- cgit v1.2.3