@socketsecurity/cli-with-sentry 0.15.49 → 0.15.51

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 = isCi ? openPrs.length : 0;
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,7 @@ 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
+ count += 1;
4995
4996
  continue infosLoop;
4996
4997
  }
4997
4998
  const newVersionPackument = newVersion ? packument.versions[newVersion] : undefined;
@@ -5259,6 +5260,8 @@ async function pnpmFix(pkgEnvDetails, {
5259
5260
  cause: `Update failed for ${oldId} in ${workspace}${error ? '; ' + error : ''}`
5260
5261
  };
5261
5262
  }
5263
+ debug.debugFn('name:', name);
5264
+ debug.debugFn('increment: count', count + 1);
5262
5265
  if (++count >= limit) {
5263
5266
  logger.logger.dedent();
5264
5267
  spinner?.dedent();
@@ -14275,5 +14278,5 @@ void (async () => {
14275
14278
  await utils.captureException(e);
14276
14279
  }
14277
14280
  })();
14278
- //# debugId=5e90f708-2e66-4276-baa6-9beceb5ddf65
14281
+ //# debugId=71ac8155-0e71-498a-8c38-412756a59a68
14279
14282
  //# sourceMappingURL=cli.js.map