Unleash / unleash-frontend

Unleash Admin UI
https://unleash-frontend-git-main.unleash-team.vercel.app
Apache License 2.0
30 stars 43 forks source link

chore(deps): update dependency msw to v0.44.2 #1176

Closed renovate[bot] closed 2 years ago

renovate[bot] commented 2 years ago

Mend Renovate

This PR contains the following updates:

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

Release Notes

mswjs/msw ### [`v0.44.2`](https://togithub.com/mswjs/msw/releases/tag/v0.44.2) [Compare Source](https://togithub.com/mswjs/msw/compare/v0.44.1...v0.44.2) #### v0.44.2 (2022-07-19) ##### Bug Fixes - transfer mocked response as ArrayBuffer to the worker ([#​1337](https://togithub.com/mswjs/msw/issues/1337)) ([`95be5f8`](https://togithub.com/mswjs/msw/commit/95be5f8ac1c0f02b2d4b5e6e0dd02d2cf7342008)) ### [`v0.44.1`](https://togithub.com/mswjs/msw/releases/tag/v0.44.1) [Compare Source](https://togithub.com/mswjs/msw/compare/v0.44.0...v0.44.1) #### v0.44.1 (2022-07-14) ##### Bug Fixes - super call stack overflow ([#​1328](https://togithub.com/mswjs/msw/issues/1328)) ([`6a3f442`](https://togithub.com/mswjs/msw/commit/6a3f442bdea1d4ba615020ccece22a9e091e5f3c)) ### [`v0.44.0`](https://togithub.com/mswjs/msw/releases/tag/v0.44.0) [Compare Source](https://togithub.com/mswjs/msw/compare/v0.43.1...v0.44.0) #### v0.44.0 (2022-07-13) ##### Breaking changes - `req.destination` default value is now `""` (empty string), previously `"document"`. - `req.redirect` default value is now `""follow"`, previously `"manual"`. - The library no longer exports the `parseIsomorphicRequest()` function ([#​1316](https://togithub.com/mswjs/msw/issues/1316)). Please use `MockedRequest` class instead. ##### Features - adhere to [Fetch API "Request"](https://developer.mozilla.org/en-US/docs/Web/API/Request) in response resolver ([#​1316](https://togithub.com/mswjs/msw/issues/1316), [@​95th](https://togithub.com/95th)) ([`fc7f00c`](https://togithub.com/mswjs/msw/commit/fc7f00c96e79ad0be83cbaf7c82ceff23f0c4355)). This means the addition of a few properties on the `req` instance: - [`req.priority`](https://developer.mozilla.org/en-US/docs/Web/API/Request/priority), indicates a priority of request relatively to other requests (default `"auto"`); - [`req.text()`](https://developer.mozilla.org/en-US/docs/Web/API/Request/text), reads the request body as plain text; - [`req.json()`](https://developer.mozilla.org/en-US/docs/Web/API/Request/json), reads the request body as JSON; - [`req.arrayBuffer()`](https://developer.mozilla.org/en-US/docs/Web/API/Request/arrayBuffer), reads the request body as `ArrayBuffer`; - [`req.clone()`](https://developer.mozilla.org/en-US/docs/Web/API/Request/clone), clones a request instance (i.e. so its body could be read multiple times). - remove unnecessary stringification of worker-client messages ([#​1320](https://togithub.com/mswjs/msw/issues/1320)) ([`6990c3a`](https://togithub.com/mswjs/msw/commit/6990c3a57a1f515fe977c2eaa7741005b885b8af)) ##### Deprecations - **`req.body` is deprecated**. Please use explicit request body reading methods: `req.text()`, `req.json()`, `req.arrayBuffer()` (other methods, like `req.formData()` are currently not supported). ```js rest.post('/user', async (req, res, ctx) => { const newUser = await req.json() }) ``` > `req.body` is still present for compatibility reasons but will be removed in the next releases. ### [`v0.43.1`](https://togithub.com/mswjs/msw/releases/tag/v0.43.1) [Compare Source](https://togithub.com/mswjs/msw/compare/v0.43.0...v0.43.1) #### v0.43.1 (2022-07-07) ##### Bug Fixes - support multiple response cookies using "ctx.cookie()" ([#​1311](https://togithub.com/mswjs/msw/issues/1311)) ([`66c3ad8`](https://togithub.com/mswjs/msw/commit/66c3ad888058f92db7dc94ad9d1c408a4ea9e14f)) ### [`v0.43.0`](https://togithub.com/mswjs/msw/releases/tag/v0.43.0) [Compare Source](https://togithub.com/mswjs/msw/compare/v0.42.3...v0.43.0) #### v0.43.0 (2022-07-04) ##### Features - send mocked response body as ReadableStream to the worker ([#​1288](https://togithub.com/mswjs/msw/issues/1288)) ([`78c7d7e`](https://togithub.com/mswjs/msw/commit/78c7d7eee84b961eb29b2591bd78f81e0c48deef))

Configuration

πŸ“… Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

β™» 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.

vercel[bot] commented 2 years ago

The latest updates on your projects. Learn more about Vercel for Git β†—οΈŽ

Name Status Preview Updated
unleash-frontend βœ… Ready (Inspect) Visit Preview Sep 1, 2022 at 11:50PM (UTC)