root
|
08e21f3b2e
|
Upgrade Vite and follow-redirects security dependencies
|
2026-10-22 00:15:21 +08:00 |
|
root
|
97d635fbc7
|
桌面下载端改用共享核心包,并修两处已知缺陷
- store 改由 createGalleryStore 生成:totalGalleryTask 成为唯一任务源,
收藏/下载/分类/搜索结果全部由 getter 派生,不再维护三份互相引用的数组
- 排序不再原地修改分类数组;本地搜索记住关键词,任务刷新后结果仍在
- 本地搜索结果补齐翻页入口:此前匹配 25 项却只显示 10 项,其余无法看到
- 取消收藏不再因本地找不到 gid 抛 TypeError
- 删除重复的 taskSocket/progressiveImages/validate/thumbnail,改从共享包导入
- 远端搜索改用共享 fetchGalleries,关键词交给 axios 序列化,翻页按游标转发
- main.js 按需注册 Element Plus,入口 JS 由约 1.14MB 降到约 494KB
- 依赖新增 file:../lionwebsite-frontend-shared
测试:14 项通过;构建成功,入口仍为 /asserts/index/index.js|css。
|
2026-10-07 16:15:23 +08:00 |
|
root
|
c115b6529d
|
升级 Vite 并补齐管理子路径鉴权参数
|
2026-09-14 19:17:23 +08:00 |
|
root
|
5defb62bc2
|
修复 npm 依赖漏洞(npm audit fix,9 项 -> 0 项)
axios / element-plus / follow-redirects / form-data(critical) / lodash /
lodash-es / nanoid / postcss / qs 升级到已修复版本。其中 element-plus
2.4.4 -> 2.14.5、vue 3.4.0 -> 3.5.42 跨度较大,已重新构建并用无头浏览器
实测渲染:页面正常、element-plus 组件样式正常、无 console 错误、无失败请求。
构建产物 965KB -> 1171KB(element-plus 体积增长)。
|
2026-09-14 14:29:35 +08:00 |
|
chuzhongzai
|
a81126d4da
|
将缺失的文件补上
|
2024-11-23 14:06:46 +08:00 |
|