Packages

knip

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

Your version

6.43.0

24 Oct 2026Where it was published

6.48.0 is the newest release of 6.x.

In short

11 new1 faster19 fixed5 internal

Release note

  • Document and pin exports that only keep each other alive

  • Don't add config files without an extension as entry files (resolve #2168)

  • Recognize unscoped ~name workspace packages (resolve #2172)

  • Follow imports and re-exports in ambient modules (resolve #2174)

  • Follow @reference in Tailwind CSS compiler

  • Support { find, replacement } array form of Vite alias

  • expo: Treat local config plugins as entry files

  • next: Detect Turbopack loaders in shared config factories

  • Ignore osascript as global binary

  • Skip --fix for exports in multi-declarator variable statements

  • Watch the project directory instead of process.cwd()

  • Follow directory paths in tsconfig references

  • Handle @plugin options blocks in Tailwind CSS compiler

  • Remove anonymous default-exported functions and classes in --fix

  • Recognize bun fmt as a built-in command

  • Add plugin for @bufbuild/buf

  • Pass isSsrBuild to Vite config functions

  • Follow src of <script> and <style> blocks in Vue SFCs

  • Removed

    Remove import attributes with emptied re-exports in --fix

  • Update npmx.dev snapshot

  • Read string parserOptions.parser in ESLint flat configs

  • Resolve directory matches in Vitest test.projects to their config

  • Ignore custom elements named script-* when extracting script blocks

  • mcp: Add MCP plugin

  • Handle non-Error plugin config failures

  • Update articles list

  • Skip --fix export ranges inside a larger removal

  • Detect .travis.yml with a stat instead of a glob

  • Mark YAML catalog entries fixed only when their line is removed

  • Add Electron Forge plugin

  • Resolve function and promise entries in Vitest test.projects

  • Follow npm lifecycle scripts and run-script aliases

  • Follow pnpm t, tst and run-script aliases

  • Treat vitest-environment-nuxt as optional (it comes with @nuxt/test-utils)

  • Ignore tool output before the first report section in ecosystem snapshots

  • Bump engines.node to follow Astro's

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.