From 027254b977519fff052845df1e065fb555e5901c Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 18 Dec 2024 17:21:27 +0000 Subject: [PATCH] fix(deps): update react monorepo --- package.json | 8 +-- .../docusaurus-plugin-alumni/package.json | 6 +- yarn.lock | 69 +++++++++---------- 3 files changed, 38 insertions(+), 45 deletions(-) diff --git a/package.json b/package.json index c673fa78..b8969020 100644 --- a/package.json +++ b/package.json @@ -26,8 +26,8 @@ "clsx": "2.0.0", "docusaurus-plugin-alumni": "0.0.0", "prism-react-renderer": "1.3.5", - "react": "18.2.0", - "react-dom": "18.2.0", + "react": "19.0.0", + "react-dom": "19.0.0", "rehype-katex": "^7.0.0", "remark-math": "^5.1.1" }, @@ -49,7 +49,7 @@ "@docusaurus/tsconfig": "3.0.0-beta.0", "@docusaurus/types": "3.0.0-beta.0", "@types/node": "18.18.4", - "@types/react": "18.2.32", + "@types/react": "19.0.2", "@typescript-eslint/eslint-plugin": "5.62.0", "@typescript-eslint/parser": "5.62.0", "eslint": "8.52.0", @@ -58,7 +58,7 @@ "eslint-plugin-import": "2.29.0", "eslint-plugin-jsx-a11y": "6.7.1", "eslint-plugin-react": "7.33.2", - "eslint-plugin-react-hooks": "4.6.0", + "eslint-plugin-react-hooks": "5.1.0", "husky": "8.0.3", "lint-staged": "15.0.2", "prettier": "3.0.3", diff --git a/src/plugins/docusaurus-plugin-alumni/package.json b/src/plugins/docusaurus-plugin-alumni/package.json index d9d04aea..88ee739e 100644 --- a/src/plugins/docusaurus-plugin-alumni/package.json +++ b/src/plugins/docusaurus-plugin-alumni/package.json @@ -26,11 +26,11 @@ "@types/fs-extra": "11.0.3", "@types/js-yaml": "4.0.8", "@types/node": "18.18.4", - "@types/react": "18.2.32", - "react": "18.2.0", + "@types/react": "19.0.2", + "react": "19.0.0", "typescript": "4.9.5" }, "peerDependencies": { - "react": "17.x || 18.x" + "react": "17.x || 18.x || 19.x" } } diff --git a/yarn.lock b/yarn.lock index a4650b33..7ec9e563 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4175,14 +4175,12 @@ __metadata: languageName: node linkType: hard -"@types/react@npm:18.2.32": - version: 18.2.32 - resolution: "@types/react@npm:18.2.32" +"@types/react@npm:19.0.2": + version: 19.0.2 + resolution: "@types/react@npm:19.0.2" dependencies: - "@types/prop-types": "*" - "@types/scheduler": "*" csstype: ^3.0.2 - checksum: dad139dd165c4ce2364d1849af4e022746adc73f1a35bb5e0c95dbfee4732637de709504440c518e0177898aaf151b7a6b34019c8e398ea2e919dcfc4d79198f + checksum: 2f12c2a84b778283884d41560c723d815153d88c56cacf25c0166329e9099c35c82c602a21d8831a381e2ef5574434ebd7bf09a636fe073558919474b0b3c9ed languageName: node linkType: hard @@ -6025,7 +6023,7 @@ __metadata: "@docusaurus/types": 3.0.0-beta.0 "@mdx-js/react": 2.3.0 "@types/node": 18.18.4 - "@types/react": 18.2.32 + "@types/react": 19.0.2 "@typescript-eslint/eslint-plugin": 5.62.0 "@typescript-eslint/parser": 5.62.0 clsx: 2.0.0 @@ -6036,14 +6034,14 @@ __metadata: eslint-plugin-import: 2.29.0 eslint-plugin-jsx-a11y: 6.7.1 eslint-plugin-react: 7.33.2 - eslint-plugin-react-hooks: 4.6.0 + eslint-plugin-react-hooks: 5.1.0 husky: 8.0.3 lint-staged: 15.0.2 prettier: 3.0.3 prettier-config-jc: ^2.3.0 prism-react-renderer: 1.3.5 - react: 18.2.0 - react-dom: 18.2.0 + react: 19.0.0 + react-dom: 19.0.0 rehype-katex: ^7.0.0 remark-math: ^5.1.1 typescript: 4.9.5 @@ -6818,14 +6816,14 @@ __metadata: "@types/fs-extra": 11.0.3 "@types/js-yaml": 4.0.8 "@types/node": 18.18.4 - "@types/react": 18.2.32 + "@types/react": 19.0.2 fs-extra: 11.1.1 js-yaml: 4.1.0 prettier: 3.0.3 - react: 18.2.0 + react: 19.0.0 typescript: 4.9.5 peerDependencies: - react: 17.x || 18.x + react: 17.x || 18.x || 19.x languageName: unknown linkType: soft @@ -7340,12 +7338,12 @@ __metadata: languageName: node linkType: hard -"eslint-plugin-react-hooks@npm:4.6.0": - version: 4.6.0 - resolution: "eslint-plugin-react-hooks@npm:4.6.0" +"eslint-plugin-react-hooks@npm:5.1.0": + version: 5.1.0 + resolution: "eslint-plugin-react-hooks@npm:5.1.0" peerDependencies: - eslint: ^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0 - checksum: 23001801f14c1d16bf0a837ca7970d9dd94e7b560384b41db378b49b6e32dc43d6e2790de1bd737a652a86f81a08d6a91f402525061b47719328f586a57e86c3 + eslint: ^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0 || ^9.0.0 + checksum: 14d2692214ea15b19ef330a9abf51cb8c1586339d9e758ebd61b182be68dd772af56462b04e4b9d2be923d72f46db61e8d32fcf37c248b04949c0b02f5bfb3c0 languageName: node linkType: hard @@ -10506,7 +10504,7 @@ __metadata: languageName: node linkType: hard -"loose-envify@npm:^1.0.0, loose-envify@npm:^1.1.0, loose-envify@npm:^1.2.0, loose-envify@npm:^1.3.1, loose-envify@npm:^1.4.0": +"loose-envify@npm:^1.0.0, loose-envify@npm:^1.2.0, loose-envify@npm:^1.3.1, loose-envify@npm:^1.4.0": version: 1.4.0 resolution: "loose-envify@npm:1.4.0" dependencies: @@ -13249,15 +13247,14 @@ __metadata: languageName: node linkType: hard -"react-dom@npm:18.2.0": - version: 18.2.0 - resolution: "react-dom@npm:18.2.0" +"react-dom@npm:19.0.0": + version: 19.0.0 + resolution: "react-dom@npm:19.0.0" dependencies: - loose-envify: ^1.1.0 - scheduler: ^0.23.0 + scheduler: ^0.25.0 peerDependencies: - react: ^18.2.0 - checksum: 7d323310bea3a91be2965f9468d552f201b1c27891e45ddc2d6b8f717680c95a75ae0bc1e3f5cf41472446a2589a75aed4483aee8169287909fcd59ad149e8cc + react: ^19.0.0 + checksum: 009cc6e575263a0d1906f9dd4aa6532d2d3d0d71e4c2b7777c8fe4de585fa06b5b77cdc2e0fbaa2f3a4a5e5d3305c189ba152153f358ee7da4d9d9ba5d3a8975 languageName: node linkType: hard @@ -13378,12 +13375,10 @@ __metadata: languageName: node linkType: hard -"react@npm:18.2.0": - version: 18.2.0 - resolution: "react@npm:18.2.0" - dependencies: - loose-envify: ^1.1.0 - checksum: 88e38092da8839b830cda6feef2e8505dec8ace60579e46aa5490fc3dc9bba0bd50336507dc166f43e3afc1c42939c09fe33b25fae889d6f402721dcd78fca1b +"react@npm:19.0.0": + version: 19.0.0 + resolution: "react@npm:19.0.0" + checksum: 86de15d85b2465feb40297a90319c325cb07cf27191a361d47bcfe8c6126c973d660125aa67b8f4cbbe39f15a2f32efd0c814e98196d8e5b68c567ba40a399c6 languageName: node linkType: hard @@ -14048,12 +14043,10 @@ __metadata: languageName: node linkType: hard -"scheduler@npm:^0.23.0": - version: 0.23.0 - resolution: "scheduler@npm:0.23.0" - dependencies: - loose-envify: ^1.1.0 - checksum: d79192eeaa12abef860c195ea45d37cbf2bbf5f66e3c4dcd16f54a7da53b17788a70d109ee3d3dde1a0fd50e6a8fc171f4300356c5aee4fc0171de526bf35f8a +"scheduler@npm:^0.25.0": + version: 0.25.0 + resolution: "scheduler@npm:0.25.0" + checksum: b7bb9fddbf743e521e9aaa5198a03ae823f5e104ebee0cb9ec625392bb7da0baa1c28ab29cee4b1e407a94e76acc6eee91eeb749614f91f853efda2613531566 languageName: node linkType: hard