@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 +8 -4
- package/dist/cli.js.map +1 -1
- package/dist/constants.js +3 -3
- package/dist/constants.js.map +1 -1
- package/dist/types/commands/fix/agent-fix.d.mts.map +1 -1
- package/dist/types/utils/alerts-map.d.mts.map +1 -1
- package/dist/utils.js +8 -2
- package/dist/utils.js.map +1 -1
- package/package.json +1 -1
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
|
-
|
|
3741
|
-
|
|
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=
|
|
14191
|
+
//# debugId=395a6b0d-069d-4973-b244-16aa28360e30
|
|
14188
14192
|
//# sourceMappingURL=cli.js.map
|