Packages

msw

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

Upgrading msw From 0.43.1 to 0.44.0

1 release in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 0.43.1Newest 0.x0.49.3Latest3.0.7
  1. 0.43.1yours
  2. 0.44.0target
4
changes to make
0
advisories fixed
1
new
0
fixes

Before you upgrade

Tick each one off as you go
  • Breaking0.44.0
  • Breaking0.44.0
  • Breaking0.44.0
  • Deprecated0.44.0

Release by release

  1. 0.44.0

    Migration needed13 Jul 20221 new
    • Breaking

      req.destination default value is now "" (empty string), previously "document".

    • Breaking

      req.redirect default value is now ""follow", previously "manual".

    • Breaking

      The library no longer exports the parseIsomorphicRequest() function (#1316). Please use MockedRequest class instead.

    • Deprecated

      req.body is deprecated. Please use explicit request body reading methods: req.text(), req.json(), req.arrayBuffer() (other methods, like req.formData() are currently not supported).

    • New

      Remove unnecessary stringification of worker-client messages

5 other lines we could not sort, mostly version bumps
  • req.priority, indicates a priority of request relatively to other requests (default "auto");

    0.44.0
  • req.text(), reads the request body as plain text;

    0.44.0
  • req.json(), reads the request body as JSON;

    0.44.0
  • req.arrayBuffer(), reads the request body as ArrayBuffer;

    0.44.0
  • req.clone(), clones a request instance (i.e. so its body could be read multiple times).

    0.44.0

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.