marcobiedermann / spotify-clone

🎵 Simple Spotify clone using their Web API.
https://marcobiedermann-spotify-clone.netlify.com/
MIT License
4 stars 0 forks source link

chore(deps-dev): bump msw from 0.39.2 to 0.44.2 #390

Closed dependabot[bot] closed 2 years ago

dependabot[bot] commented 2 years ago

Bumps msw from 0.39.2 to 0.44.2.

Release notes

Sourced from msw's releases.

v0.44.2 (2022-07-19)

Bug Fixes

  • transfer mocked response as ArrayBuffer to the worker (#1337) (95be5f8ac1c0f02b2d4b5e6e0dd02d2cf7342008)

v0.44.1 (2022-07-14)

Bug Fixes

  • super call stack overflow (#1328) (6a3f442bdea1d4ba615020ccece22a9e091e5f3c)

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). Please use MockedRequest class instead.

Features

  • adhere to Fetch API "Request" in response resolver (#1316, @​95th) (fc7f00c96e79ad0be83cbaf7c82ceff23f0c4355). This means the addition of a few properties on the req instance:
    • req.priority, indicates a priority of request relatively to other requests (default "auto");
    • req.text(), reads the request body as plain text;
    • req.json(), reads the request body as JSON;
    • req.arrayBuffer(), reads the request body as ArrayBuffer;
    • req.clone(), clones a request instance (i.e. so its body could be read multiple times).
  • remove unnecessary stringification of worker-client messages (#1320) (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).
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 (2022-07-07)

Bug Fixes

  • support multiple response cookies using "ctx.cookie()" (#1311) (66c3ad888058f92db7dc94ad9d1c408a4ea9e14f)

v0.43.0 (2022-07-04)

Features

... (truncated)

Commits


Dependabot compatibility score

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 rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will 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 version` will 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 dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
dependabot[bot] commented 2 years ago

Superseded by #393.