Packages

msw

3.0.7 · 18 Nov 2026MIT36M / weekRepositoryHomepagenpmAtom feed

Your version

0.26.1

2 Feb 2021Where it was published

0.49.3 is the newest release of 0.26.x.

In short

1 new3 fixed

Release note

Features

  • onUnhandledRequest option will now suggest similar request handlers based on the URL/operation name similarity (#560).

Bug fixes

  • Fixes an issue that resulted in a 202 status response throwing an exception when the library attempted to re-create its Response instance for the response:* life-cycle event (#570).

  • Fixes an issue when a request handler stack trace wasn't handled properly on Windows machines (#566).

  • Fixes an issue when using the onUnhandledRequest: "error" option resulted in a thrown exception being gracefully handled by Axios (#544). The "error" value now prints to stderr directly instead of throwing an exception. An original request-related exception will become visible now as well.

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.