Packages

@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
  1. 0.41.9yours
  2. 0.42.0target

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

  1. 0.42.0

    Migration needed22 Jul 20266 new · 13 fixes
    • Breaking

      Node.js v22 is the minimal supported version.

    • Breaking

      getRawRequest utility has been removed. Use the initiator reference on request listeners directly.

    • Breaking

      /utils/node and getClientRequestBodyStream() has been removed. Use the initiator reference directly.

    • Breaking

      file:// protocol requests are unsupported with fetch the same way they aren't supported in Node.js 22 and 24 (improved compliance).

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.