@socketsecurity/cli-with-sentry 1.9.0 → 1.10.0
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 +18 -0
- package/README.md +5 -5
- package/dist/cli.js +186 -57
- 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 +4 -3
- package/dist/manifest-scripts/socket-facts.plugin.scala +80 -49
- package/dist/tsconfig.dts.tsbuildinfo +1 -1
- package/dist/types/commands/manifest/cmd-manifest-dynamic-sbom-inference.d.mts.map +1 -1
- package/dist/types/commands/manifest/convert-gradle-to-facts.d.mts +3 -1
- package/dist/types/commands/manifest/convert-gradle-to-facts.d.mts.map +1 -1
- package/dist/types/commands/manifest/convert-maven-to-facts.d.mts +3 -1
- package/dist/types/commands/manifest/convert-maven-to-facts.d.mts.map +1 -1
- package/dist/types/commands/manifest/convert-sbt-to-facts.d.mts +3 -1
- package/dist/types/commands/manifest/convert-sbt-to-facts.d.mts.map +1 -1
- package/dist/types/commands/manifest/enumerate-workspaces.d.mts.map +1 -1
- package/dist/types/commands/manifest/generate-recursive-manifests.d.mts +8 -1
- package/dist/types/commands/manifest/generate-recursive-manifests.d.mts.map +1 -1
- package/dist/types/commands/manifest/generate_auto_manifest.d.mts.map +1 -1
- package/dist/types/commands/manifest/handle-manifest-dynamic-sbom-inference.d.mts +2 -1
- package/dist/types/commands/manifest/handle-manifest-dynamic-sbom-inference.d.mts.map +1 -1
- package/dist/types/commands/manifest/run-manifest-facts.d.mts +4 -1
- package/dist/types/commands/manifest/run-manifest-facts.d.mts.map +1 -1
- package/dist/types/commands/manifest/scripts/records.d.mts +4 -4
- package/dist/types/commands/manifest/scripts/records.d.mts.map +1 -1
- package/dist/types/commands/manifest/scripts/resolution-report-maven.d.mts +3 -3
- package/dist/types/commands/manifest/scripts/resolution-report-maven.d.mts.map +1 -1
- package/dist/types/commands/manifest/scripts/resolution-report-render.d.mts +20 -4
- package/dist/types/commands/manifest/scripts/resolution-report-render.d.mts.map +1 -1
- package/dist/types/commands/manifest/scripts/resolution-report.d.mts +9 -3
- package/dist/types/commands/manifest/scripts/resolution-report.d.mts.map +1 -1
- package/dist/types/commands/manifest/scripts/run.d.mts +2 -1
- package/dist/types/commands/manifest/scripts/run.d.mts.map +1 -1
- package/dist/types/commands/scan/cmd-scan-create.d.mts.map +1 -1
- package/dist/types/commands/scan/cmd-scan-reach.d.mts.map +1 -1
- package/dist/types/commands/scan/warn-socket-json-only-flags.d.mts +2 -0
- package/dist/types/commands/scan/warn-socket-json-only-flags.d.mts.map +1 -0
- package/dist/types/constants.d.mts +1 -1
- package/dist/utils.js +2 -1
- package/dist/utils.js.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cmd-manifest-dynamic-sbom-inference.d.mts","sourceRoot":"","sources":["../../../../src/commands/manifest/cmd-manifest-dynamic-sbom-inference.mts"],"names":[],"mappings":"AAeA,OAAO,KAAK,EAEV,iBAAiB,EAClB,MAAM,uCAAuC,CAAA;
|
|
1
|
+
{"version":3,"file":"cmd-manifest-dynamic-sbom-inference.d.mts","sourceRoot":"","sources":["../../../../src/commands/manifest/cmd-manifest-dynamic-sbom-inference.mts"],"names":[],"mappings":"AAeA,OAAO,KAAK,EAEV,iBAAiB,EAClB,MAAM,uCAAuC,CAAA;AA6C9C,eAAO,MAAM,+BAA+B;;;;CAI3C,CAAA;AAED,iBAAe,GAAG,CAChB,IAAI,EAAE,MAAM,EAAE,GAAG,SAAS,MAAM,EAAE,EAClC,UAAU,EAAE,UAAU,EACtB,EAAE,UAAU,EAAE,EAAE,iBAAiB,GAChC,OAAO,CAAC,IAAI,CAAC,CA0Ef"}
|
|
@@ -1,12 +1,14 @@
|
|
|
1
|
+
import type { BuildOptionHints } from './scripts/resolution-report-render.mts';
|
|
1
2
|
import type { SidecarAccumulator } from './scripts/sidecar.mts';
|
|
2
3
|
// Generates `gradle.socket.facts.json` for a Gradle project via the bundled
|
|
3
4
|
// init script.
|
|
4
|
-
export declare function convertGradleToFacts({ bin, cwd, excludeConfigs, excludePaths, gradleOpts, ignoreUnresolved, includeConfigs, javaHome, sidecarAcc, verbose, withFiles }: {
|
|
5
|
+
export declare function convertGradleToFacts({ bin, cwd, excludeConfigs, excludePaths, gradleOpts, hints, ignoreUnresolved, includeConfigs, javaHome, sidecarAcc, verbose, withFiles }: {
|
|
5
6
|
bin: string;
|
|
6
7
|
cwd: string;
|
|
7
8
|
excludeConfigs: string;
|
|
8
9
|
excludePaths?: string[] | undefined;
|
|
9
10
|
gradleOpts: string[];
|
|
11
|
+
hints?: BuildOptionHints | undefined;
|
|
10
12
|
ignoreUnresolved: boolean;
|
|
11
13
|
includeConfigs: string;
|
|
12
14
|
javaHome?: string | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"convert-gradle-to-facts.d.mts","sourceRoot":"","sources":["../../../../src/commands/manifest/convert-gradle-to-facts.mts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAA;AAE/D,4EAA4E;AAC5E,eAAe;AACf,wBAAsB,oBAAoB,CAAC,EACzC,GAAG,EACH,GAAG,EACH,cAAc,EACd,YAAY,EACZ,UAAU,EACV,gBAAgB,EAChB,cAAc,EACd,QAAQ,EACR,UAAU,EACV,OAAO,EACP,SAAS,EACV,EAAE;IACD,GAAG,EAAE,MAAM,CAAA;IACX,GAAG,EAAE,MAAM,CAAA;IACX,cAAc,EAAE,MAAM,CAAA;IACtB,YAAY,CAAC,EAAE,MAAM,EAAE,GAAG,SAAS,CAAA;IACnC,UAAU,EAAE,MAAM,EAAE,CAAA;IACpB,gBAAgB,EAAE,OAAO,CAAA;IACzB,cAAc,EAAE,MAAM,CAAA;IACtB,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IAC7B,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":"convert-gradle-to-facts.d.mts","sourceRoot":"","sources":["../../../../src/commands/manifest/convert-gradle-to-facts.mts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,wCAAwC,CAAA;AAC9E,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAA;AAE/D,4EAA4E;AAC5E,eAAe;AACf,wBAAsB,oBAAoB,CAAC,EACzC,GAAG,EACH,GAAG,EACH,cAAc,EACd,YAAY,EACZ,UAAU,EACV,KAAK,EACL,gBAAgB,EAChB,cAAc,EACd,QAAQ,EACR,UAAU,EACV,OAAO,EACP,SAAS,EACV,EAAE;IACD,GAAG,EAAE,MAAM,CAAA;IACX,GAAG,EAAE,MAAM,CAAA;IACX,cAAc,EAAE,MAAM,CAAA;IACtB,YAAY,CAAC,EAAE,MAAM,EAAE,GAAG,SAAS,CAAA;IACnC,UAAU,EAAE,MAAM,EAAE,CAAA;IACpB,KAAK,CAAC,EAAE,gBAAgB,GAAG,SAAS,CAAA;IACpC,gBAAgB,EAAE,OAAO,CAAA;IACzB,cAAc,EAAE,MAAM,CAAA;IACtB,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IAC7B,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,CAgBhB"}
|
|
@@ -1,11 +1,13 @@
|
|
|
1
|
+
import type { BuildOptionHints } from './scripts/resolution-report-render.mts';
|
|
1
2
|
import type { SidecarAccumulator } from './scripts/sidecar.mts';
|
|
2
3
|
// Generates `pom.xml.socket.facts.json` (named after the POM Maven runs on)
|
|
3
4
|
// for a Maven project via the bundled extension.
|
|
4
|
-
export declare function convertMavenToFacts({ bin, cwd, excludeConfigs, excludePaths, ignoreUnresolved, includeConfigs, javaHome, mavenOpts, sidecarAcc, verbose, withFiles }: {
|
|
5
|
+
export declare function convertMavenToFacts({ bin, cwd, excludeConfigs, excludePaths, hints, ignoreUnresolved, includeConfigs, javaHome, mavenOpts, sidecarAcc, verbose, withFiles }: {
|
|
5
6
|
bin: string;
|
|
6
7
|
cwd: string;
|
|
7
8
|
excludeConfigs: string;
|
|
8
9
|
excludePaths?: string[] | undefined;
|
|
10
|
+
hints?: BuildOptionHints | undefined;
|
|
9
11
|
ignoreUnresolved: boolean;
|
|
10
12
|
includeConfigs: string;
|
|
11
13
|
javaHome?: string | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"convert-maven-to-facts.d.mts","sourceRoot":"","sources":["../../../../src/commands/manifest/convert-maven-to-facts.mts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAA;AAE/D,4EAA4E;AAC5E,iDAAiD;AACjD,wBAAsB,mBAAmB,CAAC,EACxC,GAAG,EACH,GAAG,EACH,cAAc,EACd,YAAY,EACZ,gBAAgB,EAChB,cAAc,EACd,QAAQ,EACR,SAAS,EACT,UAAU,EACV,OAAO,EACP,SAAS,EACV,EAAE;IACD,GAAG,EAAE,MAAM,CAAA;IACX,GAAG,EAAE,MAAM,CAAA;IACX,cAAc,EAAE,MAAM,CAAA;IACtB,YAAY,CAAC,EAAE,MAAM,EAAE,GAAG,SAAS,CAAA;IACnC,gBAAgB,EAAE,OAAO,CAAA;IACzB,cAAc,EAAE,MAAM,CAAA;IACtB,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IAC7B,SAAS,EAAE,MAAM,EAAE,CAAA;IACnB,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":"convert-maven-to-facts.d.mts","sourceRoot":"","sources":["../../../../src/commands/manifest/convert-maven-to-facts.mts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,wCAAwC,CAAA;AAC9E,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAA;AAE/D,4EAA4E;AAC5E,iDAAiD;AACjD,wBAAsB,mBAAmB,CAAC,EACxC,GAAG,EACH,GAAG,EACH,cAAc,EACd,YAAY,EACZ,KAAK,EACL,gBAAgB,EAChB,cAAc,EACd,QAAQ,EACR,SAAS,EACT,UAAU,EACV,OAAO,EACP,SAAS,EACV,EAAE;IACD,GAAG,EAAE,MAAM,CAAA;IACX,GAAG,EAAE,MAAM,CAAA;IACX,cAAc,EAAE,MAAM,CAAA;IACtB,YAAY,CAAC,EAAE,MAAM,EAAE,GAAG,SAAS,CAAA;IACnC,KAAK,CAAC,EAAE,gBAAgB,GAAG,SAAS,CAAA;IACpC,gBAAgB,EAAE,OAAO,CAAA;IACzB,cAAc,EAAE,MAAM,CAAA;IACtB,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IAC7B,SAAS,EAAE,MAAM,EAAE,CAAA;IACnB,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,CAgBhB"}
|
|
@@ -1,12 +1,14 @@
|
|
|
1
|
+
import type { BuildOptionHints } from './scripts/resolution-report-render.mts';
|
|
1
2
|
import type { SidecarAccumulator } from './scripts/sidecar.mts';
|
|
2
3
|
// Generates `sbt.socket.facts.json` for an sbt project via the bundled sbt plugin.
|
|
3
4
|
// sbt 0.13/early 1.x can't run on modern JDKs — pass a compatible JDK via
|
|
4
5
|
// `--sbt-opts "--java-home <path>"` or `JAVA_HOME`.
|
|
5
|
-
export declare function convertSbtToFacts({ bin, cwd, excludeConfigs, excludePaths, ignoreUnresolved, includeConfigs, javaHome, sbtOpts, sidecarAcc, tmpDir, verbose, withFiles }: {
|
|
6
|
+
export declare function convertSbtToFacts({ bin, cwd, excludeConfigs, excludePaths, hints, ignoreUnresolved, includeConfigs, javaHome, sbtOpts, sidecarAcc, tmpDir, verbose, withFiles }: {
|
|
6
7
|
bin: string;
|
|
7
8
|
cwd: string;
|
|
8
9
|
excludeConfigs: string;
|
|
9
10
|
excludePaths?: string[] | undefined;
|
|
11
|
+
hints?: BuildOptionHints | undefined;
|
|
10
12
|
ignoreUnresolved: boolean;
|
|
11
13
|
includeConfigs: string;
|
|
12
14
|
javaHome?: string | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"convert-sbt-to-facts.d.mts","sourceRoot":"","sources":["../../../../src/commands/manifest/convert-sbt-to-facts.mts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAA;AAE/D,mFAAmF;AACnF,4EAA0E;AAC1E,oDAAoD;AACpD,wBAAsB,iBAAiB,CAAC,EACtC,GAAG,EACH,GAAG,EACH,cAAc,EACd,YAAY,EACZ,gBAAgB,EAChB,cAAc,EACd,QAAQ,EACR,OAAO,EACP,UAAU,EACV,MAAM,EACN,OAAO,EACP,SAAS,EACV,EAAE;IACD,GAAG,EAAE,MAAM,CAAA;IACX,GAAG,EAAE,MAAM,CAAA;IACX,cAAc,EAAE,MAAM,CAAA;IACtB,YAAY,CAAC,EAAE,MAAM,EAAE,GAAG,SAAS,CAAA;IACnC,gBAAgB,EAAE,OAAO,CAAA;IACzB,cAAc,EAAE,MAAM,CAAA;IACtB,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IAC7B,OAAO,EAAE,MAAM,EAAE,CAAA;IACjB,UAAU,CAAC,EAAE,kBAAkB,GAAG,SAAS,CAAA;IAC3C,kDAAkD;IAClD,MAAM,EAAE,MAAM,CAAA;IACd,OAAO,EAAE,OAAO,CAAA;IAChB,SAAS,CAAC,EAAE,OAAO,GAAG,SAAS,CAAA;CAChC,GAAG,OAAO,CAAC,IAAI,CAAC,
|
|
1
|
+
{"version":3,"file":"convert-sbt-to-facts.d.mts","sourceRoot":"","sources":["../../../../src/commands/manifest/convert-sbt-to-facts.mts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,wCAAwC,CAAA;AAC9E,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAA;AAE/D,mFAAmF;AACnF,4EAA0E;AAC1E,oDAAoD;AACpD,wBAAsB,iBAAiB,CAAC,EACtC,GAAG,EACH,GAAG,EACH,cAAc,EACd,YAAY,EACZ,KAAK,EACL,gBAAgB,EAChB,cAAc,EACd,QAAQ,EACR,OAAO,EACP,UAAU,EACV,MAAM,EACN,OAAO,EACP,SAAS,EACV,EAAE;IACD,GAAG,EAAE,MAAM,CAAA;IACX,GAAG,EAAE,MAAM,CAAA;IACX,cAAc,EAAE,MAAM,CAAA;IACtB,YAAY,CAAC,EAAE,MAAM,EAAE,GAAG,SAAS,CAAA;IACnC,KAAK,CAAC,EAAE,gBAAgB,GAAG,SAAS,CAAA;IACpC,gBAAgB,EAAE,OAAO,CAAA;IACzB,cAAc,EAAE,MAAM,CAAA;IACtB,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IAC7B,OAAO,EAAE,MAAM,EAAE,CAAA;IACjB,UAAU,CAAC,EAAE,kBAAkB,GAAG,SAAS,CAAA;IAC3C,kDAAkD;IAClD,MAAM,EAAE,MAAM,CAAA;IACd,OAAO,EAAE,OAAO,CAAA;IAChB,SAAS,CAAC,EAAE,OAAO,GAAG,SAAS,CAAA;CAChC,GAAG,OAAO,CAAC,IAAI,CAAC,CAiBhB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"enumerate-workspaces.d.mts","sourceRoot":"","sources":["../../../../src/commands/manifest/enumerate-workspaces.mts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAA;AACzD,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAA;AAEjE,MAAM,MAAM,yBAAyB,GAAG;IACtC,SAAS,EAAE,MAAM,CAAA;IACjB,QAAQ,EAAE,sBAAsB,EAAE,CAAA;CACnC,CAAA;AAED,4DAA4D;AAC5D,2EAA2E;AAC3E,0EAA0E;AAC1E,aAAa;AACb,wBAAsB,mBAAmB,CAAC,EACxC,GAAG,EACH,SAAS,EACT,GAAG,EACH,SAAS,EACT,YAAY,EACZ,QAAQ,EACR,OAAO,EACR,EAAE;IACD,GAAG,EAAE,MAAM,CAAA;IACX,SAAS,EAAE,MAAM,EAAE,CAAA;IACnB,GAAG,EAAE,MAAM,CAAA;IACX,SAAS,EAAE,SAAS,CAAA;IACpB,YAAY,CAAC,EAAE,MAAM,EAAE,GAAG,SAAS,CAAA;IACnC,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IAC7B,OAAO,EAAE,OAAO,CAAA;CACjB,GAAG,OAAO,CAAC,yBAAyB,GAAG,SAAS,CAAC,
|
|
1
|
+
{"version":3,"file":"enumerate-workspaces.d.mts","sourceRoot":"","sources":["../../../../src/commands/manifest/enumerate-workspaces.mts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAA;AACzD,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAA;AAEjE,MAAM,MAAM,yBAAyB,GAAG;IACtC,SAAS,EAAE,MAAM,CAAA;IACjB,QAAQ,EAAE,sBAAsB,EAAE,CAAA;CACnC,CAAA;AAED,4DAA4D;AAC5D,2EAA2E;AAC3E,0EAA0E;AAC1E,aAAa;AACb,wBAAsB,mBAAmB,CAAC,EACxC,GAAG,EACH,SAAS,EACT,GAAG,EACH,SAAS,EACT,YAAY,EACZ,QAAQ,EACR,OAAO,EACR,EAAE;IACD,GAAG,EAAE,MAAM,CAAA;IACX,SAAS,EAAE,MAAM,EAAE,CAAA;IACnB,GAAG,EAAE,MAAM,CAAA;IACX,SAAS,EAAE,SAAS,CAAA;IACpB,YAAY,CAAC,EAAE,MAAM,EAAE,GAAG,SAAS,CAAA;IACnC,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IAC7B,OAAO,EAAE,OAAO,CAAA;CACjB,GAAG,OAAO,CAAC,yBAAyB,GAAG,SAAS,CAAC,CAsDjD"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { BuildTool } from './scripts/build-tool.mts';
|
|
2
|
+
import type { BuildOption } from './scripts/resolution-report-render.mts';
|
|
2
3
|
import type { SidecarAccumulator } from './scripts/sidecar.mts';
|
|
3
4
|
import type { SocketJson } from '../../utils/socket-json.mts';
|
|
4
5
|
export type RecursiveManifestOutcomeStatus = 'aborted' | 'empty' | 'failed' | 'generated' | 'skippedCovered' | 'skippedDisabled';
|
|
@@ -17,12 +18,18 @@ export type EcosystemBuildConfig = {
|
|
|
17
18
|
javaHome: string | undefined;
|
|
18
19
|
// Set when this build root should be skipped entirely (never invoked).
|
|
19
20
|
skipReason: string | undefined;
|
|
21
|
+
verbose: boolean;
|
|
20
22
|
};
|
|
21
23
|
// A failed root aborts only its own ecosystem's remaining walk: the build
|
|
22
24
|
// files it would have covered are all its own tool's.
|
|
23
|
-
export declare function generateRecursiveManifests({ cwd, excludePaths, sbtTmpDir, sidecarAcc, verbose, withFiles }: {
|
|
25
|
+
export declare function generateRecursiveManifests({ cwd, excludePaths, ignoreUnresolved, optionFlags, sbtTmpDir, sidecarAcc, verbose, withFiles }: {
|
|
24
26
|
cwd: string;
|
|
25
27
|
excludePaths?: string[] | undefined;
|
|
28
|
+
// When set, overrides every build root's own socket.json setting.
|
|
29
|
+
ignoreUnresolved?: boolean | undefined;
|
|
30
|
+
// Options the invoking command takes as flags; hints send the rest to each
|
|
31
|
+
// build root's socket.json.
|
|
32
|
+
optionFlags?: ReadonlySet<BuildOption> | undefined;
|
|
26
33
|
// Reachability path only: caller-supplied directory to use as sbt's shared
|
|
27
34
|
// global base across every sbt root in this run. sbt provisions the Scala
|
|
28
35
|
// toolchain under `<base>/boot`, which withFiles' artifactPaths point into,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generate-recursive-manifests.d.mts","sourceRoot":"","sources":["../../../../src/commands/manifest/generate-recursive-manifests.mts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"generate-recursive-manifests.d.mts","sourceRoot":"","sources":["../../../../src/commands/manifest/generate-recursive-manifests.mts"],"names":[],"mappings":"AAuBA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAA;AACzD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wCAAwC,CAAA;AACzE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAA;AAC/D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAA;AAE7D,MAAM,MAAM,8BAA8B,GACtC,SAAS,GACT,OAAO,GACP,QAAQ,GACR,WAAW,GACX,gBAAgB,GAChB,iBAAiB,CAAA;AAErB,MAAM,MAAM,wBAAwB,GAAG;IACrC,GAAG,EAAE,MAAM,CAAA;IACX,SAAS,EAAE,SAAS,CAAA;IACpB,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IAC9B,MAAM,EAAE,8BAA8B,CAAA;CACvC,CAAA;AAED,MAAM,MAAM,oBAAoB,GAAG;IACjC,GAAG,EAAE,MAAM,CAAA;IACX,SAAS,EAAE,MAAM,EAAE,CAAA;IAC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
1
|
-
{"version":3,"file":"generate_auto_manifest.d.mts","sourceRoot":"","sources":["../../../../src/commands/manifest/generate_auto_manifest.mts"],"names":[],"mappings":"AAsBA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAA;
|
|
1
|
+
{"version":3,"file":"generate_auto_manifest.d.mts","sourceRoot":"","sources":["../../../../src/commands/manifest/generate_auto_manifest.mts"],"names":[],"mappings":"AAsBA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAA;AAEzE,OAAO,KAAK,EACV,oBAAoB,EAErB,MAAM,uBAAuB,CAAA;AAC9B,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AASjD,MAAM,MAAM,0BAA0B,GAAG;IACvC,cAAc,EAAE,MAAM,EAAE,CAAA;IACxB,0EAA0E;IAC1E,oBAAoB,CAAC,EAAE,oBAAoB,GAAG,SAAS,CAAA;CACxD,CAAA;AAmBD,wBAAsB,oBAAoB,CAAC,EACzC,uBAAuB,EACvB,GAAG,EACH,QAAQ,EACR,YAAY,EACZ,UAAU,EACV,MAAM,EACN,OAAO,EACR,EAAE;IACD,qEAAqE;IACrE,uBAAuB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAA;IAC7C,QAAQ,EAAE,oBAAoB,CAAA;IAC9B,GAAG,EAAE,MAAM,CAAA;IACX,2EAA2E;IAC3E,yDAAyD;IACzD,YAAY,CAAC,EAAE,MAAM,EAAE,GAAG,SAAS,CAAA;IACnC,UAAU,EAAE,UAAU,CAAA;IACtB,yEAAyE;IACzE,wEAAwE;IACxE,MAAM,EAAE,MAAM,CAAA;IACd,OAAO,EAAE,OAAO,CAAA;CACjB,GAAG,OAAO,CAAC,0BAA0B,CAAC,CA+MtC"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import type { OutputKind } from '../../types.mts';
|
|
2
|
-
export declare function handleManifestDynamicSbomInference({ cwd, excludePaths, outputKind, verbose }: {
|
|
2
|
+
export declare function handleManifestDynamicSbomInference({ cwd, excludePaths, ignoreUnresolved, outputKind, verbose }: {
|
|
3
3
|
cwd: string;
|
|
4
4
|
excludePaths: string[];
|
|
5
|
+
ignoreUnresolved?: boolean | undefined;
|
|
5
6
|
outputKind: OutputKind;
|
|
6
7
|
verbose: boolean;
|
|
7
8
|
}): Promise<void>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"handle-manifest-dynamic-sbom-inference.d.mts","sourceRoot":"","sources":["../../../../src/commands/manifest/handle-manifest-dynamic-sbom-inference.mts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAW,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAE1D,wBAAsB,kCAAkC,CAAC,EACvD,GAAG,EACH,YAAY,EACZ,UAAU,EACV,OAAO,EACR,EAAE;IACD,GAAG,EAAE,MAAM,CAAA;IACX,YAAY,EAAE,MAAM,EAAE,CAAA;IACtB,UAAU,EAAE,UAAU,CAAA;IACtB,OAAO,EAAE,OAAO,CAAA;CACjB,GAAG,OAAO,CAAC,IAAI,CAAC,
|
|
1
|
+
{"version":3,"file":"handle-manifest-dynamic-sbom-inference.d.mts","sourceRoot":"","sources":["../../../../src/commands/manifest/handle-manifest-dynamic-sbom-inference.mts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAW,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAE1D,wBAAsB,kCAAkC,CAAC,EACvD,GAAG,EACH,YAAY,EACZ,gBAAgB,EAChB,UAAU,EACV,OAAO,EACR,EAAE;IACD,GAAG,EAAE,MAAM,CAAA;IACX,YAAY,EAAE,MAAM,EAAE,CAAA;IACtB,gBAAgB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAA;IACtC,UAAU,EAAE,UAAU,CAAA;IACtB,OAAO,EAAE,OAAO,CAAA;CACjB,GAAG,OAAO,CAAC,IAAI,CAAC,CA2BhB"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { BuildTool } from './scripts/build-tool.mts';
|
|
2
2
|
import type { SocketFactsSbomProject } from './scripts/facts.mts';
|
|
3
|
+
import type { BuildOptionHints } from './scripts/resolution-report-render.mts';
|
|
3
4
|
import type { SidecarAccumulator } from './scripts/sidecar.mts';
|
|
4
5
|
export type RunManifestFactsResult = {
|
|
5
6
|
factsPath: string;
|
|
@@ -17,13 +18,15 @@ export type RunManifestFactsOutcome = RunManifestFactsResult | null | undefined;
|
|
|
17
18
|
// a non-zero exit code and returns (matching the `--pom` generator) unless
|
|
18
19
|
// `ignoreUnresolved`; a crashed build — a process failure, not an unresolved
|
|
19
20
|
// dependency — always fails.
|
|
20
|
-
export declare function runManifestFacts({ bin, buildOpts, cwd, ecosystem, excludeConfigs, excludePaths, ignoreUnresolved, includeConfigs, javaHome, sidecarAcc, tmpDir, verbose, withFiles }: {
|
|
21
|
+
export declare function runManifestFacts({ bin, buildOpts, cwd, ecosystem, excludeConfigs, excludePaths, hints, ignoreUnresolved, includeConfigs, javaHome, sidecarAcc, tmpDir, verbose, withFiles }: {
|
|
21
22
|
bin: string;
|
|
22
23
|
buildOpts: string[];
|
|
23
24
|
cwd: string;
|
|
24
25
|
ecosystem: BuildTool;
|
|
25
26
|
excludeConfigs: string;
|
|
26
27
|
excludePaths?: string[] | undefined;
|
|
28
|
+
// Where the user sets build options, for remedy hints.
|
|
29
|
+
hints?: BuildOptionHints | undefined;
|
|
27
30
|
ignoreUnresolved: boolean;
|
|
28
31
|
includeConfigs: string;
|
|
29
32
|
javaHome?: string | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"run-manifest-facts.d.mts","sourceRoot":"","sources":["../../../../src/commands/manifest/run-manifest-facts.mts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"run-manifest-facts.d.mts","sourceRoot":"","sources":["../../../../src/commands/manifest/run-manifest-facts.mts"],"names":[],"mappings":"AAqBA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAA;AACzD,OAAO,KAAK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AE,OAAO,CAAA;IAChB,SAAS,CAAC,EAAE,OAAO,GAAG,SAAS,CAAA;CAChC,GAAG,OAAO,CAAC,uBAAuB,CAAC,CAwMnC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ResolutionFailure,
|
|
1
|
+
import type { ResolutionFailure, Unscannable } 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:
|
|
@@ -17,8 +17,8 @@ import type { ResolutionFailure, UnscannableConfig } from './resolution-report.m
|
|
|
17
17
|
// edge rootId parentCoordId childCoordId
|
|
18
18
|
// file rootId coordId path (--with-files only)
|
|
19
19
|
// scanned config
|
|
20
|
-
// failure coord detail config
|
|
21
|
-
// unscannable config detail
|
|
20
|
+
// failure coord detail config projectKey (config empty: no configuration)
|
|
21
|
+
// unscannable config detail projectKey (config empty: whole project)
|
|
22
22
|
//
|
|
23
23
|
// `projectKey` is the tool's unique project identity (Maven: GAV; Gradle:
|
|
24
24
|
// project path; sbt: project id), emitted as the project id; a `node` whose
|
|
@@ -75,7 +75,7 @@ export type ParsedRecords = {
|
|
|
75
75
|
roots: Map<string, RawRoot>;
|
|
76
76
|
scannedConfigs: string[];
|
|
77
77
|
failures: ResolutionFailure[];
|
|
78
|
-
unscannable:
|
|
78
|
+
unscannable: Unscannable[];
|
|
79
79
|
};
|
|
80
80
|
export declare function unescapeField(s: string): string;
|
|
81
81
|
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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AClB,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,EAAE,MAAM,CAAA;IACf,GAAG,EAAE,MAAM,CAAA;IACX,OAAO,EAAE,MAAM,EAAE,CAAA;IACjB,OAAO,EAAE,MAAM,EAAE,CAAA;IACjB,kDAAkD;IAClD,UAAU,EAAE,MAAM,EAAE,CAAA;CACrB,CAAA;AAED,MAAM,MAAM,aAAa,GAAG;IAC1B,IAAI,EAAE,MAAM,CAAA;IACZ,WAAW,EAAE,MAAM,CAAA;IACnB,WAAW,EAAE,MAAM,CAAA;IACnB,8EAA8E;IAC9E,SAAS,EAAE,MAAM,CAAA;IACjB,yEAAyE;IACzE,6BAA6B;IAC7B,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,EAAE,GAAG,CAAC,MAAM,EAAE,UAAU,CAAC,CAAA;IACjC,KAAK,EAAE,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IAC3B,cAAc,EAAE,MAAM,EAAE,CAAA;IACxB,QAAQ,EAAE,iBAAiB,EAAE,CAAA;IAC7B,WAAW,EAAE,WAAW,EAAE,CAAA;CAC3B,CAAA;AAED,wBAAgB,aAAa,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,CAe/C;AAMD,wBAAgB,YAAY,CAAC,IAAI,EAAE,MAAM,GAAG,aAAa,CA8JxD"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { FailureCategory, ResolutionDialect } from './resolution-report-render.mts';
|
|
2
|
-
// Maven's resolver (Aether/maven-resolver): no attribute-based variants.
|
|
3
|
-
// failure shapes (artifact-resolution miss
|
|
4
|
-
//
|
|
2
|
+
// Maven's resolver (Aether/maven-resolver): no attribute-based variants. Both
|
|
3
|
+
// failure shapes (artifact-resolution miss, dependency-graph build failure)
|
|
4
|
+
// classify off the root-cause message.
|
|
5
5
|
export declare function classifyMavenFailure(detail: string): FailureCategory;
|
|
6
6
|
// Every kind blocks; no non-blocking kind because Maven has no variant ambiguity.
|
|
7
7
|
export declare const MAVEN_DIALECT: ResolutionDialect;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resolution-report-maven.d.mts","sourceRoot":"","sources":["../../../../../src/commands/manifest/scripts/resolution-report-maven.mts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,eAAe,EACf,iBAAiB,EAClB,MAAM,gCAAgC,CAAA;AAEvC,
|
|
1
|
+
{"version":3,"file":"resolution-report-maven.d.mts","sourceRoot":"","sources":["../../../../../src/commands/manifest/scripts/resolution-report-maven.mts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,eAAe,EACf,iBAAiB,EAClB,MAAM,gCAAgC,CAAA;AAEvC,8EAA8E;AAC9E,4EAA4E;AAC5E,uCAAuC;AACvC,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,MAAM,GAAG,eAAe,CAmCpE;AAED,kFAAkF;AAClF,eAAO,MAAM,aAAa,EAAE,iBA4B3B,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { BuildTool } from './build-tool.mts';
|
|
2
|
-
import type { ResolutionFailure,
|
|
2
|
+
import type { ResolutionFailure, Unscannable } 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';
|
|
@@ -19,6 +19,19 @@ export type ResolutionDialect = {
|
|
|
19
19
|
classify: (detail: string) => FailureCategory;
|
|
20
20
|
categories: FailureCategorySpec[];
|
|
21
21
|
};
|
|
22
|
+
export type BuildOption = 'excludeConfigs' | 'ignoreUnresolved' | 'verbose';
|
|
23
|
+
// Where the invoking command lets the user set each build option, so a remedy
|
|
24
|
+
// names something they can actually set.
|
|
25
|
+
export type BuildOptionHints = {
|
|
26
|
+
// Taken as flags; every other option is set in `socketJson`.
|
|
27
|
+
flags: ReadonlySet<BuildOption>;
|
|
28
|
+
// Wizard that writes `socketJson`.
|
|
29
|
+
setupCommand: string;
|
|
30
|
+
socketJson: string;
|
|
31
|
+
};
|
|
32
|
+
export declare const DSI_SETUP_COMMAND = "socket manifest setup --dynamic-sbom-inference";
|
|
33
|
+
// The single-build manifest commands take every option as a flag.
|
|
34
|
+
export declare const FLAG_HINTS: BuildOptionHints;
|
|
22
35
|
export type RenderedResolutionReport = {
|
|
23
36
|
// Failure report for blocking kinds; empty when nothing blocks.
|
|
24
37
|
summary: string;
|
|
@@ -32,12 +45,15 @@ export type RenderedResolutionReport = {
|
|
|
32
45
|
// Severity is per-kind; the exit-code decision lives in the caller. We do NOT
|
|
33
46
|
// cross-reference what resolved elsewhere: the failed selector carries no
|
|
34
47
|
// classifier/type, so relating a failed and a succeeded dep is unsound.
|
|
35
|
-
export declare function renderResolutionReport(failures: ResolutionFailure[], scannedConfigs: string[],
|
|
48
|
+
export declare function renderResolutionReport(failures: ResolutionFailure[], scannedConfigs: string[], tool: BuildTool, opts?: {
|
|
49
|
+
hints?: BuildOptionHints | undefined;
|
|
36
50
|
ignoreUnresolved?: boolean | undefined;
|
|
37
|
-
unscannable?:
|
|
51
|
+
unscannable?: Unscannable[] | undefined;
|
|
38
52
|
}): RenderedResolutionReport;
|
|
39
53
|
export declare function renderResolutionErrorReport(failures: ResolutionFailure[], scannedConfigs?: string[], tool?: BuildTool, opts?: {
|
|
54
|
+
hints?: BuildOptionHints | undefined;
|
|
40
55
|
ignoreUnresolved?: boolean | undefined;
|
|
41
|
-
unscannable?:
|
|
56
|
+
unscannable?: Unscannable[] | undefined;
|
|
42
57
|
}): RenderedResolutionReport;
|
|
58
|
+
export declare function verboseHint(hints: BuildOptionHints, tool: BuildTool): string;
|
|
43
59
|
//# 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":"
|
|
1
|
+
{"version":3,"file":"resolution-report-render.d.mts","sourceRoot":"","sources":["../../../../../src/commands/manifest/scripts/resolution-report-render.mts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAA;AACjD,OAAO,KAAK,EAAE,iBAAiB,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAA;AAE7E,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,2CAA2C;IAC3C,QAAQ,EAAE,OAAO,CAAA;IACjB,MAAM,CAAC,EAAE,CAAC,CAAC,SAAS,EAAE,MAAM,KAAK,MAAM,CAAC,GAAG,SAAS,CAAA;IACpD,UAAU,CAAC,EAAE,OAAO,GAAG,SAAS,CAAA;IAChC,MAAM,CAAC,EACH,CAAC,CAAC,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,KAAK,MAAM,CAAC,GACtE,SAAS,CAAA;CACd,CAAA;AAED,+CAA+C;AAC/C,MAAM,MAAM,iBAAiB,GAAG;IAC9B,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,eAAe,CAAA;IAC7C,UAAU,EAAE,mBAAmB,EAAE,CAAA;CAClC,CAAA;AAED,MAAM,MAAM,WAAW,GAAG,gBAAgB,GAAG,kBAAkB,GAAG,SAAS,CAAA;AAE3E,8EAA8E;AAC9E,yCAAyC;AACzC,MAAM,MAAM,gBAAgB,GAAG;IAC7B,6DAA6D;IAC7D,KAAK,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 @@ export type ResolutionFailure = {
|
|
|
3
3
|
// Build tool's own failure message (deepest cause; may be multi-line).
|
|
4
4
|
// Classified on; first line shown by default, whole thing at --verbose.
|
|
5
5
|
detail: string;
|
|
6
|
+
// Empty when the failed module is absent from the tool's resolved graph, so
|
|
7
|
+
// no configuration holds it.
|
|
6
8
|
config: string;
|
|
9
|
+
// projectKey of the subproject being resolved.
|
|
10
|
+
project: string;
|
|
7
11
|
};
|
|
8
|
-
// A
|
|
9
|
-
|
|
12
|
+
// A resolution that threw without naming a dependency: one configuration, or
|
|
13
|
+
// with an empty `config` the whole project.
|
|
14
|
+
export type Unscannable = {
|
|
10
15
|
config: string;
|
|
11
16
|
detail: string;
|
|
17
|
+
project: string;
|
|
12
18
|
};
|
|
13
19
|
export type ResolutionReport = {
|
|
14
20
|
failures: ResolutionFailure[];
|
|
15
21
|
scannedConfigs: string[];
|
|
16
|
-
unscannable:
|
|
22
|
+
unscannable: Unscannable[];
|
|
17
23
|
};
|
|
18
24
|
//# 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;
|
|
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,4EAA4E;IAC5E,6BAA6B;IAC7B,MAAM,EAAE,MAAM,CAAA;IACd,+CAA+C;IAC/C,OAAO,EAAE,MAAM,CAAA;CAChB,CAAA;AAED,6EAA6E;AAC7E,4CAA4C;AAC5C,MAAM,MAAM,WAAW,GAAG;IACxB,MAAM,EAAE,MAAM,CAAA;IACd,MAAM,EAAE,MAAM,CAAA;IACd,OAAO,EAAE,MAAM,CAAA;CAChB,CAAA;AAED,MAAM,MAAM,gBAAgB,GAAG;IAC7B,QAAQ,EAAE,iBAAiB,EAAE,CAAA;IAC7B,cAAc,EAAE,MAAM,EAAE,CAAA;IACxB,WAAW,EAAE,WAAW,EAAE,CAAA;CAC3B,CAAA"}
|
|
@@ -37,7 +37,8 @@ export type ManifestRunResult = {
|
|
|
37
37
|
factsFileName: string | undefined;
|
|
38
38
|
report: ResolutionReport;
|
|
39
39
|
artifactPaths: ResolvedArtifactPaths;
|
|
40
|
-
// Captured build-tool output (empty when stdio is 'inherit'
|
|
40
|
+
// Captured build-tool output (empty when stdio is 'inherit', which streams it
|
|
41
|
+
// to stderr).
|
|
41
42
|
stderr: string;
|
|
42
43
|
stdout: string;
|
|
43
44
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"run.d.mts","sourceRoot":"","sources":["../../../../../src/commands/manifest/scripts/run.mts"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAA;AACjD,OAAO,KAAK,EACV,qBAAqB,EACrB,eAAe,EACf,sBAAsB,EACvB,MAAM,aAAa,CAAA;AACpB,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAA;AAE/D,MAAM,MAAM,qBAAqB,GAAG;IAClC,UAAU,EAAE,MAAM,CAAA;IAClB,8EAA4E;IAC5E,GAAG,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IACxB,+EAA+E;IAC/E,SAAS,CAAC,EAAE,OAAO,GAAG,SAAS,CAAA;IAC/B,4EAA4E;IAC5E,0EAA0E;IAC1E,4EAA4E;IAC5E,wEAAwE;IACxE,4EAA0E;IAC1E,6EAA6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A;IACZ,QAAQ,EAAE,sBAAsB,EAAE,CAAA;IAClC,MAAM,EAAE,MAAM,CAAA;IACd,MAAM,EAAE,MAAM,CAAA;CACf,CAAA;AAoGD,4EAA4E;AAC5E,wEAAwE;AACxE,wBAAsB,iBAAiB,CACrC,IAAI,EAAE,SAAS,EACf,IAAI,EAAE,qBAAqB,GAC1B,OAAO,CAAC,iBAAiB,CAAC,CAS5B;AAED,4EAA4E;AAC5E,mEAAmE;AACnE,wBAAsB,mBAAmB,CACvC,IAAI,EAAE,SAAS,EACf,IAAI,EAAE,qBAAqB,GAC1B,OAAO,CAAC,0BAA0B,CAAC,CAarC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cmd-scan-create.d.mts","sourceRoot":"","sources":["../../../../src/commands/scan/cmd-scan-create.mts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"cmd-scan-create.d.mts","sourceRoot":"","sources":["../../../../src/commands/scan/cmd-scan-create.mts"],"names":[],"mappings":"AAkDA,OAAO,KAAK,EAEV,iBAAiB,EAClB,MAAM,uCAAuC,CAAA;AAE9C,eAAO,MAAM,QAAQ,WAAW,CAAA;AA6IhC,eAAO,MAAM,aAAa;;;;CAIzB,CAAA;AAED,iBAAe,GAAG,CAChB,IAAI,EAAE,MAAM,EAAE,GAAG,SAAS,MAAM,EAAE,EAClC,UAAU,EAAE,UAAU,EACtB,EAAE,UAAU,EAAE,EAAE,iBAAiB,GAChC,OAAO,CAAC,IAAI,CAAC,CA8ff"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cmd-scan-reach.d.mts","sourceRoot":"","sources":["../../../../src/commands/scan/cmd-scan-reach.mts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"cmd-scan-reach.d.mts","sourceRoot":"","sources":["../../../../src/commands/scan/cmd-scan-reach.mts"],"names":[],"mappings":"AA6BA,OAAO,KAAK,EAEV,iBAAiB,EAClB,MAAM,uCAAuC,CAAA;AAE9C,eAAO,MAAM,QAAQ,UAAU,CAAA;AAiD/B,eAAO,MAAM,YAAY;;;;CAIxB,CAAA;AAED,iBAAe,GAAG,CAChB,IAAI,EAAE,MAAM,EAAE,GAAG,SAAS,MAAM,EAAE,EAClC,UAAU,EAAE,UAAU,EACtB,EAAE,UAAU,EAAE,EAAE,iBAAiB,GAChC,OAAO,CAAC,IAAI,CAAC,CAqOf"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"warn-socket-json-only-flags.d.mts","sourceRoot":"","sources":["../../../../src/commands/scan/warn-socket-json-only-flags.mts"],"names":[],"mappings":"AAcA,wBAAgB,uBAAuB,CACrC,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC9B,OAAO,EAAE,MAAM,GACd,IAAI,CASN"}
|
|
@@ -75,7 +75,7 @@ declare const ALERT_TYPE_MILD_CVE = "mildCVE";
|
|
|
75
75
|
declare const API_V0_URL = "https://api.socket.dev/v0/";
|
|
76
76
|
// The Coana CLI version Socket CLI runs by default. Coana's release workflow
|
|
77
77
|
// rewrites this line in its bump PRs.
|
|
78
|
-
declare const COANA_CLI_VERSION = "15.12.
|
|
78
|
+
declare const COANA_CLI_VERSION = "15.12.11";
|
|
79
79
|
declare const CONFIG_KEY_API_BASE_URL = "apiBaseUrl";
|
|
80
80
|
declare const CONFIG_KEY_API_PROXY = "apiProxy";
|
|
81
81
|
declare const CONFIG_KEY_API_TOKEN = "apiToken";
|
package/dist/utils.js
CHANGED
|
@@ -9004,6 +9004,7 @@ exports.InputError = InputError;
|
|
|
9004
9004
|
exports.RangeStyles = RangeStyles;
|
|
9005
9005
|
exports.apiFetch = apiFetch;
|
|
9006
9006
|
exports.cacheFetch = cacheFetch;
|
|
9007
|
+
exports.camelToKebab = camelToKebab;
|
|
9007
9008
|
exports.captureException = captureException;
|
|
9008
9009
|
exports.checkCommandInput = checkCommandInput;
|
|
9009
9010
|
exports.classifyGitHubResponse = classifyGitHubResponse;
|
|
@@ -9151,5 +9152,5 @@ exports.walkNestedMap = walkNestedMap;
|
|
|
9151
9152
|
exports.webLink = webLink;
|
|
9152
9153
|
exports.withTmpDir = withTmpDir;
|
|
9153
9154
|
exports.writeSocketJson = writeSocketJson;
|
|
9154
|
-
//# debugId=
|
|
9155
|
+
//# debugId=fb1b348d-02eb-480b-b9d8-21c9c0862c85
|
|
9155
9156
|
//# sourceMappingURL=utils.js.map
|