@socketsecurity/cli-with-sentry 1.8.3 → 1.8.4
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/CHANGELOG.md +6 -0
- package/README.md +5 -5
- package/dist/cli.js +3 -1
- package/dist/cli.js.map +1 -1
- package/dist/constants.js +4 -4
- package/dist/constants.js.map +1 -1
- package/dist/manifest-scripts/maven-extension/coana-maven-extension.jar +0 -0
- package/dist/tsconfig.dts.tsbuildinfo +1 -1
- package/dist/types/commands/fix/coana-fix.d.mts.map +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.
|
|
|
4
4
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
|
|
6
6
|
|
|
7
|
+
## [1.8.4](https://github.com/SocketDev/socket-cli/releases/tag/v1.8.4) - 2026-10-16
|
|
8
|
+
|
|
9
|
+
### Changed
|
|
10
|
+
- `socket fix` now exits with code 5 when it computed fixes it could not apply, matching the Coana CLI. Automation can tell this apart from a failed run, which still exits with 1. The `--output-file` JSON lists the unapplied fixes under `notApplied`.
|
|
11
|
+
- Updated the Coana CLI to v `15.12.9`.
|
|
12
|
+
|
|
7
13
|
## [1.8.3](https://github.com/SocketDev/socket-cli/releases/tag/v1.8.3) - 2026-10-15
|
|
8
14
|
|
|
9
15
|
### Changed
|
package/README.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# Socket CLI
|
|
2
2
|
|
|
3
3
|
[](https://socket.dev/npm/package/socket)
|
|
4
|
-
[](https://twitter.com/SocketSecurity)
|
|
5
|
+
[](https://bsky.app/profile/socket.dev)
|
|
6
6
|
|
|
7
7
|
CLI for [Socket.dev](https://socket.dev) — scan dependencies, audit packages, apply security patches, and gate installs from your terminal or CI. This is the 1.x line of the published `socket` package on npm.
|
|
8
8
|
|
|
@@ -171,8 +171,8 @@ MIT
|
|
|
171
171
|
<br/>
|
|
172
172
|
<div align="center">
|
|
173
173
|
<picture>
|
|
174
|
-
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/SocketDev/socket-cli/v1.8.
|
|
175
|
-
<source media="(prefers-color-scheme: light)" srcset="https://raw.githubusercontent.com/SocketDev/socket-cli/v1.8.
|
|
176
|
-
<img width="324" height="104" alt="Socket" src="https://raw.githubusercontent.com/SocketDev/socket-cli/v1.8.
|
|
174
|
+
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/SocketDev/socket-cli/v1.8.4/assets/fleet/socket-combomark-dark.svg">
|
|
175
|
+
<source media="(prefers-color-scheme: light)" srcset="https://raw.githubusercontent.com/SocketDev/socket-cli/v1.8.4/assets/fleet/socket-combomark-light.svg">
|
|
176
|
+
<img width="324" height="104" alt="Socket" src="https://raw.githubusercontent.com/SocketDev/socket-cli/v1.8.4/assets/fleet/socket-combomark-light.svg">
|
|
177
177
|
</picture>
|
|
178
178
|
</div>
|
package/dist/cli.js
CHANGED
|
@@ -9098,6 +9098,7 @@ function readWrittenFiles(outputFile) {
|
|
|
9098
9098
|
return Array.isArray(files) && files.every(f => typeof f === 'string') ? new Set(files) : undefined;
|
|
9099
9099
|
}
|
|
9100
9100
|
// Coana exits with this code after writing an --output-file that lists computed fixes it left unapplied.
|
|
9101
|
+
// Local mode exits with it too, so automation can tell unapplied fixes from a failed run.
|
|
9101
9102
|
const COANA_FIXES_NOT_APPLIED_EXIT_CODE = 5;
|
|
9102
9103
|
function isFixesNotAppliedExit(result) {
|
|
9103
9104
|
return !result.ok && result.data?.code === COANA_FIXES_NOT_APPLIED_EXIT_CODE;
|
|
@@ -9331,6 +9332,7 @@ async function coanaFixWithFacts(fixConfig, factsSlot) {
|
|
|
9331
9332
|
if (!fixCResult.ok || notApplied.length) {
|
|
9332
9333
|
return {
|
|
9333
9334
|
ok: false,
|
|
9335
|
+
code: COANA_FIXES_NOT_APPLIED_EXIT_CODE,
|
|
9334
9336
|
message: fixesResultJson?.type === 'no-fixes-applied' ? 'No computed fixes were applied' : 'Some computed fixes were not applied',
|
|
9335
9337
|
cause: formatNotAppliedFixes(notApplied),
|
|
9336
9338
|
data: {
|
|
@@ -24538,5 +24540,5 @@ process.on('unhandledRejection', async (reason, promise) => {
|
|
|
24538
24540
|
// eslint-disable-next-line n/no-process-exit
|
|
24539
24541
|
process.exit(1);
|
|
24540
24542
|
});
|
|
24541
|
-
//# debugId=
|
|
24543
|
+
//# debugId=f7aeb17e-13e2-4a73-b5ed-da37ea72d476
|
|
24542
24544
|
//# sourceMappingURL=cli.js.map
|