snyk
Version:
snyk library and cli utility
29 lines (28 loc) • 764 B
TypeScript
import { CallPath, LegalInstruction, REACHABILITY, SEVERITY } from '../../lib/snyk-test/legacy';
export interface SampleReachablePaths {
pathCount: number;
paths: CallPath[];
}
export interface BasicVulnInfo {
type: string;
title: string;
severity: SEVERITY;
originalSeverity?: SEVERITY;
isNew: boolean;
name: string;
version: string;
fixedIn: string[];
legalInstructions?: LegalInstruction[];
paths: string[][];
note: string | false;
reachability?: REACHABILITY;
sampleReachablePaths?: SampleReachablePaths;
}
interface TopLevelPackageUpgrade {
name: string;
version: string;
}
export interface UpgradesByAffectedPackage {
[pkgNameAndVersion: string]: TopLevelPackageUpgrade[];
}
export {};