diff --git a/package.json b/package.json index 94e7d145..d56edf8a 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.26", "@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 7990f9df..744096a3 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 9cbc7624..f22c1a41 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.71.0", "redux": "^4.1.0" diff --git a/packages/reactant-ssr/package.json b/packages/reactant-ssr/package.json index 6e446d0c..53b04986 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.71.0" } } diff --git a/packages/reactant-storage/package.json b/packages/reactant-storage/package.json index 1ae66b83..d049a99b 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.71.0", "redux": "^4.1.0" diff --git a/packages/reactant/package.json b/packages/reactant/package.json index 9799f69e..bbb0db08 100644 --- a/packages/reactant/package.json +++ b/packages/reactant/package.json @@ -40,7 +40,7 @@ "reactant-module": "^0.71.0" }, "devDependencies": { - "react": "^17.0.2", + "react": "^18.2.0", "reactant-storage": "^0.71.0", "reactant-web": "^0.71.0" } diff --git a/yarn.lock b/yarn.lock index 4de256b9..df737558 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.26": + version "17.0.52" + resolved "https://registry.yarnpkg.com/@types/react/-/react-17.0.52.tgz#10d8b907b5c563ac014a541f289ae8eaa9bf2e9b" + integrity sha512-vwk8QqVODi0VaZZpDXQCmEmiOuyjEFPY7Ttaw5vjM112LOq37yz1CDJGrRJwA1fYEq4Iitd5rnjd1yWAc/bT+A== 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"