Skip to content

chore: bump msw from 0.42.0 to 0.44.2 in /site #3272

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jul 28, 2022

Bumps msw from 0.42.0 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 dependabot bot requested a review from a team as a code owner July 28, 2022 19:13
@presleyp
Copy link
Contributor

presleyp commented Aug 3, 2022

@dependabot rebase

Bumps [msw](https://github.com/mswjs/msw) from 0.42.0 to 0.44.2.
- [Release notes](https://github.com/mswjs/msw/releases)
- [Changelog](https://github.com/mswjs/msw/blob/main/CHANGELOG.md)
- [Commits](mswjs/msw@v0.42.0...v0.44.2)

---
updated-dependencies:
- dependency-name: msw
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/site/msw-0.44.2 branch from 3d84bf8 to 1d09319 Compare August 3, 2022 18:31
@github-actions
Copy link

This Pull Request is becoming stale. In order to minimize WIP, prevent merge conflicts and keep the tracker readable, I'm going close to this PR in 3 days if there isn't more activity.

@github-actions github-actions bot added the stale This issue is like stale bread. label Aug 11, 2022
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Aug 22, 2022

Superseded by #3629.

@dependabot dependabot bot closed this Aug 22, 2022
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/site/msw-0.44.2 branch August 22, 2022 20:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale This issue is like stale bread.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant