diff --git a/package.json b/package.json index 13660270..e4395db5 100644 --- a/package.json +++ b/package.json @@ -53,7 +53,7 @@ "@types/glob-parent": "^5.1.0", "@types/jest": "^29.0.3", "@types/node": "^13.7.1", - "@types/react": "^17.0.49", + "@types/react": "^18.0.28", "@types/react-dom": "^17.0.17", "@types/react-redux": "^7.1.24", "@types/react-router": "^5.1.18", diff --git a/packages/reactant-module/package.json b/packages/reactant-module/package.json index 53f1c3a1..7ebdafab 100644 --- a/packages/reactant-module/package.json +++ b/packages/reactant-module/package.json @@ -31,7 +31,7 @@ "redux": "^4.1.0" }, "devDependencies": { - "react": "^17.0.2", + "react": "^18.2.0", "redux-devtools-extension": "^2.13.8" } } diff --git a/packages/reactant-router/package.json b/packages/reactant-router/package.json index 65cf2c73..ad0f4450 100644 --- a/packages/reactant-router/package.json +++ b/packages/reactant-router/package.json @@ -31,7 +31,7 @@ "react-router": "^5.3.1" }, "devDependencies": { - "react": "^17.0.2", + "react": "^18.2.0", "react-redux": "^7.2.8", "reactant-module": "^0.72.0", "redux": "^4.1.0" diff --git a/packages/reactant-ssr/package.json b/packages/reactant-ssr/package.json index e491462e..0b709bcd 100644 --- a/packages/reactant-ssr/package.json +++ b/packages/reactant-ssr/package.json @@ -44,7 +44,7 @@ }, "devDependencies": { "next": "^12.1.0", - "react": "^17.0.2", + "react": "^18.2.0", "reactant-web": "^0.72.0" } } diff --git a/packages/reactant-storage/package.json b/packages/reactant-storage/package.json index 8d9b1789..6ab2ad65 100644 --- a/packages/reactant-storage/package.json +++ b/packages/reactant-storage/package.json @@ -32,7 +32,7 @@ "redux-persist": "^6.0.0" }, "devDependencies": { - "react": "^17.0.2", + "react": "^18.2.0", "react-redux": "^7.2.8", "reactant-module": "^0.72.0", "redux": "^4.1.0" diff --git a/packages/reactant/package.json b/packages/reactant/package.json index d56866a9..bbebf7ef 100644 --- a/packages/reactant/package.json +++ b/packages/reactant/package.json @@ -40,7 +40,7 @@ "reactant-module": "^0.72.0" }, "devDependencies": { - "react": "^17.0.2", + "react": "^18.2.0", "reactant-storage": "^0.72.0", "reactant-web": "^0.72.0" } diff --git a/yarn.lock b/yarn.lock index 5463708e..865c8776 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3455,10 +3455,10 @@ "@types/history" "^4.7.11" "@types/react" "*" -"@types/react@*", "@types/react@^17", "@types/react@^17.0.49": - version "17.0.49" - resolved "https://registry.yarnpkg.com/@types/react/-/react-17.0.49.tgz#df87ba4ca8b7942209c3dc655846724539dc1049" - integrity sha512-CCBPMZaPhcKkYUTqFs/hOWqKjPxhTEmnZWjlHHgIMop67DsXywf9B5Os9Hz8KSacjNOgIdnZVJamwl232uxoPg== +"@types/react@*", "@types/react@^17", "@types/react@^17.0.49", "@types/react@^18.0.28": + version "17.0.53" + resolved "https://registry.yarnpkg.com/@types/react/-/react-17.0.53.tgz#10d4d5999b8af3d6bc6a9369d7eb953da82442ab" + integrity sha512-1yIpQR2zdYu1Z/dc1OxC+MA6GR240u3gcnP4l6mvj/PJiVaqHsQPmWttsvHsfnhfPbU2FuGmo0wSITPygjBmsw== dependencies: "@types/prop-types" "*" "@types/scheduler" "*" @@ -10493,7 +10493,7 @@ react-shallow-renderer@^16.15.0: object-assign "^4.1.1" react-is "^16.12.0 || ^17.0.0 || ^18.0.0" -"react@^16.12.0 || ^17", react@^17.0.2: +"react@^16.12.0 || ^17": version "17.0.2" resolved "https://registry.yarnpkg.com/react/-/react-17.0.2.tgz#d0b5cc516d29eb3eee383f75b62864cfb6800037" integrity sha512-gnhPt75i/dq/z3/6q/0asP78D0u592D5L1pd7M8P+dck6Fu/jJeL6iVVK23fptSUZj8Vjf++7wXA8UNclGQcbA== @@ -10501,6 +10501,13 @@ react-shallow-renderer@^16.15.0: loose-envify "^1.1.0" object-assign "^4.1.1" +react@^18.2.0: + version "18.2.0" + resolved "https://registry.yarnpkg.com/react/-/react-18.2.0.tgz#555bd98592883255fa00de14f1151a917b5d77d5" + integrity sha512-/3IjMdb2L9QbBdWiW5e3P2/npwMBaU9mHCSCUzNln0ZCYbcfTsGbTJrU/kGemdH2IWmB2ioZ+zkxtmq6g09fGQ== + dependencies: + loose-envify "^1.1.0" + read-cmd-shim@^3.0.0: version "3.0.1" resolved "https://registry.yarnpkg.com/read-cmd-shim/-/read-cmd-shim-3.0.1.tgz#868c235ec59d1de2db69e11aec885bc095aea087"