[Snyk] Upgrade @testing-library/react from 12.1.5 to 16.0.0 #10
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Snyk has created this PR to upgrade @testing-library/react from 12.1.5 to 16.0.0.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
The recommended version is 35 versions ahead of your current version.
The recommended version was released on 3 months ago.
Issues fixed by the recommended upgrade:
SNYK-JS-WS-7266574
SNYK-JS-WS-7266574
SNYK-JS-SERIALIZEJAVASCRIPT-6147607
Release notes
Package name: @testing-library/react
16.0.0 (2024-06-03)
Features
@ testing-library/dom
and@ types/react-dom
to peer dependencies (#1305) (a4744fa)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
.15.0.7 (2024-05-07)
Bug Fixes
act
is notany
whenReact.act
is not declared (#1323) (c1f2957)15.0.6 (2024-05-01)
Bug Fixes
15.0.5 (2024-04-26)
Bug Fixes
container
option based onhydrate
(#1313) (d143f46)15.0.4 (2024-04-23)
Bug Fixes
renderHook
options extend options forrender
(#1308) (48282c2)15.0.3 (2024-04-23)
Bug Fixes
document
(#1304) (067d0c6)15.0.2 (2024-04-13)
Bug Fixes
legacyRoot
error message (#1301) (c63b873)15.0.1 (2024-04-11)
Bug Fixes
15.0.0 (2024-04-10)
Release
BREAKING CHANGES
@ testing-library/dom
changes various roles. Check out the changed tests in testing-library/dom-testing-library@2c57055 to get an overview about what changed.14.3.1 (2024-04-11)
Bug Fixes
Important
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information: