@socketsecurity/cli 1.1.35 → 1.1.37
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 +13 -0
- package/dist/cli.js +5 -3
- package/dist/cli.js.map +1 -1
- package/dist/constants.js +4 -4
- package/dist/constants.js.map +1 -1
- package/dist/tsconfig.dts.tsbuildinfo +1 -1
- package/dist/types/commands/scan/perform-reachability-analysis.d.mts.map +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,19 @@ 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.37](https://github.com/SocketDev/socket-cli/releases/tag/v1.1.37) - 2025-11-26
|
|
8
|
+
|
|
9
|
+
### Fixed
|
|
10
|
+
- Fix a bug where setting target path could cause incorrect manifest file paths for commands `socket scan reach <target>`, `socket scan create --reach <target>`, and `socket fix <target>`.
|
|
11
|
+
|
|
12
|
+
## [1.1.36](https://github.com/SocketDev/socket-cli/releases/tag/v1.1.36) - 2025-11-26
|
|
13
|
+
|
|
14
|
+
### Fixed
|
|
15
|
+
- Fix a bug where the reachability analysis would hang on runs with analysis errors.
|
|
16
|
+
|
|
17
|
+
### Changed
|
|
18
|
+
- Updated `@coana-tech/cli` to 14.12.100
|
|
19
|
+
|
|
7
20
|
## [1.1.35](https://github.com/SocketDev/socket-cli/releases/tag/v1.1.35) - 2025-11-25
|
|
8
21
|
|
|
9
22
|
### 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
|
-
|
|
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=
|
|
15422
|
+
//# debugId=39010d7c-ef10-4b4e-b008-38ac722e7d5d
|
|
15421
15423
|
//# sourceMappingURL=cli.js.map
|