@pnpm/lockfile-utils
Advanced tools
Comparing version 4.1.0 to 4.2.0
@@ -26,3 +26,4 @@ "use strict"; | ||
} | ||
if (!(0, equals_js_1.default)(existingDeps, importer.specifiers)) { | ||
if (!(0, equals_js_1.default)(existingDeps, importer.specifiers) || | ||
importer.publishDirectory !== pkg.publishConfig?.directory) { | ||
return false; | ||
@@ -57,3 +58,3 @@ } | ||
for (const depName of pkgDepNames) { | ||
if (!importerDeps[depName] || importer.specifiers[depName] !== pkgDeps[depName]) | ||
if (!importerDeps[depName] || importer.specifiers?.[depName] !== pkgDeps[depName]) | ||
return false; | ||
@@ -60,0 +61,0 @@ } |
{ | ||
"name": "@pnpm/lockfile-utils", | ||
"version": "4.1.0", | ||
"version": "4.2.0", | ||
"description": "Utils for dealing with pnpm-lock.yaml", | ||
@@ -27,3 +27,3 @@ "main": "lib/index.js", | ||
"devDependencies": { | ||
"@pnpm/lockfile-utils": "4.1.0", | ||
"@pnpm/lockfile-utils": "4.2.0", | ||
"@types/js-yaml": "^4.0.5", | ||
@@ -36,3 +36,3 @@ "@types/ramda": "0.28.14", | ||
"dependencies": { | ||
"@pnpm/lockfile-types": "4.2.0", | ||
"@pnpm/lockfile-types": "4.3.0", | ||
"@pnpm/resolver-base": "9.0.5", | ||
@@ -39,0 +39,0 @@ "@pnpm/types": "8.4.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
24144
314
+ Added@pnpm/lockfile-types@4.3.0(transitive)
- Removed@pnpm/lockfile-types@4.2.0(transitive)
Updated@pnpm/lockfile-types@4.3.0