@socketsecurity/cli-with-sentry 1.0.17 → 1.0.18

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
@@ -3737,9 +3737,13 @@ async function agentFix(pkgEnvDetails, actualTree, alertsMap, installer, {
3737
3737
  if (!infoByPartialPurl) {
3738
3738
  spinner?.stop();
3739
3739
  logger.logger.info('No fixable vulns found.');
3740
- debug.debugFn('inspect:\n', {
3741
- alertsMap
3742
- });
3740
+ if (alertsMap.size) {
3741
+ debug.debugFn('inspect:', {
3742
+ alertsMap
3743
+ });
3744
+ } else {
3745
+ debug.debugFn('inspect: { alertsMap: Map(0) {} }');
3746
+ }
3743
3747
  return {
3744
3748
  ok: true,
3745
3749
  data: {
@@ -14184,5 +14188,5 @@ void (async () => {
14184
14188
  await utils.captureException(e);
14185
14189
  }
14186
14190
  })();
14187
- //# debugId=335a870f-91f1-494a-ab58-35161f055590
14191
+ //# debugId=395a6b0d-069d-4973-b244-16aa28360e30
14188
14192
  //# sourceMappingURL=cli.js.map