@socketsecurity/cli-with-sentry 1.0.91 → 1.0.92
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 +6 -7
- package/dist/cli.js.map +1 -1
- package/dist/constants.js +3 -3
- package/dist/constants.js.map +1 -1
- package/dist/utils.js +9 -5
- package/dist/utils.js.map +1 -1
- package/external/@coana-tech/cli/cli.mjs +8 -3
- package/external/@coana-tech/cli/coana-repos/goana/bin/goana-darwin-amd64.gz +0 -0
- package/external/@coana-tech/cli/coana-repos/goana/bin/goana-darwin-arm64.gz +0 -0
- package/external/@coana-tech/cli/coana-repos/goana/bin/goana-linux-amd64.gz +0 -0
- package/external/@coana-tech/cli/coana-repos/goana/bin/goana-linux-arm64.gz +0 -0
- package/external/@coana-tech/cli/reachability-analyzers-cli.mjs +42 -30
- package/package.json +2 -2
package/dist/cli.js
CHANGED
|
@@ -1608,7 +1608,9 @@ async function performReachabilityAnalysis(options) {
|
|
|
1608
1608
|
if (branchName) {
|
|
1609
1609
|
env['SOCKET_BRANCH_NAME'] = branchName;
|
|
1610
1610
|
}
|
|
1611
|
-
|
|
1611
|
+
|
|
1612
|
+
// Run Coana with the manifests tar hash.
|
|
1613
|
+
const coanaResult = await utils.spawnCoana(coanaArgs, orgSlug, {
|
|
1612
1614
|
cwd,
|
|
1613
1615
|
env,
|
|
1614
1616
|
spinner,
|
|
@@ -3213,12 +3215,9 @@ async function coanaFix(fixConfig) {
|
|
|
3213
3215
|
}
|
|
3214
3216
|
const isAllOrAuto = ghsas.length === 1 && (ghsas[0] === 'all' || ghsas[0] === 'auto');
|
|
3215
3217
|
const ids = isAllOrAuto ? ['all'] : ghsas;
|
|
3216
|
-
const fixCResult = ids.length ? await utils.spawnCoana(['compute-fixes-and-upgrade-purls', cwd, '--manifests-tar-hash', tarHash, '--apply-fixes-to', ...ids, ...fixConfig.unknownFlags], {
|
|
3218
|
+
const fixCResult = ids.length ? await utils.spawnCoana(['compute-fixes-and-upgrade-purls', cwd, '--manifests-tar-hash', tarHash, '--apply-fixes-to', ...ids, ...fixConfig.unknownFlags], fixConfig.orgSlug, {
|
|
3217
3219
|
cwd,
|
|
3218
|
-
spinner
|
|
3219
|
-
env: {
|
|
3220
|
-
SOCKET_ORG_SLUG: orgSlug
|
|
3221
|
-
}
|
|
3220
|
+
spinner
|
|
3222
3221
|
}) : undefined;
|
|
3223
3222
|
if (fixCResult) {
|
|
3224
3223
|
lastCResult = fixCResult;
|
|
@@ -14994,5 +14993,5 @@ void (async () => {
|
|
|
14994
14993
|
await utils.captureException(e);
|
|
14995
14994
|
}
|
|
14996
14995
|
})();
|
|
14997
|
-
//# debugId=
|
|
14996
|
+
//# debugId=179b5d73-a525-4e97-bef0-f189ffa26e77
|
|
14998
14997
|
//# sourceMappingURL=cli.js.map
|