github webpro-nl/knip knip@6.45.0
Release 6.45.0

56 minutes ago
  • Load formatly only when formatting files (8aae3cd)
  • Treat undefined plugin config like an absent key (a75133c)
  • Replace Zod with handwritten configuration validation (e868a86)
  • Load configuration parsers and Jiti on demand (a4b45b8)
  • Handle CLI help and version before loading the analyzer (78c2c43)
  • Make performance measurements reusable and cover analysis phases (52511b5)
  • Show startup overhead alongside run time (2f383b6)
  • Show config location and reason in configuration hints (2305dad)
  • Preserve double hyphens in CLI links (#2278) (d6d5cae) - thanks @deining!
  • Read vue.config.cjs in the Vue plugin (#2282) (a2fabc8) - thanks @SwastikTripathi!
  • Find dangerfile.mts and Dangerfile.* in the Danger plugin (#2283) (9a133c0) - thanks @SwastikTripathi!
  • Add AWS CDK plugin (#2302) (4e2f3c7) - thanks @clean99!
  • Find JavaScript root and route files and remix.config.mjs in the Remix plugin (#2304) (af1dd66) - thanks @SwastikTripathi!
  • Find payload.config.js in the Payload CMS plugin (#2311) (eb2f3a0) - thanks @SwastikTripathi!
  • Fix grammar errors and typos (#2313) (2fd0461) - thanks @deining!
  • Skip config and resolve arguments without a value (#2315) (71c16dc) - thanks @bytedoe!
  • Keep production entries that Vite build.lib.entry also names (#2322) (ab7c6de) - thanks @itisrmk!
  • fix: keep locally used destructured bindings (#2306) (1630312) - thanks @gioboa!
  • Treat npm flags without values as booleans in npm exec (8162e34)
  • Require committed fixtures in TESTS.md (746064e)
  • Skip fromArgs arguments without a value (23bb139)
  • Remove redundant bare --config handling from the Rollup plugin (71383dd)
  • Resolve Vite entry files without glob expansion (5f8e6a2)
  • Resolve literal plugin files through the shared entry resolver (5aeb352)
  • Document export analysis for deferred production entries (83f0ead)
  • Test literal entries across plugins (1677171)
  • Run astro check on the docs in CI (d75cf39)
  • Report unused subpath imports in package.json (resolve #2317) (a5e3830)
  • Report unused subpath exports with includeSubpathExports (53da7f7)
  • Resolve pnpm workspace: aliases to their workspace (30cd26c)
  • Bump @astrojs/markdown-satteri to 0.4.7 to match satteri 0.11 (22bb83f)
  • Add every msw.workerDirectory entry in MSW plugin (#2326) (c03f0bf) - thanks @lukaskourilcz!
  • Add Evalite plugin (#2316) (8395746) - thanks @rafactx!
  • Read images.loaderFile and cache handler paths in the Next.js plugin (#2319) (089276c) - thanks @yamamoto7!
  • Read an existing --app directory as a cloud assembly in the AWS CDK plugin (#2330) (347fc43) - thanks @clean99!
  • Follow a namespace import re-exported with export default (#2325) (01daad6) - thanks @RClaudiuM!
  • Compare session issue order with a fresh run only where it is defined (ecf9625)
  • Run test files in batches to stay under the Windows command-line limit (93951de)
  • Resolve bare plugin input paths regardless of dependency reporting (#2305) (85b0e94) - thanks @gioboa!
  • Anchor gitignore patterns with a middle slash (#2301) (0a2f0aa) - thanks @everton-dgn!
  • Detect node tests behind c8 options (#2310) (ed14117) - thanks @everton-dgn!
  • Find JavaScript plugins, middleware and app.config in the Nuxt plugin (#2312) (d3181ef) - thanks @SwastikTripathi!
  • Add Web Test Runner plugin (#2295) (b2dd8be) - thanks @clean99!
  • Check Node.js builtins independently of the runtime (#2300) (1ccc9ea) - thanks @everton-dgn!
  • Track MDX content mapper provider dependencies (#2320) (318a0ea) - thanks @2lazzzy!
  • Treat require('./mod').A as a named import (#2329) (3b91979) - thanks @bytedoe!
  • Edit and extend some docs (0eea846)
  • Exclude development deferResolve files in production mode (188a3ba)
  • Resolve plugin inputs in core and credit the packages they reach (8c5d329)
  • Take Marko taglib packages from the workspace dependencies and the resolver (0013081)
  • Read providerImportSource from @next/mdx and @mdx-js/rollup options (6a2e7fd)
  • Pass dependencies to registerCompilers in the plugin docs generator (#2334) (137a2dd) - thanks @X-Guardian!
  • Pass getScriptCommands to plugins to break import cycle (63b075f)
  • Move isShadowed logic out of walk.ts to break import cycles (c02c206)
  • Document knip-bun performance on large projects (14c0a00)
  • Import sharp as ESM and use setField in docs link plugin (d40163e)
  • Add MikroORM plugin (#2323) (3e38934) - thanks @aminya!
  • Handle the report command in the c8 plugin (#2337) (5bfcbf1) - thanks @bytedoe!
  • Treat dynamic import namespace passed as a value as used (#2336) (b128d47) - thanks @fixfon!
  • Scope dynamic import namespace bindings to their callback or block (cd1cc4c)
  • Shadow destructured declarators, nested classes and loop bodies precisely (29b8431)
  • Keep the captured import binding in alias and container records (4f78d16)
  • Pin input handler behaviors the test suite did not cover (3aaca9e)
  • Restructure createInputHandler as one case per input type (5e249c4)
  • Apply one report policy to inputs resolved as files (ef57c6f)
  • Report an unresolvable alias import as unresolved (8a03f3f)
  • Record session refs for packages reached through paths (a210574)
  • Add a production option to the input helpers (712461a)
  • Document path and node_modules inputs in the plugin docs (f96daed)
  • Expand glob entries from scripts in source files (7b850bc)
  • Resolve local paths in 13 plugin configs as files (c335f78)
  • Resolve local npx and npm exec package folders as files (efbfd43)
  • Emit ESLint plugins and configs as dependencies (cacbe0a)
  • Emit tsconfig plugins and tslib as dependencies (89bdb35)
  • Emit package-only values as dependencies in 8 plugins (8b786fb)
  • Stop crediting development inputs in production mode (31a4df2)
  • Exclude files of development scripts in production mode (80e751a)
  • Emit packages loaded at runtime as production dependencies (f70079b)
  • Add strict-mode test with workspaces fixture (1308a86)
  • fix: don't crash on floating rejections (#2308) (de958a7) - thanks @gioboa!
  • Update dependencies (75cfacb)
  • Pin oxc-parser to 0.156 and fix the emnapi runtime peer for astro check (9d1308b)

Don't miss a new knip release

NewReleases is sending notifications on new releases.