File tree Expand file tree Collapse file tree 3 files changed +9
-2
lines changed
Expand file tree Collapse file tree 3 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 1+ <a name =" 2.1.0 " ></a >
2+ # [ 2.1.0] ( https://github.com/faker-javascript/faker ) (2022-01-10)
3+ * Added new method ` superhero ` to generate fake superhero name value.
4+
15<a name =" 2.0.1 " ></a >
26# [ 2.0.1] ( https://github.com/faker-javascript/faker ) (2022-01-10)
37* Fixed issue with missed options
Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ import ip from '@fakerjs/ip';
88import letter from '@fakerjs/letter' ;
99import string from '@fakerjs/string' ;
1010import profession from '@fakerjs/profession' ;
11+ import superhero from '@fakerjs/superhero' ;
1112
1213class Faker {
1314 boolean ( ) { return boolean ( ) ; }
@@ -20,6 +21,7 @@ class Faker {
2021 string ( options ) { return string ( options ) ; }
2122 profession ( options ) { return profession ( options ) ; }
2223 animal ( options ) { return animal ( options ) ; }
24+ superhero ( ) { return superhero ( ) ; }
2325}
2426
2527let faker = new Faker ( ) ;
Original file line number Diff line number Diff line change 11{
22 "name" : " @fakerjs/faker" ,
3- "version" : " 2.0.1 " ,
3+ "version" : " 2.1.0 " ,
44 "description" : " A set of javascript packages that generates fake data for you." ,
55 "license" : " MIT" ,
66 "repository" : " faker-javascript/faker" ,
3434 "@fakerjs/ip" : " ^2" ,
3535 "@fakerjs/letter" : " ^2" ,
3636 "@fakerjs/string" : " ^2" ,
37- "@fakerjs/profession" : " ^2"
37+ "@fakerjs/profession" : " ^2" ,
38+ "@fakerjs/superhero" : " ^1"
3839 }
3940}
You can’t perform that action at this time.
0 commit comments