Skip to content

build: upgrade all npm dependencies#180

Merged
danielewood merged 2 commits intomainfrom
build/upgrade-all-deps
Mar 19, 2026
Merged

build: upgrade all npm dependencies#180
danielewood merged 2 commits intomainfrom
build/upgrade-all-deps

Conversation

@danielewood
Copy link
Copy Markdown
Collaborator

@danielewood danielewood commented Mar 19, 2026

Summary

  • Upgrade vitest 3.2.4 → 4.1.0 (major)
  • Upgrade jsdom 26.1.0 → 29.0.0 (major)
  • Upgrade vite 6.x → 8.0.0 (major, transitive via vitest 4)
  • Upgrade @cloudflare/workers-types 4.20260310.1 → 4.20260317.1 (patch)
  • Add engines.node >= 24 to web/package.json

Supersedes #175, #176, #177.

Test plan

  • All 129 web tests pass locally with vitest 4 + jsdom 29
  • CI passes

🤖 Generated with Claude Code

Major bumps:
- vitest 3.2.4 → 4.1.0
- jsdom 26.1.0 → 29.0.0
- @cloudflare/workers-types 4.20260310.1 → 4.20260317.1

All 129 web tests pass with the new versions.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Upgrades the web/ toolchain dependencies used for JS/TS testing and Cloudflare Pages typing, aligning the web test environment with newer Vitest and jsdom major versions.

Changes:

  • Bump vitest to ^4.1.0 and jsdom to ^29.0.0 in web/package.json.
  • Bump @cloudflare/workers-types to ^4.20260317.1.
  • Refresh web/package-lock.json to the new resolved dependency graph (including updated transitive tooling like Vite).

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated 2 comments.

File Description
web/package.json Updates top-level devDependencies for web tests and Cloudflare Workers typing.
web/package-lock.json Updates the lockfile to reflect the new dependency resolution from the upgraded devDependencies.
Files not reviewed (1)
  • web/package-lock.json: Language not supported

You can also share your feedback on Copilot code review. Take the survey.

Comment thread web/package.json
Comment thread web/package-lock.json
vitest 4, jsdom 29, and vite 8 (transitive) all require modern Node.
Add explicit engines field so installs fail fast on unsupported versions.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

https://github.com/sensiblebit/certkit/blob/80dcb5d921f04f54e0b6c463118b130c3601b7eb/web/package.json#L13
P2 Badge Add a Node engine floor before taking jsdom 29

Upgrading to jsdom@29 here silently raises the minimum Node version for the DOM-tagged tests from >=18 to ^20.19.0 || ^22.13.0 || >=24 (web/package-lock.json:921-952; the previous lockfile had jsdom@26.1.0 at >=18). Because web/package.json still has no engines field and CI only exercises lts/* in .github/workflows/ci.yml:48-53, contributors on Node 18/20.0-20.18/22.0-22.12 will only discover the break when npm ci or npm test starts failing locally.

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@danielewood danielewood merged commit 94e9a36 into main Mar 19, 2026
15 checks passed
@danielewood danielewood deleted the build/upgrade-all-deps branch March 19, 2026 01:10
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.

2 participants