fix: remove vulnerable excel runtime dependency

This commit is contained in:
Codex
2026-06-30 06:55:26 +08:00
parent 7ab702f471
commit e66623158d
8 changed files with 153 additions and 613 deletions

View File

@@ -65,6 +65,7 @@ GET /api/tenant-content/imports/post-check
表格导入安全边界:
- `.xlsx` 解析统一使用 `read-excel-file`,生产运行时不要重新引入 `exceljs`;如需更换解析器,必须先跑 `npm run audit:runtime` 和完整导入回归。
- 单文件最大 8MB。
- 单次最多解析 5000 行、160 列。
- 单个单元格最多保留 100000 字符。