diff --git a/bun.lockb b/bun.lockb old mode 100644 new mode 100755 index 41b945f..65764a9 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/package.json b/package.json index 19e984a..6b2c55c 100644 --- a/package.json +++ b/package.json @@ -8,31 +8,31 @@ "build": "vue-tsc --noEmit && vite build" }, "dependencies": { - "@fortawesome/fontawesome-free": "^6.6.0", + "@fortawesome/fontawesome-free": "^7.2.0", "animsition": "^4.0.2", - "core-js": "^3.37.1", + "core-js": "^3.49.0", "emoji-regex": "^10.3.0", - "linkify-urls": "^4.1.0", + "linkify-urls": "^5.2.0", "lxgw-wenkai-webfont": "^1.7.0", - "marked": "^4.3.0", + "marked": "^18.0.2", "moment": "^2.30.1", - "tg-blog": "^1.1.7", - "vue": "^3.4.35", - "vue-i18n": "^11.1.12", - "vue-router": "^4.4.0" + "tg-blog": "^1.1.10", + "vue": "^3.5.33", + "vue-i18n": "^11.4.0", + "vue-router": "^5.0.6" }, "devDependencies": { - "@types/jquery": "^3.5.30", + "@types/jquery": "^4.0.0", "@types/jqueryui": "^1.12.23", - "@types/marked": "^4.3.2", - "@types/node": "^24.9.1", - "@vitejs/plugin-vue": "^6.0.1", - "eslint": "^9.8.0", - "sass": "^1.77.8", + "@types/marked": "^6.0.0", + "@types/node": "^25.6.0", + "@vitejs/plugin-vue": "^6.0.6", + "eslint": "^10.2.1", + "sass": "^1.99.0", "tslib": "^2.6.3", - "typescript": "^5.5.4", - "unocss": "^66.5.4", - "vite": "^7.1.12", - "vue-tsc": "3.1.1" + "typescript": "^6.0.3", + "unocss": "^66.6.8", + "vite": "^8.0.10", + "vue-tsc": "3.2.7" } } diff --git a/src/components/ZoteroPublication.vue b/src/components/ZoteroPublication.vue index 90e6591..ba3d861 100644 --- a/src/components/ZoteroPublication.vue +++ b/src/components/ZoteroPublication.vue @@ -28,7 +28,7 @@ import {computed, onMounted} from 'vue' import moment from "moment"; import MetaTable from "@/components/MetaTable.vue"; import {capitalize} from "@/scripts/utils"; -import linkifyUrls from "linkify-urls"; +import {linkifyUrlsToHtml} from "linkify-urls"; import {$} from '@/scripts/constants'; import {ZoteroData, ZoteroItem} from "@/scripts/zotero"; @@ -46,7 +46,7 @@ const tableData = computed((): {[id: string]: unknown} => { delete t.title delete t.abstractNote if (t.itemType) t.itemType = capitalize(t.itemType as string) - if (t.url) t.url = linkifyUrls(t.url as string) + if (t.url) t.url = linkifyUrlsToHtml(t.url as string) return t }) diff --git a/src/views/About.vue b/src/views/About.vue index a8aaa72..1b2da3e 100644 --- a/src/views/About.vue +++ b/src/views/About.vue @@ -24,7 +24,7 @@ const publications = ref([]) onMounted((): void => { fetch(`${hosts.content}/README.md`).then(it => it.text()) - .then(it => html.value = marked(parseExtensions(it.replace(emojiRegex(), (emoji) => { + .then(async it => html.value = await marked.parse(parseExtensions(it.replace(emojiRegex(), (emoji) => { return `${emoji}` })))) diff --git a/tsconfig.json b/tsconfig.json index 1162ac1..a8155fd 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -5,16 +5,15 @@ "strict": false, "jsx": "preserve", "importHelpers": true, - "moduleResolution": "node", + "moduleResolution": "bundler", "experimentalDecorators": true, "skipLibCheck": true, "esModuleInterop": true, "allowSyntheticDefaultImports": true, "sourceMap": true, - "baseUrl": ".", "paths": { "@/*": [ - "src/*" + "./src/*" ] }, "lib": [