Packages

knip

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

Your version

6.33.0

28 Aug 2026

6.48.0 is the newest release of 6.x.

In short

1 breaking6 new12 fixed9 internal

  • Breaking

    Throw on configuration that is not an object

Release note

  • Support package manifest resolution under Yarn PnP

  • Resolve oxlint jsPlugins from .oxlintrc.jsonc

  • Expose defineConfig on a ./config entrypoint

  • Preserve all environment variables in exec.ts

  • Add support for TypeScript content mappers

  • vitest: Resolve array entries and root-relative setup dependencies

  • Fix type annotation in dynamic configuration function example

  • Format docs with remark

  • Throw on configuration that is not an object

  • Clarify dependency inputs, isTypeOnly and toConfig in plugin docs

  • Resolve content mapper process from package.json#typescript.contentMapper.exec

  • Encode argv arrays before parsing them as shell commands

  • Replace non-breaking space in module graph comment

  • Update fix format test for oxfmt package.json key sorting

  • webpack: Resolve entry descriptors using import field

  • Count enum element access as a whole-object read

  • Resolve oxlint/vite-plus import resolvers from settings

  • nuxt: Resolve string extends configs

  • Wrap up webpack entry resolution

  • Keep element access precise for number-like enum member names

  • Resolve Object.* enum enumeration through import aliases

  • Resolve named string-key access on namespace-qualified enums

  • Normalize line endings in nuxt-config-string fixture

  • Resolve nuxt layer sources from all extends entry shapes

  • Report unused exports behind Vitest module promise mocks (resolve #1966)

  • Check line endings against .gitattributes in pnpm run ci

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.