diff --git a/package.json b/package.json index bf7e98b9..822cd133 100644 --- a/package.json +++ b/package.json @@ -8,8 +8,8 @@ "@testing-library/jest-dom": "^5.15.0", "@testing-library/react": "^12.1.2", "@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": "^5.0.0", @@ -18,8 +18,8 @@ "devDependencies": { "@types/jest": "^27.0.2", "@types/node": "^18.0.0", - "@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 d0351ed2..0c564788 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3623,7 +3623,7 @@ __metadata: languageName: node linkType: hard -"@types/react-dom@npm:<18.0.0, @types/react-dom@npm:^17.0.11": +"@types/react-dom@npm:<18.0.0": version: 17.0.20 resolution: "@types/react-dom@npm:17.0.20" dependencies: @@ -3632,7 +3632,27 @@ __metadata: languageName: node linkType: hard -"@types/react@npm:^17, @types/react@npm:^17.0.34": +"@types/react-dom@npm:^18.0.0": + version: 18.2.7 + resolution: "@types/react-dom@npm:18.2.7" + dependencies: + "@types/react": "*" + checksum: e02ea908289a7ad26053308248d2b87f6aeafd73d0e2de2a3d435947bcea0422599016ffd1c3e38ff36c42f5e1c87c7417f05b0a157e48649e4a02f21727d54f + languageName: node + linkType: hard + +"@types/react@npm:*, @types/react@npm:^18.0.0": + version: 18.2.20 + resolution: "@types/react@npm:18.2.20" + dependencies: + "@types/prop-types": "*" + "@types/scheduler": "*" + csstype: ^3.0.2 + checksum: 30f699c60e5e4bfef273ce64d320651cdd60f5c6a08361c6c7eca8cebcccda1ac953d2ee57c9f321b5ae87f8a62c72b6d35ca42df0e261d337849952daab2141 + languageName: node + linkType: hard + +"@types/react@npm:^17": version: 17.0.64 resolution: "@types/react@npm:17.0.64" dependencies: @@ -11967,16 +11987,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 @@ -12075,13 +12094,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 @@ -12590,13 +12608,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 @@ -12908,16 +12925,16 @@ resolve@^2.0.0-next.3: "@testing-library/user-event": ^13.5.0 "@types/jest": ^27.0.2 "@types/node": ^18.0.0 - "@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.20.0 eslint-plugin-unicorn: ^40.1.0 eslint-plugin-write-good-comments: ^0.2.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 source-map-explorer: ^2.5.2