chore(deps): update dependency msw to v2 - #843
Closed
renovate[bot] wants to merge 1 commit into
Closed
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
renovate
Bot
force-pushed
the
renovate/msw-2.x
branch
from
October 23, 2023 11:54
8b83db2 to
1c207e3
Compare
Contributor
Author
Renovate Ignore NotificationBecause you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR. |
This branch had an error being deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
1.3.2->2.0.0Release Notes
mswjs/msw (msw)
v2.0.0Compare Source
v2.0.0 (2023-10-23)
Breaking changes
< 4.7.setupWorker,SetupWorkerApi, etc., must be imported frommsw/browsernow.restobject tohttp(rest.get->http.get).(req, res, ctx) => res()but instead({ request }) => new Response().responsecontextand related exports (defaultContext,restContext,graphqlContext).composeandcreateResponseCompositionres.once()is removed in favor of the{ once: boolean }option on the request handler..printHandlers()method with.listHandlers().NetworkErrorclass in favor of the standardResponse.error().crypto.randomUUID()instead ofMath.random()in the worker.Features
RequestandResponseinstances respectively.ReadableStreamas a mocked response body.FormData.FormDataas a mocked response body.Filepolyfill in Node.js.{ once: true }request handler option.RequestHandlerAPI public.Bug fixes
FormData.FormDataresponse body.URLSearchParamsas the request body couldn’t be read.referrerPolicywas reset to a different value than the original.XMLHttpRequestevents andreadyStatechanges.responseTypeequal to"arraybuffer"as an incorrect buffer (previously, always assumed to be a string).XMLHttpRequestevents when the request fails.statusequal to 0 until the request actually resolves.onloadevent callback was called twice forXMLHttpRequest.@dbritto-dev @ddolcimascolo @markwhitfeld @christoph-fricke @thepassle @piotr-cz @mattcosta7 @koddsson @dkobierski @ricardocosta @dxlbnl @zkochan @felipefreitag @weyert @95th @committomaster @Xayer @Kosai106 @colinsullivan @xmlking @thw0rted @lee-reinhardt @wKovacs64 @TeChn4K @cmolina @nickrttn @thomasbertet @mscottnelson @jonnedeprez @negabaro @the-ult @WesleyYue @cwagner22 @skvale @alawiii521 @csantos1113 @elliotgonzalez123 @committomaster @tsteckenborn @xxleyi @jonnedeprez @danny-does-stuff @lemcii @mattrodak @luisr-carrillo @lee-reinhardt @ealejandrootalvaro @tomdglenn91
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.