snyk-nodejs-lockfile-parser
Version:
Generate a dep tree given a lockfile
23 lines (22 loc) • 521 B
TypeScript
import { LockfileType } from '../parsers';
export declare const LOCK_FILE_NAME: {
npm: string;
npm7: string;
yarn: string;
yarn2: string;
pnpm: string;
};
export declare const INSTALL_COMMAND: {
npm: string;
npm7: string;
yarn: string;
yarn2: string;
pnpm: string;
};
export declare class OutOfSyncError extends Error {
code: number;
name: string;
dependencyName: string;
lockFileType: string;
constructor(dependencyName: string, lockFileType: LockfileType);
}