UNPKG

yarn-audit-fix

Version:
7 lines (6 loc) 515 B
import { TAuditReport, TFlags, TLockfileEntry, TLockfileObject } from '../ifaces'; export declare const parse: (raw: string) => TLockfileObject; export declare const patchEntry: (entry: TLockfileEntry, name: string, newVersion: string, npmBin: string) => TLockfileEntry; export declare const format: (lockfile: TLockfileObject) => string; export declare const audit: (flags: TFlags, temp: string, bins: Record<string, string>) => TAuditReport; export declare const parseAuditReport: (data: string) => TAuditReport;