Packages

knip

6.48.0 · 22 Nov 2026ISC34.2M / weekRepositoryHomepagenpmAtom feed

Your version

6.14.0

15 May 2026Where it was published

6.48.0 is the newest release of 6.x.

In short

2 new2 fixed16 changed

Release note

  • Resolve imports satisfied via transitive peerDeps

  • Don't flag undeclared sibling workspace imports as unlisted

  • Update github-actions reporter snapshots

  • Cache syncGlob() results like defaultGlob() does

  • Trim redundant statSync calls in FileEntryCache

  • Cache parsed .gitignore patterns across --cache runs

  • Tighten cache module callsites

  • Extract shared disk-cache helper used by glob and gitignore caches

  • Simplify CacheConsultant: Replace trampoline with default arrow methods

  • Pin pnpm minimumReleaseAge and trustPolicy

  • Eliminate rescanFrontier polling in walkAndAnalyze

  • Reduce findWorkspaceByFilePath per-call overhead

  • Memoize DependencyDeputy.getDependencies

  • Tighten module-graph map helpers (drop double-lookup + optional chains)

  • Add --duration flag for zero-overhead duration measurement

  • Cover analysis pipeline with --performance timerify

  • Align --help text

  • Add cli arg shorthands: -p, -s, -w, -D, -f, -F, -u

  • Format

  • This one's okay

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.