Packages

msw

3.0.7 · 18 Nov 2026MIT36M / weekRepositoryHomepagenpmAtom feed

Upgrading msw From 0.27.2 to 0.28.0

1 release in betweenevery note read

Other targets from 0.27.2Newest 0.x0.49.3Latest3.0.7
  1. 0.27.2yours
  2. 0.28.0target
1
change to make
0
advisories fixed
0
new
2
fixes

Before you upgrade

Tick each one off as you go
  • Breaking0.28.0

Release by release

  1. 0.28.0

    Migration needed25 Mar 20212 fixes
    • Breaking

      The response instance in the life-cycle events now handles response.headers as the Headers instance (#660).

    • Fixed

      Fixes the order of events in the intercepted XMLHttpRequest in Node.js (#102).

    • Fixed

      Fixes an issue that resulted in the "TypeError [ERR_INVALID_PROTOCOL]: Protocol "http:" not supported. Expected "https:"" exception when using MSW with superagent (#632).

1 internal line (docs, tests, tooling) left out.

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.