Skip to content

chore(deps-dev): Bump knip from 5.87.0 to 6.0.3#425

Merged
sjnims merged 1 commit intomainfrom
dependabot/npm_and_yarn/knip-6.0.3
Mar 23, 2026
Merged

chore(deps-dev): Bump knip from 5.87.0 to 6.0.3#425
sjnims merged 1 commit intomainfrom
dependabot/npm_and_yarn/knip-6.0.3

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 23, 2026

Bumps knip from 5.87.0 to 6.0.3.

Release notes

Sourced from knip's releases.

Release 6.0.3

  • Handle symlinks → real paths from tsconfig files (#1630) (529810a97ff17aa868dfa5e83ddc412e880ac020)
  • Filter empty strings from Qwik routesDir values (resolve #1632) (beb8ae3a99c305e77749dc9700adddab4b5c5638)
  • Release knip@6.0.3 (278f44a38065a26addc2a073a70bec852248fa12)

Release 6.0.2

  • Add scope-aware shadow detection to fix false negatives from name-based matching (9ec38b339568bcdc096a13c394102521d97c2e9d)
  • Fix false negatives from overly broad collectRefsInType (261bd062d33d77c09f4e56292be7f8d9afc77143)
  • Add doc re. exports (f82d3ad671b6a2659636f6b7f6b4e9489aefc969)
  • Bump get-tsconfig to 4.13.7, remove patch (resolve #1630) (09bbce539229c5666a313ebf1a120dd885cae6e8)
  • Pass on rootDirs to work around oxc-resolver feature gap (resolve #1628) (4dc16cc913b1f90769df1f2176888ce77573e593)
  • Update patches (836c2cfe6e675280a572bd2a5750cb9ed698e6c5)
  • Release knip@6.0.2 (2dd90682863e81014c6e112e6091ba76bc3e1db4)

Release 6.0.1

  • Update sponsors (0659240f0e6f16d69188d2c6eb99d912f00daa00)
  • Handle computed access in local refs visitor (b998babb8952040478105d8d824710d5091eb38b)

Release 6.0.0

Blog post: Announcing Knip v6

See the pre-releases for details:

Breaking changes:

  • Dropped support for Node.js v18 → Knip v6 requires Node.js v20.19.0 or newer
  • Dropped issue type classMembers
  • Dropped --include-libs → this is now the default and only behavior
  • Dropped --isolate-workspaces → this is now the default and only behavior
  • Dropped --experimental-tags → use --tags
  • In reporter functions, issues.files is consistent with other issue shapes. Removed issues._files.
  • In the JSON reporter, issues are consistently arrays for any issue type. Removed root files.

Release 6.0.0-3

  • Improve Nuxt plugin (staticExportsExportNamedDeclaration) (6554251a8)
  • Improve isReferencedInUsedExport items (d4d996758)

Release 6.0.0-2

  • Bump GitHub actions to their latest versions (#1624) (bf2ffca61)
  • Use resolveFromAST to skip jiti loading for JS/TS configs (91cb6f662)
  • Use resolveFromAST for flat configs, skip jiti loading (5e5f63c45)
  • Housekeeps (5e5e0a832)
  • Use resolveFromAST for JS/TS configs, skip jiti loading (426f52766)
  • Prettier config for other formatters (e.g. unified-prettier) (e034cbdeb)
  • Fix module/namespace regression (resolve #1603) (394bcbaae)

... (truncated)

Commits
  • 278f44a Release knip@6.0.3
  • beb8ae3 Filter empty strings from Qwik routesDir values (resolve #1632)
  • 529810a Handle symlinks → real paths from tsconfig files (#1630)
  • 2dd9068 Release knip@6.0.2
  • 4dc16cc Pass on rootDirs to work around oxc-resolver feature gap (resolve #1628)
  • 09bbce5 Bump get-tsconfig to 4.13.7, remove patch (resolve #1630)
  • 261bd06 Fix false negatives from overly broad collectRefsInType
  • 9ec38b3 Add scope-aware shadow detection to fix false negatives from name-based matching
  • 4721049 Release knip@6.0.1
  • b998bab Handle computed access in local refs visitor
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot requested a review from sjnims as a code owner March 23, 2026 13:17
@dependabot dependabot bot added dependencies Pull requests that update a dependency file npm Pull requests that update npm dependencies labels Mar 23, 2026
@sjnims
Copy link
Owner

sjnims commented Mar 23, 2026

@dependabot rebase

@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/knip-6.0.3 branch 2 times, most recently from c3748f4 to 74d97e8 Compare March 23, 2026 23:18
@sjnims
Copy link
Owner

sjnims commented Mar 23, 2026

@dependabot rebase

Bumps [knip](https://github.com/webpro-nl/knip/tree/HEAD/packages/knip) from 5.87.0 to 6.0.3.
- [Release notes](https://github.com/webpro-nl/knip/releases)
- [Commits](https://github.com/webpro-nl/knip/commits/knip@6.0.3/packages/knip)

---
updated-dependencies:
- dependency-name: knip
  dependency-version: 6.0.3
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/knip-6.0.3 branch from 74d97e8 to 1ffa546 Compare March 23, 2026 23:21
@sjnims sjnims merged commit 1105cfc into main Mar 23, 2026
9 of 11 checks passed
@sjnims sjnims deleted the dependabot/npm_and_yarn/knip-6.0.3 branch March 23, 2026 23:22
@claude
Copy link
Contributor

claude bot commented Mar 23, 2026

CI Failure Analysis: CI

Run: #23465060352 | Commit: 1105cfc

Summary

Two jobs failed after bumping knip from 5.87.0 to 6.0.3: Dead Code Check found 3 newly-flagged unused exported types (likely stricter defaults in knip v6), and Test crashed with an EINVAL error when the coverage reporter tried to copy the coverage/ directory into itself (coverage/coverage).

Failures Found

Job File Line Issue
Dead Code Check src/stages/3-execution/sdk-client.ts 51 Unused exported type PermissionMode
Dead Code Check src/stages/3-execution/sdk-client.ts 72 Unused exported type SDKResultSuccess
Dead Code Check src/stages/3-execution/sdk-client.ts 72 Unused exported type SDKResultError
Test vitest/coverage config SystemError: EINVAL — cannot copy coverage/ to coverage/coverage

Knip v6 also flagged 3 config hints: dist/**, coverage/**, node_modules/** can be removed from knip.json ignore array (now ignored by default).

How to Fix

Dead Code Check — Remove the 3 unused exported types from sdk-client.ts, or suppress them in knip config. Also remove the unnecessary ignore entries from knip.json.

Test (coverage EINVAL) — The Vitest UI reporter tries to copy coverage/ into coverage/coverage. Check reportsDirectory in vitest config does not conflict with the UI reporter static asset copy path. Ensure @vitest/ui output does not nest inside the coverage directory.


Analyzed by Claude

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file npm Pull requests that update npm dependencies

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant