@socketsecurity/cli-with-sentry 1.1.156 → 1.1.158

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 CHANGED
@@ -4,6 +4,22 @@ 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.1.158](https://github.com/SocketDev/socket-cli/releases/tag/v1.1.158) - 2026-08-17
8
+
9
+ ### Changed
10
+ - Updated the Coana CLI to v `15.10.15`.
11
+
12
+ ### Fixed
13
+ - `socket scan create` now rejects every `--reach-*` modifier when `--reach` is not enabled. Previously flags such as `--reach-debug` were silently ignored, making a plain SBOM scan look like a reachability scan.
14
+
15
+ ## [1.1.157](https://github.com/SocketDev/socket-cli/releases/tag/v1.1.157) - 2026-08-12
16
+
17
+ ### Changed
18
+ - Updated the Coana CLI to v `15.10.13`.
19
+
20
+ ### Fixed
21
+ - `socket scan reach` again names the workspace a reachability error came from, instead of reporting every error against the repository root.
22
+
7
23
  ## [1.1.156](https://github.com/SocketDev/socket-cli/releases/tag/v1.1.156) - 2026-08-10
8
24
 
9
25
  ### Changed
package/README.md CHANGED
@@ -1,8 +1,8 @@
1
1
  # Socket CLI
2
2
 
3
3
  [![Socket Badge](https://socket.dev/api/badge/npm/package/socket)](https://socket.dev/npm/package/socket)
4
- [![Follow @SocketSecurity](https://raw.githubusercontent.com/SocketDev/socket-cli/v1.1.156/assets/fleet/badge-follow-x.svg)](https://twitter.com/SocketSecurity)
5
- [![Follow @socket.dev on Bluesky](https://raw.githubusercontent.com/SocketDev/socket-cli/v1.1.156/assets/fleet/badge-follow-bluesky.svg)](https://bsky.app/profile/socket.dev)
4
+ [![Follow @SocketSecurity](https://raw.githubusercontent.com/SocketDev/socket-cli/v1.1.158/assets/fleet/badge-follow-x.svg)](https://twitter.com/SocketSecurity)
5
+ [![Follow @socket.dev on Bluesky](https://raw.githubusercontent.com/SocketDev/socket-cli/v1.1.158/assets/fleet/badge-follow-bluesky.svg)](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
 
@@ -138,8 +138,8 @@ MIT
138
138
  <br/>
139
139
  <div align="center">
140
140
  <picture>
141
- <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/SocketDev/socket-cli/v1.1.156/assets/fleet/socket-combomark-dark.svg">
142
- <source media="(prefers-color-scheme: light)" srcset="https://raw.githubusercontent.com/SocketDev/socket-cli/v1.1.156/assets/fleet/socket-combomark-light.svg">
143
- <img width="324" height="104" alt="Socket" src="https://raw.githubusercontent.com/SocketDev/socket-cli/v1.1.156/assets/fleet/socket-combomark-light.svg">
141
+ <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/SocketDev/socket-cli/v1.1.158/assets/fleet/socket-combomark-dark.svg">
142
+ <source media="(prefers-color-scheme: light)" srcset="https://raw.githubusercontent.com/SocketDev/socket-cli/v1.1.158/assets/fleet/socket-combomark-light.svg">
143
+ <img width="324" height="104" alt="Socket" src="https://raw.githubusercontent.com/SocketDev/socket-cli/v1.1.158/assets/fleet/socket-combomark-light.svg">
144
144
  </picture>
145
145
  </div>
package/dist/cli.js CHANGED
@@ -19795,9 +19795,14 @@ async function run$d(argv, importMeta, {
19795
19795
  const isUsingNonDefaultMemoryLimit = memoryLimitMb !== null && memoryLimitMb !== reachMemoryLimitToMb(String(reachabilityFlags['reachAnalysisMemoryLimit']?.default ?? ''));
19796
19796
  const isUsingNonDefaultTimeout = !isOmittedReachValue(reachAnalysisTimeout);
19797
19797
  const isUsingNonDefaultConcurrency = reachConcurrency !== reachabilityFlags['reachConcurrency']?.default;
19798
- const isUsingNonDefaultAnalytics = reachDisableAnalytics !== reachabilityFlags['reachDisableAnalytics']?.default;
19799
19798
  const isUsingNonDefaultVersion = reachVersion !== reachabilityFlags['reachVersion']?.default;
19800
- const isUsingAnyReachabilityFlags = dynamicSbomInference || hasReachEcosystems || hasReachExcludePaths || isUsingNonDefaultAnalytics || isUsingNonDefaultConcurrency || isUsingNonDefaultMemoryLimit || isUsingNonDefaultTimeout || isUsingNonDefaultVersion || reachContinueOnAnalysisErrors || reachContinueOnInstallErrors || reachContinueOnMissingLockFiles || reachContinueOnNoSourceFiles || reachEnableAnalysisSplitting || reachLazyMode || reachSkipCache || reachUseOnlyPregeneratedSboms;
19799
+
19800
+ // Compare every boolean reach flag against its declared default so newly
19801
+ // added flags require --reach automatically instead of relying on a
19802
+ // hand-maintained list. The deprecated no-op
19803
+ // --reach-disable-analysis-splitting is excluded on purpose.
19804
+ const isUsingAnyBooleanReachFlag = Object.entries(reachabilityFlags).some(([name, flag]) => flag.type === 'boolean' && name !== 'reachDisableAnalysisSplitting' && cli.flags[name] !== flag.default);
19805
+ const isUsingAnyReachabilityFlags = hasReachEcosystems || hasReachExcludePaths || isUsingAnyBooleanReachFlag || isUsingNonDefaultConcurrency || isUsingNonDefaultMemoryLimit || isUsingNonDefaultTimeout || isUsingNonDefaultVersion;
19801
19806
 
19802
19807
  // Validate target constraints when --reach is enabled.
19803
19808
  const reachTargetValidation = reach ? await validateReachabilityTarget(targets, cwd) : {
@@ -21782,7 +21787,7 @@ async function outputScanReach(result, {
21782
21787
  logger.logger.log('');
21783
21788
  logger.logger.warn(`Reachability analysis returned ${errors.length} ${words.pluralize('error', errors.length)} for individual ${words.pluralize('vulnerability', errors.length)}:`);
21784
21789
  for (const err of errors) {
21785
- logger.logger.warn(` - ${err.ghsaId} in ${err.componentName}@${err.componentVersion} (${err.subprojectPath})`);
21790
+ logger.logger.warn(` - ${err.ghsaId} in ${err.componentName}@${err.componentVersion} (${utils.getFullWorkspacePath(err.subprojectPath, err.workspacePath)})`);
21786
21791
  }
21787
21792
  }
21788
21793
  }
@@ -24048,5 +24053,5 @@ process.on('unhandledRejection', async (reason, promise) => {
24048
24053
  // eslint-disable-next-line n/no-process-exit
24049
24054
  process.exit(1);
24050
24055
  });
24051
- //# debugId=3812aa5d-88f8-4a1b-84cd-3bf21311216e
24056
+ //# debugId=69d6aee7-9895-453a-a64d-f9410fff5198
24052
24057
  //# sourceMappingURL=cli.js.map