Packages

@mswjs/interceptors

0.45.12 · 11 Nov 2026MIT38M / weekRepositorynpmAtom feed

Your version

0.41.0

3 Feb 2026Where it was published

0.45.12 is the newest release of 0.41.x.

In short

1 breaking1 new2 fixed

  • Breaking

    BREAKING CHANGE: The CJS bundle of the package no longer contains the named default export at /presets/node.

Release note

Warning

BREAKING CHANGE: The CJS bundle of the package no longer contains the named default export at /presets/node. You should consider requiring the package as follows now:

-const { default: preset } = require('@mswjs/interceptors/presets/node')  
+const preset = require('@mswjs/interceptors/presets/node')  

Features

  • Use tsdown for bundling

Bug Fixes

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.