chore(deps-dev): bump msw from 2.2.14 to 2.3.0
Bumps msw from 2.2.14 to 2.3.0.
Release notes
Sourced from msw's releases.
v2.3.0 (2024-05-08)
[!WARNING] This release changes how MSW treats unhandled exceptions in response resolvers. Previously, they were treated as request errors. Starting with this release, unhandled resolver exceptions will be coerced to
500 Unhandled Exceptionmocked error responses produced by the library. Please note that you must not intentionally throw errors in your resolvers. Please useResponse.error()to mock request/network errors. Unhandled exceptions are considered unintended and will be treated as if they happen on the actual server.Features
- treat unhandled exceptions in handlers as 500 error responses (#2135) (519139924639a0135169210a0d9c5cd0a0d3e994)
@kettanaito- prioritize the
nodeexport when importingmsw/node(#2134, transitively through@mswjs/interceptors).- add a new
unhandledExceptionevent (#2135, docs).server.events.on('unhandledException', ({ request, error }) => { console.log('%s %s errored! See details below.', request.method, request.url) console.error(error) })Bug Fixes
- Disposable: make the ".dispose()" method synchronous (#2144) (686d3d668f7b76cbf26f75c990fded5e4fd298da)
@kettanaito
Commits
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency -
@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
The latest updates on your projects. Learn more about Vercel for Git ↗︎
| Name | Status | Preview | Comments | Updated (UTC) |
|---|---|---|---|---|
| daxus-simple-forum | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | May 18, 2024 0:18am |
Superseded by #495.