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.8 #398

Closed
wants to merge 15 commits into from

Conversation

dependabot[bot]
Copy link
Contributor

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

Bumps msw from 1.3.2 to 2.0.8.

Release notes

Sourced from msw's releases.

v2.0.8 (2023-11-17)

Bug Fixes

  • graphql: allow null for "data" and "errors" response property types (#1867) (a7ffd32981fcda8acb70af28502ae7e98d16b353) @​kettanaito

v2.0.7 (2023-11-16)

Bug Fixes

v2.0.6 (2023-11-13)

Bug Fixes

  • GraphQL: expose request cookies in "cookies" argument (#1853) (463b74faaf445a4f751f8a25c67a8f98627f27f5) @​kettanaito
  • correct docs link for anonymous GraphQL operations (#1850) (e62827860e3b6ef291ada81d96025af2755e2505) @​okkimus @​kettanaito

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

... (truncated)

Commits
  • 657edd8 chore(release): v2.0.8
  • a7ffd32 fix(graphql): allow null for "data" and "errors" response property types (#1867)
  • 28efd32 chore: remove "node-fetch" (#1864)
  • 276157a chore(release): v2.0.7
  • 54df656 test(cookies): use global fetch vs "node-fetch" (#1862)
  • f47a942 test(node): add request blob tests (#1861)
  • c2d8e98 fix: encode cookie string before forwarding request cookies (#1815)
  • 0d79ec4 fix(react-native): import "node:events" lazily (#1858)
  • 75bbb96 fix: change request cookie type to be Record<string, string> (#1857)
  • c652d90 test: add "application/protobuf" handling test (#1443)
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR 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 <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

Bumps [msw](https://github.com/mswjs/msw) from 1.3.2 to 2.0.8.
- [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.8)

---
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 20, 2023
Comment on lines +10 to +13
### Changed

- `promjs` dependency brought to the same repo after it seems to be deprecated.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not a change of the public UI. This section is used for changes in existing functionality when following https://keepachangelog.com/

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

promjs is not a dependency anymore, somehow it affects to the consumers, what do you think a different approach:

Suggested change
### Changed
- `promjs` dependency brought to the same repo after it seems to be deprecated.
### Changed
- `promjs` is not a dependency anymore.

vitest.config.ts Show resolved Hide resolved
tsconfig.json Outdated Show resolved Hide resolved
tsconfig.json Outdated Show resolved Hide resolved
test/setup-test-env.ts Outdated Show resolved Hide resolved
@alejandrofdiaz
Copy link
Contributor

Do you have any idea why vi namespace (which its type is correct for runtime functions and values) does not also expose the types?

I mean I can declare vi.mock as global but I can't type a variable with vi.Mock type.

Copy link
Contributor Author

dependabot bot commented on behalf of github Nov 27, 2023

A newer version of msw exists, but since this PR has been edited by someone other than Dependabot I haven't updated it. You'll get a PR for the updated version as normal once this PR is merged.

Jorge Ezequiel Fabbroni Assum added 2 commits January 8, 2024 09:42
@pablomarquezcabify
Copy link
Contributor

@dependabot ignore msw major version

Copy link
Contributor Author

dependabot bot commented on behalf of github Jan 16, 2024

Sorry, the command you entered is not valid for this pull request. Please check the syntax and try again.

Valid commands:
For single dependency PRs, use commands like:
@dependabot ignore this major version
@dependabot ignore this minor version
@dependabot ignore this dependency

@pablomarquezcabify
Copy link
Contributor

@dependabot ignore this major version

@dependabot dependabot bot closed this Jan 16, 2024
Copy link
Contributor Author

dependabot bot commented on behalf of github Jan 16, 2024

OK, I won't notify you about version 2.x.x again, unless you re-open this PR.

@dependabot dependabot bot deleted the dependabot/npm_and_yarn/msw-2.0.8 branch January 16, 2024 11:37
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.

4 participants