v1.9.4 - jspdf + dompurify

This commit is contained in:
LINING-PC\lining
2026-03-06 16:14:45 +08:00
parent aad991a1ea
commit c6a7edf502
3 changed files with 4 additions and 3 deletions

View File

@@ -597,13 +597,13 @@
"🔧 修复:任务视图切换至资源视图后今日定位偏移问题", "🔧 修复:任务视图切换至资源视图后今日定位偏移问题",
"🔧 修复:任务视图切换至资源视图后最大和最小日期范围计算问题", "🔧 修复:任务视图切换至资源视图后最大和最小日期范围计算问题",
"🔧 修复:资源视图下,小时/日/周视图切换后,最大值和最小值范围问题", "🔧 修复:资源视图下,小时/日/周视图切换后,最大值和最小值范围问题",
"🔧 修复:包弱点处理", "🔧 修复:包弱点处理jspdf增加了依赖包dompurify用于HTML的XSS消毒",
"<span style=\"font-weight: bold; color: #f00;\">特别感谢来自jwuxin@gitee的使用与反馈</span>", "<span style=\"font-weight: bold; color: #f00;\">特别感谢来自jwuxin@gitee的使用与反馈</span>",
"🔧 Fixed: In date view, after dragging the SplitterBar and collapsing/expanding the TaskList, the calculation caused the February cycle to be lost", "🔧 Fixed: In date view, after dragging the SplitterBar and collapsing/expanding the TaskList, the calculation caused the February cycle to be lost",
"🔧 Fixed: After switching from task view to resource view, the today marker offset issue", "🔧 Fixed: After switching from task view to resource view, the today marker offset issue",
"🔧 Fixed: After switching from task view to resource view, the max and min date range calculation issue", "🔧 Fixed: After switching from task view to resource view, the max and min date range calculation issue",
"🔧 Fixed: In resource view, after switching between hourly/daily/weekly views, the max and min date range issue", "🔧 Fixed: In resource view, after switching between hourly/daily/weekly views, the max and min date range issue",
"🔧 Fixed: Vulnerabilities fixed", "🔧 Fixed: Vulnerabilities fixed, jspdf added dependency dompurify for HTML XSS sanitization",
"<span style=\"font-weight: bold; color: #f00;\">Special thanks to jwuxin@gitee for their use and feedback</span>" "<span style=\"font-weight: bold; color: #f00;\">Special thanks to jwuxin@gitee for their use and feedback</span>"
] ]
} }

2
package-lock.json generated
View File

@@ -10,6 +10,7 @@
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"date-fns": "^4.1.0", "date-fns": "^4.1.0",
"dompurify": "^3.3.2",
"html2canvas": "^1.4.1", "html2canvas": "^1.4.1",
"jspdf": "^4.0.0", "jspdf": "^4.0.0",
"vue": "^3.5.13" "vue": "^3.5.13"
@@ -2531,7 +2532,6 @@
"resolved": "https://registry.npmjs.org/dompurify/-/dompurify-3.3.2.tgz", "resolved": "https://registry.npmjs.org/dompurify/-/dompurify-3.3.2.tgz",
"integrity": "sha512-6obghkliLdmKa56xdbLOpUZ43pAR6xFy1uOrxBaIDjT+yaRuuybLjGS9eVBoSR/UPU5fq3OXClEHLJNGvbxKpQ==", "integrity": "sha512-6obghkliLdmKa56xdbLOpUZ43pAR6xFy1uOrxBaIDjT+yaRuuybLjGS9eVBoSR/UPU5fq3OXClEHLJNGvbxKpQ==",
"license": "(MPL-2.0 OR Apache-2.0)", "license": "(MPL-2.0 OR Apache-2.0)",
"optional": true,
"engines": { "engines": {
"node": ">=20" "node": ">=20"
}, },

View File

@@ -75,6 +75,7 @@
}, },
"dependencies": { "dependencies": {
"date-fns": "^4.1.0", "date-fns": "^4.1.0",
"dompurify": "^3.3.2",
"html2canvas": "^1.4.1", "html2canvas": "^1.4.1",
"jspdf": "^4.0.0", "jspdf": "^4.0.0",
"vue": "^3.5.13" "vue": "^3.5.13"