Packages

msw

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

Your version

2.0.4

8 Nov 2023Where it was published

2.15.0 is the newest release of 2.x.

In short

6 fixed1 internal

Release note

Bug Fixes

  • Safely access "request.credentials" in cloudflare (#1845) (bd0cec7) @kettanaito @mattcosta7

  • Safely access "Response.type" in cloudflare (#1846) (ccd7096) @kettanaito @mattcosta7

  • Allow setting "timeout" on XMLHttpRequest

  • Allow overriding "Content-Type" in HttpResponse static methods

  • Narrow body type for HttpResponse.json() to be serializable json

  • Remove "formdata-node" dependency

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.