dcdx 1.3.0-next.63 → 1.3.0-next.64
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 +7 -2
- package/lib/index.js +1 -1
- package/lib/types/src/types/DCAPT.d.ts +8 -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.64";
|
|
7
7
|
|
|
8
8
|
const toAbsolutePath = (relativePath) => {
|
|
9
9
|
const [, filePath] = process.argv;
|
|
@@ -547,18 +547,21 @@ export declare const APTSCAArgs: z.ZodObject<{
|
|
|
547
547
|
archive: z.ZodOptional<z.ZodString>;
|
|
548
548
|
nvdApiKey: z.ZodString;
|
|
549
549
|
dataDir: z.ZodOptional<z.ZodString>;
|
|
550
|
+
failOnError: z.ZodOptional<z.ZodBoolean>;
|
|
550
551
|
}, "strip", z.ZodTypeAny, {
|
|
551
552
|
nvdApiKey: string;
|
|
552
553
|
outputDir?: string | undefined;
|
|
553
554
|
appKey?: string | undefined;
|
|
554
555
|
archive?: string | undefined;
|
|
555
556
|
dataDir?: string | undefined;
|
|
557
|
+
failOnError?: boolean | undefined;
|
|
556
558
|
}, {
|
|
557
559
|
nvdApiKey: string;
|
|
558
560
|
outputDir?: string | undefined;
|
|
559
561
|
appKey?: string | undefined;
|
|
560
562
|
archive?: string | undefined;
|
|
561
563
|
dataDir?: string | undefined;
|
|
564
|
+
failOnError?: boolean | undefined;
|
|
562
565
|
}>;
|
|
563
566
|
export declare const APTSCAOptions: z.ZodEffects<z.ZodObject<{
|
|
564
567
|
outputDir: z.ZodString;
|
|
@@ -566,27 +569,32 @@ export declare const APTSCAOptions: z.ZodEffects<z.ZodObject<{
|
|
|
566
569
|
archive: z.ZodOptional<z.ZodString>;
|
|
567
570
|
nvdApiKey: z.ZodString;
|
|
568
571
|
dataDir: z.ZodOptional<z.ZodString>;
|
|
572
|
+
failOnError: z.ZodBoolean;
|
|
569
573
|
}, "strip", z.ZodTypeAny, {
|
|
570
574
|
outputDir: string;
|
|
571
575
|
nvdApiKey: string;
|
|
576
|
+
failOnError: boolean;
|
|
572
577
|
appKey?: string | undefined;
|
|
573
578
|
archive?: string | undefined;
|
|
574
579
|
dataDir?: string | undefined;
|
|
575
580
|
}, {
|
|
576
581
|
outputDir: string;
|
|
577
582
|
nvdApiKey: string;
|
|
583
|
+
failOnError: boolean;
|
|
578
584
|
appKey?: string | undefined;
|
|
579
585
|
archive?: string | undefined;
|
|
580
586
|
dataDir?: string | undefined;
|
|
581
587
|
}>, {
|
|
582
588
|
outputDir: string;
|
|
583
589
|
nvdApiKey: string;
|
|
590
|
+
failOnError: boolean;
|
|
584
591
|
appKey?: string | undefined;
|
|
585
592
|
archive?: string | undefined;
|
|
586
593
|
dataDir?: string | undefined;
|
|
587
594
|
}, {
|
|
588
595
|
outputDir: string;
|
|
589
596
|
nvdApiKey: string;
|
|
597
|
+
failOnError: boolean;
|
|
590
598
|
appKey?: string | undefined;
|
|
591
599
|
archive?: string | undefined;
|
|
592
600
|
dataDir?: string | undefined;
|