deps: update dev dependencies (vitest 5, align @types/node with node24 runtime) - #89
Merged
Merged
Conversation
…4 runtime) - vitest, @vitest/coverage-v8: 4.1.10 -> 5.0.0 - @types/node: ^26 -> ^24.13.4 to match the node24 action runtime - eslint 10.10.0, typescript-eslint 8.70.0, globals 17.12.0, esbuild 0.28.2 - allowScripts: esbuild@0.28.2 - rebuild dist/ (picks up undici 6.28.1 via @actions/core) TypeScript stays on 6.0.3: typescript-eslint requires typescript <6.1.0. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KSejUgQivg9155whMyU9i5
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #89 +/- ##
=======================================
Coverage 99.75% 99.75%
=======================================
Files 3 3
Lines 408 408
Branches 102 102
=======================================
Hits 407 407
Partials 1 1 🚀 New features to boost your workflow:
|
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.
Summary
Updates dev dependencies to the latest compatible versions.
vitest+@vitest/coverage-v8@types/node^26.4.0^24.13.4eslinttypescript-eslintglobalsesbuildclearMocksnow defaulting totrue.vitest.config.tsalready sets it explicitly, so no config change is needed.@types/node→ 24.x: the action runs onnode24(action.yml), so the types now match the runtime. With 26.x, TypeScript would accept APIs that don't exist on Node 24.allowScripts: bumped the entry toesbuild@0.28.2so the esbuild postinstall script isn't skipped.dist/: rebuilt. The bundle diff comes from undici 6.28.1, pulled in transitively by@actions/core.Not included
typescript-eslint@8.70.0requirestypescript <6.1.0, so this stays on 6.0.3.node26runtime: the Actions runner (v2.337.0) only acceptsnode12/16/20/24inruns.usingand only ships Node 20 and 24.Test plan
npm run lintnpm run typechecknpm test: 169 tests pass, 100% coveragenpm run build:dist/rebuilt and committed🤖 Generated with Claude Code
https://claude.ai/code/session_01KSejUgQivg9155whMyU9i5