TreyM-WSS / concord

Concord - workflow orchestration and continuous deployment management
https://concord.walmartlabs.com
Other
0 stars 1 forks source link

Update dependency @testing-library/react to v10 - autoclosed #238

Closed mend-for-github-com[bot] closed 1 year ago

mend-for-github-com[bot] commented 1 year ago

This PR contains the following updates:

Package Type Update Change
@testing-library/react devDependencies major 9.4.1 -> 10.0.0

By merging this PR, the below issues will be automatically resolved and closed:

Severity CVSS Score CVE GitHub Issue
High 7.5 CVE-2021-3807 #122

Release Notes

testing-library/react-testing-library ### [`v10.0.0`](https://togithub.com/testing-library/react-testing-library/releases/tag/v10.0.0) [Compare Source](https://togithub.com/testing-library/react-testing-library/compare/v9.5.0...v10.0.0) ##### Features - Flush microtasks in cleanup ([#​519](https://togithub.com/testing-library/react-testing-library/issues/519)) ([9fc8581](https://togithub.com/testing-library/react-testing-library/commit/9fc8581713d03972f935132b5cfab316d6b93abe)) - update `@testing-library/dom` ([435098c](https://togithub.com/testing-library/react-testing-library/commit/435098c3a05ca4e9cadc0c8f2ef50c0e1dcc2ebd)) ##### BREAKING CHANGES ##### Update DOM Testing Library The latest version of DOM Testing Library has several breaking changes you will want to [review the changelog of DOM Testing Library v7.0.0](https://togithub.com/testing-library/dom-testing-library/releases/tag/v7.0.0) to ensure you are unaffected. ##### Drop Node 8 Node 10 or greater is required. Node 8 is [out of LTS](https://nodejs.org/en/about/releases/) ([#​576](https://togithub.com/testing-library/react-testing-library/issues/576)) ([fccc2cf](https://togithub.com/testing-library/react-testing-library/commit/fccc2cf302c1af2281712baa0bdad5a2b93c3212)), closes [#​575](https://togithub.com/testing-library/react-testing-library/issues/575) ##### remove deprecated `cleanup-after-each.js` This file which did nothing but log a warning to the console ([#​598](https://togithub.com/testing-library/react-testing-library/issues/598)) ([7942f68](https://togithub.com/testing-library/react-testing-library/commit/7942f684509831afcdd4d88b191e9193fab576ff)) ```diff - import '@​testing-library/react/cleanup-after-each' + // nothing! Just remove it ``` As a general reminder, you should *NOT* need to use `cleanup` at all as this is done automatically for you (unless you're using `@testing-library/react/pure` in which case you know what you're doing... keep using `cleanup`). ### [`v9.5.0`](https://togithub.com/testing-library/react-testing-library/releases/tag/v9.5.0) [Compare Source](https://togithub.com/testing-library/react-testing-library/compare/v9.4.1...v9.5.0) ##### Features - **debug:** accept the same arguments as prettyDOM ([#​596](https://togithub.com/testing-library/react-testing-library/issues/596)) ([35522b1](https://togithub.com/testing-library/react-testing-library/commit/35522b1af7b72f771157d591387e84090fcf78f4)), closes [#​580](https://togithub.com/testing-library/react-testing-library/issues/580)