@socketsecurity/cli-with-sentry 1.0.45 → 1.0.46
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 +5 -4
- package/dist/cli.js.map +1 -1
- package/dist/constants.js +3 -3
- package/dist/constants.js.map +1 -1
- package/dist/shadow-npm-inject.js.map +1 -1
- package/dist/types/commands/fix/agent-fix.d.mts.map +1 -1
- package/dist/types/shadow/npm/arborist-helpers.d.mts.map +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -4019,14 +4019,14 @@ async function agentFix(pkgEnvDetails, actualTree, alertsMap, installer, {
|
|
|
4019
4019
|
}
|
|
4020
4020
|
const pr = prCheck ? prs.find(p => p.headRefName === branch) : undefined;
|
|
4021
4021
|
if (pr) {
|
|
4022
|
-
debug.debugFn('notice', `skip: PR #${pr.number} for ${name} exists`);
|
|
4022
|
+
debug.debugFn('notice', `skip: PR #${pr.number} for ${name}@${newVersion} exists`);
|
|
4023
4023
|
seenBranches.add(branch);
|
|
4024
4024
|
continue infosLoop;
|
|
4025
4025
|
}
|
|
4026
4026
|
if (fixEnv.isCi && (
|
|
4027
4027
|
// eslint-disable-next-line no-await-in-loop
|
|
4028
4028
|
await gitRemoteBranchExists(branch, cwd))) {
|
|
4029
|
-
debug.debugFn('notice', `skip: remote branch "${branch}" exists`);
|
|
4029
|
+
debug.debugFn('notice', `skip: remote branch "${branch}" for ${name}@${newVersion} exists`);
|
|
4030
4030
|
seenBranches.add(branch);
|
|
4031
4031
|
continue infosLoop;
|
|
4032
4032
|
}
|
|
@@ -4055,7 +4055,8 @@ async function agentFix(pkgEnvDetails, actualTree, alertsMap, installer, {
|
|
|
4055
4055
|
|
|
4056
4056
|
// eslint-disable-next-line no-await-in-loop
|
|
4057
4057
|
if (!(await hasModifiedFiles(cwd))) {
|
|
4058
|
-
debug.debugFn('notice',
|
|
4058
|
+
debug.debugFn('notice', `skip: nothing to commit for ${name}@${newVersion} PR`);
|
|
4059
|
+
seenVersions.add(newVersion);
|
|
4059
4060
|
// Reset things just in case.
|
|
4060
4061
|
if (fixEnv.isCi) {
|
|
4061
4062
|
// eslint-disable-next-line no-await-in-loop
|
|
@@ -14310,5 +14311,5 @@ void (async () => {
|
|
|
14310
14311
|
await utils.captureException(e);
|
|
14311
14312
|
}
|
|
14312
14313
|
})();
|
|
14313
|
-
//# debugId=
|
|
14314
|
+
//# debugId=747f1a38-2ccf-4fd0-9e7b-8350bfce7bc3
|
|
14314
14315
|
//# sourceMappingURL=cli.js.map
|