Skip to content

Commit 6c585e4

Browse files
committed
upgrading coana to version 14.12.194 and adding --disable-external-tool-checks flag
1 parent 3a7ba36 commit 6c585e4

13 files changed

+49
-7
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file.
44

55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
66

7+
## [1.1.69](https://github.com/SocketDev/socket-cli/releases/tag/v1.1.69) - 2026-03-11
8+
9+
### Changed
10+
- Updated the Coana CLI to v `14.12.194`.
11+
712
## [1.1.68](https://github.com/SocketDev/socket-cli/releases/tag/v1.1.68) - 2026-03-09
813

914
### Changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "socket",
3-
"version": "1.1.68",
3+
"version": "1.1.69",
44
"description": "CLI for Socket.dev",
55
"homepage": "https://github.com/SocketDev/socket-cli",
66
"license": "MIT AND OFL-1.1",
@@ -97,7 +97,7 @@
9797
"@babel/preset-typescript": "7.27.1",
9898
"@babel/runtime": "7.28.4",
9999
"@biomejs/biome": "2.2.4",
100-
"@coana-tech/cli": "14.12.191",
100+
"@coana-tech/cli": "14.12.194",
101101
"@cyclonedx/cdxgen": "11.11.0",
102102
"@dotenvx/dotenvx": "1.49.0",
103103
"@eslint/compat": "1.3.2",

