fix(deps): update dependency msw to v2 #120
Open
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:
^0.43.0
->2.0.8
Release Notes
mswjs/msw
v2.0.8
Compare Source
v2.0.8 (2023-11-17)
Bug Fixes
a7ffd32
) @kettanaitov2.0.7
Compare Source
v2.0.7 (2023-11-16)
Bug Fixes
c2d8e98
) @Jungzl @kettanaito0d79ec4
) @kettanaito75bbb96
) @ezzatron @kettanaitov2.0.6
Compare Source
v2.0.6 (2023-11-13)
Bug Fixes
463b74f
) @kettanaitoe628278
) @okkimus @kettanaitov2.0.5
Compare Source
v2.0.5 (2023-11-10)
Bug Fixes
f6601d9
) @kettanaitov2.0.4
Compare Source
v2.0.4 (2023-11-08)
Bug Fixes
bd0cec7
) @kettanaito @mattcosta7ccd7096
) @kettanaito @mattcosta76296429
) @kettanaito629a3cf
) @kettanaitoa037e3a
) @kettanaitobody
type forHttpResponse.json()
to be serializable json (#1838) (2af274c
) @kettanaitod49d48e
) @kettanaitov2.0.3
Compare Source
v2.0.3 (2023-11-04)
Bug Fixes
a0ec8be
) @kettanaito66fb437
) @kettanaitov2.0.2
Compare Source
v2.0.2 (2023-11-01)
Bug Fixes
2ead392
) @kettanaitoa179b68
) @joshkelf6e5112
) @mattcosta7v2.0.1
Compare Source
v2.0.1 (2023-10-28)
Bug Fixes
5c5470a
) @kunmaggv2.0.0
Compare Source
v2.0.0 (2023-10-23)
Breaking changes
< 4.7
.setupWorker
,SetupWorkerApi
, etc., must be imported frommsw/browser
now.rest
object tohttp
(rest.get
->http.get
).(req, res, ctx) => res()
but instead({ request }) => new Response()
.response
context
and related exports (defaultContext
,restContext
,graphqlContext
).compose
andcreateResponseComposition
res.once()
is removed in favor of the{ once: boolean }
option on the request handler..printHandlers()
method with.listHandlers()
.NetworkError
class in favor of the standardResponse.error()
.crypto.randomUUID()
instead ofMath.random()
in the worker.Features
Request
andResponse
instances respectively.ReadableStream
as a mocked response body.FormData
.FormData
as a mocked response body.File
polyfill in Node.js.{ once: true }
request handler option.RequestHandler
API public.Bug fixes
FormData
.FormData
response body.URLSearchParams
as the request body couldn’t be read.referrerPolicy
was reset to a different value than the original.XMLHttpRequest
events andreadyState
changes.responseType
equal to"arraybuffer"
as an incorrect buffer (previously, always assumed to be a string).XMLHttpRequest
events when the request fails.status
equal to 0 until the request actually resolves.onload
event 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
v1.3.2
Compare Source
v1.3.2 (2023-10-01)
Bug Fixes
0a857f6
) @kettanaitov1.3.1
Compare Source
v1.3.1 (2023-09-13)
Bug Fixes
2e53ae7
) @kettanaitov1.3.0
Compare Source
v1.3.0 (2023-09-03)
Features
2ca791e
) @chentsulin @kettanaitov1.2.5
Compare Source
v1.2.5 (2023-08-28)
Bug Fixes
d35e851
) @kettanaitov1.2.4
Compare Source
v1.2.4 (2023-08-25)
Bug Fixes
a93f63b
) @blowery @kettanaitov1.2.3
Compare Source
v1.2.3 (2023-07-20)
Bug Fixes
daa04af
) @kettanaitov1.2.2
Compare Source
v1.2.2 (2023-06-09)
Bug Fixes
ReadableStream
responses as text/json (#1622) (4c7e952
) @esquevin @kettanaito8e37d9c
) @gthb @kettanaitov1.2.1
Compare Source
v1.2.1 (2023-03-24)
Bug Fixes
e7a6008
) @kettanaito4f44f11
) @cstengleinv1.2.0
Compare Source
v1.2.0 (2023-03-22)
Features
operationName
to GraphQL request (#1568) (115b435
) @ligaz @kettanaitov1.1.1
Compare Source
v1.1.1 (2023-03-20)
Bug Fixes
c0616d1
) @mattcosta7v1.1.0
Compare Source
v1.1.0 (2023-02-24)
Features
049f21d
) @kettanaitoBug Fixes
78d1834
) @kettanaitov1.0.1
Compare Source
v1.0.1 (2023-02-10)
Bug Fixes
12a581f
) @iceu-bb @kettanaitov1.0.0
Compare Source
v1.0.0 (2023-01-25)
4fde47e
) @gduliscouet-ubitransport @kettanaitoFeatures
b4ac829
) @kettanaitov0.49.3
Compare Source
v0.49.3 (2023-01-19)
Bug Fixes
6a94b8c
) @chrisguttandinv0.49.2
Compare Source
v0.49.2 (2022-12-13)
Bug Fixes
globalThis.fetch
inctx.fetch
utility (#1490) (42cdbc7
) @Toxiapo @kettanaitov0.49.1
Compare Source
v0.49.1 (2022-11-28)
Bug Fixes
c268796
) @gduliscouet-ubitransportv0.49.0
Compare Source
v0.49.0 (2022-11-19)
Features
af0277d
) @wtchnmv0.48.3
Compare Source
v0.48.3 (2022-11-15)
Bug Fixes
a06a944
) @kettanaitostatuses
dependency during the build (#1458) (99d49f9
) @mattcosta7 @kettanaitov0.48.2
Compare Source
v0.48.2 (2022-11-13)
Bug Fixes
f8d15b4
) @kettanaitov0.48.1
Compare Source
v0.48.1 (2022-11-10)
Bug Fixes
91b2902
) @cksal0805v0.48.0
Compare Source
v0.48.0 (2022-11-08)
Features
85ba844
) @Toxiapo @kettanaito670dda7
) @mucsi96 @kettanaito41798eb
) @ivanhofer @kettanaitov0.47.4
Compare Source
v0.47.4 (2022-10-04)
Bug Fixes
package.json
exports
field (#1395) (3902b8c
) @ivanhofer @kettanaito933a9d6
) @jkieboom @kettanaito78d155f
) @snaka @kettanaitov0.47.3
Compare Source
v0.47.3 (2022-09-15)
Bug Fixes
41d8c08
)v0.47.2
Compare Source
v0.47.2 (2022-09-13)
Bug Fixes
c90eafb
)v0.47.1
Compare Source
v0.47.1 (2022-09-10)
Bug Fixes
638fad9
)v0.47.0
Compare Source
v0.47.0 (2022-09-04)
Features
exports
map in package.json (#1383) (5e1c1a6
)v0.46.1
Compare Source
v0.46.1 (2022-09-01)
Bug Fixes
8436515
)v0.46.0
Compare Source
v0.46.0 (2022-08-31)
Features
62f7c4d
)631f629
)18f5778
)v0.45.0
Compare Source
v0.45.0 (2022-08-22)
Features
ca0e2e0
)Configuration
📅 Schedule: 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 Renovate Bot.