diff --git a/bricks/e2e/package.json b/bricks/e2e/package.json index ef42b3f090..d37cc727c4 100644 --- a/bricks/e2e/package.json +++ b/bricks/e2e/package.json @@ -43,7 +43,7 @@ "@next-core/runtime": "^1.55.2", "@next-core/types": "^1.13.0", "@next-core/utils": "^1.7.25", - "react": "0.0.0-experimental-ee8509801-20230117" + "react": "18.3.1" }, "devDependencies": { "@next-core/build-next-bricks": "^1.23.2", diff --git a/package.json b/package.json index e254e3e91d..1256775bda 100644 --- a/package.json +++ b/package.json @@ -61,7 +61,7 @@ "cypress": "^13.15.0", "eslint": "^8.57.1", "eslint-plugin-react": "^7.37.2", - "eslint-plugin-react-hooks": "^4.6.2", + "eslint-plugin-react-hooks": "^5.0.0", "husky": "^9.1.6", "jest": "^29.7.0", "jest-environment-jsdom": "^29.7.0", diff --git a/packages/eslint-config-next/package.json b/packages/eslint-config-next/package.json index 2acddd87d8..fb91a07d2b 100644 --- a/packages/eslint-config-next/package.json +++ b/packages/eslint-config-next/package.json @@ -14,7 +14,7 @@ "@typescript-eslint/eslint-plugin": ">= 7.18.0", "eslint": ">= 8.57.1", "eslint-plugin-react": ">= 7.37.2", - "eslint-plugin-react-hooks": ">= 4.6.2" + "eslint-plugin-react-hooks": ">= 5.0.0" }, "dependencies": { "@typescript-eslint/parser": "^7.18.0", diff --git a/packages/react-element/package.json b/packages/react-element/package.json index 55515af775..3dd042fb35 100644 --- a/packages/react-element/package.json +++ b/packages/react-element/package.json @@ -39,8 +39,8 @@ }, "dependencies": { "@next-core/element": "^1.2.12", - "react": "0.0.0-experimental-ee8509801-20230117", - "react-dom": "0.0.0-experimental-ee8509801-20230117" + "react": "18.3.1", + "react-dom": "18.3.1" }, "devDependencies": { "@next-core/build-next-libs": "^1.0.19", diff --git a/packages/react-runtime/package.json b/packages/react-runtime/package.json index e960e8a188..74f5bcd5a1 100644 --- a/packages/react-runtime/package.json +++ b/packages/react-runtime/package.json @@ -41,8 +41,8 @@ "@next-core/react-element": "^1.0.31", "@next-core/runtime": "^1.55.2", "@next-core/types": "^1.13.0", - "react": "0.0.0-experimental-ee8509801-20230117", - "react-dom": "0.0.0-experimental-ee8509801-20230117" + "react": "18.3.1", + "react-dom": "18.3.1" }, "devDependencies": { "@next-core/build-next-libs": "^1.0.19", diff --git a/packages/yo/package.json b/packages/yo/package.json index cbd40d4a1c..c9e74a6ebe 100644 --- a/packages/yo/package.json +++ b/packages/yo/package.json @@ -32,6 +32,6 @@ "@next-core/react-element": "^1.0.31", "@next-core/test-next": "^1.1.6", "@next-core/theme": "^1.5.4", - "react": "0.0.0-experimental-ee8509801-20230117" + "react": "18.3.1" } } diff --git a/yarn.lock b/yarn.lock index ab71eed993..eb80a3ca49 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6066,10 +6066,10 @@ eslint-config-prettier@^9.1.0: resolved "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-9.1.0.tgz#31af3d94578645966c082fcb71a5846d3c94867f" integrity sha512-NSWl5BFQWEPi1j4TjVNItzYV7dZXZ+wP6I6ZhrBGpChQhZRUaElihE9uRRkcbRnNb76UMKDF3r+WTmNcGPKsqw== -eslint-plugin-react-hooks@^4.6.2: - version "4.6.2" - resolved "https://registry.npmjs.org/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-4.6.2.tgz#c829eb06c0e6f484b3fbb85a97e57784f328c596" - integrity sha512-QzliNJq4GinDBcD8gPB5v0wh6g8q3SUi6EFF0x8N/BL9PoVs0atuGc47ozMRyOWAKdwaZ5OnbOEa3WR+dSGKuQ== +eslint-plugin-react-hooks@^5.0.0: + version "5.0.0" + resolved "https://registry.npmjs.org/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-5.0.0.tgz#72e2eefbac4b694f5324154619fee44f5f60f101" + integrity sha512-hIOwI+5hYGpJEc4uPRmz2ulCjAGD/N13Lukkh8cLV0i2IRk/bdZDYjgLVHj+U9Z704kLIdIO6iueGvxNur0sgw== eslint-plugin-react@^7.37.2: version "7.37.2" @@ -11431,13 +11431,13 @@ raw-body@2.5.2: iconv-lite "0.4.24" unpipe "1.0.0" -react-dom@0.0.0-experimental-ee8509801-20230117: - version "0.0.0-experimental-ee8509801-20230117" - resolved "https://registry.npmjs.org/react-dom/-/react-dom-0.0.0-experimental-ee8509801-20230117.tgz" - integrity sha512-mdtGQKFmP1uIRIp73EQL0axwudwsw79ry3bMq8FyJ5ZRL3iB1AjssEAsWUEVU7T1KKxp3PyG/OYfrTFnpTAz8g== +react-dom@18.3.1: + version "18.3.1" + resolved "https://registry.npmjs.org/react-dom/-/react-dom-18.3.1.tgz#c2265d79511b57d479b3dd3fdfa51536494c5cb4" + integrity sha512-5m4nQKp+rZRb09LNH59GM4BxTh9251/ylbKIbpe7TpGxfJ+9kv6BLkLBXIjjspbgbnIBNqlI23tRnTWT0snUIw== dependencies: loose-envify "^1.1.0" - scheduler "0.0.0-experimental-ee8509801-20230117" + scheduler "^0.23.2" react-error-boundary@^3.1.0: version "3.1.4" @@ -11469,10 +11469,10 @@ react-is@^18.0.0: resolved "https://registry.npmjs.org/react-is/-/react-is-18.1.0.tgz" integrity sha512-Fl7FuabXsJnV5Q1qIOQwx/sagGF18kogb4gpfcG4gjLBWO0WDiiz1ko/ExayuxE7InyQkBLkxRFG5oxY6Uu3Kg== -react@0.0.0-experimental-ee8509801-20230117: - version "0.0.0-experimental-ee8509801-20230117" - resolved "https://registry.npmjs.org/react/-/react-0.0.0-experimental-ee8509801-20230117.tgz" - integrity sha512-RriS2Fco7EKsXFXi63e9RFEz9xPnDakzHVKGzQ5iwy0jaFwHpvZbYr4fSbPmmUyGUXjDFtr4BfzANERUju1byw== +react@18.3.1: + version "18.3.1" + resolved "https://registry.npmjs.org/react/-/react-18.3.1.tgz#49ab892009c53933625bd16b2533fc754cab2891" + integrity sha512-wS+hAgJShR0KhEvPJArfuPVN1+Hz1t0Y6n5jLrGQbkb4urgPE/0Rve+1kMB1v/oWgHgm4WIcV+i7F2pTVj+2iQ== dependencies: loose-envify "^1.1.0" @@ -11933,10 +11933,10 @@ saxes@^6.0.0: dependencies: xmlchars "^2.2.0" -scheduler@0.0.0-experimental-ee8509801-20230117: - version "0.0.0-experimental-ee8509801-20230117" - resolved "https://registry.npmjs.org/scheduler/-/scheduler-0.0.0-experimental-ee8509801-20230117.tgz" - integrity sha512-P7U/SCdj9TE3YciEfb6iwY8SskSFFJNttMoHwUrXllu0rGcb2Y8HQC2zN/+ldZufaQCxAqIoevua1QBQFPrXPw== +scheduler@^0.23.2: + version "0.23.2" + resolved "https://registry.npmjs.org/scheduler/-/scheduler-0.23.2.tgz#414ba64a3b282892e944cf2108ecc078d115cdc3" + integrity sha512-UOShsPwz7NrMUqhR6t0hWjFduvOzbtv7toDH1/hIrfRNIDBnnBWd0CwJTGvTpngVlmwGCdP9/Zl/tVrDqcuYzQ== dependencies: loose-envify "^1.1.0"