msw
3.0.7 · 18 Nov 2026MIT36M / weekRepositoryHomepagenpmAtom feed
Upgrading msw From 0.25.0 to 0.26.0
1 release in betweenevery note read
Release by release
- New
Adds support for GraphQL upload and multipart data operations (#215, #543).
- New
Adds delay modes: “real” and “infinite” (#538). Supports infinite loading.
- New
Displays
[MSW] Mocking disabledmessage when callingworker.stop(). (#485, #493). - Fixed
Fixes an issue that resulted in the
Failed to construct 'Response': The status provided (0) is outside the range [200, 599].exception caused by an opaque response on the page (#529, #564). MSW will now skip opaque responses during the life-cycle events handling. You will not get theresponse:bypassinvoked upon an opaque response. - Fixed
Fixes an issue that resulted in an exception being thrown when handling subsequent requests in Safari (#558, #565).
- Fixed
Fixes an issue when the
ExecutionResultofgraphqlwas not compatible withctx.dataandctx.errorsutilities (#522, #542). - Fixed
Fixes an issue that resulted in the MSW worker handling unrelated message event originating from other tools (#551).
- New
2 internal lines (docs, tests, tooling) left out.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.