Skip to content

Commit dfda90c

Browse files
committed
fix: 修复 Dependabot 安全告警,升级间接依赖版本
通过 pnpm overrides 强制升级以下间接依赖: - vite >=7.3.2 (High: 路径遍历、文件读取、fs.deny 绕过) - dompurify >=3.3.2 (Medium: XSS、URI 验证绕过) - lodash-es >=4.18.0 (High: 代码注入、原型污染) - @xmldom/xmldom >=0.9.9 (High: XML 注入) - picomatch >=4.0.4 (High: ReDoS、方法注入) - immutable >=5.1.5 (High: 原型污染) - markdown-it >=14.1.1 (Medium: ReDoS)
1 parent 9693847 commit dfda90c

File tree

2 files changed

+604
-273
lines changed

2 files changed

+604
-273
lines changed

package.json

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,17 @@
77
"author": "Guide",
88
"pnpm": {
99
"overrides": {
10-
"vite": ">=7.0.8",
10+
"vite": ">=7.3.2",
1111
"undici": ">=7.24.6",
1212
"mdast-util-to-hast": ">=13.2.1",
1313
"markdownlint-cli2>js-yaml": ">=4.1.1",
14-
"rollup": ">=4.59.0"
14+
"rollup": ">=4.59.0",
15+
"dompurify": ">=3.3.2",
16+
"lodash-es": ">=4.18.0",
17+
"@xmldom/xmldom": ">=0.9.9",
18+
"picomatch": ">=4.0.4",
19+
"immutable": ">=5.1.5",
20+
"markdown-it": ">=14.1.1"
1521
}
1622
},
1723
"scripts": {

0 commit comments

Comments
 (0)