Skip to content

Commit

Permalink
chore: update faker to v7
Browse files Browse the repository at this point in the history
  • Loading branch information
B4nan committed Jun 5, 2022
1 parent 4078fa4 commit ff85817
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion packages/seeder/package.json
Expand Up @@ -48,7 +48,7 @@
"access": "public"
},
"dependencies": {
"@faker-js/faker": "6.3.1",
"@faker-js/faker": "7.1.0",
"globby": "11.0.4"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/seeder/src/Factory.ts
@@ -1,5 +1,5 @@
import type { Faker } from '@faker-js/faker';
import faker from '@faker-js/faker';
import { faker } from '@faker-js/faker';
import type { RequiredEntityData, EntityData, EntityManager, Constructor } from '@mikro-orm/core';

export abstract class Factory<T> {
Expand Down
2 changes: 1 addition & 1 deletion packages/seeder/src/index.ts
Expand Up @@ -9,5 +9,5 @@ export * from './Factory';
export * from './SeedManager';

// reexport faker instance and Faker type
import faker, { Faker } from '@faker-js/faker';
import { faker, Faker } from '@faker-js/faker';
export { faker, Faker };
8 changes: 4 additions & 4 deletions yarn.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit ff85817

Please sign in to comment.