Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file.

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

## [1.1.69](https://github.com/SocketDev/socket-cli/releases/tag/v1.1.69) - 2026-03-11

### Changed
- Updated the Coana CLI to v `14.12.194`.

## [1.1.68](https://github.com/SocketDev/socket-cli/releases/tag/v1.1.68) - 2026-03-09

### Changed
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "socket",
"version": "1.1.68",
"version": "1.1.69",
"description": "CLI for Socket.dev",
"homepage": "https://github.com/SocketDev/socket-cli",
"license": "MIT AND OFL-1.1",
Expand Down Expand Up @@ -97,7 +97,7 @@
"@babel/preset-typescript": "7.27.1",
"@babel/runtime": "7.28.4",
"@biomejs/biome": "2.2.4",
"@coana-tech/cli": "14.12.191",
"@coana-tech/cli": "14.12.194",
"@cyclonedx/cdxgen": "11.11.0",
"@dotenvx/dotenvx": "1.49.0",
"@eslint/compat": "1.3.2",
Expand Down
10 changes: 5 additions & 5 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/commands/ci/handle-ci.mts
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ export async function handleCi(autoManifest: boolean): Promise<void> {
reachDebug: false,
reachDetailedAnalysisLogFile: false,
reachDisableAnalytics: false,
reachDisableExternalToolChecks: false,
reachEcosystems: [],
reachEnableAnalysisSplitting: false,
reachExcludePaths: [],
Expand Down
8 changes: 8 additions & 0 deletions src/commands/fix/cmd-fix.mts
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,11 @@ Available styles:
'Enable debug logging in the Coana-based Socket Fix CLI invocation.',
shortFlag: 'd',
},
disableExternalToolChecks: {
type: 'boolean',
default: false,
description: 'Disable external tool checks during fix analysis.',
},
ecosystems: {
type: 'string',
default: [],
Expand Down Expand Up @@ -294,6 +299,7 @@ async function run(
applyFixes,
autopilot,
debug,
disableExternalToolChecks,
ecosystems,
exclude,
fixVersion,
Expand All @@ -317,6 +323,7 @@ async function run(
applyFixes: boolean
autopilot: boolean
debug: boolean
disableExternalToolChecks: boolean
ecosystems: string[]
exclude: string[]
fixVersion: string | undefined
Expand Down Expand Up @@ -426,6 +433,7 @@ async function run(
coanaVersion: fixVersion,
cwd,
debug,
disableExternalToolChecks,
disableMajorUpdates,
ecosystems: validatedEcosystems,
exclude: excludePatterns,
Expand Down
7 changes: 7 additions & 0 deletions src/commands/fix/coana-fix.mts
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ export async function coanaFix(
coanaVersion,
cwd,
debug,
disableExternalToolChecks,
disableMajorUpdates,
ecosystems,
exclude,
Expand Down Expand Up @@ -266,6 +267,9 @@ export async function coanaFix(
'--output-file',
tmpFile,
...(debug ? ['--debug'] : []),
...(disableExternalToolChecks
? ['--disable-external-tool-checks']
: []),
...(disableMajorUpdates ? ['--disable-major-updates'] : []),
...(showAffectedDirectDependencies
? ['--show-affected-direct-dependencies']
Expand Down Expand Up @@ -418,6 +422,9 @@ export async function coanaFix(
...(exclude.length ? ['--exclude', ...exclude] : []),
...(ecosystems.length ? ['--purl-types', ...ecosystems] : []),
...(debug ? ['--debug'] : []),
...(disableExternalToolChecks
? ['--disable-external-tool-checks']
: []),
...(disableMajorUpdates ? ['--disable-major-updates'] : []),
...(showAffectedDirectDependencies
? ['--show-affected-direct-dependencies']
Expand Down
3 changes: 3 additions & 0 deletions src/commands/fix/handle-fix.mts
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ export async function handleFix({
coanaVersion,
cwd,
debug,
disableExternalToolChecks,
disableMajorUpdates,
ecosystems,
exclude,
Expand All @@ -146,6 +147,7 @@ export async function handleFix({
coanaVersion,
cwd,
debug,
disableExternalToolChecks,
disableMajorUpdates,
ecosystems,
exclude,
Expand All @@ -171,6 +173,7 @@ export async function handleFix({
coanaVersion,
cwd,
debug,
disableExternalToolChecks,
disableMajorUpdates,
ecosystems,
exclude,
Expand Down
1 change: 1 addition & 0 deletions src/commands/fix/types.mts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ export type FixConfig = {
coanaVersion: string | undefined
cwd: string
debug: boolean
disableExternalToolChecks: boolean
disableMajorUpdates: boolean
ecosystems: PURL_Type[]
exclude: string[]
Expand Down
3 changes: 3 additions & 0 deletions src/commands/scan/cmd-scan-create.mts
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,7 @@ async function run(
reachDetailedAnalysisLogFile,
reachDisableAnalysisSplitting: _reachDisableAnalysisSplitting,
reachDisableAnalytics,
reachDisableExternalToolChecks,
reachEnableAnalysisSplitting,
reachLazyMode,
reachSkipCache,
Expand Down Expand Up @@ -277,6 +278,7 @@ async function run(
reachDetailedAnalysisLogFile: boolean
reachDisableAnalysisSplitting: boolean
reachDisableAnalytics: boolean
reachDisableExternalToolChecks: boolean
reachEnableAnalysisSplitting: boolean
reachLazyMode: boolean
reachSkipCache: boolean
Expand Down Expand Up @@ -580,6 +582,7 @@ async function run(
reachDebug: Boolean(reachDebug),
reachDetailedAnalysisLogFile: Boolean(reachDetailedAnalysisLogFile),
reachDisableAnalytics: Boolean(reachDisableAnalytics),
reachDisableExternalToolChecks: Boolean(reachDisableExternalToolChecks),
reachEcosystems,
reachEnableAnalysisSplitting: Boolean(reachEnableAnalysisSplitting),
reachExcludePaths,
Expand Down
3 changes: 3 additions & 0 deletions src/commands/scan/cmd-scan-reach.mts
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ async function run(
reachDetailedAnalysisLogFile,
reachDisableAnalysisSplitting: _reachDisableAnalysisSplitting,
reachDisableAnalytics,
reachDisableExternalToolChecks,
reachEnableAnalysisSplitting,
reachLazyMode,
reachSkipCache,
Expand All @@ -147,6 +148,7 @@ async function run(
reachDetailedAnalysisLogFile: boolean
reachDisableAnalysisSplitting: boolean
reachDisableAnalytics: boolean
reachDisableExternalToolChecks: boolean
reachEnableAnalysisSplitting: boolean
reachLazyMode: boolean
reachSkipCache: boolean
Expand Down Expand Up @@ -268,6 +270,7 @@ async function run(
reachDebug: Boolean(reachDebug),
reachDetailedAnalysisLogFile: Boolean(reachDetailedAnalysisLogFile),
reachDisableAnalytics: Boolean(reachDisableAnalytics),
reachDisableExternalToolChecks: Boolean(reachDisableExternalToolChecks),
reachEcosystems,
reachEnableAnalysisSplitting: Boolean(reachEnableAnalysisSplitting),
reachExcludePaths,
Expand Down
1 change: 1 addition & 0 deletions src/commands/scan/create-scan-from-github.mts
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,7 @@ async function scanOneRepo(
reachDebug: false,
reachDetailedAnalysisLogFile: false,
reachDisableAnalytics: false,
reachDisableExternalToolChecks: false,
reachEcosystems: [],
reachEnableAnalysisSplitting: false,
reachExcludePaths: [],
Expand Down
4 changes: 4 additions & 0 deletions src/commands/scan/perform-reachability-analysis.mts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ export type ReachabilityOptions = {
reachConcurrency: number
reachDebug: boolean
reachDetailedAnalysisLogFile: boolean
reachDisableExternalToolChecks: boolean
reachDisableAnalytics: boolean
reachEcosystems: PURL_Type[]
reachEnableAnalysisSplitting: boolean
Expand Down Expand Up @@ -179,6 +180,9 @@ export async function performReachabilityAnalysis(
...(reachabilityOptions.reachDisableAnalytics
? ['--disable-analytics-sharing']
: []),
...(reachabilityOptions.reachDisableExternalToolChecks
? ['--disable-external-tool-checks']
: []),
...(reachabilityOptions.reachEnableAnalysisSplitting
? []
: ['--disable-analysis-splitting']),
Expand Down
6 changes: 6 additions & 0 deletions src/commands/scan/reachability-flags.mts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@ export const reachabilityFlags: MeowFlags = {
description:
'Set the maximum number of concurrent reachability analysis runs. It is recommended to choose a concurrency level that ensures each analysis run has at least the --reach-analysis-memory-limit amount of memory available. NPM reachability analysis does not support concurrent execution, so the concurrency level is ignored for NPM.',
},
reachDisableExternalToolChecks: {
type: 'boolean',
default: false,
description:
'Disable external tool checks during reachability analysis.',
},
reachDebug: {
type: 'boolean',
default: false,
Expand Down