snyk-nodejs-lockfile-parser
Version:
Generate a dep tree given a lockfile
4 lines (3 loc) • 402 B
TypeScript
import type { YarnLockV2ProjectParseOptions, YarnLockV2WorkspaceArgs } from '../types';
import type { NormalisedPkgs, PackageJsonBase } from '../types';
export declare const buildDepGraphYarnLockV2Simple: (extractedYarnLockV2Pkgs: NormalisedPkgs, pkgJson: PackageJsonBase, options: YarnLockV2ProjectParseOptions, workspaceArgs?: YarnLockV2WorkspaceArgs) => Promise<import("@snyk/dep-graph").DepGraph>;