Fix faker import and change version, because of unsplash does not exist

This commit is contained in:
Wolfgang Huß 2022-05-03 12:08:01 +02:00
parent bbb88cb1d9
commit 7bb1b0bbad
3 changed files with 7 additions and 6 deletions

View File

@ -119,7 +119,7 @@
"xregexp": "^4.3.0" "xregexp": "^4.3.0"
}, },
"devDependencies": { "devDependencies": {
"@faker-js/faker": "4.1.0", "@faker-js/faker": "^5.1.0",
"apollo-server-testing": "~2.11.0", "apollo-server-testing": "~2.11.0",
"chai": "~4.2.0", "chai": "~4.2.0",
"cucumber": "~6.0.5", "cucumber": "~6.0.5",

View File

@ -1,5 +1,6 @@
import { v4 as uuid } from 'uuid' import { v4 as uuid } from 'uuid'
import faker from 'faker' // Wolle import faker from 'faker'
const faker = require('@faker-js/faker')
import slugify from 'slug' import slugify from 'slug'
import { hashSync } from 'bcryptjs' import { hashSync } from 'bcryptjs'
import { Factory } from 'rosie' import { Factory } from 'rosie'

View File

@ -963,10 +963,10 @@
exec-sh "^0.3.2" exec-sh "^0.3.2"
minimist "^1.2.0" minimist "^1.2.0"
"@faker-js/faker@4.1.0": "@faker-js/faker@^5.1.0":
version "4.1.0" version "5.5.3"
resolved "https://registry.yarnpkg.com/@faker-js/faker/-/faker-4.1.0.tgz#53f965b60ec929c8ae5e3c1977bfc00d0f7b7295" resolved "https://registry.yarnpkg.com/@faker-js/faker/-/faker-5.5.3.tgz#18e3af6b8eae7984072bbeb0c0858474d7c4cefe"
integrity sha512-PhF1yIVv8wupIFPSlL4gPz0z4RbOD9MLQHEMw5xoMrQ1J4rj76eivi0PwmW0K/puRPpHLE4gnrJ7AlTkgORhQA== integrity sha512-R11tGE6yIFwqpaIqcfkcg7AICXzFg14+5h5v0TfF/9+RMDL6jhzCy/pxHVOfbALGdtVYdt6JdR21tuxEgl34dw==
"@graphql-toolkit/common@0.10.4": "@graphql-toolkit/common@0.10.4":
version "0.10.4" version "0.10.4"