dcdx 1.3.0-next.37 → 1.3.0-next.39
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/assets/versions.json +1 -1
- package/lib/commands/apt.js +1031 -939
- package/lib/commands/build.js +942 -938
- package/lib/commands/database.js +942 -938
- package/lib/commands/debug.js +942 -938
- package/lib/commands/install.js +942 -938
- package/lib/commands/reset.js +942 -938
- package/lib/commands/run.js +942 -938
- package/lib/commands/stop.js +942 -938
- package/lib/commands/update.js +942 -938
- package/lib/index.js +1 -1
- package/lib/types/src/apt/helpers/generateSCAReport.d.ts +2 -0
- package/lib/types/src/types/DCAPT.d.ts +28 -0
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -3,7 +3,7 @@ import { program } from 'commander';
|
|
|
3
3
|
import { realpathSync, existsSync } from 'fs';
|
|
4
4
|
import { dirname, join } from 'path';
|
|
5
5
|
|
|
6
|
-
var version = "1.3.0-next.
|
|
6
|
+
var version = "1.3.0-next.39";
|
|
7
7
|
|
|
8
8
|
const toAbsolutePath = (relativePath) => {
|
|
9
9
|
const [, filePath] = process.argv;
|
|
@@ -401,6 +401,32 @@ export declare const APTDependencyTreeOptions: z.ZodObject<{
|
|
|
401
401
|
appKey: string;
|
|
402
402
|
outputFile: string;
|
|
403
403
|
}>;
|
|
404
|
+
export declare const APTSCAArgs: z.ZodObject<{
|
|
405
|
+
appKey: z.ZodString;
|
|
406
|
+
outputDir: z.ZodOptional<z.ZodString>;
|
|
407
|
+
nvdApiKey: z.ZodString;
|
|
408
|
+
}, "strip", z.ZodTypeAny, {
|
|
409
|
+
appKey: string;
|
|
410
|
+
nvdApiKey: string;
|
|
411
|
+
outputDir?: string | undefined;
|
|
412
|
+
}, {
|
|
413
|
+
appKey: string;
|
|
414
|
+
nvdApiKey: string;
|
|
415
|
+
outputDir?: string | undefined;
|
|
416
|
+
}>;
|
|
417
|
+
export declare const APTSCAOptions: z.ZodObject<{
|
|
418
|
+
nvdApiKey: z.ZodString;
|
|
419
|
+
appKey: z.ZodString;
|
|
420
|
+
outputDir: z.ZodString;
|
|
421
|
+
}, "strip", z.ZodTypeAny, {
|
|
422
|
+
appKey: string;
|
|
423
|
+
outputDir: string;
|
|
424
|
+
nvdApiKey: string;
|
|
425
|
+
}, {
|
|
426
|
+
appKey: string;
|
|
427
|
+
outputDir: string;
|
|
428
|
+
nvdApiKey: string;
|
|
429
|
+
}>;
|
|
404
430
|
export declare const APTArgs: z.ZodIntersection<z.ZodObject<{
|
|
405
431
|
cwd: z.ZodString;
|
|
406
432
|
product: z.ZodEnum<["jira", "confluence", "bitbucket", "bamboo"]>;
|
|
@@ -481,3 +507,5 @@ export type TTestResults = z.infer<typeof TestResults>;
|
|
|
481
507
|
export type TReportTypes = z.infer<typeof ReportTypes>;
|
|
482
508
|
export type TAPTDependencyTreeArgs = z.infer<typeof APTDependencyTreeArgs>;
|
|
483
509
|
export type TAPTDependencyTreeOptions = z.infer<typeof APTDependencyTreeOptions>;
|
|
510
|
+
export type TAPTSCAArgs = z.infer<typeof APTSCAArgs>;
|
|
511
|
+
export type TAPTSCAOptions = z.infer<typeof APTSCAOptions>;
|