Packages

msw

3.0.7 · 18 Nov 2026MIT36M / weekRepositoryHomepagenpmAtom feed

Your version

0.38.0

19 Feb 2022Where it was published

0.49.3 is the newest release of 0.38.x.

In short

2 new

Release note

Features

  • Update to @mswjs/interceptors 0.13.3 (#1095) (e288d18), closes #1102

  • Allow default behavior of onUnhandledRequest in a custom callback (#1096):

worker.start({
  onUnhandledRequest(request, print) {
    // Ignore unhandled warnings/errors from asset requests.
    if (request.url.href.includes('/assets/') {
      return
    }

    // Otherwise, execute the default warning/error/ strategy.
   print.warning() // or "print.error()" 
  }
})

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.