mirror of
https://github.com/koel/koel
synced 2024-11-10 06:34:14 +00:00
chore(deps): remove blueimp-md5 dependency
This commit is contained in:
parent
659e7eea8a
commit
7d76773454
3 changed files with 2 additions and 9 deletions
|
@ -20,7 +20,6 @@
|
|||
"@fortawesome/free-solid-svg-icons": "^6.1.1",
|
||||
"@fortawesome/vue-fontawesome": "^3.0.1",
|
||||
"axios": "^0.21.1",
|
||||
"blueimp-md5": "^2.3.0",
|
||||
"compare-versions": "^3.5.1",
|
||||
"ismobilejs": "^0.4.0",
|
||||
"local-storage": "^2.0.0",
|
||||
|
|
|
@ -58,9 +58,8 @@
|
|||
</template>
|
||||
|
||||
<script lang="ts" setup>
|
||||
import { faRotateBack, faTimes, faUpload, faWarning } from '@fortawesome/free-solid-svg-icons'
|
||||
import ismobile from 'ismobilejs'
|
||||
import md5 from 'blueimp-md5'
|
||||
import { faRotateBack, faTimes, faUpload, faWarning } from '@fortawesome/free-solid-svg-icons'
|
||||
import { computed, defineAsyncComponent, ref, toRef } from 'vue'
|
||||
|
||||
import { settingStore } from '@/stores'
|
||||
|
@ -94,7 +93,7 @@ const handleFiles = (files: Array<File>) => {
|
|||
.filter(file => acceptedMediaTypes.includes(file.type))
|
||||
.map((file): UploadFile => ({
|
||||
file,
|
||||
id: md5(`${file.name}-${file.size}`), // for simplicity, a file's identity is determined by its name and size
|
||||
id: `${file.name}-${file.size}`, // for simplicity, a file's identity is determined by its name and size
|
||||
status: 'Ready',
|
||||
name: file.name,
|
||||
progress: 0
|
||||
|
|
|
@ -1971,11 +1971,6 @@ bluebird@3.7.2, bluebird@^3.7.2:
|
|||
resolved "https://registry.yarnpkg.com/bluebird/-/bluebird-3.7.2.tgz#9f229c15be272454ffa973ace0dbee79a1b0c36f"
|
||||
integrity sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg==
|
||||
|
||||
blueimp-md5@^2.3.0:
|
||||
version "2.19.0"
|
||||
resolved "https://registry.yarnpkg.com/blueimp-md5/-/blueimp-md5-2.19.0.tgz#b53feea5498dcb53dc6ec4b823adb84b729c4af0"
|
||||
integrity sha512-DRQrD6gJyy8FbiE4s+bDoXS9hiW3Vbx5uCdwvcCf3zLHL+Iv7LtGHLpr+GZV8rHG8tK766FGYBwRbu8pELTt+w==
|
||||
|
||||
boolbase@^1.0.0:
|
||||
version "1.0.0"
|
||||
resolved "https://registry.yarnpkg.com/boolbase/-/boolbase-1.0.0.tgz#68dff5fbe60c51eb37725ea9e3ed310dcc1e776e"
|
||||
|
|
Loading…
Reference in a new issue