diff --git a/package.json b/package.json index 48b486d75e3..0c638205a85 100644 --- a/package.json +++ b/package.json @@ -79,7 +79,7 @@ "@swc/core": "^1.3.107", "@swc/jest": "^0.2.29", "@testing-library/jest-dom": "^6.1.6", - "@testing-library/react": "12.1.2", + "@testing-library/react": "14.2.1", "@types/chrome": "0.0.256", "@types/enzyme": "^3.10.18", "@types/enzyme-adapter-react-16": "^1.0.9", diff --git a/yarn.lock b/yarn.lock index 8dec909e559..78bd0d83582 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2333,9 +2333,9 @@ __metadata: languageName: node linkType: hard -"@testing-library/dom@npm:^8.0.0": - version: 8.20.1 - resolution: "@testing-library/dom@npm:8.20.1" +"@testing-library/dom@npm:^9.0.0": + version: 9.3.4 + resolution: "@testing-library/dom@npm:9.3.4" dependencies: "@babel/code-frame": ^7.10.4 "@babel/runtime": ^7.12.5 @@ -2345,7 +2345,7 @@ __metadata: dom-accessibility-api: ^0.5.9 lz-string: ^1.5.0 pretty-format: ^27.0.2 - checksum: 06fc8dc67849aadb726cbbad0e7546afdf8923bd39acb64c576d706249bd7d0d05f08e08a31913fb621162e3b9c2bd0dce15964437f030f9fa4476326fdd3007 + checksum: dfd6fb0d6c7b4dd716ba3c47309bc9541b4a55772cb61758b4f396b3785efe2dbc75dc63423545c039078c7ffcc5e4b8c67c2db1b6af4799580466036f70026f languageName: node linkType: hard @@ -2382,16 +2382,17 @@ __metadata: languageName: node linkType: hard -"@testing-library/react@npm:12.1.2": - version: 12.1.2 - resolution: "@testing-library/react@npm:12.1.2" +"@testing-library/react@npm:14.2.1": + version: 14.2.1 + resolution: "@testing-library/react@npm:14.2.1" dependencies: "@babel/runtime": ^7.12.5 - "@testing-library/dom": ^8.0.0 + "@testing-library/dom": ^9.0.0 + "@types/react-dom": ^18.0.0 peerDependencies: - react: "*" - react-dom: "*" - checksum: 70b0f7f27c83fe1a33e7df01b1e64850fbab4050c403848d611d852cadaa25ccde58518773002ae569a1350b2282c2ccbcbe5eb6af8b29ab377ab2a8ab573b3b + react: ^18.0.0 + react-dom: ^18.0.0 + checksum: 7054ae69a0e06c0777da8105fa08fac7e8dac570476a065285d7b993947acda5c948598764a203ebaac759c161c562d6712f19f5bd08be3f09a07e23baee5426 languageName: node linkType: hard @@ -2748,6 +2749,15 @@ __metadata: languageName: node linkType: hard +"@types/react-dom@npm:^18.0.0": + version: 18.2.19 + resolution: "@types/react-dom@npm:18.2.19" + dependencies: + "@types/react": "*" + checksum: 087a19d8e4c1c0900ec4ac5ddb749a811a38274b25683d233c11755d2895cc6e475e8bf9bea3dee36519769298e078d4c2feab9ab4bd13b26bc2a6170716437e + languageName: node + linkType: hard + "@types/react-helmet@npm:^6.1.11": version: 6.1.11 resolution: "@types/react-helmet@npm:6.1.11" @@ -3359,7 +3369,7 @@ __metadata: "@swc/core": ^1.3.107 "@swc/jest": ^0.2.29 "@testing-library/jest-dom": ^6.1.6 - "@testing-library/react": 12.1.2 + "@testing-library/react": 14.2.1 "@testing-library/user-event": ^14.5.2 "@types/chrome": 0.0.256 "@types/enzyme": ^3.10.18