UNPKG

snyk-docker-plugin

Version:
6 lines (5 loc) 516 B
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;