From d43e48c4e96b02289d505cd2558ba85d7d6cb57b Mon Sep 17 00:00:00 2001 From: David Sherret Date: Thu, 28 Sep 2023 16:43:45 -0400 Subject: refactor(ext/node): remove dependency on deno_npm and deno_semver (#20718) This is required from BYONM (bring your own node_modules). Part of #18967 --- cli/npm/resolution.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'cli/npm/resolution.rs') diff --git a/cli/npm/resolution.rs b/cli/npm/resolution.rs index 5595a71ef..3e76d5e85 100644 --- a/cli/npm/resolution.rs +++ b/cli/npm/resolution.rs @@ -224,19 +224,19 @@ impl NpmResolution { /// Resolves a package requirement for deno graph. This should only be /// called by deno_graph's NpmResolver or for resolving packages in /// a package.json - pub fn resolve_package_req_as_pending( + pub fn resolve_pkg_req_as_pending( &self, pkg_req: &PackageReq, ) -> Result { // we should always have this because it should have been cached before here let package_info = self.api.get_cached_package_info(&pkg_req.name).unwrap(); - self.resolve_package_req_as_pending_with_info(pkg_req, &package_info) + self.resolve_pkg_req_as_pending_with_info(pkg_req, &package_info) } /// Resolves a package requirement for deno graph. This should only be /// called by deno_graph's NpmResolver or for resolving packages in /// a package.json - pub fn resolve_package_req_as_pending_with_info( + pub fn resolve_pkg_req_as_pending_with_info( &self, pkg_req: &PackageReq, package_info: &NpmPackageInfo, -- cgit v1.2.3