src/main/ts/lockfile/v2.ts
Function format
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export const format = (lockfile: TLockfileObject): string => {
const keymap = Object.entries(lockfile).reduce<Record<string, any>>(
(m, [k, { resolution }]) => {
const entry = m[resolution] || (m[resolution] = [])
entry.push(k)
Function audit
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export const audit = (
flags: TFlags,
temp: string,
bins: Record<string, string>,
): TAuditReport => {