@socketsecurity/cli-with-sentry 1.0.109 → 1.0.110
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 +7 -4
- package/dist/cli.js.map +1 -1
- package/dist/constants.js +3 -3
- package/dist/constants.js.map +1 -1
- package/dist/tsconfig.dts.tsbuildinfo +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -3848,7 +3848,8 @@ async function coanaFix(fixConfig) {
|
|
|
3848
3848
|
}
|
|
3849
3849
|
const fixCResult = await utils.spawnCoana(['compute-fixes-and-upgrade-purls', cwd, '--manifests-tar-hash', tarHash, '--apply-fixes-to', ...(isAll ? ['all'] : ghsas), ...(fixConfig.rangeStyle ? ['--range-style', fixConfig.rangeStyle] : []), ...fixConfig.unknownFlags], fixConfig.orgSlug, {
|
|
3850
3850
|
cwd,
|
|
3851
|
-
spinner
|
|
3851
|
+
spinner,
|
|
3852
|
+
stdio: 'inherit'
|
|
3852
3853
|
});
|
|
3853
3854
|
spinner?.stop();
|
|
3854
3855
|
return fixCResult.ok ? {
|
|
@@ -3862,7 +3863,8 @@ async function coanaFix(fixConfig) {
|
|
|
3862
3863
|
if (isAll) {
|
|
3863
3864
|
const foundCResult = await utils.spawnCoana(['compute-fixes-and-upgrade-purls', cwd, '--manifests-tar-hash', tarHash, ...(fixConfig.rangeStyle ? ['--range-style', fixConfig.rangeStyle] : []), ...fixConfig.unknownFlags], fixConfig.orgSlug, {
|
|
3864
3865
|
cwd,
|
|
3865
|
-
spinner
|
|
3866
|
+
spinner,
|
|
3867
|
+
stdio: 'inherit'
|
|
3866
3868
|
});
|
|
3867
3869
|
if (foundCResult.ok) {
|
|
3868
3870
|
const foundIds = utils.cmdFlagValueToArray(/(?<=Vulnerabilities found:).*/.exec(foundCResult.data));
|
|
@@ -3904,7 +3906,8 @@ async function coanaFix(fixConfig) {
|
|
|
3904
3906
|
// eslint-disable-next-line no-await-in-loop
|
|
3905
3907
|
const fixCResult = await utils.spawnCoana(['compute-fixes-and-upgrade-purls', cwd, '--manifests-tar-hash', tarHash, '--apply-fixes-to', id, ...fixConfig.unknownFlags], fixConfig.orgSlug, {
|
|
3906
3908
|
cwd,
|
|
3907
|
-
spinner
|
|
3909
|
+
spinner,
|
|
3910
|
+
stdio: 'inherit'
|
|
3908
3911
|
});
|
|
3909
3912
|
if (!fixCResult.ok) {
|
|
3910
3913
|
logger.logger.error(`Update failed for ${id}: ${fixCResult.message || 'Unknown error'}`);
|
|
@@ -15348,5 +15351,5 @@ void (async () => {
|
|
|
15348
15351
|
await utils.captureException(e);
|
|
15349
15352
|
}
|
|
15350
15353
|
})();
|
|
15351
|
-
//# debugId=
|
|
15354
|
+
//# debugId=90019b4f-8311-420b-bbc8-2645bd67f319
|
|
15352
15355
|
//# sourceMappingURL=cli.js.map
|