Skip to content
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

Bump msw from 1.3.2 to 2.0.5 #348

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 10, 2023

Bumps msw from 1.3.2 to 2.0.5.

Release notes

Sourced from msw's releases.

v2.0.5 (2023-11-10)

Bug Fixes

  • xhr: support environments without location (React Native) (#1849) (f6601d995a3ddf0f2b5763a87a04ec132b649ed1) @​kettanaito

v2.0.4 (2023-11-08)

Bug Fixes

  • safely access "request.credentials" in cloudflare (#1845) (bd0cec7a2163ab47301608c1712c55f1cf04327a) @​kettanaito @​mattcosta7
  • safely access "Response.type" in cloudflare (#1846) (ccd709614129739dea3bcb767c1f9e3809ae1d2b) @​kettanaito @​mattcosta7
  • allow setting "timeout" on XMLHttpRequest (#1844) (62964292728398344beda0ffc16e4ca388ba0245) @​kettanaito
  • update @​mswjs/interceptors to 0.25.8 (#1842) (629a3cf8248d7d9e21f524210d7282cab44f35ab) @​kettanaito
  • allow overriding "Content-Type" in HttpResponse static methods (#1839) (a037e3a3f4f4d4cc712d2b3867b3410e4bcfaad6) @​kettanaito
  • narrow body type for HttpResponse.json() to be serializable json (#1838) (2af274c154d2e0b696188c10ba1f0271e900c40a) @​kettanaito
  • remove "formdata-node" dependency (#1837) (d49d48e9ca6467aeea16f4c3345789626a0396f2) @​kettanaito

v2.0.3 (2023-11-04)

Bug Fixes

  • correctly check "undefined" as response body type (#1824) (a0ec8be311daef0285d8485e315bbb49a9370f44) @​kettanaito
  • Safari: send explicit null response bodies (#1833) (66fb437c0936651cf0bb936f21aa77054b147857) @​kettanaito

v2.0.2 (2023-11-01)

Bug Fixes

  • output a single formatted message to console (#1820) (2ead3922f3ec5a4750e3b9e09e75aeb20f13c736) @​kettanaito
  • prevent one-time handlers from incorrectly marking themselves as used (#1822) (a179b68e2dfd3667999c31b1dbd3870a0b92568c) @​joshkel
  • resolve the "eventTargets" error in JSDOM by dropping "instanceof" (#1813) (f6e5112fa0f1ebbd97fb95bcbda1c47a0cc750f9) @​mattcosta7

v2.0.1 (2023-10-28)

Bug Fixes

  • clone response early for response logging (#1799) (5c5470a0f2204b4164fcc65e210471661208ce4d) @​kunmagg

v2.0.0 (2023-10-23)

[!IMPORTANT] This release is a BREAKING CHANGE. Please follow the Migration guidelines to upgrade. This release took a lot of effort to make, and I expect a bit of that effort on your part while upgrading. Most of the changes are mechanical, and a simple Find/Replace All will get you a long way. For the rest of it, you will learn how to handle requests and responses using the standard JavaScript API. Thank you!

Breaking changes

  • Drops support for Node.js 16. Please upgrade to Node.js 18 or later to use the global Fetch API.
  • Drops support for TypeScript < 4.7.
  • All browser-side exports, like setupWorker, SetupWorkerApi, etc., must be imported from msw/browser now.
  • Renames the rest object to http (rest.get -> http.get).
  • Response resolver call signature is no longer (req, res, ctx) => res() but instead ({ request }) => new Response().

... (truncated)

Commits
  • ed3429b chore(release): v2.0.5
  • f6601d9 fix(xhr): support environments without location (React Native) (#1849)
  • 15e3006 test: add miniflare environment regression test (#1840)
  • c5b151f chore(release): v2.0.4
  • bd0cec7 fix: safely access "request.credentials" in cloudflare (#1845)
  • ccd7096 fix: safely access "Response.type" in cloudflare (#1846)
  • 6296429 fix: allow setting "timeout" on XMLHttpRequest (#1844)
  • 629a3cf fix: update @​mswjs/interceptors to 0.25.8 (#1842)
  • a037e3a fix: allow overriding "Content-Type" in HttpResponse static methods (#1839)
  • 2af274c fix: narrow body type for HttpResponse.json() to be serializable json (#1...
  • Additional commits viewable in compare view

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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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)

Bumps [msw](https://github.com/mswjs/msw) from 1.3.2 to 2.0.5.
- [Release notes](https://github.com/mswjs/msw/releases)
- [Changelog](https://github.com/mswjs/msw/blob/main/CHANGELOG.md)
- [Commits](mswjs/msw@v1.3.2...v2.0.5)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Nov 10, 2023
Copy link
Contributor Author

dependabot bot commented on behalf of github Nov 13, 2023

Superseded by #349.

@dependabot dependabot bot closed this Nov 13, 2023
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/msw-2.0.5 branch November 13, 2023 22:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Development

Successfully merging this pull request may close these issues.

0 participants