msw
3.0.7 · 18 Nov 2026MIT36.1M / weekRepositoryHomepagenpmAtom feed
Your version
2.15.0 is the newest release of 2.x.
In short
3 new1 fixed
Release note
Features
use the network source architecture (
defineNetwork) (#2650) (2b73790) @kettanaito @felmononHandlers are now grouped internally by kind, making handler lookup a O(1) operation.
Handlers filtering no longer uses an
instanceofcheck. Instead, thekindproperty 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.
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.