@socketsecurity/cli-with-sentry 1.0.99 → 1.0.100
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
|
@@ -3938,7 +3938,9 @@ async function coanaFix(fixConfig) {
|
|
|
3938
3938
|
}
|
|
3939
3939
|
};
|
|
3940
3940
|
}
|
|
3941
|
+
require$$8.debugFn('notice', `fetch: ${ids.length} GHSA details for ${arrays.joinAnd(ids)}`);
|
|
3941
3942
|
const ghsaDetails = await fetchGhsaDetails(ids);
|
|
3943
|
+
require$$8.debugFn('notice', `found: ${ghsaDetails.size} GHSA details`);
|
|
3942
3944
|
const scanBaseNames = new Set(scanFilepaths.map(p => path.basename(p)));
|
|
3943
3945
|
let count = 0;
|
|
3944
3946
|
let overallFixed = false;
|
|
@@ -3979,7 +3981,9 @@ async function coanaFix(fixConfig) {
|
|
|
3979
3981
|
continue ghsaLoop;
|
|
3980
3982
|
}
|
|
3981
3983
|
require$$8.debugFn('notice', `pr: creating for ${id}`);
|
|
3982
|
-
const
|
|
3984
|
+
const details = ghsaDetails.get(id);
|
|
3985
|
+
const summary = details?.summary;
|
|
3986
|
+
require$$8.debugFn('notice', `ghsa: ${id} details ${details ? 'found' : 'missing'}`);
|
|
3983
3987
|
const pushed =
|
|
3984
3988
|
// eslint-disable-next-line no-await-in-loop
|
|
3985
3989
|
(await utils.gitCreateBranch(branch, cwd)) && (
|
|
@@ -15529,5 +15533,5 @@ void (async () => {
|
|
|
15529
15533
|
await utils.captureException(e);
|
|
15530
15534
|
}
|
|
15531
15535
|
})();
|
|
15532
|
-
//# debugId=
|
|
15536
|
+
//# debugId=ae8893ee-c6c6-456e-8176-51ca01466ef5
|
|
15533
15537
|
//# sourceMappingURL=cli.js.map
|