@pnpm/local-resolver
Advanced tools
Comparing version 7.0.0 to 7.0.1
@@ -61,3 +61,5 @@ "use strict"; | ||
} | ||
const dependencyPath = (0, normalize_path_1.default)(path_1.default.resolve(fetchSpec)); | ||
const dependencyPath = injected | ||
? (0, normalize_path_1.default)(path_1.default.relative(lockfileDir, fetchSpec)) | ||
: (0, normalize_path_1.default)(path_1.default.resolve(fetchSpec)); | ||
const id = !injected && (type === 'directory' || projectDir === lockfileDir) | ||
@@ -64,0 +66,0 @@ ? `${protocol}${(0, normalize_path_1.default)(path_1.default.relative(projectDir, fetchSpec))}` |
{ | ||
"name": "@pnpm/local-resolver", | ||
"version": "7.0.0", | ||
"version": "7.0.1", | ||
"description": "Resolver for local packages", | ||
"main": "lib/index.js", | ||
"typings": "lib/index.d.ts", | ||
"types": "lib/index.d.ts", | ||
"files": [ | ||
@@ -29,5 +29,5 @@ "lib", | ||
"@pnpm/graceful-fs": "1.0.0", | ||
"@pnpm/read-project-manifest": "2.0.6", | ||
"@pnpm/resolver-base": "8.1.0", | ||
"@pnpm/types": "7.5.0", | ||
"@pnpm/read-project-manifest": "2.0.7", | ||
"@pnpm/resolver-base": "8.1.1", | ||
"@pnpm/types": "7.6.0", | ||
"normalize-path": "^3.0.0", | ||
@@ -34,0 +34,0 @@ "ssri": "^8.0.1" |
Sorry, the diff of this file is not supported yet
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
15498
183
0
+ Added@pnpm/read-project-manifest@2.0.7(transitive)
+ Added@pnpm/resolver-base@8.1.1(transitive)
+ Added@pnpm/types@7.6.0(transitive)
+ Added@pnpm/write-project-manifest@2.0.6(transitive)
- Removed@pnpm/read-project-manifest@2.0.6(transitive)
- Removed@pnpm/resolver-base@8.1.0(transitive)
- Removed@pnpm/types@7.5.0(transitive)
- Removed@pnpm/write-project-manifest@2.0.5(transitive)
Updated@pnpm/resolver-base@8.1.1
Updated@pnpm/types@7.6.0