[U] Update deps
This commit is contained in:
+18
-18
@@ -8,31 +8,31 @@
|
|||||||
"build": "vue-tsc --noEmit && vite build"
|
"build": "vue-tsc --noEmit && vite build"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@fortawesome/fontawesome-free": "^6.6.0",
|
"@fortawesome/fontawesome-free": "^7.2.0",
|
||||||
"animsition": "^4.0.2",
|
"animsition": "^4.0.2",
|
||||||
"core-js": "^3.37.1",
|
"core-js": "^3.49.0",
|
||||||
"emoji-regex": "^10.3.0",
|
"emoji-regex": "^10.3.0",
|
||||||
"linkify-urls": "^4.1.0",
|
"linkify-urls": "^5.2.0",
|
||||||
"lxgw-wenkai-webfont": "^1.7.0",
|
"lxgw-wenkai-webfont": "^1.7.0",
|
||||||
"marked": "^4.3.0",
|
"marked": "^18.0.2",
|
||||||
"moment": "^2.30.1",
|
"moment": "^2.30.1",
|
||||||
"tg-blog": "^1.1.7",
|
"tg-blog": "^1.1.10",
|
||||||
"vue": "^3.4.35",
|
"vue": "^3.5.33",
|
||||||
"vue-i18n": "^11.1.12",
|
"vue-i18n": "^11.4.0",
|
||||||
"vue-router": "^4.4.0"
|
"vue-router": "^5.0.6"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/jquery": "^3.5.30",
|
"@types/jquery": "^4.0.0",
|
||||||
"@types/jqueryui": "^1.12.23",
|
"@types/jqueryui": "^1.12.23",
|
||||||
"@types/marked": "^4.3.2",
|
"@types/marked": "^6.0.0",
|
||||||
"@types/node": "^24.9.1",
|
"@types/node": "^25.6.0",
|
||||||
"@vitejs/plugin-vue": "^6.0.1",
|
"@vitejs/plugin-vue": "^6.0.6",
|
||||||
"eslint": "^9.8.0",
|
"eslint": "^10.2.1",
|
||||||
"sass": "^1.77.8",
|
"sass": "^1.99.0",
|
||||||
"tslib": "^2.6.3",
|
"tslib": "^2.6.3",
|
||||||
"typescript": "^5.5.4",
|
"typescript": "^6.0.3",
|
||||||
"unocss": "^66.5.4",
|
"unocss": "^66.6.8",
|
||||||
"vite": "^7.1.12",
|
"vite": "^8.0.10",
|
||||||
"vue-tsc": "3.1.1"
|
"vue-tsc": "3.2.7"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ import {computed, onMounted} from 'vue'
|
|||||||
import moment from "moment";
|
import moment from "moment";
|
||||||
import MetaTable from "@/components/MetaTable.vue";
|
import MetaTable from "@/components/MetaTable.vue";
|
||||||
import {capitalize} from "@/scripts/utils";
|
import {capitalize} from "@/scripts/utils";
|
||||||
import linkifyUrls from "linkify-urls";
|
import {linkifyUrlsToHtml} from "linkify-urls";
|
||||||
import {$} from '@/scripts/constants';
|
import {$} from '@/scripts/constants';
|
||||||
import {ZoteroData, ZoteroItem} from "@/scripts/zotero";
|
import {ZoteroData, ZoteroItem} from "@/scripts/zotero";
|
||||||
|
|
||||||
@@ -46,7 +46,7 @@ const tableData = computed((): {[id: string]: unknown} => {
|
|||||||
delete t.title
|
delete t.title
|
||||||
delete t.abstractNote
|
delete t.abstractNote
|
||||||
if (t.itemType) t.itemType = capitalize(t.itemType as string)
|
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
|
return t
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -24,7 +24,7 @@ const publications = ref<ZoteroItem[]>([])
|
|||||||
|
|
||||||
onMounted((): void => {
|
onMounted((): void => {
|
||||||
fetch(`${hosts.content}/README.md`).then(it => it.text())
|
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 `<span class="emoji">${emoji}</span>`
|
return `<span class="emoji">${emoji}</span>`
|
||||||
}))))
|
}))))
|
||||||
|
|
||||||
|
|||||||
+2
-3
@@ -5,16 +5,15 @@
|
|||||||
"strict": false,
|
"strict": false,
|
||||||
"jsx": "preserve",
|
"jsx": "preserve",
|
||||||
"importHelpers": true,
|
"importHelpers": true,
|
||||||
"moduleResolution": "node",
|
"moduleResolution": "bundler",
|
||||||
"experimentalDecorators": true,
|
"experimentalDecorators": true,
|
||||||
"skipLibCheck": true,
|
"skipLibCheck": true,
|
||||||
"esModuleInterop": true,
|
"esModuleInterop": true,
|
||||||
"allowSyntheticDefaultImports": true,
|
"allowSyntheticDefaultImports": true,
|
||||||
"sourceMap": true,
|
"sourceMap": true,
|
||||||
"baseUrl": ".",
|
|
||||||
"paths": {
|
"paths": {
|
||||||
"@/*": [
|
"@/*": [
|
||||||
"src/*"
|
"./src/*"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"lib": [
|
"lib": [
|
||||||
|
|||||||
Reference in New Issue
Block a user