summaryrefslogtreecommitdiff
path: root/ext/node/lib.rs
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2023-10-26 21:22:15 -0400
committerGitHub <noreply@github.com>2023-10-26 21:22:15 -0400
commit9026f20b2dc0ee97bde3cc6ea8438dafbec5fad3 (patch)
tree4b40a748fe956b8fa8fcba79d96ce57b5a86c1d1 /ext/node/lib.rs
parentef2fadc6ae517cad487e16530fdcee50065ba05a (diff)
fix(unstable/byonm): improve error messages (#20987)
This improves the error messages when a specifier can't be resolved from a deno module into an npm package.
Diffstat (limited to 'ext/node/lib.rs')
-rw-r--r--ext/node/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/node/lib.rs b/ext/node/lib.rs
index a54d5a010..6d7e85ec4 100644
--- a/ext/node/lib.rs
+++ b/ext/node/lib.rs
@@ -32,6 +32,7 @@ pub use path::PathClean;
pub use polyfill::is_builtin_node_module;
pub use polyfill::SUPPORTED_BUILTIN_NODE_MODULES;
pub use polyfill::SUPPORTED_BUILTIN_NODE_MODULES_WITH_PREFIX;
+pub use resolution::parse_npm_pkg_name;
pub use resolution::NodeModuleKind;
pub use resolution::NodeResolution;
pub use resolution::NodeResolutionMode;