UNPKG

yarn-audit-fix

Version:
8 lines (7 loc) 581 B
import { SpawnSyncReturns } from 'node:child_process'; import { TAuditReport, TFlags, TLockfileEntry, TLockfileObject } from '../ifaces'; export declare const parse: (raw: string) => TLockfileObject; export declare const patchEntry: (entry: TLockfileEntry, name: string, newVersion: 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 | SpawnSyncReturns<Buffer>) => TAuditReport;