This is an automated email from the ASF dual-hosted git repository.

hulk pushed a commit to branch unstable
in repository https://gitbox.apache.org/repos/asf/kvrocks-controller.git


The following commit(s) were added to refs/heads/unstable by this push:
     new 6e40c67  Upgrade React/NextJS version to fix CVE-2025-55182 (#370)
6e40c67 is described below

commit 6e40c67462abd2086150573d897bee68acfb314b
Author: hulk <[email protected]>
AuthorDate: Mon Dec 8 18:11:27 2025 +0800

    Upgrade React/NextJS version to fix CVE-2025-55182 (#370)
---
 webui/package.json  | 18 +++++++++---------
 webui/tsconfig.json |  8 +++++++-
 2 files changed, 16 insertions(+), 10 deletions(-)

diff --git a/webui/package.json b/webui/package.json
index 67f62c9..6e90162 100644
--- a/webui/package.json
+++ b/webui/package.json
@@ -21,17 +21,17 @@
         "@types/js-yaml": "^4.0.9",
         "axios": "^1.6.7",
         "js-yaml": "^4.1.0",
-        "next": "15.5.4",
-        "react": "19.2.0",
-        "react-dom": "19.2.0"
+        "next": "^16.0.7",
+        "react": "^19.2.1",
+        "react-dom": "^19.2.1"
     },
     "devDependencies": {
         "@types/node": "^20",
-        "@types/react": "19.2.2",
-        "@types/react-dom": "19.2.1",
+        "@types/react": "^19.2.3",
+        "@types/react-dom": "^19.2.2",
         "autoprefixer": "^10.0.1",
-        "eslint": "^8",
-        "eslint-config-next": "15.5.4",
+        "eslint": "^9.39.1",
+        "eslint-config-next": "^16.0.7",
         "eslint-config-prettier": "^10.1.1",
         "postcss": "^8",
         "prettier": "^3.6.2",
@@ -40,7 +40,7 @@
         "typescript": "^5"
     },
     "overrides": {
-        "@types/react": "19.2.2",
-        "@types/react-dom": "19.2.1"
+        "@types/react": "^19.2.3",
+        "@types/react-dom": "^19.2.2"
     }
 }
diff --git a/webui/tsconfig.json b/webui/tsconfig.json
index 8ec9a25..143f9d7 100644
--- a/webui/tsconfig.json
+++ b/webui/tsconfig.json
@@ -39,6 +39,12 @@
         },
         "target": "ES2017"
     },
-    "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
+    "include": [
+        "next-env.d.ts",
+        "**/*.ts",
+        "**/*.tsx",
+        ".next/types/**/*.ts",
+        ".next/dev/types/**/*.ts"
+    ],
     "exclude": ["node_modules"]
 }

Reply via email to