socket 0.15.50 → 0.15.52
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/cli.js
CHANGED
|
@@ -4776,7 +4776,7 @@ async function pnpmFix(pkgEnvDetails, {
|
|
|
4776
4776
|
} else {
|
|
4777
4777
|
debug.debugFn('miss: 0 open PRs found');
|
|
4778
4778
|
}
|
|
4779
|
-
let count =
|
|
4779
|
+
let count = 0;
|
|
4780
4780
|
let actualTree;
|
|
4781
4781
|
const lockfilePath = path.join(rootPath, 'pnpm-lock.yaml');
|
|
4782
4782
|
let lockfileContent = await utils.readPnpmLockfile(lockfilePath);
|
|
@@ -4992,6 +4992,11 @@ async function pnpmFix(pkgEnvDetails, {
|
|
|
4992
4992
|
const newVersion = shadowInject.findBestPatchVersion(node, availableVersions, vulnerableVersionRange);
|
|
4993
4993
|
if (activeBranches.find(b => b.newVersion === newVersion)) {
|
|
4994
4994
|
debug.debugFn(`skip: open PR found for ${name}@${newVersion}`);
|
|
4995
|
+
if (++count >= limit) {
|
|
4996
|
+
logger.logger.dedent();
|
|
4997
|
+
spinner?.dedent();
|
|
4998
|
+
break infoEntriesLoop;
|
|
4999
|
+
}
|
|
4995
5000
|
continue infosLoop;
|
|
4996
5001
|
}
|
|
4997
5002
|
const newVersionPackument = newVersion ? packument.versions[newVersion] : undefined;
|
|
@@ -14277,5 +14282,5 @@ void (async () => {
|
|
|
14277
14282
|
await utils.captureException(e);
|
|
14278
14283
|
}
|
|
14279
14284
|
})();
|
|
14280
|
-
//# debugId=
|
|
14285
|
+
//# debugId=af26517c-db28-417c-8217-08e459c8dcc5
|
|
14281
14286
|
//# sourceMappingURL=cli.js.map
|