diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2023-11-04 12:41:51 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-04 16:41:51 +0000 |
commit | e4c947dd2b63726ecc9b4303e03921b6839adade (patch) | |
tree | 9619bdb6649d1f460fb02ab8e448c27c95dbfa74 /ext/node/lib.rs | |
parent | 0b75a7169b2e123cac04e7ffcaf16a28eb356fd0 (diff) |
fix(node): use closest package.json to resolve package.json imports (#21075)
Diffstat (limited to 'ext/node/lib.rs')
-rw-r--r-- | ext/node/lib.rs | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/ext/node/lib.rs b/ext/node/lib.rs index 730554f2d..7a43fc4d4 100644 --- a/ext/node/lib.rs +++ b/ext/node/lib.rs @@ -81,12 +81,6 @@ pub trait NpmResolver: std::fmt::Debug + MaybeSend + MaybeSync { mode: NodeResolutionMode, ) -> Result<PathBuf, AnyError>; - /// Resolves the npm package folder path from the specified path. - fn resolve_package_folder_from_path( - &self, - specifier: &ModuleSpecifier, - ) -> Result<Option<PathBuf>, AnyError>; - fn in_npm_package(&self, specifier: &ModuleSpecifier) -> bool; fn in_npm_package_at_path(&self, path: &Path) -> bool { |