Skip to content

Commit

Permalink
chore(deps): update dependency @testing-library/react to v16 (#1026)
Browse files Browse the repository at this point in the history
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@testing-library/react](https://togithub.com/testing-library/react-testing-library) | [`15.0.7` -> `16.0.0`](https://renovatebot.com/diffs/npm/@testing-library%2freact/15.0.7/16.0.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@testing-library%2freact/16.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@testing-library%2freact/16.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@testing-library%2freact/15.0.7/16.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@testing-library%2freact/15.0.7/16.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>testing-library/react-testing-library (@&#8203;testing-library/react)</summary>

### [`v16.0.0`](https://togithub.com/testing-library/react-testing-library/releases/tag/v16.0.0)

[Compare Source](https://togithub.com/testing-library/react-testing-library/compare/v15.0.7...v16.0.0)

##### Features

-   Move `@testing-library/dom` and `@types/react-dom`  to peer dependencies ([#&#8203;1305](https://togithub.com/testing-library/react-testing-library/issues/1305)) ([a4744fa](https://togithub.com/testing-library/react-testing-library/commit/a4744fa904bf11812c92093226c3805450472636))

##### BREAKING CHANGES

-   `@testing-library/dom` was moved to a peer dependency and needs to be explicitly installed. This reduces the chance of having conflicting versions of `@testing-library/dom` installed that frequently caused bugs when used with `@testing-library/user-event`. We will also be able to allow new versions of `@testing-library/dom` being used without a SemVer major release of `@testing-library/react` by just widening the peer dependency.
    `@types/react-dom` needs to be installed if you're typechecking files using `@testing-library/react`.

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **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.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR was generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View the [repository job log](https://developer.mend.io/github/kula-app/OnLaunch).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zOTMuMCIsInVwZGF0ZWRJblZlciI6IjM3LjQzOC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
  • Loading branch information
renovate[bot] authored Aug 5, 2024
1 parent e461988 commit 62dd041
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 33 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
"devDependencies": {
"@testing-library/dom": "^10.4.0",
"@testing-library/jest-dom": "6.4.8",
"@testing-library/react": "15.0.7",
"@testing-library/react": "16.0.0",
"@testing-library/user-event": "14.5.2",
"@types/js-yaml": "4.0.9",
"@types/node": "20.14.13",
Expand Down
41 changes: 9 additions & 32 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3679,22 +3679,6 @@ __metadata:
languageName: node
linkType: hard

"@testing-library/dom@npm:^10.0.0":
version: 10.0.0
resolution: "@testing-library/dom@npm:10.0.0"
dependencies:
"@babel/code-frame": "npm:^7.10.4"
"@babel/runtime": "npm:^7.12.5"
"@types/aria-query": "npm:^5.0.1"
aria-query: "npm:5.3.0"
chalk: "npm:^4.1.0"
dom-accessibility-api: "npm:^0.5.9"
lz-string: "npm:^1.5.0"
pretty-format: "npm:^27.0.2"
checksum: 10c0/2d12d2a6018a6f1d15e91834180bc068932c699ff1fcbfb80aa21aba519a4f5329c861dfa852e06ee5615bcb92ef2a0f0e755e32684ea3dada63bc34248382ab
languageName: node
linkType: hard

"@testing-library/dom@npm:^10.4.0":
version: 10.4.0
resolution: "@testing-library/dom@npm:10.4.0"
Expand Down Expand Up @@ -3727,21 +3711,23 @@ __metadata:
languageName: node
linkType: hard

"@testing-library/react@npm:15.0.7":
version: 15.0.7
resolution: "@testing-library/react@npm:15.0.7"
"@testing-library/react@npm:16.0.0":
version: 16.0.0
resolution: "@testing-library/react@npm:16.0.0"
dependencies:
"@babel/runtime": "npm:^7.12.5"
"@testing-library/dom": "npm:^10.0.0"
"@types/react-dom": "npm:^18.0.0"
peerDependencies:
"@testing-library/dom": ^10.0.0
"@types/react": ^18.0.0
"@types/react-dom": ^18.0.0
react: ^18.0.0
react-dom: ^18.0.0
peerDependenciesMeta:
"@types/react":
optional: true
checksum: 10c0/ac8ee8968e81949ecb35f7ee34741c2c043f73dd7fee2247d56f6de6a30de4742af94f25264356863974e54387485b46c9448ecf3f6ca41cf4339011c369f2d4
"@types/react-dom":
optional: true
checksum: 10c0/297f97bf4722dad05f11d9cafd47d387dbdb096fea4b79b876c7466460f0f2e345b55b81b3e37fc81ed8185c528cb53dd8455ca1b6b019b229edf6c796f11c9f
languageName: node
linkType: hard

Expand Down Expand Up @@ -4004,15 +3990,6 @@ __metadata:
languageName: node
linkType: hard

"@types/react-dom@npm:^18.0.0":
version: 18.2.15
resolution: "@types/react-dom@npm:18.2.15"
dependencies:
"@types/react": "npm:*"
checksum: 10c0/70e86f15f69f89b8f179139ab2e8a8aa9765e742789f5dd5a46fec40d4300ada8fe3349cceda42b9964a018982d7ccb7d791b47f781966c992bfd37da909fbd3
languageName: node
linkType: hard

"@types/react@npm:18.3.3":
version: 18.3.3
resolution: "@types/react@npm:18.3.3"
Expand Down Expand Up @@ -10262,7 +10239,7 @@ __metadata:
"@stripe/stripe-js": "npm:4.1.0"
"@testing-library/dom": "npm:^10.4.0"
"@testing-library/jest-dom": "npm:6.4.8"
"@testing-library/react": "npm:15.0.7"
"@testing-library/react": "npm:16.0.0"
"@testing-library/user-event": "npm:14.5.2"
"@types/bcrypt": "npm:5.0.2"
"@types/js-yaml": "npm:4.0.9"
Expand Down

0 comments on commit 62dd041

Please sign in to comment.