knip
6.48.0 · 22 Nov 2026ISC34.2M / weekRepositoryHomepagenpmAtom feed
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
mainrelative to its config fileEdit readme + contributing docs
Ignore OpenSSH client tools as global binaries
Pin query ecosystem test
Follow the wrapped command for the
dotenv-clibinary nameFollow the command wrapped by
dotenv runKeep 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/sveltekitFollow the command wrapped by
doppler runandinfisical runFollow the
--commandofdoppler runandinfisical runRead each value of a repeated
configargumentNormalize Vite rollup input paths on Windows
Read entries from
rolldownOptionsin the electron-vite pluginAdd 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 -xHandle
--configin the Rspack pluginHandle
--configin the Tailwind pluginRead the knexfile passed with
--knexfileHandle
--optionsin the TypeDoc pluginRead the config passed to
karma startResolve plugins passed with
prettier --pluginResolve Prisma
schemarelative to its config fileMatch directory paths literally (e.g.
c++)Report exports named after
Object.prototypemembers- Removed
Remove the comma after unused
module.exportsproperties in--fix Replace config files atomically in CLI watch test
Strip inline comments and whitespace from CODEOWNERS rules
Follow commands run by
pnpmwithoutexecRead the config passed to
wdio runAdd electron-builder plugin
Treat
import('./mod').Ain types as a named importTreat namespace imports in
export default { ns }andreturn nsas usedTrack 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 dlxandpnpxFollow the command wrapped by
nycFollow the shell command wrapped by
cross-env-shellFollow the command wrapped by
env-cmdwithout--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 dlxand parse thecdk --appcommand 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
fromArgsoptions in getScriptCommandsRemove 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.