Packages

knip

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

Your version

6.46.0

18 Nov 2026Where it was published

6.48.0 is the newest release of 6.x.

In short

25 new33 fixed12 internal

Release note

  • Add @konhi as a sponsor (thank you!)

  • Report duplicate exports of default-only exports and in any declaration order

  • Resolve Wrangler main relative to its config file

  • Edit readme + contributing docs

  • Ignore OpenSSH client tools as global binaries

  • Pin query ecosystem test

  • Follow the wrapped command for the dotenv-cli binary name

  • Follow the command wrapped by dotenv run

  • Keep positions of dynamic args in child process argument arrays

  • Simplify plugin input helpers

  • Add Rslint plugin

  • Ignore Babel plugins already resolved into node_modules as unlisted

  • Find Babel plugins in parser options of ESLint flat configs

  • Add Ember plugin

  • Add ember-template-lint plugin

  • Detect SvelteKit behind withPwa() from @vite-pwa/sveltekit

  • Follow the command wrapped by doppler run and infisical run

  • Follow the --command of doppler run and infisical run

  • Read each value of a repeated config argument

  • Normalize Vite rollup input paths on Windows

  • Read entries from rolldownOptions in the electron-vite plugin

  • Add valueless Node.js flags and reuse them for tsx

  • Resolve ts-node scripts behind boolean flags and in ts-node-esm

  • Follow the command passed to nodemon -x

  • Handle --config in the Rspack plugin

  • Handle --config in the Tailwind plugin

  • Read the knexfile passed with --knexfile

  • Handle --options in the TypeDoc plugin

  • Read the config passed to karma start

  • Resolve plugins passed with prettier --plugin

  • Resolve Prisma schema relative to its config file

  • Match directory paths literally (e.g. c++)

  • Report exports named after Object.prototype members

  • Removed

    Remove the comma after unused module.exports properties in --fix

  • Replace config files atomically in CLI watch test

  • Strip inline comments and whitespace from CODEOWNERS rules

  • Follow commands run by pnpm without exec

  • Read the config passed to wdio run

  • Add electron-builder plugin

  • Treat import('./mod').A in types as a named import

  • Treat namespace imports in export default { ns } and return ns as used

  • Track rest elements of destructured dynamic imports

  • Locate package.json dependencies by key instead of by line

  • Keep the child's argument separator behind end-of-command wrappers

  • Follow the command run by pnpm dlx and pnpx

  • Follow the command wrapped by nyc

  • Follow the shell command wrapped by cross-env-shell

  • Follow the command wrapped by env-cmd without --

  • Stop parsing node, tsx and ts-node options at the script

  • Forward wrapped commands verbatim and let each command handle --

  • Locate a wrapped command by its position, not its value

  • Keep the child arguments of env-cmd and quote cross-env assignments exactly

  • Forward the executable of pnpm dlx and parse the cdk --app command as shell text

  • Removed

    Remove plugin argument declarations that match the parser default

  • Remove the redundant binary name guard from forwarded commands

  • Unwrap the commands of fallback wrappers and fromArgs options in getScriptCommands

  • Remove invented quoting and substitution cases from the forwarding tests

  • Follow the command after env-cmd -e <env> without --

  • Recognize desktop system commands as global binaries

  • Discover auto-linked Capacitor plugins from package metadata

  • Add Maestro plugin

  • Keep development files that production code imports in the production graph

  • Update prose formatting presets

  • Document evidence and boundaries for script parsing

  • Hint plain patterns that repeat a production pattern

  • Reuse committed fixtures in server and end-to-end tests

  • Replace generated test inputs with shared committed fixtures

  • HTML validation: fix whitespace handling in URLs

  • Apply top-level ignores when the root workspace is ignored

  • Keep the file a subpath import pattern resolves to out of entry files

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.