@cyclonedx/cdxgen 10.3.5 → 10.4.1
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 +2 -4
- package/analyzer.js +19 -21
- package/bin/cdxgen.js +78 -77
- package/bin/evinse.js +26 -26
- package/bin/repl.js +56 -62
- package/bin/verify.js +9 -9
- package/binary.js +55 -54
- package/cbomutils.js +6 -6
- package/db.js +17 -17
- package/display.js +30 -30
- package/display.test.js +2 -2
- package/docker.js +93 -90
- package/docker.test.js +30 -30
- package/envcontext.js +15 -15
- package/envcontext.test.js +1 -1
- package/evinser.js +94 -93
- package/evinser.test.js +24 -24
- package/index.js +522 -482
- package/package.json +8 -16
- package/piptree.js +6 -6
- package/postgen.js +2 -5
- package/postgen.test.js +5 -5
- package/protobom.js +37 -7
- package/protobom.test.js +6 -6
- package/server.js +16 -16
- package/types/analyzer.d.ts +7 -4
- package/types/analyzer.d.ts.map +1 -1
- package/types/binary.d.ts +12 -8
- package/types/binary.d.ts.map +1 -1
- package/types/cbomutils.d.ts +1 -1
- package/types/db.d.ts +22 -9
- package/types/db.d.ts.map +1 -1
- package/types/display.d.ts +1 -1
- package/types/docker.d.ts +52 -32
- package/types/docker.d.ts.map +1 -1
- package/types/envcontext.d.ts +40 -40
- package/types/evinser.d.ts +3436 -717
- package/types/evinser.d.ts.map +1 -1
- package/types/index.d.ts +66 -40
- package/types/index.d.ts.map +1 -1
- package/types/jest.config.d.ts +2 -2
- package/types/piptree.d.ts +6 -2
- package/types/postgen.d.ts +1 -1
- package/types/postgen.d.ts.map +1 -1
- package/types/protobom.d.ts +7 -3
- package/types/protobom.d.ts.map +1 -1
- package/types/server.d.ts +1 -1
- package/types/utils.d.ts +521 -303
- package/types/utils.d.ts.map +1 -1
- package/types/validator.d.ts +1 -1
- package/types/validator.d.ts.map +1 -1
- package/utils.js +748 -676
- package/utils.test.js +720 -674
- package/validator.js +20 -17
package/types/envcontext.d.ts
CHANGED
|
@@ -5,58 +5,58 @@ export function gitTreeHashes(dir: string): {};
|
|
|
5
5
|
export function listFiles(dir: string): any[];
|
|
6
6
|
export function execGitCommand(dir: string, args: any[]): string;
|
|
7
7
|
export function collectJavaInfo(dir: string): {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
8
|
+
type: string;
|
|
9
|
+
name: string;
|
|
10
|
+
version: string;
|
|
11
|
+
description: string;
|
|
12
|
+
properties: {
|
|
13
|
+
name: string;
|
|
14
|
+
value: any;
|
|
15
|
+
}[];
|
|
16
16
|
};
|
|
17
17
|
export function collectDotnetInfo(dir: string): {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
18
|
+
type: string;
|
|
19
|
+
name: string;
|
|
20
|
+
version: string;
|
|
21
|
+
description: any;
|
|
22
22
|
};
|
|
23
23
|
export function collectPythonInfo(dir: string): {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
24
|
+
type: string;
|
|
25
|
+
name: string;
|
|
26
|
+
version: string;
|
|
27
|
+
description: any;
|
|
28
28
|
};
|
|
29
29
|
export function collectNodeInfo(dir: string): {
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
30
|
+
type: string;
|
|
31
|
+
name: string;
|
|
32
|
+
version: string;
|
|
33
|
+
description: string;
|
|
34
34
|
};
|
|
35
35
|
export function collectGccInfo(dir: string): {
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
36
|
+
type: string;
|
|
37
|
+
name: string;
|
|
38
|
+
version: string;
|
|
39
|
+
description: any;
|
|
40
40
|
};
|
|
41
41
|
export function collectRustInfo(dir: string): {
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
42
|
+
type: string;
|
|
43
|
+
name: string;
|
|
44
|
+
version: string;
|
|
45
|
+
description: string;
|
|
46
46
|
};
|
|
47
47
|
export function collectGoInfo(dir: string): {
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
48
|
+
type: string;
|
|
49
|
+
name: string;
|
|
50
|
+
version: string;
|
|
51
51
|
};
|
|
52
52
|
export function collectEnvInfo(dir: any): {
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
53
|
+
type: string;
|
|
54
|
+
name: string;
|
|
55
|
+
version: string;
|
|
56
|
+
description: string;
|
|
57
|
+
properties: {
|
|
58
|
+
name: string;
|
|
59
|
+
value: any;
|
|
60
|
+
}[];
|
|
61
61
|
}[];
|
|
62
|
-
//# sourceMappingURL=envcontext.d.ts.map
|
|
62
|
+
//# sourceMappingURL=envcontext.d.ts.map
|