From f5024dc88d02bbe03e7353a6c04dbc7079cba669 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sat, 17 Sep 2022 14:36:24 +0000 Subject: [PATCH] Update react --- package.json | 10 ++--- yarn.lock | 113 +++++++++++++++++---------------------------------- 2 files changed, 42 insertions(+), 81 deletions(-) diff --git a/package.json b/package.json index 3cd26aa7..39c8157a 100644 --- a/package.json +++ b/package.json @@ -6,10 +6,10 @@ "dependencies": { "@testing-library/dom": "^8.11.0", "@testing-library/jest-dom": "^5.15.0", - "@testing-library/react": "^12.1.2", + "@testing-library/react": "^13.0.0", "@testing-library/user-event": "^13.5.0", - "react": "^17.0.2", - "react-dom": "^17.0.2", + "react": "^18.0.0", + "react-dom": "^18.0.0", "react-scripts": "^5.0.0", "sanitize.css": "^13.0.0", "typescript": "^4.5.5", @@ -18,8 +18,8 @@ "devDependencies": { "@types/jest": "^27.0.2", "@types/node": "^17.0.21", - "@types/react": "^17.0.34", - "@types/react-dom": "^17.0.11", + "@types/react": "^18.0.0", + "@types/react-dom": "^18.0.0", "eslint-plugin-jest-dom": "^4.0.0", "eslint-plugin-react-perf": "^3.3.0", "eslint-plugin-regexp": "^1.5.0", diff --git a/yarn.lock b/yarn.lock index ea69b207..4788bcb3 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3217,23 +3217,7 @@ __metadata: languageName: node linkType: hard -"@testing-library/dom@npm:^8.0.0": - version: 8.7.1 - resolution: "@testing-library/dom@npm:8.7.1" - dependencies: - "@babel/code-frame": ^7.10.4 - "@babel/runtime": ^7.12.5 - "@types/aria-query": ^4.2.0 - aria-query: ^4.2.2 - chalk: ^4.1.0 - dom-accessibility-api: ^0.5.6 - lz-string: ^1.4.4 - pretty-format: ^27.0.2 - checksum: 9d8dc39affe183e2a6ef843d65a886928978332cfb097bf456c567702d9fa0dfa3efc5e7fbf8bbdacc4af4652151c3712b5c1345ff6ea99fa597cad4443125f2 - languageName: node - linkType: hard - -"@testing-library/dom@npm:^8.11.0": +"@testing-library/dom@npm:^8.11.0, @testing-library/dom@npm:^8.5.0": version: 8.18.0 resolution: "@testing-library/dom@npm:8.18.0" dependencies: @@ -3282,17 +3266,17 @@ __metadata: languageName: node linkType: hard -"@testing-library/react@npm:^12.1.2": - version: 12.1.5 - resolution: "@testing-library/react@npm:12.1.5" +"@testing-library/react@npm:^13.0.0": + version: 13.4.0 + resolution: "@testing-library/react@npm:13.4.0" dependencies: "@babel/runtime": ^7.12.5 - "@testing-library/dom": ^8.0.0 - "@types/react-dom": <18.0.0 + "@testing-library/dom": ^8.5.0 + "@types/react-dom": ^18.0.0 peerDependencies: - react: <18.0.0 - react-dom: <18.0.0 - checksum: 4abd0490405e709a7df584a0db604e508a4612398bb1326e8fa32dd9393b15badc826dcf6d2f7525437886d507871f719f127b9860ed69ddd204d1fa834f576a + react: ^18.0.0 + react-dom: ^18.0.0 + checksum: 51ec548c1fdb1271089a5c63e0908f0166f2c7fcd9cacd3108ebbe0ce64cb4351812d885892020dc37608418cfb15698514856502b3cab0e5cc58d6cc1bd4a3e languageName: node linkType: hard @@ -3555,43 +3539,23 @@ __metadata: languageName: node linkType: hard -"@types/react-dom@npm:<18.0.0": - version: 17.0.15 - resolution: "@types/react-dom@npm:17.0.15" +"@types/react-dom@npm:^18.0.0": + version: 18.0.6 + resolution: "@types/react-dom@npm:18.0.6" dependencies: - "@types/react": ^17 - checksum: 7b90372bd7207d3860e1043ebfe10fd21fbd9ec3417a29593ca14359774830c888ba4ebb25cf0510628607496f8d35b09d23d329ea709b9311f5866185c5fd67 + "@types/react": "*" + checksum: db571047af1a567631758700b9f7d143e566df939cfe5fbf7535347cc0c726a1cdbb5e3f8566d076e54cf708b6c1166689de194a9ba09ee35efc9e1d45911685 languageName: node linkType: hard -"@types/react-dom@npm:^17.0.11": - version: 17.0.17 - resolution: "@types/react-dom@npm:17.0.17" - dependencies: - "@types/react": ^17 - checksum: 23caf98aa03e968811560f92a2c8f451694253ebe16b670929b24eaf0e7fa62ba549abe9db0ac028a9d8a9086acd6ab9c6c773f163fa21224845edbc00ba6232 - languageName: node - linkType: hard - -"@types/react@npm:^17": - version: 17.0.44 - resolution: "@types/react@npm:17.0.44" - dependencies: - "@types/prop-types": "*" - "@types/scheduler": "*" - csstype: ^3.0.2 - checksum: ebee02778ca08f954c316dc907802264e0121c87b8fa2e7e0156ab0ef2a1b0a09d968c016a3600ec4c9a17dc09b4274f292d9b15a1a5369bb7e4072def82808f - languageName: node - linkType: hard - -"@types/react@npm:^17.0.34": - version: 17.0.50 - resolution: "@types/react@npm:17.0.50" +"@types/react@npm:*, @types/react@npm:^18.0.0": + version: 18.0.20 + resolution: "@types/react@npm:18.0.20" dependencies: "@types/prop-types": "*" "@types/scheduler": "*" csstype: ^3.0.2 - checksum: b5629dff7c2f3e9fcba95a19b2b3bfd78d7cacc33ba5fc26413dba653d34afcac3b93ddabe563e8062382688a1eac7db68e93739bb8e712d27637a03aaafbbb8 + checksum: f67f5b16efd89e237bf0e40d133218c398cf2a2f81166ce1e9fa32d0df6b869106740983396c51df9708a1b79b2a9d725eda1230cc3064c92d86d9ea6a4b714c languageName: node linkType: hard @@ -11631,16 +11595,15 @@ __metadata: languageName: node linkType: hard -"react-dom@npm:^17.0.2": - version: 17.0.2 - resolution: "react-dom@npm:17.0.2" +"react-dom@npm:^18.0.0": + version: 18.2.0 + resolution: "react-dom@npm:18.2.0" dependencies: loose-envify: ^1.1.0 - object-assign: ^4.1.1 - scheduler: ^0.20.2 + scheduler: ^0.23.0 peerDependencies: - react: 17.0.2 - checksum: 1c1eaa3bca7c7228d24b70932e3d7c99e70d1d04e13bb0843bbf321582bc25d7961d6b8a6978a58a598af2af496d1cedcfb1bf65f6b0960a0a8161cb8dab743c + react: ^18.2.0 + checksum: 7d323310bea3a91be2965f9468d552f201b1c27891e45ddc2d6b8f717680c95a75ae0bc1e3f5cf41472446a2589a75aed4483aee8169287909fcd59ad149e8cc languageName: node linkType: hard @@ -11739,13 +11702,12 @@ __metadata: languageName: node linkType: hard -"react@npm:^17.0.2": - version: 17.0.2 - resolution: "react@npm:17.0.2" +"react@npm:^18.0.0": + version: 18.2.0 + resolution: "react@npm:18.2.0" dependencies: loose-envify: ^1.1.0 - object-assign: ^4.1.1 - checksum: b254cc17ce3011788330f7bbf383ab653c6848902d7936a87b09d835d091e3f295f7e9dd1597c6daac5dc80f90e778c8230218ba8ad599f74adcc11e33b9d61b + checksum: 88e38092da8839b830cda6feef2e8505dec8ace60579e46aa5490fc3dc9bba0bd50336507dc166f43e3afc1c42939c09fe33b25fae889d6f402721dcd78fca1b languageName: node linkType: hard @@ -12253,13 +12215,12 @@ resolve@^2.0.0-next.3: languageName: node linkType: hard -"scheduler@npm:^0.20.2": - version: 0.20.2 - resolution: "scheduler@npm:0.20.2" +"scheduler@npm:^0.23.0": + version: 0.23.0 + resolution: "scheduler@npm:0.23.0" dependencies: loose-envify: ^1.1.0 - object-assign: ^4.1.1 - checksum: c4b35cf967c8f0d3e65753252d0f260271f81a81e427241295c5a7b783abf4ea9e905f22f815ab66676f5313be0a25f47be582254db8f9241b259213e999b8fc + checksum: d79192eeaa12abef860c195ea45d37cbf2bbf5f66e3c4dcd16f54a7da53b17788a70d109ee3d3dde1a0fd50e6a8fc171f4300356c5aee4fc0171de526bf35f8a languageName: node linkType: hard @@ -12567,20 +12528,20 @@ resolve@^2.0.0-next.3: dependencies: "@testing-library/dom": ^8.11.0 "@testing-library/jest-dom": ^5.15.0 - "@testing-library/react": ^12.1.2 + "@testing-library/react": ^13.0.0 "@testing-library/user-event": ^13.5.0 "@types/jest": ^27.0.2 "@types/node": ^17.0.21 - "@types/react": ^17.0.34 - "@types/react-dom": ^17.0.11 + "@types/react": ^18.0.0 + "@types/react-dom": ^18.0.0 eslint-plugin-jest-dom: ^4.0.0 eslint-plugin-react-perf: ^3.3.0 eslint-plugin-regexp: ^1.5.0 eslint-plugin-sonarjs: ^0.15.0 eslint-plugin-unicorn: ^40.1.0 eslint-plugin-write-good-comments: ^0.1.3 - react: ^17.0.2 - react-dom: ^17.0.2 + react: ^18.0.0 + react-dom: ^18.0.0 react-scripts: ^5.0.0 sanitize.css: ^13.0.0 source-map-explorer: ^2.5.2