knip
6.48.0 · 22 Nov 2026ISC34.2M / weekRepositoryHomepagenpmAtom feed
6.48.0 is the newest release of 6.x.
In short
12 new3 faster38 fixed16 internal
Release note
Clarify that custom
entrystill adds entry files from package.jsonResolve expanded package scripts against the directory of their manifest
Track exports through namespace member chains of any depth
Do not treat Windows drive letters as package names
Generate built-in compilers list from source
Update to pnpm@^11 + pnpm dedupe
Stop growing and rewriting the analysis cache on warm runs (close #2213)
Use
entryin plugins that do not resolve their config filesReuse graph reachability for incremental sessions
Reload discovered configuration in watch sessions
Keep editor sessions and views current
Add Lingui plugin
Read CSpell configuration from package.json
Ignore file discovery order in session configuration test
Fix strict mode for caught optional peer imports
Add kysely-codegen plugin
Add PurgeCSS plugin
Document plugin args and path bases, issue key order and real-world fixes
Add Mastra plugin
Count
findPackageJSON()bare specifiers as dependenciesAdd universal hooks file to SvelteKit entries
Attribute extended tsconfig plugins correctly
Resolve
reporterin the Mocha pluginRead nyc.config.cjs and nyc.config.mjs in the nyc plugin
Read hidden .biome.json and .biome.jsonc in the Biome plugin
Narrow Remix plugin enabler to @remix-run/dev
Document alsoReferenceOwner on Input
Document path bases and the dir option per input type
Emit the Gatsby production entries from resolveConfig
Emit the TanStack Router entry files from resolveConfig
Discover Marko tag files when only marko-tag.json files exist
Remove the static public/sw.js production entry from the vite-plugin-pwa plugin
Keep absolute
build.lib.entrypaths in the Vitest pluginResolve Vite alias targets from the workspace without prefixing absolute paths
Keep absolute
testDirpaths in the Playwright pluginKeep absolute
storiespaths in the Storybook pluginResolve an absolute
basePathin the Karma pluginKeep absolute local plugin paths in the Docusaurus plugin
Keep absolute local plugin paths in the Serverless Framework plugin
Resolve Nx
run-commandscwd from the workspace rootResolve package specifiers in Marko tag definitions
Keep absolute include paths in the Taskfile plugin
Resolve Lefthook
rootfrom the repository rootPass specifiers with
dirinstead of absolutizing them in the webpack, Nx and textlint pluginsDrop redundant
relativecalls on entry patterns in the rstest and Marko pluginsUse
toAbsolutein the Jasmine, Lunaria and electron-vite pluginsMark inputs from the start script as production
Mark inputs from scripts in production files as production
Apply directory gitignore patterns to static-only globs
Glob plugin config files once per workspace
Resolve Mocha
requireandfilefrom the working directoryCover the owning workspace of
jsxImportSourcein the tsconfig plugins testList
nyc.config.{js,cjs,mjs}in the nyc plugin exampleFold agent lessons into the tracked guides
Ignore development script inputs that the start script repeats in production mode
Resolve Taskfile script entry patterns from the workspace directory
Resolve plugin entry patterns from
dirAdd GitHub Actions
working-directoryfixtures for mocha spec patternsPin the scope of negations and workspace exclusions for plugin entry patterns with
dirParse GitHub Actions step scripts against their working directory
Parse MCP server commands against their
cwdLet core resolve script entries from
dirin the Playwright, Railway and mise pluginsAdd --output-file option to write reporter output to a file
Treat packageExtensions peers as optional
Support pnpm workspace config includes
Detect SWC plugins in options set directly on a webpack rule
Escape pipes in symbols in the markdown reporter
More than two hundred plugins
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.