mirror of
https://github.com/koel/koel
synced 2024-11-10 06:34:14 +00:00
chore(deps): remove crypto-random-string dependency
This commit is contained in:
parent
964e1df26f
commit
b6daeb5d77
3 changed files with 1 additions and 8 deletions
|
@ -55,7 +55,6 @@
|
|||
"@vitejs/plugin-vue": "^2.3.1",
|
||||
"@vue/test-utils": "^2.0.0-rc.21",
|
||||
"cross-env": "^7.0.3",
|
||||
"crypto-random-string": "^1.0.0",
|
||||
"css-loader": "^0.28.7",
|
||||
"cypress": "^9.5.4",
|
||||
"eslint": "^8.14.0",
|
||||
|
|
|
@ -1,9 +1,8 @@
|
|||
import crypto from 'crypto-random-string'
|
||||
import { Faker } from '@faker-js/faker'
|
||||
|
||||
export default (faker: Faker): YouTubeVideo => ({
|
||||
id: {
|
||||
videoId: crypto(16)
|
||||
videoId: faker.random.alphaNumeric(16)
|
||||
},
|
||||
snippet: {
|
||||
title: faker.lorem.sentence(),
|
||||
|
|
|
@ -2415,11 +2415,6 @@ cross-spawn@^7.0.0, cross-spawn@^7.0.1, cross-spawn@^7.0.2, cross-spawn@^7.0.3:
|
|||
shebang-command "^2.0.0"
|
||||
which "^2.0.1"
|
||||
|
||||
crypto-random-string@^1.0.0:
|
||||
version "1.0.0"
|
||||
resolved "https://registry.yarnpkg.com/crypto-random-string/-/crypto-random-string-1.0.0.tgz#a230f64f568310e1498009940790ec99545bca7e"
|
||||
integrity sha1-ojD2T1aDEOFJgAmUB5DsmVRbyn4=
|
||||
|
||||
css-color-names@0.0.4:
|
||||
version "0.0.4"
|
||||
resolved "https://registry.yarnpkg.com/css-color-names/-/css-color-names-0.0.4.tgz#808adc2e79cf84738069b646cb20ec27beb629e0"
|
||||
|
|
Loading…
Reference in a new issue