diff --git a/package.json b/package.json index ea649acbb..77bd3a9bc 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.21", "@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 32744a46b..bc95bfc1b 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 2983b08f3..6abe5af1e 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.64.0", "redux": "^4.1.0" diff --git a/packages/reactant-ssr/package.json b/packages/reactant-ssr/package.json index 6890012e1..5270251c2 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.64.0" } } diff --git a/packages/reactant-storage/package.json b/packages/reactant-storage/package.json index 9630b5a3e..4e876bf4e 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.64.0", "redux": "^4.1.0" diff --git a/packages/reactant/package.json b/packages/reactant/package.json index 7642eb814..edd802fe2 100644 --- a/packages/reactant/package.json +++ b/packages/reactant/package.json @@ -40,7 +40,7 @@ "reactant-module": "^0.64.0" }, "devDependencies": { - "react": "^17.0.2", + "react": "^18.2.0", "reactant-storage": "^0.64.0", "reactant-web": "^0.64.0" } diff --git a/yarn.lock b/yarn.lock index 525610335..471f0881b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3394,10 +3394,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.21": + version "17.0.50" + resolved "https://registry.yarnpkg.com/@types/react/-/react-17.0.50.tgz#39abb4f7098f546cfcd6b51207c90c4295ee81fc" + integrity sha512-ZCBHzpDb5skMnc1zFXAXnL3l1FAdi+xZvwxK+PkglMmBrwjpp9nKaWuEvrGnSifCJmBFGxZOOFuwC6KH/s0NuA== dependencies: "@types/prop-types" "*" "@types/scheduler" "*" @@ -10279,7 +10279,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== @@ -10287,6 +10287,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"