@pnpm/lockfile-utils
Advanced tools
Comparing version 7.0.0 to 7.0.1
@@ -29,6 +29,8 @@ "use strict"; | ||
const pickNonLinkedDeps = (0, pickBy_1.default)((spec) => !spec.startsWith('link:')); | ||
let specs = importer.specifiers; | ||
if (opts?.excludeLinksFromLockfile) { | ||
existingDeps = pickNonLinkedDeps(existingDeps); | ||
specs = pickNonLinkedDeps(specs); | ||
} | ||
if (!(0, equals_1.default)(existingDeps, importer.specifiers) || | ||
if (!(0, equals_1.default)(existingDeps, specs) || | ||
importer.publishDirectory !== pkg.publishConfig?.directory) { | ||
@@ -35,0 +37,0 @@ return false; |
{ | ||
"name": "@pnpm/lockfile-utils", | ||
"version": "7.0.0", | ||
"version": "7.0.1", | ||
"description": "Utils for dealing with pnpm-lock.yaml", | ||
@@ -32,3 +32,3 @@ "main": "lib/index.js", | ||
"yaml-tag": "1.1.0", | ||
"@pnpm/lockfile-utils": "7.0.0" | ||
"@pnpm/lockfile-utils": "7.0.1" | ||
}, | ||
@@ -38,3 +38,3 @@ "dependencies": { | ||
"ramda": "npm:@pnpm/ramda@0.28.1", | ||
"@pnpm/dependency-path": "2.1.0", | ||
"@pnpm/dependency-path": "2.1.1", | ||
"@pnpm/lockfile-types": "5.0.0", | ||
@@ -41,0 +41,0 @@ "@pnpm/resolver-base": "10.0.0", |
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
25588
323
+ Added@pnpm/dependency-path@2.1.1(transitive)
- Removed@pnpm/dependency-path@2.1.0(transitive)
Updated@pnpm/dependency-path@2.1.1