@jsenv/node-esm-resolution
Advanced tools
Comparing version 1.0.4 to 1.0.5
{ | ||
"name": "@jsenv/node-esm-resolution", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "repository": { |
@@ -106,7 +106,5 @@ /* | ||
const packageResolution = applyPackageResolve(specifier, resolutionContext); | ||
if (packageResolution.type !== "relative_specifier") { | ||
const search = new URL(specifier, "file://").search; | ||
if (search) { | ||
packageResolution.url = `${packageResolution.url}${search}`; | ||
} | ||
const search = new URL(specifier, "file://").search; | ||
if (search && !new URL(packageResolution.url).search) { | ||
packageResolution.url = `${packageResolution.url}${search}`; | ||
} | ||
@@ -113,0 +111,0 @@ return packageResolution; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
34161
1139