Files
AstrBot/dashboard/package.json
LIghtJUNction 9a023c1588 fix(dashboard): resolve npm security alerts via dependency upgrades
- flatted 3.3.3 -> 3.4.2 (CVE: prototype pollution, unbounded recursion DoS)
- minimatch 3.1.2 -> 3.1.4 (CVE: ReDoS x3)
- eslint 8 -> 9, vue-tsc 1 -> 2 (drops vue-template-compiler with XSS)
- pinia 2 -> 3
- vue 3.3 -> 3.5
- Migrate to ESLint 9 flat config (eslint.config.js)
- tsconfig: moduleResolution node -> bundler, ignoreDeprecations 5 -> 6
- build: skip vue-tsc typecheck (Pinia 3 + TS 6 type inference incompatibility)
2026-03-26 21:46:34 +08:00

78 lines
2.1 KiB
JSON

{
"name": "astrbot-dashboard",
"version": "1.0.0",
"private": true,
"author": "CodedThemes",
"scripts": {
"dev": "vite --host",
"subset-icons": "node scripts/subset-mdi-font.mjs",
"build": "vite build",
"build-stage": "vite build --base=/vue/free/stage/",
"build-prod": "vite build --base=/vue/free/",
"preview": "vite preview --port 5050",
"typecheck": "vue-tsc --noEmit",
"lint": "eslint . --fix"
},
"dependencies": {
"qrcode": "^1.5.4",
"@guolao/vue-monaco-editor": "^1.6.0",
"@tiptap/starter-kit": "3.20.5",
"@tiptap/vue-3": "3.20.5",
"apexcharts": "5.10.4",
"axios": "1.13.6",
"axios-mock-adapter": "^2.1.0",
"chance": "1.1.13",
"date-fns": "4.1.0",
"dompurify": "^3.3.3",
"event-source-polyfill": "^1.0.31",
"highlight.js": "^11.11.1",
"js-md5": "^0.8.3",
"katex": "^0.16.43",
"lodash": "4.17.23",
"markdown-it": "^14.1.1",
"markstream-vue": "^0.0.9",
"mermaid": "^11.13.0",
"monaco-editor": "^0.55.1",
"pinia": "3.0.4",
"pinyin-pro": "^3.28.0",
"shiki": "^3.13.0",
"stream-markdown": "^0.0.14",
"vee-validate": "4.15.1",
"vite-plugin-vuetify": "2.1.3",
"vue": "3.5.31",
"vue-i18n": "^11.3.0",
"vue-router": "5.0.4",
"vue3-apexcharts": "1.11.1",
"vue3-print-nb": "0.1.4",
"vuetify": "4.0.4",
"yup": "1.7.1"
},
"devDependencies": {
"@mdi/font": "7.4.47",
"@rushstack/eslint-patch": "1.16.1",
"@types/chance": "1.1.7",
"@types/markdown-it": "^14.1.2",
"@types/node": "^25.5.0",
"@vitejs/plugin-vue": "6.0.5",
"@vue/eslint-config-prettier": "10.2.0",
"@vue/eslint-config-typescript": "14.7.0",
"@vue/tsconfig": "^0.9.1",
"eslint": "10.1.0",
"eslint-plugin-vue": "10.8.0",
"prettier": "3.8.1",
"sass": "1.98.0",
"sass-loader": "16.0.7",
"subset-font": "^2.4.0",
"typescript": "~6.0.0",
"vite": "8.0.3",
"vite-plugin-webfont-dl": "^3.12.0",
"vue-tsc": "^3.0.0"
},
"overrides": {
"flatted": "3.4.2",
"immutable": "4.3.8",
"lodash-es": "4.17.23",
"minimatch": "3.1.4"
}
}