Skip to content

chore(deps): migrate msw to v3 - #29

Merged
0then0 merged 2 commits into
mainfrom
chore/msw-3
Nov 10, 2026
Merged

0then0 merged 2 commits into
mainfrom
chore/msw-3

Conversation

@0then0

@0then0 0then0 commented Nov 10, 2026

Copy link
Copy Markdown
Owner

From the 2026-11 dependency review (#21).

  • msw ^2.15.0 → ^3.0.4 (3.0.4 is a patch over 3.0.3 from the review, published 2026-11-06).
  • v3 breaking changes that apply here: onUnhandledRequest renamed to onUnhandledFrame. ESM-only, Node ≥22 and TypeScript ≥5.9 are already satisfied; no cookies, fake timers, GraphQL or msw/native usage.
  • pnpm dedupe drops the stale msw 2 copy that Vitest's optional peer still resolved to.

Locally: format:check, lint, knip, typecheck, unit tests pass; verified that an unmocked request still fails a test.

Rename the removed onUnhandledRequest option to onUnhandledFrame and
dedupe the lockfile so Vitest's optional msw peer resolves to v3.
@netlify

netlify Bot commented Nov 10, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for form-forge-0then0 canceled.

Name Link
🔨 Latest commit b4f797b
🔍 Latest deploy log https://app.netlify.com/projects/form-forge-0then0/deploys/6af3900e2ae289637433bb1d

@0then0
0then0 merged commit 21b3b61 into main Nov 10, 2026
7 checks passed
@0then0
0then0 deleted the chore/msw-3 branch November 10, 2026 21:47
@0then0 0then0 mentioned this pull request Nov 10, 2026
2 of 4 tasks
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