snyk-nodejs-lockfile-parser
Version:
Generate a dep tree given a lockfile
5 lines (4 loc) • 382 B
TypeScript
import type { PnpmProjectParseOptions } from '../types';
import type { PackageJsonBase } from '../types';
import { PnpmLockfileParser } from './lockfile-parser/lockfile-parser';
export declare const buildDepGraphPnpm: (lockFileParser: PnpmLockfileParser, pkgJson: PackageJsonBase, options: PnpmProjectParseOptions, importer?: string) => Promise<import("@snyk/dep-graph").DepGraph>;