pnpm-lock.yaml

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/commands/ci/handle-ci.mts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ export async function handleCi(autoManifest: boolean): Promise<void> {
5757
reachDebug: false,
5858
reachDetailedAnalysisLogFile: false,
5959
reachDisableAnalytics: false,
60+
reachDisableExternalToolChecks: false,
6061
reachEcosystems: [],
6162
reachEnableAnalysisSplitting: false,
6263
reachExcludePaths: [],

src/commands/fix/cmd-fix.mts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,11 @@ Available styles:
154154
'Enable debug logging in the Coana-based Socket Fix CLI invocation.',
155155
shortFlag: 'd',
156156
},
157+
disableExternalToolChecks: {
158+
type: 'boolean',
159+
default: false,
160+
description: 'Disable external tool checks during fix analysis.',
161+
},
157162
ecosystems: {
158163
type: 'string',
159164
default: [],
@@ -294,6 +299,7 @@ async function run(
294299
applyFixes,
295300
autopilot,
296301
debug,
302+
disableExternalToolChecks,
297303
ecosystems,
298304
exclude,
299305
fixVersion,
@@ -317,6 +323,7 @@ async function run(
317323
applyFixes: boolean
318324
autopilot: boolean
319325
debug: boolean
326+
disableExternalToolChecks: boolean
320327
ecosystems: string[]
321328
exclude: string[]
322329
fixVersion: string | undefined
@@ -426,6 +433,7 @@ async function run(
426433
coanaVersion: fixVersion,
427434
cwd,
428435
debug,
436+
disableExternalToolChecks,
429437
disableMajorUpdates,
430438
ecosystems: validatedEcosystems,
431439
exclude: excludePatterns,

src/commands/fix/coana-fix.mts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ export async function coanaFix(
119119
coanaVersion,
120120
cwd,
121121
debug,
122+
disableExternalToolChecks,
122123
disableMajorUpdates,
123124
ecosystems,
124125
exclude,
@@ -266,6 +267,9 @@ export async function coanaFix(
266267
'--output-file',
267268
tmpFile,
268269
...(debug ? ['--debug'] : []),
270+
...(disableExternalToolChecks
271+
? ['--disable-external-tool-checks']
272+
: []),
269273
...(disableMajorUpdates ? ['--disable-major-updates'] : []),
270274
...(showAffectedDirectDependencies
271275
? ['--show-affected-direct-dependencies']
@@ -418,6 +422,9 @@ export async function coanaFix(
418422
...(exclude.length ? ['--exclude', ...exclude] : []),
419423
...(ecosystems.length ? ['--purl-types', ...ecosystems] : []),
420424
...(debug ? ['--debug'] : []),
425+
...(disableExternalToolChecks
426+
? ['--disable-external-tool-checks']
427+
: []),
421428
...(disableMajorUpdates ? ['--disable-major-updates'] : []),
422429
...(showAffectedDirectDependencies
423430
? ['--show-affected-direct-dependencies']

src/commands/fix/handle-fix.mts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ export async function handleFix({
120120
coanaVersion,
121121
cwd,
122122
debug,
123+
disableExternalToolChecks,
123124
disableMajorUpdates,
124125
ecosystems,
125126
exclude,
@@ -146,6 +147,7 @@ export async function handleFix({
146147
coanaVersion,
147148
cwd,
148149
debug,
150+
disableExternalToolChecks,
149151
disableMajorUpdates,
150152
ecosystems,
151153
exclude,
@@ -171,6 +173,7 @@ export async function handleFix({
171173
coanaVersion,
172174
cwd,
173175
debug,
176+
disableExternalToolChecks,
174177
disableMajorUpdates,
175178
ecosystems,
176179
exclude,

src/commands/fix/types.mts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ export type FixConfig = {
99
coanaVersion: string | undefined
1010
cwd: string
1111
debug: boolean
12+
disableExternalToolChecks: boolean
1213
disableMajorUpdates: boolean
1314
ecosystems: PURL_Type[]
1415
exclude: string[]

src/commands/scan/cmd-scan-create.mts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,7 @@ async function run(
244244
reachDetailedAnalysisLogFile,
245245
reachDisableAnalysisSplitting: _reachDisableAnalysisSplitting,
246246
reachDisableAnalytics,
247+
reachDisableExternalToolChecks,
247248
reachEnableAnalysisSplitting,
248249
reachLazyMode,
249250
reachSkipCache,
@@ -277,6 +278,7 @@ async function run(
277278
reachDetailedAnalysisLogFile: boolean
278279
reachDisableAnalysisSplitting: boolean
279280
reachDisableAnalytics: boolean
281+
reachDisableExternalToolChecks: boolean
280282
reachEnableAnalysisSplitting: boolean
281283
reachLazyMode: boolean
282284
reachSkipCache: boolean
@@ -580,6 +582,7 @@ async function run(
580582
reachDebug: Boolean(reachDebug),
581583
reachDetailedAnalysisLogFile: Boolean(reachDetailedAnalysisLogFile),
582584
reachDisableAnalytics: Boolean(reachDisableAnalytics),
585+
reachDisableExternalToolChecks: Boolean(reachDisableExternalToolChecks),
583586
reachEcosystems,
584587
reachEnableAnalysisSplitting: Boolean(reachEnableAnalysisSplitting),
585588
reachExcludePaths,

src/commands/scan/cmd-scan-reach.mts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@ async function run(
128128
reachDetailedAnalysisLogFile,
129129
reachDisableAnalysisSplitting: _reachDisableAnalysisSplitting,
130130
reachDisableAnalytics,
131+
reachDisableExternalToolChecks,
131132
reachEnableAnalysisSplitting,
132133
reachLazyMode,
133134
reachSkipCache,
@@ -147,6 +148,7 @@ async function run(
147148
reachDetailedAnalysisLogFile: boolean
148149
reachDisableAnalysisSplitting: boolean
149150
reachDisableAnalytics: boolean
151+
reachDisableExternalToolChecks: boolean
150152
reachEnableAnalysisSplitting: boolean
151153
reachLazyMode: boolean
152154
reachSkipCache: boolean
@@ -268,6 +270,7 @@ async function run(
268270
reachDebug: Boolean(reachDebug),
269271
reachDetailedAnalysisLogFile: Boolean(reachDetailedAnalysisLogFile),
270272
reachDisableAnalytics: Boolean(reachDisableAnalytics),
273+
reachDisableExternalToolChecks: Boolean(reachDisableExternalToolChecks),
271274
reachEcosystems,
272275
reachEnableAnalysisSplitting: Boolean(reachEnableAnalysisSplitting),
273276
reachExcludePaths,

0 commit comments

Comments
 (0)