dcdx 1.3.0-next.40 → 1.3.0-next.41
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/lib/commands/apt.js +9 -2
- package/lib/index.js +1 -1
- package/lib/types/src/types/DCAPT.d.ts +7 -1
- 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.41";
|
|
7
7
|
|
|
8
8
|
const toAbsolutePath = (relativePath) => {
|
|
9
9
|
const [, filePath] = process.argv;
|
|
@@ -405,27 +405,33 @@ export declare const APTSCAArgs: z.ZodObject<{
|
|
|
405
405
|
appKey: z.ZodString;
|
|
406
406
|
outputDir: z.ZodOptional<z.ZodString>;
|
|
407
407
|
nvdApiKey: z.ZodString;
|
|
408
|
+
dataDir: z.ZodOptional<z.ZodString>;
|
|
408
409
|
}, "strip", z.ZodTypeAny, {
|
|
409
410
|
appKey: string;
|
|
410
411
|
nvdApiKey: string;
|
|
411
412
|
outputDir?: string | undefined;
|
|
413
|
+
dataDir?: string | undefined;
|
|
412
414
|
}, {
|
|
413
415
|
appKey: string;
|
|
414
416
|
nvdApiKey: string;
|
|
415
417
|
outputDir?: string | undefined;
|
|
418
|
+
dataDir?: string | undefined;
|
|
416
419
|
}>;
|
|
417
420
|
export declare const APTSCAOptions: z.ZodObject<{
|
|
418
|
-
nvdApiKey: z.ZodString;
|
|
419
421
|
appKey: z.ZodString;
|
|
420
422
|
outputDir: z.ZodString;
|
|
423
|
+
nvdApiKey: z.ZodString;
|
|
424
|
+
dataDir: z.ZodOptional<z.ZodString>;
|
|
421
425
|
}, "strip", z.ZodTypeAny, {
|
|
422
426
|
appKey: string;
|
|
423
427
|
outputDir: string;
|
|
424
428
|
nvdApiKey: string;
|
|
429
|
+
dataDir?: string | undefined;
|
|
425
430
|
}, {
|
|
426
431
|
appKey: string;
|
|
427
432
|
outputDir: string;
|
|
428
433
|
nvdApiKey: string;
|
|
434
|
+
dataDir?: string | undefined;
|
|
429
435
|
}>;
|
|
430
436
|
export declare const APTArgs: z.ZodIntersection<z.ZodObject<{
|
|
431
437
|
cwd: z.ZodString;
|