@socketsecurity/cli-with-sentry 0.15.47 → 0.15.48

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
@@ -4894,7 +4894,16 @@ async function pnpmFix(pkgEnvDetails, {
4894
4894
  } else if (openPrs.length) {
4895
4895
  debug.debugFn('miss: 0 active branches found');
4896
4896
  }
4897
- infos = infos.filter(info => !activeBranches.find(b => b.newVersion === info.firstPatchedVersionIdentifier));
4897
+ infos = infos.filter(info => {
4898
+ const found = activeBranches.find(b => b.newVersion === info.firstPatchedVersionIdentifier);
4899
+ if (found) {
4900
+ debug.debugFn(`found: active branch for ${name}@${info.firstPatchedVersionIdentifier}`);
4901
+ return false;
4902
+ } else {
4903
+ debug.debugFn(`miss: no active branch found for ${name}@${info.firstPatchedVersionIdentifier}`);
4904
+ return true;
4905
+ }
4906
+ });
4898
4907
  }
4899
4908
  if (!infos.length) {
4900
4909
  continue infoEntriesLoop;
@@ -14275,5 +14284,5 @@ void (async () => {
14275
14284
  await utils.captureException(e);
14276
14285
  }
14277
14286
  })();
14278
- //# debugId=7ed4fffc-f660-40e2-8f0b-b1981857752e
14287
+ //# debugId=d77f850e-4116-456a-acb9-b74d5a8977aa
14279
14288
  //# sourceMappingURL=cli.js.map