[U] Update deps
This commit is contained in:
+18
-18
@@ -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"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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
|
||||
})
|
||||
|
||||
|
||||
+1
-1
@@ -24,7 +24,7 @@ const publications = ref<ZoteroItem[]>([])
|
||||
|
||||
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 `<span class="emoji">${emoji}</span>`
|
||||
}))))
|
||||
|
||||
|
||||
+2
-3
@@ -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": [
|
||||
|
||||
Reference in New Issue
Block a user