File tree Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 29
29
"@babel/plugin-transform-modules-commonjs" : " ^7.16.8" ,
30
30
"@babel/preset-env" : " ^7.24.0" ,
31
31
"@vue/compat" : " ^3.4.21" ,
32
+ "@faker-js/faker" : " ^8.4.1" ,
32
33
"@vue/vue3-jest" : " 29" ,
33
34
"babel-core" : " ^7.0.0-bridge.0" ,
34
35
"babel-jest" : " ^29.4.3" ,
40
41
"eslint-plugin-node" : " ^11.0.0" ,
41
42
"eslint-plugin-promise" : " ^5.2.0" ,
42
43
"eslint-plugin-vue" : " ^9.26.0" ,
43
- "faker" : " ^5.5.3" ,
44
44
"fetch-mock" : " ^9.11.0" ,
45
45
"husky" : " ^9.0.11" ,
46
46
"jest" : " ^29.4.3" ,
Original file line number Diff line number Diff line change 1
1
import fetchMock from 'fetch-mock'
2
- import faker from 'faker'
2
+ import { faker } from '@faker-js/ faker'
3
3
import { ResourcefulApi } from '../src/api/ResourcefulApi'
4
4
import { Route } from '../src/route/Route'
5
5
import { Router } from '../src/route/Router'
@@ -40,7 +40,7 @@ export function initApiMockServer () {
40
40
type : 'Book' ,
41
41
id,
42
42
attributes : {
43
- author : faker . name . findName ( ) ,
43
+ author : faker . person . fullName ( ) ,
44
44
title : faker . lorem . words ( 3 )
45
45
}
46
46
}
Original file line number Diff line number Diff line change 1100
1100
minimatch "^3.0.4"
1101
1101
strip-json-comments "^3.1.1"
1102
1102
1103
+ " @faker-js/faker@^8.4.1 " :
1104
+ version "8.4.1"
1105
+ resolved "https://registry.yarnpkg.com/@faker-js/faker/-/faker-8.4.1.tgz#5d5e8aee8fce48f5e189bf730ebd1f758f491451"
1106
+ integrity sha512-XQ3cU+Q8Uqmrbf2e0cIC/QN43sTBSC8KF12u29Mb47tWrt2hAgBXSgpZMj4Ao8Uk0iJcU99QsOCaIL8934obCg==
1107
+
1103
1108
" @humanwhocodes/config-array@^0.5.0 " :
1104
1109
version "0.5.0"
1105
1110
resolved "https://registry.yarnpkg.com/@humanwhocodes/config-array/-/config-array-0.5.0.tgz#1407967d4c6eecd7388f83acf1eaf4d0c6e58ef9"
@@ -2809,11 +2814,6 @@ extend@^3.0.0:
2809
2814
resolved "https://registry.yarnpkg.com/extend/-/extend-3.0.2.tgz#f8b1136b4071fbd8eb140aff858b1019ec2915fa"
2810
2815
integrity sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==
2811
2816
2812
- faker@^5.5.3 :
2813
- version "5.5.3"
2814
- resolved "https://registry.yarnpkg.com/faker/-/faker-5.5.3.tgz#c57974ee484431b25205c2c8dc09fda861e51e0e"
2815
- integrity sha512-wLTv2a28wjUyWkbnX7u/ABZBkUkIF2fCd73V6P2oFqEGEktDfzWx4UxrSqtPRw0xPRAcjeAOIiJWqZm3pP4u3g==
2816
-
2817
2817
fast-deep-equal@^3.1.1, fast-deep-equal@^3.1.3 :
2818
2818
version "3.1.3"
2819
2819
resolved "https://registry.yarnpkg.com/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz#3a7d56b559d6cbc3eb512325244e619a65c6c525"
You can’t perform that action at this time.
0 commit comments