summaryrefslogtreecommitdiff
path: root/ext/node/lib.rs
diff options
context:
space:
mode:
authorNayeem Rahman <nayeemrmn99@gmail.com>2023-05-28 19:44:41 +0100
committerGitHub <noreply@github.com>2023-05-28 12:44:41 -0600
commitb6a3f8f722db89bc136e91da598f581c5838d38e (patch)
tree668542949383621fab493343cc2ddf8a4928c649 /ext/node/lib.rs
parentbb0676d3e23dfd7fe27f9932b955694d51438486 (diff)
refactor(core): remove ext: modules from the module map (#19040)
Rather than disallowing `ext:` resolution, clear the module map after initializing extensions so extension modules are anonymized. This operation is explicitly called in `deno_runtime`. Re-inject `node:` specifiers into the module map after doing this. Fixes #17717.
Diffstat (limited to 'ext/node/lib.rs')
-rw-r--r--ext/node/lib.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/ext/node/lib.rs b/ext/node/lib.rs
index c8242992a..6ac64eb2e 100644
--- a/ext/node/lib.rs
+++ b/ext/node/lib.rs
@@ -33,7 +33,6 @@ mod resolution;
pub use package_json::PackageJson;
pub use path::PathClean;
pub use polyfill::is_builtin_node_module;
-pub use polyfill::resolve_builtin_node_module;
pub use polyfill::NodeModulePolyfill;
pub use polyfill::SUPPORTED_BUILTIN_NODE_MODULES;
pub use resolution::NodeModuleKind;