Skip to content

chore(deps-dev): bump msw from 1.3.5 to 2.13.6#2970

Open
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/msw-2.13.6
Open

chore(deps-dev): bump msw from 1.3.5 to 2.13.6#2970
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/msw-2.13.6

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Apr 27, 2026

Copy link
Copy Markdown
Contributor

Bumps msw from 1.3.5 to 2.13.6.

Release notes

Sourced from msw's releases.

v2.13.6 (2026-04-24)

Bug Fixes

  • WebSocketHandler: add public test() method (#2727) (3da7048e05fae80fe3410e3af86f6c3dd3cfaead) @​kettanaito

v2.13.5 (2026-04-23)

Bug Fixes

  • reset generator state on .resetHandlers()/.restoreHandlers() (#2725) (8d16801cacd89e5aff336c43e888df19fad04417) @​kettanaito

v2.13.4 (2026-04-16)

Bug Fixes

v2.13.3 (2026-04-14)

Bug Fixes

v2.13.2 (2026-04-08)

Bug Fixes

  • delay: prevent infinite mode from throwing (#2697) (613d4a1d6cd96e006af126d6a13e32e884f48733) @​kettanaito

v2.13.1 (2026-04-07)

Bug Fixes

  • annotate life-cycle events correctly (#2694) (e7890e91627c828bd4d788f09e179bffbc8a8506) @​kettanaito

v2.13.0 (2026-04-06)

Features

  • use the network source architecture (defineNetwork) (#2650) (2b73790082d412580047c430519340958025226d) @​kettanaito @​felmonon
  • handlers are now grouped internally by kind, making handler lookup a O(1) operation.
  • handlers filtering no longer uses an instanceof check. Instead, the kind property of the handler is used.

Bug fixes

  • fix an issue where a WebSocket connection would be logged in the console even when there are no matching event handlers for it.

... (truncated)

Commits
  • a680221 chore(release): v2.13.6
  • 3da7048 fix(WebSocketHandler): add public test() method (#2727)
  • d814fc8 chore(release): v2.13.5
  • 8d16801 fix: reset generator state on .resetHandlers()/.restoreHandlers() (#2725)
  • edeb058 chore: replace missing ServiceWorkerIncomingRequest with `IncomingWorkerReq...
  • 20521b9 chore(release): v2.13.4
  • 580256b fix: implement proper ServiceWorkerSource singleton pattern (#2715)
  • 9dedf52 fix: use verbatimModuleSyntax consistently in exports (#2702)
  • d0cbd2d fix: update dependencies (#2719)
  • 429e05c fix(sse): respect request.signal for the underlying stream (#2718)
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by GitHub Actions, a new releaser for msw since your current version.

Install script changes

This version modifies postinstall script that runs during installation. Review the package contents before updating.


Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Note

Medium Risk
This is a major-version upgrade of msw, which can introduce breaking changes in request-mocking behavior and APIs used by the test suite. Risk is mainly around CI/test stability rather than production runtime, since msw is a dev dependency.

Overview
Upgrades the dev dependency msw from 1.3.x to 2.13.6 in package.json and refreshes package-lock.json accordingly.

The lockfile update replaces/removes a number of transitive dependencies and updates others (e.g., @mswjs/interceptors, headers-polyfill, graphql), reflecting msw v2’s newer dependency graph and Node engine expectations.

Reviewed by Cursor Bugbot for commit 2d4adec. Bugbot is set up for automated code reviews on this repo. Configure here.

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

Bumps [msw](https://github.com/mswjs/msw) from 1.3.5 to 2.13.6.
- [Release notes](https://github.com/mswjs/msw/releases)
- [Changelog](https://github.com/mswjs/msw/blob/main/CHANGELOG.md)
- [Commits](mswjs/msw@v1.3.5...v2.13.6)

---
updated-dependencies:
- dependency-name: msw
  dependency-version: 2.13.6
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Apr 27, 2026
@dependabot dependabot Bot requested a review from a team as a code owner April 27, 2026 21:21
@dependabot dependabot Bot added the javascript Pull requests that update javascript code label Apr 27, 2026
@dependabot dependabot Bot requested review from a team as code owners April 27, 2026 21:21

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 2d4adec. Configure here.

Comment thread package.json
"jest-junit": "^15.0.0",
"mini-css-extract-plugin": "^2.6.0",
"msw": "^1.3.2",
"msw": "^2.13.6",

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

MSW v2 removes rest API used throughout codebase

High Severity

Bumping msw from v1 to v2 is a major version upgrade with breaking API changes, but no source code was updated. The codebase imports rest from msw and uses the v1 response resolver pattern (req, res, ctx) => res(ctx.json(...)) across multiple test files. In MSW v2, rest was removed and replaced with http, and response resolvers now return HttpResponse instances instead of using res(ctx.json(...)). All tests using msw will fail at import time or runtime.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 2d4adec. Configure here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants