@socketsecurity/cli-with-sentry 1.1.135 → 1.1.137
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 +14 -0
- package/dist/cli.js +104 -29
- package/dist/cli.js.map +1 -1
- package/dist/constants.js +4 -4
- package/dist/constants.js.map +1 -1
- package/dist/manifest-scripts/maven-extension/coana-maven-extension.jar +0 -0
- package/dist/manifest-scripts/socket-facts.init.gradle +38 -13
- package/dist/manifest-scripts/socket-facts.plugin.scala +30 -7
- package/dist/tsconfig.dts.tsbuildinfo +1 -1
- package/dist/types/commands/manifest/detect-manifest-actions.d.mts.map +1 -1
- package/dist/types/commands/manifest/run-manifest-facts.d.mts.map +1 -1
- package/dist/types/commands/manifest/scripts/records.d.mts +3 -1
- package/dist/types/commands/manifest/scripts/records.d.mts.map +1 -1
- package/dist/types/commands/manifest/scripts/resolution-report-gradle.d.mts.map +1 -1
- package/dist/types/commands/manifest/scripts/resolution-report-render.d.mts +3 -1
- package/dist/types/commands/manifest/scripts/resolution-report-render.d.mts.map +1 -1
- package/dist/types/commands/manifest/scripts/resolution-report.d.mts +6 -0
- package/dist/types/commands/manifest/scripts/resolution-report.d.mts.map +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"detect-manifest-actions.d.mts","sourceRoot":"","sources":["../../../../src/commands/manifest/detect-manifest-actions.mts"],"names":[],"mappings":"AAcA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAA;AAE7D,MAAM,WAAW,oBAAoB;IACnC,KAAK,EAAE,OAAO,CAAA;IACd,MAAM,EAAE,OAAO,CAAA;IACf,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,OAAO,CAAA;IACd,MAAM,EAAE,OAAO,CAAA;IACf,KAAK,EAAE,OAAO,CAAA;IACd,GAAG,EAAE,OAAO,CAAA;CACb;AAED,wBAAsB,qBAAqB;AACzC,0EAA0E;AAC1E,kEAAkE;AAClE,QAAQ,EAAE,UAAU,GAAG,IAAI,EAC3B,GAAG,SAAgB,GAClB,OAAO,CAAC,oBAAoB,CAAC,
|
|
1
|
+
{"version":3,"file":"detect-manifest-actions.d.mts","sourceRoot":"","sources":["../../../../src/commands/manifest/detect-manifest-actions.mts"],"names":[],"mappings":"AAcA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAA;AAE7D,MAAM,WAAW,oBAAoB;IACnC,KAAK,EAAE,OAAO,CAAA;IACd,MAAM,EAAE,OAAO,CAAA;IACf,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,OAAO,CAAA;IACd,MAAM,EAAE,OAAO,CAAA;IACf,KAAK,EAAE,OAAO,CAAA;IACd,GAAG,EAAE,OAAO,CAAA;CACb;AAED,wBAAsB,qBAAqB;AACzC,0EAA0E;AAC1E,kEAAkE;AAClE,QAAQ,EAAE,UAAU,GAAG,IAAI,EAC3B,GAAG,SAAgB,GAClB,OAAO,CAAC,oBAAoB,CAAC,CAqF/B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"run-manifest-facts.d.mts","sourceRoot":"","sources":["../../../../src/commands/manifest/run-manifest-facts.mts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAA;AAEzD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAA;AAc/D,6EAA6E;AAC7E,2EAA2E;AAC3E,gFAAgF;AAChF,2EAA2E;AAC3E,+EAA6E;AAC7E,+BAA6B;AAC7B,wBAAsB,gBAAgB,CAAC,EACrC,GAAG,EACH,SAAS,EACT,GAAG,EACH,SAAS,EACT,cAAc,EACd,gBAAgB,EAChB,cAAc,EACd,UAAU,EACV,OAAO,EACP,SAAS,EACV,EAAE;IACD,GAAG,EAAE,MAAM,CAAA;IACX,SAAS,EAAE,MAAM,EAAE,CAAA;IACnB,GAAG,EAAE,MAAM,CAAA;IACX,SAAS,EAAE,SAAS,CAAA;IACpB,cAAc,EAAE,MAAM,CAAA;IACtB,gBAAgB,EAAE,OAAO,CAAA;IACzB,cAAc,EAAE,MAAM,CAAA;IACtB,UAAU,CAAC,EAAE,kBAAkB,GAAG,SAAS,CAAA;IAC3C,OAAO,EAAE,OAAO,CAAA;IAChB,SAAS,CAAC,EAAE,OAAO,GAAG,SAAS,CAAA;CAChC,GAAG,OAAO,CAAC,IAAI,CAAC,
|
|
1
|
+
{"version":3,"file":"run-manifest-facts.d.mts","sourceRoot":"","sources":["../../../../src/commands/manifest/run-manifest-facts.mts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAA;AAEzD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAA;AAc/D,6EAA6E;AAC7E,2EAA2E;AAC3E,gFAAgF;AAChF,2EAA2E;AAC3E,+EAA6E;AAC7E,+BAA6B;AAC7B,wBAAsB,gBAAgB,CAAC,EACrC,GAAG,EACH,SAAS,EACT,GAAG,EACH,SAAS,EACT,cAAc,EACd,gBAAgB,EAChB,cAAc,EACd,UAAU,EACV,OAAO,EACP,SAAS,EACV,EAAE;IACD,GAAG,EAAE,MAAM,CAAA;IACX,SAAS,EAAE,MAAM,EAAE,CAAA;IACnB,GAAG,EAAE,MAAM,CAAA;IACX,SAAS,EAAE,SAAS,CAAA;IACpB,cAAc,EAAE,MAAM,CAAA;IACtB,gBAAgB,EAAE,OAAO,CAAA;IACzB,cAAc,EAAE,MAAM,CAAA;IACtB,UAAU,CAAC,EAAE,kBAAkB,GAAG,SAAS,CAAA;IAC3C,OAAO,EAAE,OAAO,CAAA;IAChB,SAAS,CAAC,EAAE,OAAO,GAAG,SAAS,CAAA;CAChC,GAAG,OAAO,CAAC,IAAI,CAAC,CAkIhB"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ResolutionFailure } from './resolution-report.mts';
|
|
1
|
+
import type { ResolutionFailure, UnscannableConfig } from './resolution-report.mts';
|
|
2
2
|
// Line-protocol the build-tool scripts emit to a records file (NOT stdout — sbt
|
|
3
3
|
// prints unsilenceable resolution noise there). One record per line, fields
|
|
4
4
|
// backslash-escaped (\\, \t, \n, \r) so a value can't break framing:
|
|
@@ -15,6 +15,7 @@ import type { ResolutionFailure } from './resolution-report.mts';
|
|
|
15
15
|
// file rootId coordId path (--with-files only)
|
|
16
16
|
// scanned config
|
|
17
17
|
// failure coord detail config
|
|
18
|
+
// unscannable config detail
|
|
18
19
|
//
|
|
19
20
|
// A `root` is one (subproject, configuration) resolution root; `coordId` is the
|
|
20
21
|
// coordinate key (`group:name:ext:classifier:version`, empty segments dropped),
|
|
@@ -58,6 +59,7 @@ export type ParsedRecords = {
|
|
|
58
59
|
roots: Map<string, RawRoot>;
|
|
59
60
|
scannedConfigs: string[];
|
|
60
61
|
failures: ResolutionFailure[];
|
|
62
|
+
unscannable: UnscannableConfig[];
|
|
61
63
|
};
|
|
62
64
|
export declare function unescapeField(s: string): string;
|
|
63
65
|
export declare function parseRecords(text: string): ParsedRecords;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"records.d.mts","sourceRoot":"","sources":["../../../../../src/commands/manifest/scripts/records.mts"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"records.d.mts","sourceRoot":"","sources":["../../../../../src/commands/manifest/scripts/records.mts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,iBAAiB,EACjB,iBAAiB,EAClB,MAAM,yBAAyB,CAAA;AAEhC,kFAAgF;AAChF,4EAA4E;AAC5E,qEAAqE;AACrE,EAAE;AACF,+BAA+B;AAC/B,EAAE;AACF,+CAA+C;AAC/C,sDAAsD;AACtD,6EAA6E;AAC7E,6EAA6E;AAC7E,sDAAsD;AACtD,oFAAoF;AACpF,oDAAoD;AACpD,6EAA6E;AAC7E,uBAAuB;AACvB,sCAAsC;AACtC,+BAA+B;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,EAAE,MAAM,EAAE,CAAA;IACxB,QAAQ,EAAE,iBAAiB,EAAE,CAAA;IAC7B,WAAW,EAAE,iBAAiB,EAAE,CAAA;CACjC,CAAA;AAED,wBAAgB,aAAa,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,CAe/C;AAMD,wBAAgB,YAAY,CAAC,IAAI,EAAE,MAAM,GAAG,aAAa,CA6IxD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resolution-report-gradle.d.mts","sourceRoot":"","sources":["../../../../../src/commands/manifest/scripts/resolution-report-gradle.mts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,eAAe,EACf,iBAAiB,EAClB,MAAM,gCAAgC,CAAA;AAEvC,+EAA+E;AAC/E,uEAAuE;AACvE,wBAAgB,qBAAqB,CAAC,MAAM,EAAE,MAAM,GAAG,eAAe,
|
|
1
|
+
{"version":3,"file":"resolution-report-gradle.d.mts","sourceRoot":"","sources":["../../../../../src/commands/manifest/scripts/resolution-report-gradle.mts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,eAAe,EACf,iBAAiB,EAClB,MAAM,gCAAgC,CAAA;AAEvC,+EAA+E;AAC/E,uEAAuE;AACvE,wBAAgB,qBAAqB,CAAC,MAAM,EAAE,MAAM,GAAG,eAAe,CAoCrE;AAED,6EAA6E;AAC7E,8EAA8E;AAC9E,2EAA2E;AAC3E,oEAAoE;AACpE,eAAO,MAAM,cAAc,EAAE,iBA+C5B,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { BuildTool } from './build-tool.mts';
|
|
2
|
-
import type { ResolutionFailure } from './resolution-report.mts';
|
|
2
|
+
import type { ResolutionFailure, UnscannableConfig } from './resolution-report.mts';
|
|
3
3
|
// Recognized from the build tool's message; drives wording AND whether the kind
|
|
4
4
|
// is blocking. An unrecognized message degrades to 'other' (blocking) — safe.
|
|
5
5
|
export type FailureCategory = 'not-found' | 'no-matching-variant' | 'capability-conflict' | 'variant-ambiguity' | 'repository-or-network' | 'config-problem' | 'other';
|
|
@@ -34,8 +34,10 @@ export type RenderedResolutionReport = {
|
|
|
34
34
|
// classifier/type, so relating a failed and a succeeded dep is unsound.
|
|
35
35
|
export declare function renderResolutionReport(failures: ResolutionFailure[], scannedConfigs: string[], dialect: ResolutionDialect, opts?: {
|
|
36
36
|
ignoreUnresolved?: boolean | undefined;
|
|
37
|
+
unscannable?: UnscannableConfig[] | undefined;
|
|
37
38
|
}): RenderedResolutionReport;
|
|
38
39
|
export declare function renderResolutionErrorReport(failures: ResolutionFailure[], scannedConfigs?: string[], tool?: BuildTool, opts?: {
|
|
39
40
|
ignoreUnresolved?: boolean | undefined;
|
|
41
|
+
unscannable?: UnscannableConfig[] | undefined;
|
|
40
42
|
}): RenderedResolutionReport;
|
|
41
43
|
//# sourceMappingURL=resolution-report-render.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resolution-report-render.d.mts","sourceRoot":"","sources":["../../../../../src/commands/manifest/scripts/resolution-report-render.mts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAA;AACjD,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"resolution-report-render.d.mts","sourceRoot":"","sources":["../../../../../src/commands/manifest/scripts/resolution-report-render.mts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAA;AACjD,OAAO,KAAK,EACV,iBAAiB,EACjB,iBAAiB,EAClB,MAAM,yBAAyB,CAAA;AAEhC,gFAAgF;AAChF,gFAA8E;AAC9E,MAAM,MAAM,eAAe,GACvB,WAAW,GACX,qBAAqB,GACrB,qBAAqB,GACrB,mBAAmB,GACnB,uBAAuB,GACvB,gBAAgB,GAChB,OAAO,CAAA;AAEX,MAAM,MAAM,mBAAmB,GAAG;IAChC,GAAG,EAAE,eAAe,CAAA;IACpB,iEAAiE;IACjE,4EAA4E;IAC5E,2CAA2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CAAA;IACtC,WAAW,CAAC,EAAE,iBAAiB,EAAE,GAAG,SAAS,CAAA;CACzC,GACL,wBAAwB,CAO1B"}
|
|
@@ -5,8 +5,14 @@ export type ResolutionFailure = {
|
|
|
5
5
|
detail: string;
|
|
6
6
|
config: string;
|
|
7
7
|
};
|
|
8
|
+
// A whole config whose resolution threw, vs a single unresolved dep (`ResolutionFailure`).
|
|
9
|
+
export type UnscannableConfig = {
|
|
10
|
+
config: string;
|
|
11
|
+
detail: string;
|
|
12
|
+
};
|
|
8
13
|
export type ResolutionReport = {
|
|
9
14
|
failures: ResolutionFailure[];
|
|
10
15
|
scannedConfigs: string[];
|
|
16
|
+
unscannable: UnscannableConfig[];
|
|
11
17
|
};
|
|
12
18
|
//# sourceMappingURL=resolution-report.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resolution-report.d.mts","sourceRoot":"","sources":["../../../../../src/commands/manifest/scripts/resolution-report.mts"],"names":[],"mappings":"AAAA,MAAM,MAAM,iBAAiB,GAAG;IAC9B,KAAK,EAAE,MAAM,CAAA;IACb,uEAAuE;IACvE,wEAAwE;IACxE,MAAM,EAAE,MAAM,CAAA;IACd,MAAM,EAAE,MAAM,CAAA;CACf,CAAA;AAED,MAAM,MAAM,gBAAgB,GAAG;IAC7B,QAAQ,EAAE,iBAAiB,EAAE,CAAA;IAC7B,cAAc,EAAE,MAAM,EAAE,CAAA;
|
|
1
|
+
{"version":3,"file":"resolution-report.d.mts","sourceRoot":"","sources":["../../../../../src/commands/manifest/scripts/resolution-report.mts"],"names":[],"mappings":"AAAA,MAAM,MAAM,iBAAiB,GAAG;IAC9B,KAAK,EAAE,MAAM,CAAA;IACb,uEAAuE;IACvE,wEAAwE;IACxE,MAAM,EAAE,MAAM,CAAA;IACd,MAAM,EAAE,MAAM,CAAA;CACf,CAAA;AAED,2FAA2F;AAC3F,MAAM,MAAM,iBAAiB,GAAG;IAC9B,MAAM,EAAE,MAAM,CAAA;IACd,MAAM,EAAE,MAAM,CAAA;CACf,CAAA;AAED,MAAM,MAAM,gBAAgB,GAAG;IAC7B,QAAQ,EAAE,iBAAiB,EAAE,CAAA;IAC7B,cAAc,EAAE,MAAM,EAAE,CAAA;IACxB,WAAW,EAAE,iBAAiB,EAAE,CAAA;CACjC,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@socketsecurity/cli-with-sentry",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.137",
|
|
4
4
|
"description": "CLI for Socket.dev, includes Sentry error handling, otherwise identical to the regular `socket` package",
|
|
5
5
|
"homepage": "https://github.com/SocketDev/socket-cli",
|
|
6
6
|
"license": "MIT",
|
|
@@ -99,7 +99,7 @@
|
|
|
99
99
|
"@babel/preset-typescript": "7.27.1",
|
|
100
100
|
"@babel/runtime": "7.28.4",
|
|
101
101
|
"@biomejs/biome": "2.2.4",
|
|
102
|
-
"@coana-tech/cli": "15.
|
|
102
|
+
"@coana-tech/cli": "15.8.1",
|
|
103
103
|
"@cyclonedx/cdxgen": "12.1.2",
|
|
104
104
|
"@dotenvx/dotenvx": "1.49.0",
|
|
105
105
|
"@eslint/compat": "1.3.2",
|