@cyclonedx/cdxgen 12.1.3 → 12.1.4
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 +1 -1
- package/lib/cli/index.js +7 -3
- package/lib/helpers/utils.js +41 -0
- package/package.json +5 -5
- package/types/lib/cli/index.d.ts +39 -39
- package/types/lib/cli/index.d.ts.map +1 -1
- package/types/lib/evinser/evinser.d.ts +19 -19
- package/types/lib/evinser/evinser.d.ts.map +1 -1
- package/types/lib/evinser/swiftsem.d.ts +14 -14
- package/types/lib/evinser/swiftsem.d.ts.map +1 -1
- package/types/lib/helpers/cbomutils.d.ts +1 -1
- package/types/lib/helpers/cbomutils.d.ts.map +1 -1
- package/types/lib/helpers/db.d.ts +2 -2
- package/types/lib/helpers/db.d.ts.map +1 -1
- package/types/lib/helpers/display.d.ts +2 -2
- package/types/lib/helpers/display.d.ts.map +1 -1
- package/types/lib/helpers/envcontext.d.ts +14 -14
- package/types/lib/helpers/envcontext.d.ts.map +1 -1
- package/types/lib/helpers/logger.d.ts +1 -1
- package/types/lib/helpers/logger.d.ts.map +1 -1
- package/types/lib/helpers/protobom.d.ts +4 -2
- package/types/lib/helpers/protobom.d.ts.map +1 -1
- package/types/lib/helpers/utils.d.ts +103 -88
- package/types/lib/helpers/utils.d.ts.map +1 -1
- package/types/lib/managers/binary.d.ts +2 -2
- package/types/lib/managers/binary.d.ts.map +1 -1
- package/types/lib/managers/docker.d.ts +2 -2
- package/types/lib/managers/docker.d.ts.map +1 -1
- package/types/lib/managers/oci.d.ts +1 -1
- package/types/lib/managers/oci.d.ts.map +1 -1
- package/types/lib/managers/piptree.d.ts +1 -1
- package/types/lib/managers/piptree.d.ts.map +1 -1
- package/types/lib/parsers/iri.d.ts +6 -6
- package/types/lib/parsers/iri.d.ts.map +1 -1
- package/types/lib/server/server.d.ts +1 -1
- package/types/lib/server/server.d.ts.map +1 -1
- package/types/lib/stages/postgen/annotator.d.ts +3 -3
- package/types/lib/stages/postgen/annotator.d.ts.map +1 -1
- package/types/lib/stages/postgen/postgen.d.ts +5 -5
- package/types/lib/stages/postgen/postgen.d.ts.map +1 -1
- package/types/lib/stages/pregen/pregen.d.ts +6 -6
- package/types/lib/stages/pregen/pregen.d.ts.map +1 -1
- package/types/lib/third-party/arborist/lib/arborist/index.d.ts +4 -3
- package/types/lib/third-party/arborist/lib/arborist/index.d.ts.map +1 -1
- package/types/lib/third-party/arborist/lib/can-place-dep.d.ts +5 -5
- package/types/lib/third-party/arborist/lib/can-place-dep.d.ts.map +1 -1
- package/types/lib/third-party/arborist/lib/case-insensitive-map.d.ts +4 -4
- package/types/lib/third-party/arborist/lib/case-insensitive-map.d.ts.map +1 -1
- package/types/lib/third-party/arborist/lib/diff.d.ts +3 -3
- package/types/lib/third-party/arborist/lib/diff.d.ts.map +1 -1
- package/types/lib/third-party/arborist/lib/edge.d.ts +2 -2
- package/types/lib/third-party/arborist/lib/edge.d.ts.map +1 -1
- package/types/lib/third-party/arborist/lib/gather-dep-set.d.ts +1 -1
- package/types/lib/third-party/arborist/lib/gather-dep-set.d.ts.map +1 -1
- package/types/lib/third-party/arborist/lib/inventory.d.ts +3 -2
- package/types/lib/third-party/arborist/lib/inventory.d.ts.map +1 -1
- package/types/lib/third-party/arborist/lib/link.d.ts +10 -7
- package/types/lib/third-party/arborist/lib/link.d.ts.map +1 -1
- package/types/lib/third-party/arborist/lib/node.d.ts +8 -8
- package/types/lib/third-party/arborist/lib/node.d.ts.map +1 -1
- package/types/lib/third-party/arborist/lib/optional-set.d.ts +1 -1
- package/types/lib/third-party/arborist/lib/optional-set.d.ts.map +1 -1
- package/types/lib/third-party/arborist/lib/override-set.d.ts +3 -3
- package/types/lib/third-party/arborist/lib/override-set.d.ts.map +1 -1
- package/types/lib/third-party/arborist/lib/peer-entry-sets.d.ts +1 -1
- package/types/lib/third-party/arborist/lib/peer-entry-sets.d.ts.map +1 -1
- package/types/lib/third-party/arborist/lib/place-dep.d.ts +3 -3
- package/types/lib/third-party/arborist/lib/place-dep.d.ts.map +1 -1
- package/types/lib/third-party/arborist/lib/shrinkwrap.d.ts +7 -7
- package/types/lib/third-party/arborist/lib/shrinkwrap.d.ts.map +1 -1
- package/types/lib/third-party/arborist/lib/version-from-tgz.d.ts +1 -1
- package/types/lib/third-party/arborist/lib/version-from-tgz.d.ts.map +1 -1
- package/types/lib/third-party/arborist/lib/yarn-lock.d.ts +4 -3
- package/types/lib/third-party/arborist/lib/yarn-lock.d.ts.map +1 -1
- package/types/lib/third-party/arborist/lib/arborist/load-actual.d.ts +0 -34
- package/types/lib/third-party/arborist/lib/arborist/load-actual.d.ts.map +0 -1
- package/types/lib/third-party/arborist/lib/arborist/load-virtual.d.ts +0 -24
- package/types/lib/third-party/arborist/lib/arborist/load-virtual.d.ts.map +0 -1
- package/types/lib/third-party/arborist/lib/tracker.d.ts +0 -13
- package/types/lib/third-party/arborist/lib/tracker.d.ts.map +0 -1
|
@@ -5,14 +5,14 @@
|
|
|
5
5
|
*
|
|
6
6
|
* @returns {undefined|Object} JSON representation of the swift file or undefined.
|
|
7
7
|
*/
|
|
8
|
-
export function getStructure(filePath: string): undefined |
|
|
8
|
+
export function getStructure(filePath: string): undefined | Object;
|
|
9
9
|
/**
|
|
10
10
|
* Parse the data from the structure command
|
|
11
11
|
*
|
|
12
12
|
* @param {Object} structureJson Json from the structure command
|
|
13
13
|
* @returns {Object|undefined} Parsed value
|
|
14
14
|
*/
|
|
15
|
-
export function parseStructure(structureJson:
|
|
15
|
+
export function parseStructure(structureJson: Object): Object | undefined;
|
|
16
16
|
/**
|
|
17
17
|
* Method to perform swift build in verbose mode.
|
|
18
18
|
*
|
|
@@ -26,7 +26,7 @@ export function verboseBuild(basePath: string): undefined | string;
|
|
|
26
26
|
* @param {String} buildOutput Verbose build output
|
|
27
27
|
* @returns {Object} compiler build parameters
|
|
28
28
|
*/
|
|
29
|
-
export function extractCompilerParamsFromBuild(buildOutput: string):
|
|
29
|
+
export function extractCompilerParamsFromBuild(buildOutput: string): Object;
|
|
30
30
|
/**
|
|
31
31
|
* Method to index a swift file and extract metadata
|
|
32
32
|
*
|
|
@@ -34,28 +34,28 @@ export function extractCompilerParamsFromBuild(buildOutput: string): any;
|
|
|
34
34
|
* @param {String|Array<string>} compilerArgs Compiler arguments extracted from verbose build log
|
|
35
35
|
* @returns {undefined|Object} metadata
|
|
36
36
|
*/
|
|
37
|
-
export function index(filePath: string, compilerArgs: string | Array<string>): undefined |
|
|
37
|
+
export function index(filePath: string, compilerArgs: string | Array<string>): undefined | Object;
|
|
38
38
|
/**
|
|
39
39
|
* Parse the data from the index command
|
|
40
40
|
*
|
|
41
41
|
* @param {Object} indexJson Json from the index command
|
|
42
42
|
* @returns {Object|undefined} Parsed value
|
|
43
43
|
*/
|
|
44
|
-
export function parseIndex(indexJson:
|
|
44
|
+
export function parseIndex(indexJson: Object): Object | undefined;
|
|
45
45
|
/**
|
|
46
46
|
* Method to execute dump-package package command.
|
|
47
47
|
*
|
|
48
48
|
* @param {String} basePath Path
|
|
49
49
|
* @returns {undefined|Object} Output from dump-package command
|
|
50
50
|
*/
|
|
51
|
-
export function dumpPackage(basePath: string): undefined |
|
|
51
|
+
export function dumpPackage(basePath: string): undefined | Object;
|
|
52
52
|
/**
|
|
53
53
|
* Parse the data from dump-package command
|
|
54
54
|
*
|
|
55
55
|
* @param {Object} dumpJson Json from dump-package command
|
|
56
56
|
* @returns {Object|undefined} Parsed value
|
|
57
57
|
*/
|
|
58
|
-
export function parseDumpPackage(dumpJson:
|
|
58
|
+
export function parseDumpPackage(dumpJson: Object): Object | undefined;
|
|
59
59
|
/**
|
|
60
60
|
* Retrieve the module information of the swift project
|
|
61
61
|
*
|
|
@@ -63,14 +63,14 @@ export function parseDumpPackage(dumpJson: any): any | undefined;
|
|
|
63
63
|
* @param {String|Array<string>} compilerArgs Compiler arguments extracted from verbose build log
|
|
64
64
|
* @returns {undefined|Object} JSON representation of the swift module or undefined.
|
|
65
65
|
*/
|
|
66
|
-
export function moduleInfo(moduleName: string, compilerArgs: string | Array<string>): undefined |
|
|
66
|
+
export function moduleInfo(moduleName: string, compilerArgs: string | Array<string>): undefined | Object;
|
|
67
67
|
/**
|
|
68
68
|
* Parse the data from module-info command to replicate the swift interface
|
|
69
69
|
*
|
|
70
70
|
* @param {Object} moduleInfoJson Json from module-info command
|
|
71
71
|
* @returns {Object|undefined} Parsed classes, protocols, enums and their functions
|
|
72
72
|
*/
|
|
73
|
-
export function parseModuleInfo(moduleInfoJson:
|
|
73
|
+
export function parseModuleInfo(moduleInfoJson: Object): Object | undefined;
|
|
74
74
|
/**
|
|
75
75
|
* Method to collect the build symbols from the output file maps generated by swift build.
|
|
76
76
|
*
|
|
@@ -78,7 +78,7 @@ export function parseModuleInfo(moduleInfoJson: any): any | undefined;
|
|
|
78
78
|
* @param {Object} options CLI options
|
|
79
79
|
* @returns {Object} symbols map
|
|
80
80
|
*/
|
|
81
|
-
export function collectBuildSymbols(basePath: string, options:
|
|
81
|
+
export function collectBuildSymbols(basePath: string, options: Object): Object;
|
|
82
82
|
/**
|
|
83
83
|
* Method to parse output file map to identify the module and their symbols.
|
|
84
84
|
* This list is imprecise when compared with the data from module-info command.
|
|
@@ -86,7 +86,7 @@ export function collectBuildSymbols(basePath: string, options: any): any;
|
|
|
86
86
|
* @param filemap {String} File name
|
|
87
87
|
* @returns {Object} parsed module metadata
|
|
88
88
|
*/
|
|
89
|
-
export function parseOutputFileMap(filemap: string):
|
|
89
|
+
export function parseOutputFileMap(filemap: string): Object;
|
|
90
90
|
/**
|
|
91
91
|
* Create a precise semantics slices file for a swift project.
|
|
92
92
|
*
|
|
@@ -94,10 +94,10 @@ export function parseOutputFileMap(filemap: string): any;
|
|
|
94
94
|
* @param options options CLI options
|
|
95
95
|
*/
|
|
96
96
|
export function createSemanticsSlices(basePath: any, options: any): {
|
|
97
|
-
packageMetadata:
|
|
98
|
-
buildSymbols:
|
|
97
|
+
packageMetadata: Object | undefined;
|
|
98
|
+
buildSymbols: Object;
|
|
99
99
|
moduleInfos: {};
|
|
100
100
|
fileStructures: {};
|
|
101
101
|
fileIndexes: {};
|
|
102
|
-
};
|
|
102
|
+
} | undefined;
|
|
103
103
|
//# sourceMappingURL=swiftsem.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"swiftsem.d.ts","sourceRoot":"","sources":["../../../lib/evinser/swiftsem.js"],"names":[],"mappings":"AA2EA;;;;;;GAMG;AACH,gDAFa,SAAS,
|
|
1
|
+
{"version":3,"file":"swiftsem.d.ts","sourceRoot":"","sources":["../../../lib/evinser/swiftsem.js"],"names":[],"mappings":"AA2EA;;;;;;GAMG;AACH,gDAFa,SAAS,GAAC,MAAM,CAI5B;AAED;;;;;GAKG;AACH,8CAHW,MAAM,GACJ,MAAM,GAAC,SAAS,CAkB5B;AAqCD;;;;;GAKG;AACH,gDAFa,SAAS,SAAO,CAa5B;AAED;;;;;GAKG;AACH,qEAFa,MAAM,CA+JlB;AAED;;;;;;GAMG;AACH,sDAHW,SAAO,KAAK,CAAC,MAAM,CAAC,GAClB,SAAS,GAAC,MAAM,CAc5B;AAED;;;;;GAKG;AACH,sCAHW,MAAM,GACJ,MAAM,GAAC,SAAS,CA6B5B;AAsED;;;;;GAKG;AACH,+CAFa,SAAS,GAAC,MAAM,CAY5B;AAED;;;;;GAKG;AACH,2CAHW,MAAM,GACJ,MAAM,GAAC,SAAS,CA4B5B;AAED;;;;;;GAMG;AACH,6DAHW,SAAO,KAAK,CAAC,MAAM,CAAC,GAClB,SAAS,GAAC,MAAM,CAa5B;AAED;;;;;GAKG;AACH,gDAHW,MAAM,GACJ,MAAM,GAAC,SAAS,CAqF5B;AAED;;;;;;GAMG;AACH,+DAHW,MAAM,GACJ,MAAM,CAkBlB;AAED;;;;;;GAMG;AACH,qDAFa,MAAM,CAgBlB;AAED;;;;;GAKG;AACH;;;;;;cAoGC"}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* @param {Object} options
|
|
5
5
|
* @returns osPkgsList Array of OS crypto packages
|
|
6
6
|
*/
|
|
7
|
-
export function collectOSCryptoLibs(options:
|
|
7
|
+
export function collectOSCryptoLibs(options: Object): any[];
|
|
8
8
|
/**
|
|
9
9
|
* Find crypto algorithm in the given code snippet
|
|
10
10
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cbomutils.d.ts","sourceRoot":"","sources":["../../../lib/helpers/cbomutils.js"],"names":[],"mappings":"AAaA;;;;;GAKG;AACH,
|
|
1
|
+
{"version":3,"file":"cbomutils.d.ts","sourceRoot":"","sources":["../../../lib/helpers/cbomutils.js"],"names":[],"mappings":"AAaA;;;;;GAKG;AACH,6CAHW,MAAM,SA2BhB;AAMD;;;;;GAKG;AACH,kDAaC"}
|
|
@@ -24,12 +24,12 @@ declare class Model {
|
|
|
24
24
|
* findOrCreate
|
|
25
25
|
* @param {Object} options { where: { purl }, defaults: { purl, data } }
|
|
26
26
|
*/
|
|
27
|
-
findOrCreate(options:
|
|
27
|
+
findOrCreate(options: Object): Promise<any>;
|
|
28
28
|
/**
|
|
29
29
|
* findAll to handle the specific LIKE query from evinser.js
|
|
30
30
|
* @param {Object} options
|
|
31
31
|
*/
|
|
32
|
-
findAll(options:
|
|
32
|
+
findAll(options: Object): Promise<any>;
|
|
33
33
|
}
|
|
34
34
|
export {};
|
|
35
35
|
//# sourceMappingURL=db.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"db.d.ts","sourceRoot":"","sources":["../../../lib/helpers/db.js"],"names":[],"mappings":"AAoIO;;;;;GA6BN;AArJD;;GAEG;AACH;IACE,qCAGC;IAFC,QAAY;IACZ,eAA0B;IAG5B;;OAEG;IACH,qBAaC;IAED;;;OAGG;IACH,kCAkBC;IAED;;;OAGG;IACH,
|
|
1
|
+
{"version":3,"file":"db.d.ts","sourceRoot":"","sources":["../../../lib/helpers/db.js"],"names":[],"mappings":"AAoIO;;;;;GA6BN;AArJD;;GAEG;AACH;IACE,qCAGC;IAFC,QAAY;IACZ,eAA0B;IAG5B;;OAEG;IACH,qBAaC;IAED;;;OAGG;IACH,kCAkBC;IAED;;;OAGG;IACH,sBAFW,MAAM,gBA8BhB;IAED;;;OAGG;IACH,iBAFW,MAAM,gBA8BhB;CACF"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export function printTable(bomJson: any, filterTypes?:
|
|
1
|
+
export function printTable(bomJson: any, filterTypes?: undefined, highlight?: undefined): void;
|
|
2
2
|
export function printOSTable(bomJson: any): void;
|
|
3
3
|
export function printServices(bomJson: any): void;
|
|
4
4
|
export function printFormulation(bomJson: any): void;
|
|
5
5
|
export function printOccurrences(bomJson: any): void;
|
|
6
6
|
export function printCallStack(bomJson: any): void;
|
|
7
|
-
export function printDependencyTree(bomJson: any, mode?: string, highlight?:
|
|
7
|
+
export function printDependencyTree(bomJson: any, mode?: string, highlight?: undefined): void;
|
|
8
8
|
export function printReachables(sliceArtefacts: any): void;
|
|
9
9
|
export function printVulnerabilities(vulnerabilities: any): void;
|
|
10
10
|
export function printSponsorBanner(options: any): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"display.d.ts","sourceRoot":"","sources":["../../../lib/helpers/display.js"],"names":[],"mappings":"AAqBA
|
|
1
|
+
{"version":3,"file":"display.d.ts","sourceRoot":"","sources":["../../../lib/helpers/display.js"],"names":[],"mappings":"AAqBA,+FAuEC;AAQD,iDAmBC;AACD,kDAsBC;AAED,qDAqBC;AAeD,qDAqCC;AAED,mDA8CC;AACD,8FA0CC;AA4DD,2DAkCC;AAED,iEA0BC;AAED,uDAoBC;AAED,iDAgDC"}
|
|
@@ -57,9 +57,9 @@ export function collectJavaInfo(dir: string): {
|
|
|
57
57
|
description: string;
|
|
58
58
|
properties: {
|
|
59
59
|
name: string;
|
|
60
|
-
value:
|
|
60
|
+
value: string;
|
|
61
61
|
}[];
|
|
62
|
-
};
|
|
62
|
+
} | undefined;
|
|
63
63
|
/**
|
|
64
64
|
* Collect dotnet version
|
|
65
65
|
*
|
|
@@ -70,8 +70,8 @@ export function collectDotnetInfo(dir: string): {
|
|
|
70
70
|
type: string;
|
|
71
71
|
name: string;
|
|
72
72
|
version: string;
|
|
73
|
-
description:
|
|
74
|
-
};
|
|
73
|
+
description: string;
|
|
74
|
+
} | undefined;
|
|
75
75
|
/**
|
|
76
76
|
* Collect python version
|
|
77
77
|
*
|
|
@@ -82,15 +82,15 @@ export function collectPythonInfo(dir: string): {
|
|
|
82
82
|
type: string;
|
|
83
83
|
name: string;
|
|
84
84
|
version: string;
|
|
85
|
-
description:
|
|
86
|
-
};
|
|
85
|
+
description: string;
|
|
86
|
+
} | undefined;
|
|
87
87
|
/**
|
|
88
88
|
* Collect node runtime version
|
|
89
89
|
*
|
|
90
90
|
* @param {string} dir Working directory
|
|
91
91
|
* @returns {Object} Object containing node details
|
|
92
92
|
*/
|
|
93
|
-
export function collectNodeInfo(dir: string):
|
|
93
|
+
export function collectNodeInfo(dir: string): Object;
|
|
94
94
|
/**
|
|
95
95
|
* Collect gcc version
|
|
96
96
|
*
|
|
@@ -101,8 +101,8 @@ export function collectGccInfo(dir: string): {
|
|
|
101
101
|
type: string;
|
|
102
102
|
name: string;
|
|
103
103
|
version: string;
|
|
104
|
-
description:
|
|
105
|
-
};
|
|
104
|
+
description: string;
|
|
105
|
+
} | undefined;
|
|
106
106
|
/**
|
|
107
107
|
* Collect rust version
|
|
108
108
|
*
|
|
@@ -114,7 +114,7 @@ export function collectRustInfo(dir: string): {
|
|
|
114
114
|
name: string;
|
|
115
115
|
version: string;
|
|
116
116
|
description: string;
|
|
117
|
-
};
|
|
117
|
+
} | undefined;
|
|
118
118
|
/**
|
|
119
119
|
* Collect go version
|
|
120
120
|
*
|
|
@@ -125,7 +125,7 @@ export function collectGoInfo(dir: string): {
|
|
|
125
125
|
type: string;
|
|
126
126
|
name: string;
|
|
127
127
|
version: string;
|
|
128
|
-
};
|
|
128
|
+
} | undefined;
|
|
129
129
|
/**
|
|
130
130
|
* Collect swift version
|
|
131
131
|
*
|
|
@@ -136,7 +136,7 @@ export function collectSwiftInfo(dir: string): {
|
|
|
136
136
|
type: string;
|
|
137
137
|
name: string;
|
|
138
138
|
version: string;
|
|
139
|
-
};
|
|
139
|
+
} | undefined;
|
|
140
140
|
/**
|
|
141
141
|
* Collect Ruby version
|
|
142
142
|
*
|
|
@@ -147,7 +147,7 @@ export function collectRubyInfo(dir: string): {
|
|
|
147
147
|
type: string;
|
|
148
148
|
name: string;
|
|
149
149
|
version: string;
|
|
150
|
-
};
|
|
150
|
+
} | undefined;
|
|
151
151
|
/**
|
|
152
152
|
* Method to run a swift command
|
|
153
153
|
*
|
|
@@ -163,7 +163,7 @@ export function collectEnvInfo(dir: any): {
|
|
|
163
163
|
description: string;
|
|
164
164
|
properties: {
|
|
165
165
|
name: string;
|
|
166
|
-
value:
|
|
166
|
+
value: string;
|
|
167
167
|
}[];
|
|
168
168
|
}[];
|
|
169
169
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"envcontext.d.ts","sourceRoot":"","sources":["../../../lib/helpers/envcontext.js"],"names":[],"mappings":"AAyCA;;;;;;GAMG;AACH,wCALW,MAAM,OACN,MAAM,UAMhB;AAED;;;;;GAKG;AACH,kCAJW,MAAM,UAMhB;AAED;;;;;;GAMG;AACH,gDAJW,MAAM,UAMhB;AAED;;;;;GAKG;AACH,mCAJW,MAAM,MAsBhB;AAED;;;;;GAKG;AACH,+BAJW,MAAM,SAgChB;AAED;;;;;;;GAOG;AACH,oCALW,MAAM,uBAOhB;AAED;;;;;GAKG;AACH,qCAHW,MAAM;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"envcontext.d.ts","sourceRoot":"","sources":["../../../lib/helpers/envcontext.js"],"names":[],"mappings":"AAyCA;;;;;;GAMG;AACH,wCALW,MAAM,OACN,MAAM,UAMhB;AAED;;;;;GAKG;AACH,kCAJW,MAAM,UAMhB;AAED;;;;;;GAMG;AACH,gDAJW,MAAM,UAMhB;AAED;;;;;GAKG;AACH,mCAJW,MAAM,MAsBhB;AAED;;;;;GAKG;AACH,+BAJW,MAAM,SAgChB;AAED;;;;;;;GAOG;AACH,oCALW,MAAM,uBAOhB;AAED;;;;;GAKG;AACH,qCAHW,MAAM;;;;;;;;;cAsBhB;AAED;;;;;GAKG;AACH,uCAHW,MAAM;;;;;cAgBhB;AAED;;;;;GAKG;AACH,uCAHW,MAAM;;;;;cAwBhB;AAED;;;;;GAKG;AACH,qCAHW,MAAM,GACJ,MAAM,CAelB;AAED;;;;;GAKG;AACH,oCAHW,MAAM;;;;;cAehB;AAED;;;;;GAKG;AACH,qCAHW,MAAM;;;;;cAehB;AAED;;;;;GAKG;AACH,mCAHW,MAAM;;;;cAahB;AAED;;;;;GAKG;AACH,sCAHW,MAAM;;;;cAahB;AAED;;;;;GAKG;AACH,qCAHW,MAAM;;;;cAahB;AAED;;;;;;GAMG;AACH,kEAEC;AAED;;;;;;;;;IAmCC;AAqCD;;GAEG;AACH,6CAeC;AAED;;GAEG;AACH,0CASC;AAED;;;;;;;GAOG;AACH,mFAqBC;AAED;;;;;;;GAOG;AACH,+EA+FC;AAED;;;;;;GAMG;AACH,8DAqBC;AAED;;;;;;GAMG;AACH,iEAiCC;AASD;;;;GAIG;AACH,4CAcC;AAED,sDAIC;AAED;;;;;;GAMG;AACH,sGAoCC;AAED;;;;;GAKG;AACH;;;EAqFC;AAED;;;;;GAKG;AACH,mFA2DC;AAED;;;;;;;;;GASG;AACH,+GAFa,OAAO,CA8KnB;AAliCD,8BAAwD"}
|
|
@@ -6,7 +6,7 @@ export function thoughtEnd(): void;
|
|
|
6
6
|
* @param {String} traceType Trace type
|
|
7
7
|
* @param {Object} args Additional arguments
|
|
8
8
|
*/
|
|
9
|
-
export function traceLog(traceType: string, args:
|
|
9
|
+
export function traceLog(traceType: string, args: Object): void;
|
|
10
10
|
export const THINK_MODE: any;
|
|
11
11
|
export const TRACE_MODE: any;
|
|
12
12
|
//# sourceMappingURL=logger.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"logger.d.ts","sourceRoot":"","sources":["../../../lib/helpers/logger.js"],"names":[],"mappings":"AA8CA,oDAaC;AACD,mCAKC;AAUD;;;;;GAKG;AACH,
|
|
1
|
+
{"version":3,"file":"logger.d.ts","sourceRoot":"","sources":["../../../lib/helpers/logger.js"],"names":[],"mappings":"AA8CA,oDAaC;AACD,mCAKC;AAUD;;;;;GAKG;AACH,kDAFW,MAAM,QAgChB;AAxGD,6BAG8C;AAe9C,6BAI8C"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
-
export function writeBinary(bomJson: string |
|
|
2
|
-
export function readBinary(binFile: string, asJson?: boolean, specVersion?: number):
|
|
1
|
+
export function writeBinary(bomJson: string | Object, binFile: string): void;
|
|
2
|
+
export function readBinary(binFile: string, asJson?: boolean, specVersion?: number): cdx_16.Bom | cdx_15.Bom | import("@bufbuild/protobuf").JsonValue | undefined;
|
|
3
|
+
import { cdx_16 } from "@appthreat/cdx-proto";
|
|
4
|
+
import { cdx_15 } from "@appthreat/cdx-proto";
|
|
3
5
|
//# sourceMappingURL=protobom.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"protobom.d.ts","sourceRoot":"","sources":["../../../lib/helpers/protobom.js"],"names":[],"mappings":"AA+BO,qCAHI,MAAM,
|
|
1
|
+
{"version":3,"file":"protobom.d.ts","sourceRoot":"","sources":["../../../lib/helpers/protobom.js"],"names":[],"mappings":"AA+BO,qCAHI,MAAM,GAAG,MAAM,WACf,MAAM,QAuBhB;AASM,oCAJI,MAAM,WACN,OAAO,gBACP,MAAM,gFAmBhB;uBA5E8B,sBAAsB;uBAAtB,sBAAsB"}
|