From 11ce69d307c4e869fb04731888eb54aeb0486267 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8F=B2=E9=B8=BF=E5=AE=87?= Date: Thu, 10 Apr 2025 10:51:37 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E6=9B=B4=E6=96=B0=E4=BE=9D=E8=B5=96?= =?UTF-8?q?=E9=A1=B9=E5=B9=B6=E9=87=8D=E6=9E=84=E4=BB=A3=E7=A0=81=E4=BB=A5?= =?UTF-8?q?=E7=A7=BB=E9=99=A4=E4=B8=8D=E5=BF=85=E8=A6=81=E7=9A=84=E6=96=87?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 史鸿宇 --- package.json | 18 +++-- .../dialoguePanel/DialoguePanel.vue | 2 +- .../dialoguePanel/DialogueThought.vue | 2 +- src/utils/index.ts | 2 +- src/utils/marked.js | 68 ------------------- src/utils/{markedjs.ts => marked.ts} | 66 ++++++++---------- .../dialogue/components/DialogueSession.vue | 12 ---- src/views/dialogue/components/InitalPanel.vue | 6 -- 8 files changed, 38 insertions(+), 138 deletions(-) delete mode 100644 src/utils/marked.js rename src/utils/{markedjs.ts => marked.ts} (62%) diff --git a/package.json b/package.json index 4e7e292..f4dd9b9 100644 --- a/package.json +++ b/package.json @@ -82,7 +82,7 @@ } }, "engines": { - "node": ">= 18.18.2" + "node": ">= 22.14.0" }, "dependencies": { "@codemirror/lang-json": "^6.0.1", @@ -99,17 +99,15 @@ "element-plus": "^2.8.3", "highlight.js": "11.10.0", "js-yaml": "^4.1.0", - "marked": "4.3", - "pinia": "2.1.6", - "vue": "3.3.4", + "marked": "^15.0.8", + "marked-highlight": "^2.2.1", + "pinia": "^3.0.2", + "vue": "^3.5.13", "vue-codemirror": "^6.1.1", "vue-echarts": "^7.0.3", "vue-i18n": "^9.14.0", - "vue-router": "4.2.4", - "xss": "1.0.14", - "xterm": "4.17.0", - "xterm-addon-attach": "0.5.0", - "xterm-addon-fit": "0.6.0" + "vue-router": "^4.5.0", + "xss": "1.0.14" }, "devDependencies": { "@babel/core": "^7.26.0", @@ -123,7 +121,7 @@ "@rollup/plugin-replace": "^6.0.2", "@rollup/plugin-typescript": "^12.1.2", "@types/minimist": "^1.2.5", - "@types/node": "18.19.67", + "@types/node": "^22.14.0", "@typescript-eslint/eslint-plugin": "8.17.0", "@typescript-eslint/parser": "8.17.0", "@vitejs/plugin-vue": "5.2.1", diff --git a/src/components/dialoguePanel/DialoguePanel.vue b/src/components/dialoguePanel/DialoguePanel.vue index 87e1db2..98b2302 100644 --- a/src/components/dialoguePanel/DialoguePanel.vue +++ b/src/components/dialoguePanel/DialoguePanel.vue @@ -1,6 +1,6 @@