msw
3.0.7 · 18 Nov 2026MIT36M / weekRepositoryHomepagenpmAtom feed
Upgrading msw From 0.29.0 to 0.30.0
1 release in betweenevery note read
Release by release
- New
Supports generators as response resolvers (#720).
- New
Adds the
ctx.cookieutility to the GraphQL handlers (#763). - New
Adds a warning when running MSW on a page that’s outside of the worker’s scope (#787).
- New
The worker script (
mockServiceWorker.js) now contains the library version number to improve its inspection and debugging across releases (#781). - Fixed
Fixes various issues to ensure Jest 27 compatibility.
- Fixed
Fixes an issue that prevented the assignment of more narrow response types (#735).
- Fixed
Fixes an issue when parsing a GraphQL-compatible REST API request produced a parsing error during the
onUnhandledRequestdefault behavior (#740).
- New
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.