Skip to content

build: update dependency msw to v0.35.0 - autoclosed

Common Ground Bot requested to merge renovate/msw-0.x into master

This MR contains the following updates:

Package Change Age Adoption Passing Confidence
msw (source) 0.30.1 -> 0.35.0 age adoption passing confidence

Release Notes

mswjs/msw

v0.35.0

Compare Source

Breaking changes

-worker.on('request:start', listener)
+worker.events.on('request:start', listener)

-server.on('response:mocked', listener)
+server.events.on('response:mocked', listener)

Features

  • Life-cycle events now support .removeListener() and .removeAllListeners() methods (#​868).
// Removes all life-cycle event listeners you've attached to this server instance.
server.events.removeAllListeners()
  • The "error" strategy of the onUnhandledRequest option now throws an exception to halt running tests (#​856).

Bug fixes

  • Fixes an issue where a request handler with parenthesis in the URL wouldn't match an otherwise matching request (#​857).

Security

  • Updates the @mswjs/interceptors package to propagate the xmldom security update (#​876).

v0.34.0

Compare Source

Features

v0.33.3

Compare Source

Bug fixes

  • Fixes an issue when some messages from the library were ill-formatted (#​844, #​850).

v0.33.2

Compare Source

Bug fixes

  • Fixes an issue that resulted in the "color: inherit" being present in each request log in the browser's console (#​842, #​843).

v0.33.1

Compare Source

Bug fixes

  • Fixes an issue that resulted in the NextJS development server becoming unresponsive due to cancelled SSR from webpack HMR (#​834, #​837).

v0.33.0

Compare Source

Features

  • Setting a Cookie/Set-Cookie response headers via ctx.set now produces a type violation (#​819). Please use ctx.cookie instead.

Internal

  • Supports resolutionContext option on handleRequest API to specify the baseUrl for all relative request handler URLs (#​830).

v0.32.3

Compare Source

Bug fixes

  • Fixes an issue when calling setupServer in React Native thrown an exception for using it in the wrong environment (#​827).

v0.32.2

Compare Source

Features

  • Exports internal utilities to be used in extensions (#​824);
    • parseIsomorphicRequest()
    • handleRequest()

v0.32.1

Compare Source

Bug fixes

v0.32.0

Compare Source

Bug fixes

Internals

  • Updates package dependencies.

v0.31.0

Compare Source

Bug fixes


Configuration

📅 Schedule: "after 10pm every weekday,before 5am every weekday,every weekend" (UTC).

🚦 Automerge: Disabled due to failing status checks.

Rebasing: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this MR and you won't be reminded about this update again.


  • If you want to rebase/retry this MR, check this box.

This MR has been generated by Renovate Bot.

Edited by Common Ground Bot

Merge request reports