Packages

msw

3.0.7 · 18 Nov 2026MIT36.1M / weekRepositoryHomepagenpmAtom feed

Your version

2.13.0

6 Apr 2026Where it was published

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 @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.

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.