@socketsecurity/cli-with-sentry 1.1.52 → 1.1.54
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 +11 -0
- package/dist/cli.js +7 -10
- package/dist/cli.js.map +1 -1
- package/dist/constants.js +10 -4
- package/dist/constants.js.map +1 -1
- package/dist/tsconfig.dts.tsbuildinfo +1 -1
- package/dist/types/commands/optimize/add-overrides.d.mts.map +1 -1
- package/dist/types/commands/patch/cmd-patch.d.mts.map +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/dist/types/utils/glob.d.mts.map +1 -1
- package/dist/utils.js +9 -3
- package/dist/utils.js.map +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,17 @@ 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.54](https://github.com/SocketDev/socket-cli/releases/tag/v1.1.54) - 2026-01-08
|
|
8
|
+
|
|
9
|
+
### Changed
|
|
10
|
+
- Updated the Coana CLI to v `14.12.143`.
|
|
11
|
+
|
|
12
|
+
## [1.1.53](https://github.com/SocketDev/socket-cli/releases/tag/v1.1.53) - 2026-01-06
|
|
13
|
+
|
|
14
|
+
### Changed
|
|
15
|
+
- The `scan_type` query argument is now set to `'socket_tier1'` when running `socket scan create --reach`.
|
|
16
|
+
This change ensures Tier 1 alerts from scans are ingested into the organization-level alerts correctly.
|
|
17
|
+
|
|
7
18
|
## [1.1.52](https://github.com/SocketDev/socket-cli/releases/tag/v1.1.52) - 2026-01-02
|
|
8
19
|
|
|
9
20
|
### 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,
|
|
@@ -7645,17 +7648,11 @@ async function addOverrides(pkgEnvDetails, pkgPath, options) {
|
|
|
7645
7648
|
}
|
|
7646
7649
|
const depAliasMap = new Map();
|
|
7647
7650
|
const depEntries = getDependencyEntries(pkgEnvDetails);
|
|
7648
|
-
const manifestEntries = manifestNpmOverrides.filter(({
|
|
7649
|
-
1: data
|
|
7650
|
-
}) => vendor.semverExports.satisfies(
|
|
7651
|
-
// Roughly check Node range as semver.coerce will strip leading
|
|
7652
|
-
// v's, carets (^), comparators (<,<=,>,>=,=), and tildes (~).
|
|
7653
|
-
vendor.semverExports.coerce(data.engines.node), pkgEnvDetails.pkgRequirements.node));
|
|
7654
7651
|
const addingText = `Adding overrides to ${workspace}...`;
|
|
7655
7652
|
let loggedAddingText = false;
|
|
7656
7653
|
|
|
7657
7654
|
// Chunk package names to process them in parallel 3 at a time.
|
|
7658
|
-
await require$$12.pEach(
|
|
7655
|
+
await require$$12.pEach(manifestNpmOverrides, async ({
|
|
7659
7656
|
1: data
|
|
7660
7657
|
}) => {
|
|
7661
7658
|
const {
|
|
@@ -15339,5 +15336,5 @@ process.on('unhandledRejection', async (reason, promise) => {
|
|
|
15339
15336
|
// eslint-disable-next-line n/no-process-exit
|
|
15340
15337
|
process.exit(1);
|
|
15341
15338
|
});
|
|
15342
|
-
//# debugId=
|
|
15339
|
+
//# debugId=b7461448-5a2e-4be5-83d0-ab7faa8bc055
|
|
15343
15340
|
//# sourceMappingURL=cli.js.map
|