Packages

knip

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

Your version

6.44.0

29 Oct 2026Where it was published

6.48.0 is the newest release of 6.x.

In short

12 new3 faster38 fixed16 internal

Release note

  • Clarify that custom entry still adds entry files from package.json

  • Resolve 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 entry in plugins that do not resolve their config files

  • Reuse 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 dependencies

  • Add universal hooks file to SvelteKit entries

  • Attribute extended tsconfig plugins correctly

  • Resolve reporter in the Mocha plugin

  • Read 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.entry paths in the Vitest plugin

  • Resolve Vite alias targets from the workspace without prefixing absolute paths

  • Keep absolute testDir paths in the Playwright plugin

  • Keep absolute stories paths in the Storybook plugin

  • Resolve an absolute basePath in the Karma plugin

  • Keep absolute local plugin paths in the Docusaurus plugin

  • Keep absolute local plugin paths in the Serverless Framework plugin

  • Resolve Nx run-commands cwd from the workspace root

  • Resolve package specifiers in Marko tag definitions

  • Keep absolute include paths in the Taskfile plugin

  • Resolve Lefthook root from the repository root

  • Pass specifiers with dir instead of absolutizing them in the webpack, Nx and textlint plugins

  • Drop redundant relative calls on entry patterns in the rstest and Marko plugins

  • Use toAbsolute in the Jasmine, Lunaria and electron-vite plugins

  • Mark 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 require and file from the working directory

  • Cover the owning workspace of jsxImportSource in the tsconfig plugins test

  • List nyc.config.{js,cjs,mjs} in the nyc plugin example

  • Fold 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 dir

  • Add GitHub Actions working-directory fixtures for mocha spec patterns

  • Pin the scope of negations and workspace exclusions for plugin entry patterns with dir

  • Parse GitHub Actions step scripts against their working directory

  • Parse MCP server commands against their cwd

  • Let core resolve script entries from dir in the Playwright, Railway and mise plugins

  • Add --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.