@cyclonedx/cdxgen 12.1.2 → 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 +11 -9
- package/bin/cdxgen.js +1 -1
- package/lib/cli/index.js +9 -5
- package/lib/evinser/evinser.js +2 -8
- package/lib/helpers/display.js +1 -1
- package/lib/helpers/envcontext.js +10 -2
- package/lib/helpers/utils.js +462 -86
- package/lib/helpers/utils.poku.js +179 -2
- package/lib/helpers/validator.js +8 -5
- package/lib/managers/docker.getConnection.poku.js +61 -0
- package/lib/managers/docker.js +36 -23
- package/lib/parsers/iri.js +1 -2
- package/lib/server/server.js +164 -34
- package/lib/server/server.poku.js +232 -10
- package/lib/stages/postgen/annotator.js +281 -3
- package/lib/stages/postgen/postgen.js +4 -7
- package/lib/third-party/arborist/lib/diff.js +1 -1
- package/lib/third-party/arborist/lib/node.js +1 -1
- package/lib/third-party/arborist/lib/yarn-lock.js +1 -1
- package/package.json +22 -328
- package/types/bin/dependencies.d.ts.map +1 -1
- 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/helpers/validator.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 +14 -0
- 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/bin/dependencies.js +0 -131
- package/bin/licenses.js +0 -78
- package/lib/helpers/dependencies.poku.js +0 -11
- package/lib/helpers/licenses.poku.js +0 -11
- 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
package/types/lib/cli/index.d.ts
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* @param {Object} pkg Package object
|
|
8
8
|
* @param {string} ptype Package type
|
|
9
9
|
*/
|
|
10
|
-
export function listComponents(options:
|
|
10
|
+
export function listComponents(options: Object, allImports: Object, pkg: Object, ptype?: string): any[];
|
|
11
11
|
/**
|
|
12
12
|
* Function to create bom string for Java jars
|
|
13
13
|
*
|
|
@@ -16,43 +16,43 @@ export function listComponents(options: any, allImports: any, pkg: any, ptype?:
|
|
|
16
16
|
*
|
|
17
17
|
* @returns {Object} BOM with namespace mapping
|
|
18
18
|
*/
|
|
19
|
-
export function createJarBom(path: string, options:
|
|
19
|
+
export function createJarBom(path: string, options: Object): Object;
|
|
20
20
|
/**
|
|
21
21
|
* Function to create bom string for Android apps using blint
|
|
22
22
|
*
|
|
23
23
|
* @param {string} path to the project
|
|
24
24
|
* @param {Object} options Parse options from the cli
|
|
25
25
|
*/
|
|
26
|
-
export function createAndroidBom(path: string, options:
|
|
26
|
+
export function createAndroidBom(path: string, options: Object): {
|
|
27
27
|
bomJson: any;
|
|
28
28
|
dependencies: any;
|
|
29
29
|
parentComponent: any;
|
|
30
|
-
};
|
|
30
|
+
} | undefined;
|
|
31
31
|
/**
|
|
32
32
|
* Function to create bom string for binaries using blint
|
|
33
33
|
*
|
|
34
34
|
* @param {string} path to the project
|
|
35
35
|
* @param {Object} options Parse options from the cli
|
|
36
36
|
*/
|
|
37
|
-
export function createBinaryBom(path: string, options:
|
|
37
|
+
export function createBinaryBom(path: string, options: Object): {
|
|
38
38
|
bomJson: any;
|
|
39
39
|
dependencies: any;
|
|
40
40
|
parentComponent: any;
|
|
41
|
-
};
|
|
41
|
+
} | undefined;
|
|
42
42
|
/**
|
|
43
43
|
* Function to create bom string for Java projects
|
|
44
44
|
*
|
|
45
45
|
* @param {string} path to the project
|
|
46
46
|
* @param {Object} options Parse options from the cli
|
|
47
47
|
*/
|
|
48
|
-
export function createJavaBom(path: string, options:
|
|
48
|
+
export function createJavaBom(path: string, options: Object): Promise<Object>;
|
|
49
49
|
/**
|
|
50
50
|
* Function to create bom string for Node.js projects
|
|
51
51
|
*
|
|
52
52
|
* @param {string} path to the project
|
|
53
53
|
* @param {Object} options Parse options from the cli
|
|
54
54
|
*/
|
|
55
|
-
export function createNodejsBom(path: string, options:
|
|
55
|
+
export function createNodejsBom(path: string, options: Object): Promise<Object>;
|
|
56
56
|
/**
|
|
57
57
|
* Function to create bom string for Projects that use Pixi package manager.
|
|
58
58
|
* createPixiBom is based on createPythonBom.
|
|
@@ -64,161 +64,161 @@ export function createNodejsBom(path: string, options: any): Promise<any>;
|
|
|
64
64
|
* @param {String} path
|
|
65
65
|
* @param {Object} options
|
|
66
66
|
*/
|
|
67
|
-
export function createPixiBom(path: string, options:
|
|
67
|
+
export function createPixiBom(path: string, options: Object): Object | null;
|
|
68
68
|
/**
|
|
69
69
|
* Function to create bom string for Python projects
|
|
70
70
|
*
|
|
71
71
|
* @param {string} path to the project
|
|
72
72
|
* @param {Object} options Parse options from the cli
|
|
73
73
|
*/
|
|
74
|
-
export function createPythonBom(path: string, options:
|
|
74
|
+
export function createPythonBom(path: string, options: Object): Promise<Object>;
|
|
75
75
|
/**
|
|
76
76
|
* Function to create bom string for Go projects
|
|
77
77
|
*
|
|
78
78
|
* @param {string} path to the project
|
|
79
79
|
* @param {Object} options Parse options from the cli
|
|
80
80
|
*/
|
|
81
|
-
export function createGoBom(path: string, options:
|
|
81
|
+
export function createGoBom(path: string, options: Object): Promise<Object | undefined>;
|
|
82
82
|
/**
|
|
83
83
|
* Function to create bom string for Rust projects
|
|
84
84
|
*
|
|
85
85
|
* @param {string} path to the project
|
|
86
86
|
* @param {Object} options Parse options from the cli
|
|
87
87
|
*/
|
|
88
|
-
export function createRustBom(path: string, options:
|
|
88
|
+
export function createRustBom(path: string, options: Object): Promise<Object | undefined>;
|
|
89
89
|
/**
|
|
90
90
|
* Function to create bom string for Dart projects
|
|
91
91
|
*
|
|
92
92
|
* @param {string} path to the project
|
|
93
93
|
* @param {Object} options Parse options from the cli
|
|
94
94
|
*/
|
|
95
|
-
export function createDartBom(path: string, options:
|
|
95
|
+
export function createDartBom(path: string, options: Object): Promise<Object>;
|
|
96
96
|
/**
|
|
97
97
|
* Function to create bom string for cpp projects
|
|
98
98
|
*
|
|
99
99
|
* @param {string} path to the project
|
|
100
100
|
* @param {Object} options Parse options from the cli
|
|
101
101
|
*/
|
|
102
|
-
export function createCppBom(path: string, options:
|
|
102
|
+
export function createCppBom(path: string, options: Object): Object;
|
|
103
103
|
/**
|
|
104
104
|
* Function to create bom string for clojure projects
|
|
105
105
|
*
|
|
106
106
|
* @param {string} path to the project
|
|
107
107
|
* @param {Object} options Parse options from the cli
|
|
108
108
|
*/
|
|
109
|
-
export function createClojureBom(path: string, options:
|
|
109
|
+
export function createClojureBom(path: string, options: Object): Object;
|
|
110
110
|
/**
|
|
111
111
|
* Function to create bom string for Haskell projects
|
|
112
112
|
*
|
|
113
113
|
* @param {string} path to the project
|
|
114
114
|
* @param {Object} options Parse options from the cli
|
|
115
115
|
*/
|
|
116
|
-
export function createHaskellBom(path: string, options:
|
|
116
|
+
export function createHaskellBom(path: string, options: Object): Object;
|
|
117
117
|
/**
|
|
118
118
|
* Function to create bom string for Elixir projects
|
|
119
119
|
*
|
|
120
120
|
* @param {string} path to the project
|
|
121
121
|
* @param {Object} options Parse options from the cli
|
|
122
122
|
*/
|
|
123
|
-
export function createElixirBom(path: string, options:
|
|
123
|
+
export function createElixirBom(path: string, options: Object): Object;
|
|
124
124
|
/**
|
|
125
125
|
* Function to create bom string for GitHub action workflows
|
|
126
126
|
*
|
|
127
127
|
* @param {string} path to the project
|
|
128
128
|
* @param {Object} options Parse options from the cli
|
|
129
129
|
*/
|
|
130
|
-
export function createGitHubBom(path: string, options:
|
|
130
|
+
export function createGitHubBom(path: string, options: Object): Object;
|
|
131
131
|
/**
|
|
132
132
|
* Function to create bom string for cloudbuild yaml
|
|
133
133
|
*
|
|
134
134
|
* @param {string} path to the project
|
|
135
135
|
* @param {Object} options Parse options from the cli
|
|
136
136
|
*/
|
|
137
|
-
export function createCloudBuildBom(path: string, options:
|
|
137
|
+
export function createCloudBuildBom(path: string, options: Object): Object;
|
|
138
138
|
/**
|
|
139
139
|
* Function to create obom string for the current OS using osquery
|
|
140
140
|
*
|
|
141
141
|
* @param {string} _path to the project
|
|
142
142
|
* @param {Object} options Parse options from the cli
|
|
143
143
|
*/
|
|
144
|
-
export function createOSBom(_path: string, options:
|
|
144
|
+
export function createOSBom(_path: string, options: Object): Promise<Object>;
|
|
145
145
|
/**
|
|
146
146
|
* Function to create bom string for Jenkins plugins
|
|
147
147
|
*
|
|
148
148
|
* @param {string} path to the project
|
|
149
149
|
* @param {Object} options Parse options from the cli
|
|
150
150
|
*/
|
|
151
|
-
export function createJenkinsBom(path: string, options:
|
|
151
|
+
export function createJenkinsBom(path: string, options: Object): Promise<Object>;
|
|
152
152
|
/**
|
|
153
153
|
* Function to create bom string for Helm charts
|
|
154
154
|
*
|
|
155
155
|
* @param {string} path to the project
|
|
156
156
|
* @param {Object} options Parse options from the cli
|
|
157
157
|
*/
|
|
158
|
-
export function createHelmBom(path: string, options:
|
|
158
|
+
export function createHelmBom(path: string, options: Object): Object;
|
|
159
159
|
/**
|
|
160
160
|
* Function to create bom string for swift projects
|
|
161
161
|
*
|
|
162
162
|
* @param {string} path to the project
|
|
163
163
|
* @param {Object} options Parse options from the cli
|
|
164
164
|
*/
|
|
165
|
-
export function createSwiftBom(path: string, options:
|
|
165
|
+
export function createSwiftBom(path: string, options: Object): Promise<Object>;
|
|
166
166
|
/**
|
|
167
167
|
* Function to create bom string for cocoa projects
|
|
168
168
|
*
|
|
169
169
|
* @param {string} path to the project
|
|
170
170
|
* @param {Object} options Parse options from the cli
|
|
171
171
|
*/
|
|
172
|
-
export function createCocoaBom(path: string, options:
|
|
172
|
+
export function createCocoaBom(path: string, options: Object): Promise<Object | undefined>;
|
|
173
173
|
/**
|
|
174
174
|
* Function to create bom string for Nix flakes
|
|
175
175
|
*
|
|
176
176
|
* @param {string} path to the project
|
|
177
177
|
* @param {Object} options Parse options from the cli
|
|
178
178
|
*/
|
|
179
|
-
export function createNixBom(path: string, options:
|
|
179
|
+
export function createNixBom(path: string, options: Object): Promise<Object>;
|
|
180
180
|
/**
|
|
181
181
|
* Function to create bom string for caxa SEA binaries
|
|
182
182
|
*
|
|
183
183
|
* @param {string} path to the project
|
|
184
184
|
* @param {Object} options Parse options from the cli
|
|
185
185
|
*/
|
|
186
|
-
export function createCaxaBom(path: string, options:
|
|
186
|
+
export function createCaxaBom(path: string, options: Object): Promise<Object>;
|
|
187
187
|
/**
|
|
188
188
|
* Function to create bom string for docker compose
|
|
189
189
|
*
|
|
190
190
|
* @param {string} path to the project
|
|
191
191
|
* @param {Object} options Parse options from the cli
|
|
192
192
|
*/
|
|
193
|
-
export function createContainerSpecLikeBom(path: string, options:
|
|
193
|
+
export function createContainerSpecLikeBom(path: string, options: Object): any;
|
|
194
194
|
/**
|
|
195
195
|
* Function to create bom string for php projects
|
|
196
196
|
*
|
|
197
197
|
* @param {string} path to the project
|
|
198
198
|
* @param {Object} options Parse options from the cli
|
|
199
199
|
*/
|
|
200
|
-
export function createPHPBom(path: string, options:
|
|
200
|
+
export function createPHPBom(path: string, options: Object): Object;
|
|
201
201
|
/**
|
|
202
202
|
* Function to create bom string for ruby projects
|
|
203
203
|
*
|
|
204
204
|
* @param {string} path to the project
|
|
205
205
|
* @param {Object} options Parse options from the cli
|
|
206
206
|
*/
|
|
207
|
-
export function createRubyBom(path: string, options:
|
|
207
|
+
export function createRubyBom(path: string, options: Object): Promise<Object>;
|
|
208
208
|
/**
|
|
209
209
|
* Function to create bom string for csharp projects
|
|
210
210
|
*
|
|
211
211
|
* @param {string} path to the project
|
|
212
212
|
* @param {Object} options Parse options from the cli
|
|
213
213
|
*/
|
|
214
|
-
export function createCsharpBom(path: string, options:
|
|
214
|
+
export function createCsharpBom(path: string, options: Object): Promise<Object | undefined>;
|
|
215
215
|
/**
|
|
216
216
|
* Function to create bom object for cryptographic certificate files
|
|
217
217
|
*
|
|
218
218
|
* @param {string} path to the project
|
|
219
219
|
* @param {Object} options Parse options from the cli
|
|
220
220
|
*/
|
|
221
|
-
export function createCryptoCertsBom(path: string, options:
|
|
221
|
+
export function createCryptoCertsBom(path: string, options: Object): Promise<{
|
|
222
222
|
bomJson: {
|
|
223
223
|
components: {
|
|
224
224
|
name: any;
|
|
@@ -241,11 +241,11 @@ export function createCryptoCertsBom(path: string, options: any): Promise<{
|
|
|
241
241
|
}>;
|
|
242
242
|
export function mergeDependencies(dependencies: any, newDependencies: any, parentComponent?: {}): ({
|
|
243
243
|
ref: string;
|
|
244
|
-
dependsOn: any;
|
|
245
|
-
provides: any;
|
|
244
|
+
dependsOn: any[];
|
|
245
|
+
provides: any[];
|
|
246
246
|
} | {
|
|
247
247
|
ref: string;
|
|
248
|
-
dependsOn: any;
|
|
248
|
+
dependsOn: any[];
|
|
249
249
|
provides?: undefined;
|
|
250
250
|
})[];
|
|
251
251
|
/**
|
|
@@ -266,28 +266,28 @@ export function trimComponents(components: any[]): any[];
|
|
|
266
266
|
*
|
|
267
267
|
* @returns {Object} Object including BOM Json
|
|
268
268
|
*/
|
|
269
|
-
export function dedupeBom(options:
|
|
269
|
+
export function dedupeBom(options: Object, components: any[], parentComponent: Object, dependencies: any[]): Object;
|
|
270
270
|
/**
|
|
271
271
|
* Function to create bom string for all languages
|
|
272
272
|
*
|
|
273
273
|
* @param {string[]} pathList list of to the project
|
|
274
274
|
* @param {Object} options Parse options from the cli
|
|
275
275
|
*/
|
|
276
|
-
export function createMultiXBom(pathList: string[], options:
|
|
276
|
+
export function createMultiXBom(pathList: string[], options: Object): Promise<Object>;
|
|
277
277
|
/**
|
|
278
278
|
* Function to create bom string for various languages
|
|
279
279
|
*
|
|
280
280
|
* @param {string} path to the project
|
|
281
281
|
* @param {Object} options Parse options from the cli
|
|
282
282
|
*/
|
|
283
|
-
export function createXBom(path: string, options:
|
|
283
|
+
export function createXBom(path: string, options: Object): Promise<any>;
|
|
284
284
|
/**
|
|
285
285
|
* Function to create bom string for various languages
|
|
286
286
|
*
|
|
287
287
|
* @param {string} path to the project
|
|
288
288
|
* @param {Object} options Parse options from the cli
|
|
289
289
|
*/
|
|
290
|
-
export function createBom(path: string, options:
|
|
290
|
+
export function createBom(path: string, options: Object): any;
|
|
291
291
|
/**
|
|
292
292
|
* Method to submit the generated bom to dependency-track or cyclonedx server
|
|
293
293
|
*
|
|
@@ -296,7 +296,7 @@ export function createBom(path: string, options: any): any;
|
|
|
296
296
|
* @return {Promise<{ token: string } | undefined>} a promise with a token (if request was successful) or undefined (in case of invalid arguments)
|
|
297
297
|
* @throws {Error} if the request fails
|
|
298
298
|
*/
|
|
299
|
-
export function submitBom(args:
|
|
299
|
+
export function submitBom(args: Object, bomContents: Object): Promise<{
|
|
300
300
|
token: string;
|
|
301
301
|
} | undefined>;
|
|
302
302
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../lib/cli/index.js"],"names":[],"mappings":"AAg+BA;;;;;;;;GAQG;AACH,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../lib/cli/index.js"],"names":[],"mappings":"AAg+BA;;;;;;;;GAQG;AACH,wCALW,MAAM,cACN,MAAM,OACN,MAAM,UACN,MAAM,SAchB;AAqYD;;;;;;;GAOG;AACH,mCALW,MAAM,WACN,MAAM,GAEJ,MAAM,CA0ElB;AAED;;;;;GAKG;AACH,uCAHW,MAAM,WACN,MAAM;;;;cAIhB;AAED;;;;;GAKG;AACH,sCAHW,MAAM,WACN,MAAM;;;;cAiBhB;AAED;;;;;GAKG;AACH,oCAHW,MAAM,WACN,MAAM,mBAytChB;AAED;;;;;GAKG;AACH,sCAHW,MAAM,WACN,MAAM,mBAk2BhB;AAED;;;;;;;;;;GAUG;AACH,qDAFW,MAAM,iBAwEhB;AAED;;;;;GAKG;AACH,sCAHW,MAAM,WACN,MAAM,mBAyehB;AAED;;;;;GAKG;AACH,kCAHW,MAAM,WACN,MAAM,+BAoahB;AAED;;;;;GAKG;AACH,oCAHW,MAAM,WACN,MAAM,+BAqIhB;AAED;;;;;GAKG;AACH,oCAHW,MAAM,WACN,MAAM,mBAiEhB;AAED;;;;;GAKG;AACH,mCAHW,MAAM,WACN,MAAM,UA6MhB;AAED;;;;;GAKG;AACH,uCAHW,MAAM,WACN,MAAM,UA+GhB;AAED;;;;;GAKG;AACH,uCAHW,MAAM,WACN,MAAM,UA0BhB;AAED;;;;;GAKG;AACH,sCAHW,MAAM,WACN,MAAM,UA0BhB;AAED;;;;;GAKG;AACH,sCAHW,MAAM,WACN,MAAM,UAyBhB;AAED;;;;;GAKG;AACH,0CAHW,MAAM,WACN,MAAM,UAsBhB;AAED;;;;;GAKG;AACH,mCAHW,MAAM,WACN,MAAM,mBAoDhB;AAED;;;;;GAKG;AACH,uCAHW,MAAM,WACN,MAAM,mBA2ChB;AAED;;;;;GAKG;AACH,oCAHW,MAAM,WACN,MAAM,UA0BhB;AAED;;;;;GAKG;AACH,qCAHW,MAAM,WACN,MAAM,mBA0IhB;AAED;;;;;GAKG;AACH,qCAHW,MAAM,WACN,MAAM,+BAoJhB;AAED;;;;;GAKG;AACH,mCAHW,MAAM,WACN,MAAM,mBAoHhB;AAED;;;;;GAKG;AACH,oCAHW,MAAM,WACN,MAAM,mBA6ChB;AAED;;;;;GAKG;AACH,iDAHW,MAAM,WACN,MAAM,OAkUhB;AAED;;;;;GAKG;AACH,mCAHW,MAAM,WACN,MAAM,UA0JhB;AAED;;;;;GAKG;AACH,oCAHW,MAAM,WACN,MAAM,mBAuPhB;AAED;;;;;GAKG;AACH,sCAHW,MAAM,WACN,MAAM,+BAkbhB;AAED;;;;;GAKG;AACH,2CAHW,MAAM,WACN,MAAM;;;;;;;;;;;;;;;;;;;;GAmChB;AAED;;;;;;;;KA+DC;AAED;;;;;;GAMG;AACH,yDA+GC;AAED;;;;;;;;;GASG;AACH,mCAPW,MAAM,sCAEN,MAAM,wBAGJ,MAAM,CAyClB;AAED;;;;;GAKG;AACH,0CAHW,MAAM,EAAE,WACR,MAAM,mBAuyBhB;AAED;;;;;GAKG;AACH,iCAHW,MAAM,WACN,MAAM,gBAmVhB;AAED;;;;;GAKG;AACH,gCAHW,MAAM,WACN,MAAM,OAgRhB;AAED;;;;;;;GAOG;AACH,gCALW,MAAM,eACN,MAAM,GACL,OAAO,CAAC;IAAE,KAAK,EAAE,MAAM,CAAA;CAAE,GAAG,SAAS,CAAC,CA0IjD"}
|
|
@@ -3,33 +3,33 @@
|
|
|
3
3
|
*
|
|
4
4
|
* @param {Object} options Command line options
|
|
5
5
|
*/
|
|
6
|
-
export function prepareDB(options:
|
|
6
|
+
export function prepareDB(options: Object): Promise<{
|
|
7
7
|
sequelize: any;
|
|
8
8
|
Namespaces: {
|
|
9
9
|
db: any;
|
|
10
10
|
tableName: any;
|
|
11
11
|
init(): Promise<any>;
|
|
12
12
|
findByPk(purl: any): Promise<any>;
|
|
13
|
-
findOrCreate(options:
|
|
14
|
-
findAll(options:
|
|
13
|
+
findOrCreate(options: Object): Promise<any>;
|
|
14
|
+
findAll(options: Object): Promise<any>;
|
|
15
15
|
};
|
|
16
16
|
Usages: {
|
|
17
17
|
db: any;
|
|
18
18
|
tableName: any;
|
|
19
19
|
init(): Promise<any>;
|
|
20
20
|
findByPk(purl: any): Promise<any>;
|
|
21
|
-
findOrCreate(options:
|
|
22
|
-
findAll(options:
|
|
21
|
+
findOrCreate(options: Object): Promise<any>;
|
|
22
|
+
findAll(options: Object): Promise<any>;
|
|
23
23
|
};
|
|
24
24
|
DataFlows: {
|
|
25
25
|
db: any;
|
|
26
26
|
tableName: any;
|
|
27
27
|
init(): Promise<any>;
|
|
28
28
|
findByPk(purl: any): Promise<any>;
|
|
29
|
-
findOrCreate(options:
|
|
30
|
-
findAll(options:
|
|
29
|
+
findOrCreate(options: Object): Promise<any>;
|
|
30
|
+
findAll(options: Object): Promise<any>;
|
|
31
31
|
};
|
|
32
|
-
}>;
|
|
32
|
+
} | undefined>;
|
|
33
33
|
export function catalogMavenDeps(dirPath: any, purlsJars: any, Namespaces: any, options?: {}): Promise<void>;
|
|
34
34
|
export function catalogGradleDeps(dirPath: any, purlsJars: any, Namespaces: any): Promise<void>;
|
|
35
35
|
export function createAndStoreSlice(purl: any, purlsJars: any, Usages: any, options?: {}): Promise<any>;
|
|
@@ -52,7 +52,7 @@ export function createSlice(purlOrLanguages: any, filePath: any, sliceType?: str
|
|
|
52
52
|
openapiSpecFile: any;
|
|
53
53
|
semanticsSlicesFile: any;
|
|
54
54
|
}>;
|
|
55
|
-
export function purlToLanguage(purl: any, filePath: any): string;
|
|
55
|
+
export function purlToLanguage(purl: any, filePath: any): string | undefined;
|
|
56
56
|
export function initFromSbom(components: any, language: any): {
|
|
57
57
|
purlLocationMap: {};
|
|
58
58
|
purlImportsMap: {};
|
|
@@ -63,7 +63,7 @@ export function initFromSbom(components: any, language: any): {
|
|
|
63
63
|
* @param {Object} dbObjMap DB and model instances
|
|
64
64
|
* @param {Object} options Command line options
|
|
65
65
|
*/
|
|
66
|
-
export function analyzeProject(dbObjMap:
|
|
66
|
+
export function analyzeProject(dbObjMap: Object, options: Object): Promise<{
|
|
67
67
|
atomFile: any;
|
|
68
68
|
usagesSlicesFile: any;
|
|
69
69
|
dataFlowSlicesFile: any;
|
|
@@ -78,7 +78,7 @@ export function analyzeProject(dbObjMap: any, options: any): Promise<{
|
|
|
78
78
|
cryptoGeneratePurls: {};
|
|
79
79
|
openapiSpecFile: any;
|
|
80
80
|
}>;
|
|
81
|
-
export function parseObjectSlices(language: any, usageSlice: any, dbObjMap: any, servicesMap?: {}, purlLocationMap?: {}, purlImportsMap?: {}, openapiSpecFile?:
|
|
81
|
+
export function parseObjectSlices(language: any, usageSlice: any, dbObjMap: any, servicesMap?: {}, purlLocationMap?: {}, purlImportsMap?: {}, openapiSpecFile?: undefined): Promise<{}>;
|
|
82
82
|
/**
|
|
83
83
|
* The implementation of this function is based on the logic proposed in the atom slices specification
|
|
84
84
|
* https://github.com/AppThreat/atom/blob/main/specification/docs/slices.md#use
|
|
@@ -91,7 +91,7 @@ export function parseObjectSlices(language: any, usageSlice: any, dbObjMap: any,
|
|
|
91
91
|
* @param {Object} purlImportsMap Object to track package urls and their import aliases
|
|
92
92
|
* @returns
|
|
93
93
|
*/
|
|
94
|
-
export function parseSliceUsages(language: string, userDefinedTypesMap:
|
|
94
|
+
export function parseSliceUsages(language: string, userDefinedTypesMap: Object, slice: any[], dbObjMap: Object, purlLocationMap: Object, purlImportsMap: Object): Promise<void>;
|
|
95
95
|
/**
|
|
96
96
|
* Method to parse semantic slice data. Currently supported for swift and scala languages.
|
|
97
97
|
*
|
|
@@ -100,7 +100,7 @@ export function parseSliceUsages(language: string, userDefinedTypesMap: any, sli
|
|
|
100
100
|
* @param {Object} semanticsSlice Semantic slice data
|
|
101
101
|
* @returns {Object} Parsed metadata
|
|
102
102
|
*/
|
|
103
|
-
export function parseSemanticSlices(language: string, components: any[], semanticsSlice:
|
|
103
|
+
export function parseSemanticSlices(language: string, components: any[], semanticsSlice: Object): Object;
|
|
104
104
|
export function isFilterableType(language: any, userDefinedTypesMap: any, typeFullName: any): boolean;
|
|
105
105
|
export function detectServicesFromOpenAPI(_language: any, openapiSpecFile: any, servicesMap: any): void;
|
|
106
106
|
/**
|
|
@@ -110,7 +110,7 @@ export function detectServicesFromOpenAPI(_language: any, openapiSpecFile: any,
|
|
|
110
110
|
* @param {Array} slice Usages array for each objectSlice
|
|
111
111
|
* @param {Object} servicesMap Existing service map
|
|
112
112
|
*/
|
|
113
|
-
export function detectServicesFromUsages(language: string, slice: any[], servicesMap?:
|
|
113
|
+
export function detectServicesFromUsages(language: string, slice: any[], servicesMap?: Object): never[] | undefined;
|
|
114
114
|
/**
|
|
115
115
|
* Method to detect services from user defined types in the usage slice
|
|
116
116
|
*
|
|
@@ -118,7 +118,7 @@ export function detectServicesFromUsages(language: string, slice: any[], service
|
|
|
118
118
|
* @param {Array} userDefinedTypes User defined types
|
|
119
119
|
* @param {Object} servicesMap Existing service map
|
|
120
120
|
*/
|
|
121
|
-
export function detectServicesFromUDT(language: string, userDefinedTypes: any[], servicesMap:
|
|
121
|
+
export function detectServicesFromUDT(language: string, userDefinedTypes: any[], servicesMap: Object): void;
|
|
122
122
|
export function constructServiceName(_language: any, slice: any): string;
|
|
123
123
|
export function extractEndpoints(language: any, code: any): any;
|
|
124
124
|
/**
|
|
@@ -128,7 +128,7 @@ export function extractEndpoints(language: any, code: any): any;
|
|
|
128
128
|
* @param {Object} options Command line options
|
|
129
129
|
* @returns
|
|
130
130
|
*/
|
|
131
|
-
export function createEvinseFile(sliceArtefacts:
|
|
131
|
+
export function createEvinseFile(sliceArtefacts: Object, options: Object): any;
|
|
132
132
|
/**
|
|
133
133
|
* Method to convert dataflow slice into usable callstack frames
|
|
134
134
|
* Implemented based on the logic proposed here - https://github.com/AppThreat/atom/blob/main/specification/docs/slices.md#data-flow-slice
|
|
@@ -140,7 +140,7 @@ export function createEvinseFile(sliceArtefacts: any, options: any): any;
|
|
|
140
140
|
* @param {Object} _purlLocationMap Object to track locations where purls are used
|
|
141
141
|
* @param {Object} purlImportsMap Object to track package urls and their import aliases
|
|
142
142
|
*/
|
|
143
|
-
export function collectDataFlowFrames(language: string, userDefinedTypesMap:
|
|
143
|
+
export function collectDataFlowFrames(language: string, userDefinedTypesMap: Object, dataFlowSlice: Object, dbObjMap: Object, _purlLocationMap: Object, purlImportsMap: Object): Promise<{}>;
|
|
144
144
|
/**
|
|
145
145
|
* Method to convert reachable slice into usable callstack frames and crypto components
|
|
146
146
|
*
|
|
@@ -149,7 +149,7 @@ export function collectDataFlowFrames(language: string, userDefinedTypesMap: any
|
|
|
149
149
|
* @param {string} _language Application language
|
|
150
150
|
* @param {Object} reachablesSlice Reachables slice object from atom
|
|
151
151
|
*/
|
|
152
|
-
export function collectReachableFrames(_language: string, reachablesSlice:
|
|
152
|
+
export function collectReachableFrames(_language: string, reachablesSlice: Object): {
|
|
153
153
|
dataFlowFrames: {};
|
|
154
154
|
cryptoComponents: {
|
|
155
155
|
type: string;
|
|
@@ -177,5 +177,5 @@ export function framePicker(dfFrames: any[]): any;
|
|
|
177
177
|
* @returns Simplified type string
|
|
178
178
|
*/
|
|
179
179
|
export function simplifyType(typeFullName: string): string;
|
|
180
|
-
export function getClassTypeFromSignature(language: any, typeFullName: any): string;
|
|
180
|
+
export function getClassTypeFromSignature(language: any, typeFullName: any): string | undefined;
|
|
181
181
|
//# sourceMappingURL=evinser.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"evinser.d.ts","sourceRoot":"","sources":["../../../lib/evinser/evinser.js"],"names":[],"mappings":"AA6BA;;;;GAIG;AACH;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"evinser.d.ts","sourceRoot":"","sources":["../../../lib/evinser/evinser.js"],"names":[],"mappings":"AA6BA;;;;GAIG;AACH,mCAFW,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;eAmEhB;AAED,6GAiDC;AAED,gGAkCC;AAED,wGAqBC;AAED;;;;;;;;;;;;;;;;;;GAuKC;AAED,6EAuBC;AAED;;;EA8BC;AAcD;;;;;GAKG;AACH,yCAHW,MAAM,WACN,MAAM;;;;;;;;;;;;;;GA4KhB;AAED,wLA+DC;AAED;;;;;;;;;;;GAWG;AACH,2CARW,MAAM,uBACN,MAAM,0BAEN,MAAM,mBACN,MAAM,kBACN,MAAM,iBAqOhB;AAED;;;;;;;GAOG;AACH,yFAHW,MAAM,GACJ,MAAM,CAiGlB;AAyBD,sGAyEC;AAED,wGAmCC;AAED;;;;;;GAMG;AACH,mDAJW,MAAM,8BAEN,MAAM,uBA6DhB;AAED;;;;;;GAMG;AACH,gDAJW,MAAM,wCAEN,MAAM,QAkDhB;AAED,yEAWC;AAED,gEAsFC;AAED;;;;;;GAMG;AACH,iDAJW,MAAM,WACN,MAAM,OA2KhB;AAED;;;;;;;;;;GAUG;AACH,gDAPW,MAAM,uBACN,MAAM,iBACN,MAAM,YACN,MAAM,oBACN,MAAM,kBACN,MAAM,eAoHhB;AAED;;;;;;;GAOG;AACH,kDAHW,MAAM,mBACN,MAAM;;;;;;;;;;;;;EA4FhB;AAED;;;;;GAKG;AACH,kDAaC;AAED;;;;;GAKG;AACH,2CAHW,MAAM,UAKhB;AAED,gGAiDC"}
|
|
@@ -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"}
|