socket 1.1.52 → 1.1.53
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 +6 -0
- package/dist/cli.js +6 -3
- package/dist/cli.js.map +1 -1
- package/dist/constants.js +9 -3
- package/dist/constants.js.map +1 -1
- package/dist/tsconfig.dts.tsbuildinfo +1 -1
- package/dist/types/commands/scan/fetch-create-org-full-scan.d.mts +1 -0
- package/dist/types/commands/scan/fetch-create-org-full-scan.d.mts.map +1 -1
- package/dist/types/commands/scan/handle-create-new-scan.d.mts.map +1 -1
- package/dist/types/constants.d.mts +5 -1
- package/dist/types/constants.d.mts.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,12 @@ 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.53](https://github.com/SocketDev/socket-cli/releases/tag/v1.1.53) - 2026-01-06
|
|
8
|
+
|
|
9
|
+
### Changed
|
|
10
|
+
- The `scan_type` query argument is now set to `'socket_tier1'` when running `socket scan create --reach`.
|
|
11
|
+
This change ensures Tier 1 alerts from scans are ingested into the organization-level alerts correctly.
|
|
12
|
+
|
|
7
13
|
## [1.1.52](https://github.com/SocketDev/socket-cli/releases/tag/v1.1.52) - 2026-01-02
|
|
8
14
|
|
|
9
15
|
### Added
|
package/dist/cli.js
CHANGED
|
@@ -886,7 +886,8 @@ async function fetchCreateOrgFullScan(packagePaths, orgSlug, config, options) {
|
|
|
886
886
|
commitMessage,
|
|
887
887
|
committers,
|
|
888
888
|
pullRequest,
|
|
889
|
-
repoName
|
|
889
|
+
repoName,
|
|
890
|
+
scanType
|
|
890
891
|
} = {
|
|
891
892
|
__proto__: null,
|
|
892
893
|
...config
|
|
@@ -934,6 +935,7 @@ async function fetchCreateOrgFullScan(packagePaths, orgSlug, config, options) {
|
|
|
934
935
|
...(pullRequest ? {
|
|
935
936
|
pull_request: String(pullRequest)
|
|
936
937
|
} : {}),
|
|
938
|
+
scan_type: scanType,
|
|
937
939
|
repo: repoName,
|
|
938
940
|
set_as_pending_head: String(pendingHead),
|
|
939
941
|
tmp: String(tmp)
|
|
@@ -2331,7 +2333,8 @@ async function handleCreateNewScan({
|
|
|
2331
2333
|
committers,
|
|
2332
2334
|
pullRequest,
|
|
2333
2335
|
repoName,
|
|
2334
|
-
branchName
|
|
2336
|
+
branchName,
|
|
2337
|
+
scanType: reach.runReachabilityAnalysis ? constants.default.SCAN_TYPE_SOCKET_TIER1 : constants.default.SCAN_TYPE_SOCKET
|
|
2335
2338
|
}, {
|
|
2336
2339
|
cwd,
|
|
2337
2340
|
defaultBranch,
|
|
@@ -15339,5 +15342,5 @@ process.on('unhandledRejection', async (reason, promise) => {
|
|
|
15339
15342
|
// eslint-disable-next-line n/no-process-exit
|
|
15340
15343
|
process.exit(1);
|
|
15341
15344
|
});
|
|
15342
|
-
//# debugId=
|
|
15345
|
+
//# debugId=34fc0e98-20b6-46ae-ac78-e1d398b7a973
|
|
15343
15346
|
//# sourceMappingURL=cli.js.map
|