@socketsecurity/cli 1.1.35 → 1.1.36

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,14 @@ 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.36](https://github.com/SocketDev/socket-cli/releases/tag/v1.1.35) - 2025-11-26
8
+
9
+ ### Fixed
10
+ - Fix a bug where the reachability analysis would hang on runs with analysis errors.
11
+
12
+ ### Changed
13
+ - Updated `@coana-tech/cli` to 14.12.100
14
+
7
15
  ## [1.1.35](https://github.com/SocketDev/socket-cli/releases/tag/v1.1.35) - 2025-11-25
8
16
 
9
17
  ### Added
package/dist/cli.js CHANGED
@@ -1609,7 +1609,9 @@ async function performReachabilityAnalysis(options) {
1609
1609
  // folder before the analysis was run.
1610
1610
  const filepathsToUpload = packagePaths.filter(p => path.basename(p).toLowerCase() !== constants.default.DOT_SOCKET_DOT_FACTS_JSON);
1611
1611
  spinner?.start('Uploading manifests for reachability analysis...');
1612
- const uploadCResult = await utils.handleApiCall(sockSdk.uploadManifestFiles(orgSlug, filepathsToUpload), {
1612
+
1613
+ // Ensure uploaded manifest files are relative to analysis target as coana resolves SBOM manifest files relative to this path
1614
+ const uploadCResult = await utils.handleApiCall(sockSdk.uploadManifestFiles(orgSlug, filepathsToUpload, path.resolve(cwd, analysisTarget)), {
1613
1615
  description: 'upload manifests',
1614
1616
  spinner
1615
1617
  });
@@ -3744,7 +3746,7 @@ async function coanaFix(fixConfig) {
3744
3746
  // Exclude any .socket.facts.json files that happen to be in the scan
3745
3747
  // folder before the analysis was run.
3746
3748
  const filepathsToUpload = scanFilepaths.filter(p => path.basename(p).toLowerCase() !== constants.DOT_SOCKET_DOT_FACTS_JSON);
3747
- const uploadCResult = await utils.handleApiCall(sockSdk.uploadManifestFiles(orgSlug, filepathsToUpload), {
3749
+ const uploadCResult = await utils.handleApiCall(sockSdk.uploadManifestFiles(orgSlug, filepathsToUpload, cwd), {
3748
3750
  description: 'upload manifests',
3749
3751
  spinner
3750
3752
  });
@@ -15417,5 +15419,5 @@ void (async () => {
15417
15419
  await utils.captureException(e);
15418
15420
  }
15419
15421
  })();
15420
- //# debugId=eed4ae6e-70d5-40a8-9ca4-86ec9e6e0d6c
15422
+ //# debugId=39010d7c-ef10-4b4e-b008-38ac722e7d5d
15421
15423
  //# sourceMappingURL=cli.js.map