npm-pkg-lint 4.6.0 → 4.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +3 -0
- package/dist/index.js.map +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -12209,6 +12209,9 @@ async function verifyPackageLock() {
|
|
|
12209
12209
|
const { packages } = lockfile;
|
|
12210
12210
|
const results = [];
|
|
12211
12211
|
for (const [name, pkg] of Object.entries(packages)) {
|
|
12212
|
+
if (pkg.link) {
|
|
12213
|
+
continue;
|
|
12214
|
+
}
|
|
12212
12215
|
if (!isValidResolved(pkg)) {
|
|
12213
12216
|
const { line, column } = jsonLocation(ast, "value", "packages", name, "resolved");
|
|
12214
12217
|
results.push({
|