refactor(front): replace MD5 with SHA1 for user avatar generation and update related components to use native hash calculation

This commit is contained in:
keven1024
2026-04-09 00:02:56 +08:00
parent 809e38a9c0
commit c58dfa01c6
3 changed files with 18 additions and 12 deletions

View File

@@ -37,7 +37,7 @@
"clsx": "^2.1.1",
"dayjs": "^1.11.20",
"filesize": "^10.1.6",
"js-md5": "^0.8.3",
"hash-wasm": "^4.12.0",
"lodash-es": "^4.18.1",
"lucide-vue-next": "^0.542.0",
"markdown-it": "^14.1.1",
@@ -50,7 +50,6 @@
"qrcode": "^1.5.4",
"reka-ui": "^2.9.3",
"shadcn-nuxt": "2.0.1",
"spark-md5": "^3.0.2",
"tailwind-merge": "^3.5.0",
"tailwindcss": "^4.2.2",
"tiptap-markdown": "^0.9.0",
@@ -69,10 +68,10 @@
"@types/lodash-es": "^4.17.12",
"@types/markdown-it": "^14.1.2",
"@types/qrcode": "^1.5.6",
"@types/spark-md5": "^3.0.5",
"@vueuse/core": "^13.9.0",
"@vueuse/nuxt": "^13.9.0",
"typescript": "^5.9.3",
"vitest": "^4.1.3",
"vue3-pixi-nuxt": "1.0.0-beta.2"
}
}