UNPKG

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