aboutsummaryrefslogtreecommitdiff
path: root/lib/fake.js
AgeCommit message (Collapse)AuthorFilesLines
2022-01-14chore: remove ts-generated source filesShinigami921-104/+0
2022-01-11chore: format lib without locales (#66)Shinigami1-15/+12
2021-05-25Ensure that both open and close tags are presentMarak1-1/+1
2018-10-17[api] `faker.fake` should throw error on emptyMarak1-2/+1
* Was previously returning error as string * Throwing errors conforms to existing APIs
2016-03-19[fix] Don't pass empty strings to Faker.fakeMarak1-1/+6
2016-03-03Install jsdoc and add doclet stubs for all methodsTobias Witt1-0/+17
Descriptions are taken from existing comments if available. The address module already has some new sample descriptions.
2016-02-14[api] [fix] Safer Faker.fake call #310Marak1-2/+16
* Removes eval() call from pull request * eval() is not safe * Never was actually checked into main repo * Now uses JSON.parse and fn.apply()
2016-02-14Support parametersCraig Morris1-4/+13
2015-07-08[refactor] [major] Adds incremental browser builds. Switch to using ↵Marak1-41/+47
prototype for internal API. Previous usage of `module.parent` is not acceptable. Locale information is now passed into Faker constructor. Closes #125
2015-07-07[refactor] [dist] Allow for node to require individual locales ( to avoid ↵Marak1-1/+1
the default behavior of requiring all locale data. #125 #167
2015-07-04[api] First pass at generators with mustache strings. #226 #199 #171 #224Marak1-0/+57