UNPKG

snyk-nodejs-lockfile-parser

Version:
28 lines (27 loc) 635 B
export interface FormattedCliOutput { topLevelDeps: string[]; dependencies: FlatDependenciesMap; } export declare type FlatDependenciesMap = Map<string, string[]>; export declare type YarnInfoOutput = Array<{ value: string; children: { Version: string; Dependents?: string[]; Dependencies?: { descriptor: string; locator: string; }[]; }; }>; export interface YarnListTree { name: string; children: { name: string; color: string; shadow: boolean; }[]; hint: string | null; color: string | null; depth: number; }