auditjs
Version:
Audit dependencies to identify known vulnerabilities and maintenance problems
45 lines (44 loc) • 1.22 kB
TypeScript
export interface CliArgs {
_: (string | number)[];
user?: string;
password?: string;
token?: string;
server?: string;
host?: string;
quiet?: boolean;
json?: boolean;
xml?: boolean;
allowlist?: string;
whitelist?: string;
cache?: string;
application?: string;
stage?: string;
timeout?: number;
insecure?: boolean;
dev?: boolean;
recommend?: boolean;
}
export declare class Application {
readonly devDependency: boolean;
readonly silent: boolean;
readonly artie: boolean;
readonly allen: boolean;
readonly scanBower: boolean;
private results;
private sbom;
private muncher;
private spinner;
constructor(devDependency?: boolean, silent?: boolean, artie?: boolean, allen?: boolean, scanBower?: boolean);
startApplication(args: CliArgs): Promise<void>;
private printHeader;
private doPrintHeader;
private populateCoordinates;
private populateCoordinatesForIQ;
private auditWithOSSIndex;
private auditWithGuide;
private printRecommendations;
private auditWithIQ;
private getOssIndexRequestService;
private getGuideRequestService;
private getIqRequestService;
}