Skip to content

Commit 6e40c67

Browse files
authored
Upgrade React/NextJS version to fix CVE-2025-55182 (#370)
1 parent 083b05a commit 6e40c67

File tree

2 files changed

+16
-10
lines changed

2 files changed

+16
-10
lines changed

webui/package.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -21,17 +21,17 @@
2121
"@types/js-yaml": "^4.0.9",
2222
"axios": "^1.6.7",
2323
"js-yaml": "^4.1.0",
24-
"next": "15.5.4",
25-
"react": "19.2.0",
26-
"react-dom": "19.2.0"
24+
"next": "^16.0.7",
25+
"react": "^19.2.1",
26+
"react-dom": "^19.2.1"
2727
},
2828
"devDependencies": {
2929
"@types/node": "^20",
30-
"@types/react": "19.2.2",
31-
"@types/react-dom": "19.2.1",
30+
"@types/react": "^19.2.3",
31+
"@types/react-dom": "^19.2.2",
3232
"autoprefixer": "^10.0.1",
33-
"eslint": "^8",
34-
"eslint-config-next": "15.5.4",
33+
"eslint": "^9.39.1",
34+
"eslint-config-next": "^16.0.7",
3535
"eslint-config-prettier": "^10.1.1",
3636
"postcss": "^8",
3737
"prettier": "^3.6.2",
@@ -40,7 +40,7 @@
4040
"typescript": "^5"
4141
},
4242
"overrides": {
43-
"@types/react": "19.2.2",
44-
"@types/react-dom": "19.2.1"
43+
"@types/react": "^19.2.3",
44+
"@types/react-dom": "^19.2.2"
4545
}
4646
}

webui/tsconfig.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,12 @@
3939
},
4040
"target": "ES2017"
4141
},
42-
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
42+
"include": [
43+
"next-env.d.ts",
44+
"**/*.ts",
45+
"**/*.tsx",
46+
".next/types/**/*.ts",
47+
".next/dev/types/**/*.ts"
48+
],
4349
"exclude": ["node_modules"]
4450
}

0 commit comments

Comments
 (0)