Packages

knip

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

Your version

5.84.0

18 Feb 2026Where it was published

5.88.1 is the newest release of 5.x.

In short

16 new7 fixed34 changed1 internal

Release note

  • Post-release shenanigans

  • Move most compilers to plugins & register from there

  • Minor refactor

  • Fix lint issues

  • Add missing catalog property to rules in JSON schema

  • plugins: Add @typescript/native-preview (tsgo) support

  • Fix up quoting for spaced args (resolve #1515)

  • Switch to tsconfig-aware module resolver in input handler

  • Use bun test positionals as entry points (resolve #1521)

  • Edit docs

  • Minor refactor while at it

  • Add config hints for unused ignore and ignoreFiles items

  • Accept known bins only behind double-dash (resolve #1524)

  • plugins: Add support for bun test preloaded files

  • Add date to IGNORED_GLOBAL_BINARIES

  • Fix edge case for binaries in scripts

  • Report ignore/files config hints only if sure & relevant

  • Add consistent repository fields

  • Add language-server bin

  • Use --stdio if no transport provided

  • Refactor from "enabled" to "deferSession" (resolve #1499)

  • Use initializationOptions.config or default fallback config obj (resolve #1503)

  • Also publish ls + mcp with pkg-pr-new

  • Auto-format

  • Remove chdir shenanigans (close #1516)

  • Bind console.* to distinguish internal↔ external logs

  • Add early bail-outs for changed files we can ignore

  • Avoid unnecessary module graph updates for unmodified files

  • Add .DS_Store to .gitignore

  • Ignore RNC CLI and metro internals in react-native projects

  • Support nested _generated dirs in Convex plugin

  • Housekeep cli help output

  • Fix up gitignore test

  • Introduce isFilterTransitiveDependencies flag (close #1507, close #1101)

  • Housekeep webpack plugin

  • Move up plugin.setup & tear down plugin.teardown

  • Skip config file loading if only external re-exports

  • Improve & optimize ignore pattern handling

  • Housekeep compiler registration

  • Edit docs re. config file location

  • Register visitors from plugins

  • importMetaGlobCall visitor for Vite plugin

  • Extend registerVisitors with script visitor support

  • Move execa script visitor to execa plugin

  • Move zx script visitor to zx plugin

  • Add require.context visitor to webpack plugin

  • Add module.register() visitor for Node.js loader API (resolve #1535)

  • Add .DS_Store in fixtures to .gitignore

  • Mention that depcheck recommends knip

  • Remove @source matcher from tailwind plugin (resolve #1537)

  • Fix -w → -W flag for Yarn

  • Update AGENTS.md

  • Extract and extend react-native plugin

  • Add pm2 plugin

  • Fix Yarn (Berry) plugins and binaries reported as unused

  • Update docs

  • Minor refactor while at it

  • Add @knip/create-config to release script

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.