UNPKG

snyk-nodejs-lockfile-parser

Version:
6 lines (5 loc) 385 B
import { structUtils } from '@yarnpkg/core'; export type ParseDescriptor = typeof structUtils.parseDescriptor; export type ParseRange = typeof structUtils.parseRange; export type YarnLockFileKeyNormalizer = (fullDescriptor: string) => Set<string>; export declare const yarnLockFileKeyNormalizer: (parseDescriptor: ParseDescriptor, parseRange: ParseRange) => YarnLockFileKeyNormalizer;