chore(deps): update chai to v6, lint-staged to v17, @types/node to v26 - #924
Merged
Merged
Conversation
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
Bumps the three dev-dependency majors that Renovate will not propose again. Renovate permanently ignores 6.x for chai (#780) and 17.x for lint-staged (#875) because both PRs were closed unmerged, so these only land manually. All target versions are past the repo's 7-day minimumReleaseAge policy: chai 6.2.2 (219d), lint-staged 17.1.1 (7d), @types/node 26.1.1 (21d). chai-as-promised is bumped to ^8.0.2, the first release whose peer range (>=2.1.2 <7) admits chai 6; ^8.0.0 caps chai at <6. No package is added to the lockfile. Removals are all deduplication: chai 6 vendors assertion-error/deep-eql/loupe/pathval, and lint-staged 17 drops its listr2 renderer stack. The undici 6.27.0 override and the patched crypto-js/elliptic/pbkdf2/sha.js/cipher-base pins are unchanged. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
ryanio
force-pushed
the
chore/dep-majors-chai6-lintstaged17-types26
branch
from
July 30, 2026 22:08
b89a487 to
43a0854
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bumps the three dev-dependency majors that Renovate will never propose on its own.
Why these three, and why manually
Renovate permanently ignores an update once its PR is closed unmerged. That already happened to both:
Both now carry a Renovate ignore notification, so 6.x and 17.x only land through a manual bump. @types/node v26 has never been proposed at all. Minor and patch updates are left alone, since Renovate already automerges those per
renovate.json.Release-age policy
Every target version clears the repo's
minimumReleaseAgeof 7 days:I deliberately did not go to absolute latest. Those versions sit inside the 7-day window, and Renovate will take them once they age out:
hardhat3.12.0 (published today),@biomejs/biome2.5.6 (1 day),@types/node26.1.2 (2 days),concurrently10.0.4 (5 days),lint-staged17.2.0 (6 days).chai-as-promisedgoes to^8.0.2because that is the first release whose peer range (>=2.1.2 <7) admits chai 6.^8.0.0resolves to 8.0.0 or 8.0.1, both of which cap chai at<6.@nomicfoundation/hardhat-toolbox-mocha-ethersalready allowschai: >=5.1.2 <7.Lockfile audit
No package is added. All 35 removals are deduplication:
assertion-error,deep-eql,loupeandpathvalinternallylistr2,log-updateandcli-truncaterenderer stackVerified unchanged: the
undici6.27.0 override, kept for the reason given in #901, where@nomicfoundation/hardhat-utilsdeclares6.xand undici 8 needs Node 22.19 or later againstengines: >=20. Also unchanged are the patchedcrypto-js4.2.0,elliptic6.6.1,pbkdf23.1.5,sha.js2.4.12 andcipher-base1.0.7 pins.undici-types7.18.2 to 8.3.0 rides along with@types/node26 and is types-only, unrelated to theundiciruntime override.tsconfig.build.jsonis untouched, so the publishedlib/is still CommonJS.Verification
Locally on Node 25, after rebasing onto current main:
npm run build: cleannpm run check-types: cleannpm run lint: cleannpm test: 133 passingNo source changes, so no test updates were needed. chai 6 is API-compatible with the existing
expectusage throughout the suite.🤖 Generated with Claude Code