@trustify-da/trustify-da-javascript-client 0.3.0-ea.608d6fa → 0.3.0-ea.62b88e5
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/README.md +326 -21
- package/dist/package.json +36 -27
- package/dist/src/analysis.d.ts +58 -14
- package/dist/src/analysis.js +118 -17
- package/dist/src/batch_opts.d.ts +24 -0
- package/dist/src/batch_opts.js +35 -0
- package/dist/src/cli.js +357 -8
- package/dist/src/config.d.ts +120 -0
- package/dist/src/config.js +260 -0
- package/dist/src/cyclone_dx_sbom.d.ts +27 -1
- package/dist/src/cyclone_dx_sbom.js +84 -10
- package/dist/src/index.d.ts +151 -16
- package/dist/src/index.js +369 -36
- package/dist/src/license/index.d.ts +4 -4
- package/dist/src/license/index.js +13 -7
- package/dist/src/license/license_utils.js +4 -1
- package/dist/src/license/licenses_api.d.ts +3 -3
- package/dist/src/license/licenses_api.js +1 -1
- package/dist/src/oci_image/images.d.ts +1 -1
- package/dist/src/oci_image/images.js +15 -1
- package/dist/src/oci_image/utils.d.ts +5 -5
- package/dist/src/oci_image/utils.js +11 -2
- package/dist/src/package_version.d.ts +8 -0
- package/dist/src/package_version.js +31 -0
- package/dist/src/provider.d.ts +8 -4
- package/dist/src/provider.js +16 -5
- package/dist/src/providers/base_java.d.ts +67 -12
- package/dist/src/providers/base_java.js +82 -61
- package/dist/src/providers/base_javascript.d.ts +91 -10
- package/dist/src/providers/base_javascript.js +214 -24
- package/dist/src/providers/base_pyproject.d.ts +158 -0
- package/dist/src/providers/base_pyproject.js +322 -0
- package/dist/src/providers/containerfile_parser.d.ts +5 -0
- package/dist/src/providers/containerfile_parser.js +20 -0
- package/dist/src/providers/golang_gomodules.d.ts +23 -13
- package/dist/src/providers/golang_gomodules.js +208 -120
- package/dist/src/providers/gomod_parser.d.ts +4 -0
- package/dist/src/providers/gomod_parser.js +16 -0
- package/dist/src/providers/java_gradle.d.ts +67 -0
- package/dist/src/providers/java_gradle.js +320 -22
- package/dist/src/providers/java_gradle_groovy.d.ts +1 -1
- package/dist/src/providers/java_gradle_kotlin.d.ts +1 -1
- package/dist/src/providers/java_maven.d.ts +37 -9
- package/dist/src/providers/java_maven.js +269 -11
- package/dist/src/providers/javascript_bun.d.ts +22 -0
- package/dist/src/providers/javascript_bun.js +141 -0
- package/dist/src/providers/javascript_npm.d.ts +19 -0
- package/dist/src/providers/javascript_npm.js +61 -1
- package/dist/src/providers/javascript_pnpm.d.ts +14 -1
- package/dist/src/providers/javascript_pnpm.js +55 -5
- package/dist/src/providers/javascript_yarn.d.ts +12 -0
- package/dist/src/providers/javascript_yarn.js +75 -2
- package/dist/src/providers/manifest.d.ts +2 -0
- package/dist/src/providers/manifest.js +28 -7
- package/dist/src/providers/marker_evaluator.d.ts +14 -0
- package/dist/src/providers/marker_evaluator.js +191 -0
- package/dist/src/providers/oci_dockerfile.d.ts +51 -0
- package/dist/src/providers/oci_dockerfile.js +177 -0
- package/dist/src/providers/processors/yarn_berry_processor.d.ts +6 -2
- package/dist/src/providers/processors/yarn_berry_processor.js +91 -7
- package/dist/src/providers/processors/yarn_classic_processor.d.ts +6 -2
- package/dist/src/providers/processors/yarn_classic_processor.js +8 -6
- package/dist/src/providers/python_controller.d.ts +5 -1
- package/dist/src/providers/python_controller.js +69 -8
- package/dist/src/providers/python_pip.d.ts +5 -0
- package/dist/src/providers/python_pip.js +6 -6
- package/dist/src/providers/python_pip_pyproject.d.ts +61 -0
- package/dist/src/providers/python_pip_pyproject.js +146 -0
- package/dist/src/providers/python_poetry.d.ts +98 -0
- package/dist/src/providers/python_poetry.js +286 -0
- package/dist/src/providers/python_uv.d.ts +46 -0
- package/dist/src/providers/python_uv.js +275 -0
- package/dist/src/providers/requirements_parser.js +1 -1
- package/dist/src/providers/rust_cargo.d.ts +12 -3
- package/dist/src/providers/rust_cargo.js +107 -31
- package/dist/src/providers/tree-sitter-containerfile.wasm +0 -0
- package/dist/src/providers/tree-sitter-gomod.wasm +0 -0
- package/dist/src/remediate.d.ts +107 -0
- package/dist/src/remediate.js +244 -0
- package/dist/src/remediation.d.ts +81 -0
- package/dist/src/remediation.js +475 -0
- package/dist/src/remediation_report.d.ts +23 -0
- package/dist/src/remediation_report.js +180 -0
- package/dist/src/sbom.d.ts +25 -1
- package/dist/src/sbom.js +23 -2
- package/dist/src/tools.d.ts +37 -13
- package/dist/src/tools.js +92 -13
- package/dist/src/updaters/maven_updater.d.ts +58 -0
- package/dist/src/updaters/maven_updater.js +345 -0
- package/dist/src/updaters/toml_updater.d.ts +62 -0
- package/dist/src/updaters/toml_updater.js +276 -0
- package/dist/src/workspace.d.ts +71 -0
- package/dist/src/workspace.js +257 -0
- package/package.json +37 -28
package/dist/src/index.d.ts
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
*
|
|
4
|
-
* 1. Environment Variable
|
|
5
|
-
* 2. (key,value) from opts object
|
|
2
|
+
* Selects the Trustify DA backend URL from opts.TRUSTIFY_DA_BACKEND_URL, then environment
|
|
3
|
+
* variable TRUSTIFY_DA_BACKEND_URL. Options take precedence over environment variables.
|
|
6
4
|
* If TRUSTIFY_DA_BACKEND_URL is not set, the function will throw an error.
|
|
7
5
|
* @param {{TRUSTIFY_DA_DEBUG?: string | undefined; TRUSTIFY_DA_BACKEND_URL?: string | undefined}} [opts={}]
|
|
8
6
|
* @return {string} - The selected Trustify DA backend URL
|
|
@@ -13,13 +11,24 @@ export function selectTrustifyDABackend(opts?: {
|
|
|
13
11
|
TRUSTIFY_DA_DEBUG?: string | undefined;
|
|
14
12
|
TRUSTIFY_DA_BACKEND_URL?: string | undefined;
|
|
15
13
|
}): string;
|
|
14
|
+
/**
|
|
15
|
+
* Generate a CycloneDX SBOM from a manifest file. No backend HTTP request is made.
|
|
16
|
+
*
|
|
17
|
+
* @param {string} manifestPath - path to the manifest file (e.g. pom.xml, package.json)
|
|
18
|
+
* @param {Options} [opts={}] - optional options (e.g. workspace dir, tool paths)
|
|
19
|
+
* @returns {Promise<object>} parsed CycloneDX SBOM JSON object
|
|
20
|
+
* @throws {Error} if the manifest is unsupported or SBOM generation fails
|
|
21
|
+
*/
|
|
22
|
+
export function generateSbom(manifestPath: string, opts?: Options): Promise<object>;
|
|
16
23
|
export { parseImageRef } from "./oci_image/utils.js";
|
|
17
24
|
export { ImageRef } from "./oci_image/images.js";
|
|
18
25
|
declare namespace _default {
|
|
19
26
|
export { componentAnalysis };
|
|
20
27
|
export { stackAnalysis };
|
|
28
|
+
export { stackAnalysisBatch };
|
|
21
29
|
export { imageAnalysis };
|
|
22
30
|
export { validateToken };
|
|
31
|
+
export { generateSbom };
|
|
23
32
|
}
|
|
24
33
|
export default _default;
|
|
25
34
|
export type Options = {
|
|
@@ -42,27 +51,62 @@ export type Options = {
|
|
|
42
51
|
TRUSTIFY_DA_PYTHON_PATH?: string | undefined;
|
|
43
52
|
TRUSTIFY_DA_PYTHON_VIRTUAL_ENV?: string | undefined;
|
|
44
53
|
TRUSTIFY_DA_PYTHON3_PATH?: string | undefined;
|
|
45
|
-
|
|
54
|
+
TRUSTIFY_DA_PROVIDERS?: string | undefined;
|
|
55
|
+
TRUSTIFY_DA_RECOMMEND?: string | undefined;
|
|
56
|
+
TRUSTIFY_DA_SOURCES?: string | undefined;
|
|
46
57
|
TRUSTIFY_DA_SKOPEO_CONFIG_PATH?: string | undefined;
|
|
47
58
|
TRUSTIFY_DA_SKOPEO_PATH?: string | undefined;
|
|
48
59
|
TRUSTIFY_DA_SYFT_CONFIG_PATH?: string | undefined;
|
|
49
60
|
TRUSTIFY_DA_SYFT_PATH?: string | undefined;
|
|
50
61
|
TRUSTIFY_DA_YARN_PATH?: string | undefined;
|
|
62
|
+
TRUSTIFY_DA_WORKSPACE_DIR?: string | undefined;
|
|
51
63
|
TRUSTIFY_DA_LICENSE_CHECK?: string | undefined;
|
|
64
|
+
licenseCheck?: boolean | undefined;
|
|
52
65
|
MATCH_MANIFEST_VERSIONS?: string | undefined;
|
|
53
66
|
TRUSTIFY_DA_SOURCE?: string | undefined;
|
|
54
67
|
TRUSTIFY_DA_TOKEN?: string | undefined;
|
|
55
68
|
TRUSTIFY_DA_TELEMETRY_ID?: string | undefined;
|
|
56
|
-
|
|
69
|
+
batchConcurrency?: number | undefined;
|
|
70
|
+
TRUSTIFY_DA_BATCH_CONCURRENCY?: string | undefined;
|
|
71
|
+
workspaceDiscoveryIgnore?: string[] | undefined;
|
|
72
|
+
TRUSTIFY_DA_WORKSPACE_DISCOVERY_IGNORE?: string | undefined;
|
|
73
|
+
continueOnError?: boolean | undefined;
|
|
74
|
+
TRUSTIFY_DA_CONTINUE_ON_ERROR?: string | undefined;
|
|
75
|
+
batchMetadata?: boolean | undefined;
|
|
76
|
+
TRUSTIFY_DA_BATCH_METADATA?: string | undefined;
|
|
77
|
+
TRUSTIFY_DA_UV_PATH?: string | undefined;
|
|
78
|
+
TRUSTIFY_DA_POETRY_PATH?: string | undefined;
|
|
79
|
+
[key: string]: string | number | boolean | string[] | undefined;
|
|
80
|
+
};
|
|
81
|
+
export type BatchAnalysisMetadata = {
|
|
82
|
+
workspaceRoot: string;
|
|
83
|
+
ecosystem: "javascript" | "cargo" | "pyproject" | "unknown";
|
|
84
|
+
total: number;
|
|
85
|
+
successful: number;
|
|
86
|
+
failed: number;
|
|
87
|
+
errors: Array<{
|
|
88
|
+
manifestPath: string;
|
|
89
|
+
phase: "validation" | "sbom";
|
|
90
|
+
reason: string;
|
|
91
|
+
}>;
|
|
92
|
+
};
|
|
93
|
+
export type SbomResult = {
|
|
94
|
+
ok: true;
|
|
95
|
+
purl: string;
|
|
96
|
+
sbom: object;
|
|
97
|
+
} | {
|
|
98
|
+
ok: false;
|
|
99
|
+
manifestPath: string;
|
|
100
|
+
reason: string;
|
|
57
101
|
};
|
|
58
102
|
/**
|
|
59
103
|
* Get component analysis report for a manifest content.
|
|
60
104
|
* @param {string} manifest - path to the manifest
|
|
61
105
|
* @param {Options} [opts={}] - optional various options to pass along the application
|
|
62
|
-
* @returns {Promise<import('@trustify-da/trustify-da-api-model/model/v5/AnalysisReport').AnalysisReport>}
|
|
106
|
+
* @returns {Promise<import('@trustify-da/trustify-da-api-model/model/v5/AnalysisReport.ts').AnalysisReport>}
|
|
63
107
|
* @throws {Error} if no matching provider, failed to get create content, or backend request failed
|
|
64
108
|
*/
|
|
65
|
-
declare function componentAnalysis(manifest: string, opts?: Options): Promise<import("@trustify-da/trustify-da-api-model/model/v5/AnalysisReport").AnalysisReport>;
|
|
109
|
+
declare function componentAnalysis(manifest: string, opts?: Options): Promise<import("@trustify-da/trustify-da-api-model/model/v5/AnalysisReport.ts").AnalysisReport>;
|
|
66
110
|
/**
|
|
67
111
|
* @overload
|
|
68
112
|
* @param {string} manifest
|
|
@@ -77,21 +121,96 @@ declare function stackAnalysis(manifest: string, html: true, opts?: Options | un
|
|
|
77
121
|
* @param {string} manifest
|
|
78
122
|
* @param {false} html
|
|
79
123
|
* @param {Options} [opts={}]
|
|
80
|
-
* @returns {Promise<import('@trustify-da/trustify-da-api-model/model/v5/AnalysisReport').AnalysisReport>}
|
|
124
|
+
* @returns {Promise<import('@trustify-da/trustify-da-api-model/model/v5/AnalysisReport.ts').AnalysisReport>}
|
|
81
125
|
* @throws {Error}
|
|
82
126
|
*/
|
|
83
|
-
declare function stackAnalysis(manifest: string, html: false, opts?: Options | undefined): Promise<import("@trustify-da/trustify-da-api-model/model/v5/AnalysisReport").AnalysisReport>;
|
|
127
|
+
declare function stackAnalysis(manifest: string, html: false, opts?: Options | undefined): Promise<import("@trustify-da/trustify-da-api-model/model/v5/AnalysisReport.ts").AnalysisReport>;
|
|
84
128
|
/**
|
|
85
129
|
* Get stack analysis report for a manifest file.
|
|
86
130
|
* @overload
|
|
87
131
|
* @param {string} manifest - path for the manifest
|
|
88
132
|
* @param {boolean} [html=false] - true will return a html string, false will return AnalysisReport object.
|
|
89
133
|
* @param {Options} [opts={}] - optional various options to pass along the application
|
|
90
|
-
* @returns {Promise<string|import('@trustify-da/trustify-da-api-model/model/v5/AnalysisReport').AnalysisReport>}
|
|
134
|
+
* @returns {Promise<string|import('@trustify-da/trustify-da-api-model/model/v5/AnalysisReport.ts').AnalysisReport>}
|
|
91
135
|
* @throws {Error} if manifest inaccessible, no matching provider, failed to get create content,
|
|
92
136
|
* or backend request failed
|
|
93
137
|
*/
|
|
94
|
-
declare function stackAnalysis(manifest: string, html?: boolean | undefined, opts?: Options | undefined): Promise<string | import("@trustify-da/trustify-da-api-model/model/v5/AnalysisReport").AnalysisReport>;
|
|
138
|
+
declare function stackAnalysis(manifest: string, html?: boolean | undefined, opts?: Options | undefined): Promise<string | import("@trustify-da/trustify-da-api-model/model/v5/AnalysisReport.ts").AnalysisReport>;
|
|
139
|
+
/**
|
|
140
|
+
* @overload
|
|
141
|
+
* @param {string} workspaceRoot
|
|
142
|
+
* @param {true} html
|
|
143
|
+
* @param {Options & { batchMetadata: true }} opts
|
|
144
|
+
* @returns {Promise<{ analysis: string, metadata: BatchAnalysisMetadata }>}
|
|
145
|
+
* @throws {Error}
|
|
146
|
+
*/
|
|
147
|
+
declare function stackAnalysisBatch(workspaceRoot: string, html: true, opts: Options & {
|
|
148
|
+
batchMetadata: true;
|
|
149
|
+
}): Promise<{
|
|
150
|
+
analysis: string;
|
|
151
|
+
metadata: BatchAnalysisMetadata;
|
|
152
|
+
}>;
|
|
153
|
+
/**
|
|
154
|
+
* @overload
|
|
155
|
+
* @param {string} workspaceRoot
|
|
156
|
+
* @param {true} html
|
|
157
|
+
* @param {Options & { batchMetadata?: false }} [opts={}]
|
|
158
|
+
* @returns {Promise<string>}
|
|
159
|
+
* @throws {Error}
|
|
160
|
+
*/
|
|
161
|
+
declare function stackAnalysisBatch(workspaceRoot: string, html: true, opts?: (Options & {
|
|
162
|
+
batchMetadata?: false;
|
|
163
|
+
}) | undefined): Promise<string>;
|
|
164
|
+
/**
|
|
165
|
+
* @overload
|
|
166
|
+
* @param {string} workspaceRoot
|
|
167
|
+
* @param {false} html
|
|
168
|
+
* @param {Options & { batchMetadata: true }} opts
|
|
169
|
+
* @returns {Promise<{ analysis: Object.<string, import('@trustify-da/trustify-da-api-model/model/v5/AnalysisReport.ts').AnalysisReport>, metadata: BatchAnalysisMetadata }>}
|
|
170
|
+
* @throws {Error}
|
|
171
|
+
*/
|
|
172
|
+
declare function stackAnalysisBatch(workspaceRoot: string, html: false, opts: Options & {
|
|
173
|
+
batchMetadata: true;
|
|
174
|
+
}): Promise<{
|
|
175
|
+
analysis: {
|
|
176
|
+
[x: string]: import("@trustify-da/trustify-da-api-model/model/v5/AnalysisReport.ts").AnalysisReport;
|
|
177
|
+
};
|
|
178
|
+
metadata: BatchAnalysisMetadata;
|
|
179
|
+
}>;
|
|
180
|
+
/**
|
|
181
|
+
* @overload
|
|
182
|
+
* @param {string} workspaceRoot
|
|
183
|
+
* @param {false} html
|
|
184
|
+
* @param {Options & { batchMetadata?: false }} [opts={}]
|
|
185
|
+
* @returns {Promise<Object.<string, import('@trustify-da/trustify-da-api-model/model/v5/AnalysisReport.ts').AnalysisReport>>}
|
|
186
|
+
* @throws {Error}
|
|
187
|
+
*/
|
|
188
|
+
declare function stackAnalysisBatch(workspaceRoot: string, html: false, opts?: (Options & {
|
|
189
|
+
batchMetadata?: false;
|
|
190
|
+
}) | undefined): Promise<{
|
|
191
|
+
[x: string]: import("@trustify-da/trustify-da-api-model/model/v5/AnalysisReport.ts").AnalysisReport;
|
|
192
|
+
}>;
|
|
193
|
+
/**
|
|
194
|
+
* Get stack analysis for all workspace packages/crates (batch).
|
|
195
|
+
* Detects ecosystem from workspace root: Cargo (Cargo.toml + Cargo.lock) or JS/TS (package.json + lock file).
|
|
196
|
+
* SBOMs are generated in parallel (see `batchConcurrency`) unless `continueOnError: false` (fail-fast sequential).
|
|
197
|
+
* With `opts.batchMetadata` / `TRUSTIFY_DA_BATCH_METADATA`, returns `{ analysis, metadata }` including validation and SBOM errors.
|
|
198
|
+
*
|
|
199
|
+
* @overload
|
|
200
|
+
* @param {string} workspaceRoot - Path to workspace root (containing lock file and workspace config)
|
|
201
|
+
* @param {boolean} [html=false] - true returns HTML, false returns JSON report
|
|
202
|
+
* @param {Options} [opts={}] - `batchConcurrency`, discovery ignores, `continueOnError` (default true), `batchMetadata` (default false)
|
|
203
|
+
* @returns {Promise<string|Object.<string, import('@trustify-da/trustify-da-api-model/model/v5/AnalysisReport.ts').AnalysisReport>|{ analysis: string|Object.<string, import('@trustify-da/trustify-da-api-model/model/v5/AnalysisReport.ts').AnalysisReport>, metadata: BatchAnalysisMetadata }>}
|
|
204
|
+
* @throws {Error} if workspace root invalid, no manifests found, no packages pass validation, no SBOMs produced, or backend request failed. When `opts.batchMetadata` is set, `error.batchMetadata` may be set on thrown errors.
|
|
205
|
+
*/
|
|
206
|
+
declare function stackAnalysisBatch(workspaceRoot: string, html?: boolean | undefined, opts?: Options | undefined): Promise<string | {
|
|
207
|
+
[x: string]: import("@trustify-da/trustify-da-api-model/model/v5/AnalysisReport.ts").AnalysisReport;
|
|
208
|
+
} | {
|
|
209
|
+
analysis: string | {
|
|
210
|
+
[x: string]: import("@trustify-da/trustify-da-api-model/model/v5/AnalysisReport.ts").AnalysisReport;
|
|
211
|
+
};
|
|
212
|
+
metadata: BatchAnalysisMetadata;
|
|
213
|
+
}>;
|
|
95
214
|
/**
|
|
96
215
|
* @overload
|
|
97
216
|
* @param {Array<string>} imageRefs
|
|
@@ -106,11 +225,11 @@ declare function imageAnalysis(imageRefs: Array<string>, html: true, opts?: Opti
|
|
|
106
225
|
* @param {Array<string>} imageRefs
|
|
107
226
|
* @param {false} html
|
|
108
227
|
* @param {Options} [opts={}]
|
|
109
|
-
* @returns {Promise<Object.<string, import('@trustify-da/trustify-da-api-model/model/v5/AnalysisReport').AnalysisReport>>}
|
|
228
|
+
* @returns {Promise<Object.<string, import('@trustify-da/trustify-da-api-model/model/v5/AnalysisReport.ts').AnalysisReport>>}
|
|
110
229
|
* @throws {Error}
|
|
111
230
|
*/
|
|
112
231
|
declare function imageAnalysis(imageRefs: Array<string>, html: false, opts?: Options | undefined): Promise<{
|
|
113
|
-
[x: string]: import("@trustify-da/trustify-da-api-model/model/v5/AnalysisReport").AnalysisReport;
|
|
232
|
+
[x: string]: import("@trustify-da/trustify-da-api-model/model/v5/AnalysisReport.ts").AnalysisReport;
|
|
114
233
|
}>;
|
|
115
234
|
/**
|
|
116
235
|
* Get image analysis report for a set of OCI image references.
|
|
@@ -118,12 +237,12 @@ declare function imageAnalysis(imageRefs: Array<string>, html: false, opts?: Opt
|
|
|
118
237
|
* @param {Array<string>} imageRefs - OCI image references
|
|
119
238
|
* @param {boolean} [html=false] - true will return a html string, false will return AnalysisReport
|
|
120
239
|
* @param {Options} [opts={}] - optional various options to pass along the application
|
|
121
|
-
* @returns {Promise<string|Object.<string, import('@trustify-da/trustify-da-api-model/model/v5/AnalysisReport').AnalysisReport>>}
|
|
240
|
+
* @returns {Promise<string|Object.<string, import('@trustify-da/trustify-da-api-model/model/v5/AnalysisReport.ts').AnalysisReport>>}
|
|
122
241
|
* @throws {Error} if manifest inaccessible, no matching provider, failed to get create content,
|
|
123
242
|
* or backend request failed
|
|
124
243
|
*/
|
|
125
244
|
declare function imageAnalysis(imageRefs: Array<string>, html?: boolean | undefined, opts?: Options | undefined): Promise<string | {
|
|
126
|
-
[x: string]: import("@trustify-da/trustify-da-api-model/model/v5/AnalysisReport").AnalysisReport;
|
|
245
|
+
[x: string]: import("@trustify-da/trustify-da-api-model/model/v5/AnalysisReport.ts").AnalysisReport;
|
|
127
246
|
}>;
|
|
128
247
|
/**
|
|
129
248
|
* Validates the Exhort token.
|
|
@@ -132,4 +251,20 @@ declare function imageAnalysis(imageRefs: Array<string>, html?: boolean | undefi
|
|
|
132
251
|
* @throws {Error} if the backend request failed.
|
|
133
252
|
*/
|
|
134
253
|
declare function validateToken(opts?: Options): Promise<object>;
|
|
254
|
+
import { discoverMavenModules } from './providers/java_maven.js';
|
|
255
|
+
import { discoverGradleSubprojects } from './providers/java_gradle.js';
|
|
256
|
+
import { discoverGoWorkspaceModules } from './providers/golang_gomodules.js';
|
|
257
|
+
import { discoverUvWorkspaceMembers } from './providers/python_uv.js';
|
|
258
|
+
import { discoverWorkspacePackages } from './workspace.js';
|
|
259
|
+
import { discoverWorkspaceCrates } from './workspace.js';
|
|
260
|
+
import { validatePackageJson } from './workspace.js';
|
|
261
|
+
import { resolveWorkspaceDiscoveryIgnore } from './workspace.js';
|
|
262
|
+
import { filterManifestPathsByDiscoveryIgnore } from './workspace.js';
|
|
263
|
+
import { resolveContinueOnError } from './batch_opts.js';
|
|
264
|
+
import { resolveBatchMetadata } from './batch_opts.js';
|
|
265
|
+
export { discoverMavenModules, discoverGradleSubprojects, discoverGoWorkspaceModules, discoverUvWorkspaceMembers, discoverWorkspacePackages, discoverWorkspaceCrates, validatePackageJson, resolveWorkspaceDiscoveryIgnore, filterManifestPathsByDiscoveryIgnore, resolveContinueOnError, resolveBatchMetadata };
|
|
135
266
|
export { getProjectLicense, findLicenseFilePath, identifyLicense, getLicenseDetails, licensesFromReport, normalizeLicensesResponse, runLicenseCheck, getCompatibility } from "./license/index.js";
|
|
267
|
+
export { extractRemediations, maxSeverity } from "./remediation.js";
|
|
268
|
+
export { generateReport, generateDeduplicationKey } from "./remediation_report.js";
|
|
269
|
+
export { loadConfig, mergeConfig, resolveConfig, CONFIG_FILENAMES } from "./config.js";
|
|
270
|
+
export { runRemediation, findManifests } from "./remediate.js";
|