chore: upgrade deps (#525)
All checks were successful
Build and Deploy / build-and-deploy (push) Has been skipped
Build and Push Docker Images / build (push) Has been skipped

This commit is contained in:
Libin YANG 2025-01-23 09:27:16 +08:00 committed by GitHub
parent c9b7213863
commit 38bcc40b8d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 3217 additions and 3183 deletions

View File

@ -92,7 +92,7 @@
svg: { fontCache: 'none' },
}
</script>
<script id="MathJax-script" src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-svg.js"></script>
<script id="MathJax-script" src="https://cdn-doocs.oss-cn-shenzhen.aliyuncs.com/npm/mathjax@3/es5/tex-svg.js"></script>
<script type="module" src="/src/main.ts"></script>
</body>
<script src="https://cdn-doocs.oss-cn-shenzhen.aliyuncs.com/gh/wechatsync/article-syncjs@latest/dist/main.js"></script>

6350
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -23,39 +23,39 @@
"postinstall": "simple-git-hooks && wxt prepare"
},
"dependencies": {
"@aws-sdk/client-s3": "^3.716.0",
"@aws-sdk/client-s3": "^3.733.0",
"@vee-validate/yup": "^4.15.0",
"@vueuse/core": "^12.0.0",
"axios": "^1.7.8",
"@vueuse/core": "^12.5.0",
"axios": "^1.7.9",
"buffer-from": "^1.1.2",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"codemirror": "^5.65.17",
"core-js": "^3.39.0",
"cos-js-sdk-v5": "^1.8.6",
"core-js": "^3.40.0",
"cos-js-sdk-v5": "^1.8.7",
"crypto-js": "^4.2.0",
"csstype": "^3.1.3",
"es-toolkit": "^1.27.0",
"form-data": "4.0.1",
"front-matter": "^4.0.2",
"highlight.js": "^11.10.0",
"highlight.js": "^11.11.1",
"juice": "^11.0.0",
"lucide-vue-next": "^0.462.0",
"marked": "^15.0.2",
"lucide-vue-next": "^0.473.0",
"marked": "^15.0.6",
"mermaid": "^11.4.1",
"minio": "7.1.3",
"node-fetch": "^3.3.2",
"pinia": "^2.2.7",
"pinia": "^2.3.1",
"qiniu-js": "^3.4.2",
"radix-vue": "^1.9.10",
"radix-vue": "^1.9.12",
"reading-time": "^1.5.0",
"tailwind-merge": "^2.5.5",
"tailwind-merge": "^2.6.0",
"tailwindcss-animate": "^1.0.7",
"tiny-oss": "^0.5.1",
"uuid": "^11.0.3",
"uuid": "^11.0.5",
"vee-validate": "^4.15.0",
"vue": "^3.5.13",
"vue-pick-colors": "^1.7.8",
"vue-pick-colors": "^1.8.0",
"vue-sonner": "^1.3.0",
"yup": "^1.6.1"
},
@ -64,7 +64,7 @@
"@types/buffer-from": "^1.1.3",
"@types/codemirror": "^5.60.15",
"@types/crypto-js": "^4.2.2",
"@types/node": "^22.10.0",
"@types/node": "^22.10.7",
"@types/uuid": "^10.0.0",
"@unocss/eslint-plugin": "^0.64.1",
"@vitejs/plugin-vue": "^5.2.1",
@ -72,23 +72,23 @@
"cross-env": "^7.0.3",
"eslint": "^9.15.0",
"eslint-plugin-format": "^0.1.2",
"less": "^4.2.1",
"less": "^4.2.2",
"npm-run-all": "^4.1.5",
"postcss": "^8.4.49",
"postcss": "^8.5.1",
"prettier": "3.3.3",
"rollup-plugin-visualizer": "^5.12.0",
"shx": "^0.3.4",
"simple-git-hooks": "^2.11.1",
"tailwindcss": "^3.4.15",
"tailwindcss": "^3.4.17",
"typescript": "~5.6.2",
"unocss": "^0.64.1",
"unplugin-auto-import": "^0.18.6",
"unplugin-vue-components": "^0.27.5",
"vite": "^5.4.7",
"vite-plugin-node-polyfills": "^0.22.0",
"vite": "^5.4.14",
"vite-plugin-node-polyfills": "^0.23.0",
"vite-plugin-vue-devtools": "^7.6.5",
"vue-tsc": "^2.1.10",
"wxt": "^0.19.19"
"vue-tsc": "^2.2.0",
"wxt": "^0.19.25"
},
"simple-git-hooks": {
"pre-commit": "npx lint-staged"

View File

@ -104,7 +104,7 @@ export const colorOptions: IConfigOption[] = [
},
]
const codeBlockUrlPrefix = `https://cdn.bootcdn.net/ajax/libs/highlight.js/11.10.0/styles/`
const codeBlockUrlPrefix = `https://cdn-doocs.oss-cn-shenzhen.aliyuncs.com/npm/highlightjs/11.11.1/styles/`
const codeBlockThemeList = [
`1c-light.min.css`,
`a11y-dark.min.css`,

View File

@ -187,8 +187,8 @@ export function exportHTML(primaryColor: string) {
setStyles(element)
const htmlStr = element.innerHTML
.replaceAll(`var(--md-primary-color)`, primaryColor)
.replaceAll(/--md-primary-color:.+?;/g, ``)
.replace(/var\(--md-primary-color\)/g, primaryColor)
.replace(/--md-primary-color:.+?;/g, ``)
const downLink = document.createElement(`a`)