Skip to content

deps: update dev dependencies (vitest 5, align @types/node with node24 runtime) - #89

Merged
quver merged 1 commit into
mainfrom
deps/update-dependencies
Sep 11, 2026
Merged

quver merged 1 commit into
mainfrom
deps/update-dependencies

Conversation

@quver

@quver quver commented Sep 11, 2026

Copy link
Copy Markdown
Owner

Summary

Updates dev dependencies to the latest compatible versions.

Package Before After
vitest + @vitest/coverage-v8 4.1.10 5.0.0 (major)
@types/node ^26.4.0 ^24.13.4
eslint 10.7.0 10.10.0
typescript-eslint 8.65.0 8.70.0
globals 17.7.0 17.12.0
esbuild 0.28.1 0.28.2
  • Vitest 5: the only relevant breaking change is clearMocks now defaulting to true. vitest.config.ts already sets it explicitly, so no config change is needed.
  • @types/node → 24.x: the action runs on node24 (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 to esbuild@0.28.2 so 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 7.0.2: typescript-eslint@8.70.0 requires typescript <6.1.0, so this stays on 6.0.3.
  • node26 runtime: the Actions runner (v2.337.0) only accepts node12/16/20/24 in runs.using and only ships Node 20 and 24.

Test plan

  • npm run lint
  • npm run typecheck
  • npm test: 169 tests pass, 100% coverage
  • npm run build: dist/ rebuilt and committed
  • CI green

🤖 Generated with Claude Code

https://claude.ai/code/session_01KSejUgQivg9155whMyU9i5

…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

codecov Bot commented Sep 11, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.75%. Comparing base (b92d827) to head (207611f).

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:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@quver
quver merged commit 55f4c1c into main Sep 11, 2026
10 checks passed
@quver
quver deleted the deps/update-dependencies branch September 11, 2026 18:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant