Skip to content

chore(deps-dev): upgrade vitest 4, react-hooks 7, jsdom 29, globals 17#13

Merged
TheStreamCode merged 2 commits into
mainfrom
chore/devdeps-major-bumps
Jun 20, 2026
Merged

chore(deps-dev): upgrade vitest 4, react-hooks 7, jsdom 29, globals 17#13
TheStreamCode merged 2 commits into
mainfrom
chore/devdeps-major-bumps

Conversation

@TheStreamCode

Copy link
Copy Markdown
Owner

Bumps four dev dependencies past their major boundaries and adapts the codebase to the breaking changes. Supersedes the individual Dependabot PRs #4, #5, #6 and #7.

Changes

  • vitest 3 → 4: the jsPDF mock used with new must use a constructable implementation; switched the factory from an arrow function to a regular function (export-pdf tests).
  • eslint-plugin-react-hooks 5 → 7: the recommended set promotes the React Compiler rule set-state-in-effect to an error. Two pre-existing effects (QuotePreview, QuoteViewport) trip it; kept the rule as a warning so it stays visible without blocking CI.
  • jsdom 26 → 29 and globals 16 → 17: no code changes required.
  • dependency-review: skip the workflow for Dependabot PRs (its restricted token can't reach the dependency-review API), removing a spurious failing check.

Validation (local)

typecheck ✓ · lint ✓ (0 errors, 4 warnings) · test ✓ 125/125 · build

Adapt to the breaking changes in the major bumps:
- vitest 4 only treats function/class implementations as constructable;
  the jsPDF mock used with `new` must use a function, not an arrow.
- eslint-plugin-react-hooks 7 promotes the React Compiler rule
  set-state-in-effect to an error. Two pre-existing effects (QuotePreview,
  QuoteViewport) trip it; keep it as a warning so it stays visible without
  blocking CI.
Dependabot runs with a restricted token that can't query the
dependency-review API, so the job fails on every Dependabot PR. Skip it
for that actor to avoid the spurious red; human PRs are unaffected.
@vercel

vercel Bot commented Jun 20, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
easypiva Ready Ready Preview, Comment Jun 20, 2026 10:34pm

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