snyk-nodejs-lockfile-parser
Version:
Generate a dep tree given a lockfile
7 lines (6 loc) • 343 B
TypeScript
import { NormalisedPkgs } from '../types';
import { PkgNode } from '../util';
export declare const getChildNodeYarnLockV1Workspace: (name: string, depInfo: {
version: string;
isDev: boolean;
}, workspacePkgNameToVersion: Record<string, string>, pkgs: NormalisedPkgs, strictOutOfSync: boolean, includeOptionalDeps: boolean) => PkgNode;