@mswjs/interceptors
0.45.12 · 11 Nov 2026MIT38M / weekRepositorynpmAtom feed
Upgrading @mswjs/interceptors From 0.41.9 to 0.42.0
1 release in betweenevery note read
Other targets from 0.41.9Newest 0.x, Latest0.45.12
- 5
- changes to make
- 0
- advisories fixed
- 6
- new
- 13
- fixes
Before you upgrade
Tick each one off as you go- Breaking0.42.0
- Breaking0.42.0
- Breaking0.42.0
- Breaking0.42.0
- Breaking0.42.0
Release by release
- Breaking
Node.js v22 is the minimal supported version.
- Breaking
getRawRequestutility has been removed. Use theinitiatorreference on request listeners directly. - Breaking
/utils/nodeandgetClientRequestBodyStream()has been removed. Use theinitiatorreference directly. - Breaking
file://protocol requests are unsupported withfetchthe same way they aren't supported in Node.js 22 and 24 (improved compliance).
- Breaking
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.