diff --git a/package.json b/package.json index 11c5e296a..a93ffa18e 100644 --- a/package.json +++ b/package.json @@ -85,8 +85,8 @@ "website" ], "devDependencies": { - "@types/react": "~18.2.16", - "@types/react-dom": "~18.2.7", + "@types/react": "~19.0.0", + "@types/react-dom": "~19.0.0", "@babel/runtime": "^7.18.9", "@kkt/ncc": "~1.1.0", "compile-less-cli": "~1.9.0", diff --git a/packages/baidu-map/package.json b/packages/baidu-map/package.json index c10c43360..c421005bc 100644 --- a/packages/baidu-map/package.json +++ b/packages/baidu-map/package.json @@ -68,7 +68,7 @@ "@uiw/react-baidu-map-with-map": "2.7.2" }, "devDependencies": { - "@types/react": "~18.2.0", - "@types/react-dom": "~18.2.0" + "@types/react": "~19.0.0", + "@types/react-dom": "~19.0.0" } } diff --git a/website/package.json b/website/package.json index 0c3977c03..d5c308d51 100644 --- a/website/package.json +++ b/website/package.json @@ -18,8 +18,8 @@ }, "dependencies": { "@babel/runtime": ">=7.12.0", - "@types/react": "~18.2.0", - "@types/react-dom": "~18.2.0", + "@types/react": "~19.0.0", + "@types/react-dom": "~19.0.0", "@types/react-test-renderer": "~18.0.0", "@uiw/react-back-to-top": "^1.2.1", "@uiw/react-baidu-map": "2.7.2", @@ -60,7 +60,7 @@ "react": ">=16.14.0", "react-dom": ">=16.14.0", "react-router-dom": "^6.15.0", - "react-test-renderer": "^18.2.0", + "react-test-renderer": "^19.0.0", "styled-components": "^6.0.7" }, "devDependencies": {