msw
3.0.7 · 18 Nov 2026MIT36.1M / weekRepositoryHomepagenpmAtom feed
2.15.0 is the newest release of 2.x.
In short
1 deprecated4 new
- Deprecated
Deprecate "waitUntilReady" (deferNetworkUntil) worker option
Release note
Features
Up tsconfig target for more modern syntax (#1780) (29182ce) @thepassle @kettanaito
Add "requestId" as response resolver argument (#1942) (51ab8cc) @skvale @kettanaito
Support multiple directories in "msw.workerDirectory"
- Deprecated
Deprecate "waitUntilReady" (deferNetworkUntil) worker option
Support throwing responses in response resolvers
Shoutout to @mattcosta7 for his continuous on the library's performance and stability 🎉
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.