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 2929 "@babel/plugin-transform-modules-commonjs" : " ^7.16.8" ,
3030 "@babel/preset-env" : " ^7.24.0" ,
3131 "@vue/compat" : " ^3.4.21" ,
32+ "@faker-js/faker" : " ^8.4.1" ,
3233 "@vue/vue3-jest" : " 29" ,
3334 "babel-core" : " ^7.0.0-bridge.0" ,
3435 "babel-jest" : " ^29.4.3" ,
4041 "eslint-plugin-node" : " ^11.0.0" ,
4142 "eslint-plugin-promise" : " ^5.2.0" ,
4243 "eslint-plugin-vue" : " ^9.26.0" ,
43- "faker" : " ^5.5.3" ,
4444 "fetch-mock" : " ^9.11.0" ,
4545 "husky" : " ^9.0.11" ,
4646 "jest" : " ^29.4.3" ,
Original file line number Diff line number Diff line change 11import fetchMock from 'fetch-mock'
2- import faker from 'faker'
2+ import { faker } from '@faker-js/ faker'
33import { ResourcefulApi } from '../src/api/ResourcefulApi'
44import { Route } from '../src/route/Route'
55import { Router } from '../src/route/Router'
@@ -40,7 +40,7 @@ export function initApiMockServer () {
4040 type : 'Book' ,
4141 id,
4242 attributes : {
43- author : faker . name . findName ( ) ,
43+ author : faker . person . fullName ( ) ,
4444 title : faker . lorem . words ( 3 )
4545 }
4646 }
Original file line number Diff line number Diff line change 11001100 minimatch "^3.0.4"
11011101 strip-json-comments "^3.1.1"
11021102
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+
11031108" @humanwhocodes/config-array@^0.5.0 " :
11041109 version "0.5.0"
11051110 resolved "https://registry.yarnpkg.com/@humanwhocodes/config-array/-/config-array-0.5.0.tgz#1407967d4c6eecd7388f83acf1eaf4d0c6e58ef9"
@@ -2809,11 +2814,6 @@ extend@^3.0.0:
28092814 resolved "https://registry.yarnpkg.com/extend/-/extend-3.0.2.tgz#f8b1136b4071fbd8eb140aff858b1019ec2915fa"
28102815 integrity sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==
28112816
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-
28172817fast-deep-equal@^3.1.1, fast-deep-equal@^3.1.3 :
28182818 version "3.1.3"
28192819 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