snyk-docker-plugin
Version:
Snyk CLI docker plugin
6 lines (5 loc) • 516 B
TypeScript
import { NodeLockfileVersion } from "snyk-nodejs-lockfile-parser";
import { AppDepsScanResultWithoutTarget, FilePathToContent } from "./types";
export declare function nodeFilesToScannedProjects(filePathToContent: FilePathToContent, shouldIncludeNodeModules: boolean): Promise<AppDepsScanResultWithoutTarget[]>;
export declare function getLockFileVersion(lockFilePath: string, lockFileContents: string): NodeLockfileVersion;
export declare function shouldBuildDepTree(lockfileVersion: NodeLockfileVersion): boolean;