1 | import { structUtils } from '@yarnpkg/core';
|
2 | import { NormalisedPkgs } from '../types';
|
3 | import { PkgNode } from '../util';
|
4 | export declare type ParseDescriptor = typeof structUtils.parseDescriptor;
|
5 | export declare type ParseRange = typeof structUtils.parseRange;
|
6 | export declare type YarnLockFileKeyNormalizer = (fullDescriptor: string) => Set<string>;
|
7 | export declare const yarnLockFileKeyNormalizer: (parseDescriptor: ParseDescriptor, parseRange: ParseRange) => YarnLockFileKeyNormalizer;
|
8 | export declare const getYarnLockV2ChildNode: (name: string, depInfo: {
|
9 | version: string;
|
10 | isDev: boolean;
|
11 | }, pkgs: NormalisedPkgs, strictOutOfSync: boolean, includeOptionalDeps: boolean, resolutions: Record<string, string>, parentNode: PkgNode) => {
|
12 | id: string;
|
13 | name: string;
|
14 | version: string;
|
15 | dependencies: {
|
16 | [x: string]: {
|
17 | version: string;
|
18 | isDev: boolean;
|
19 | };
|
20 | };
|
21 | isDev: boolean;
|
22 | missingLockFileEntry?: undefined;
|
23 | } | {
|
24 | id: string;
|
25 | name: string;
|
26 | version: string;
|
27 | dependencies: {};
|
28 | isDev: boolean;
|
29 | missingLockFileEntry: boolean;
|
30 | };
|