UNPKG

726 BTypeScriptView Raw
1import { ParsedDepPath, PnpmDeps, PnpmImporters } from '../types';
2import { PnpmLockfileParser } from './lockfile-parser';
3import { PnpmWorkspaceArgs } from '../../types';
4export declare class LockfileV5Parser extends PnpmLockfileParser {
5 constructor(rawPnpmLock: any, workspaceArgs?: PnpmWorkspaceArgs);
6 parseDepPath(depPath: string): ParsedDepPath;
7 normalizeTopLevelDeps(dependencies: Record<string, string>, isDev: boolean, importerName?: string): PnpmDeps;
8 normalizePackagesDeps(dependencies: Record<string, string>, isDev: boolean, importerName?: string): Record<string, string>;
9 excludeTransPeerDepsVersions(fullVersionStr: string): string;
10 normaliseImporters(rawPnpmLock: any): PnpmImporters;
11}