| Age | Commit message (Collapse) | Author | Files | Lines | |
|---|---|---|---|---|---|
| 2022-01-14 | chore: remove ts-generated source files | Shinigami92 | 1 | -377/+0 | |
| 2022-01-11 | chore: format lib without locales (#66) | Shinigami | 1 | -43/+115 | |
| 2021-03-24 | Give each faker instance its own random number generator | Charles Lowell | 1 | -4/+2 | |
| Currently, every Faker instance shares the same random number generator instance which means that to seed one faker instance is to seed them all. This can result in duplicate data being generated all over the place. This just extracts the public API of the mersenne twister found in `vendor/mersenne.js` and creates a single instance of it per faker. This implementation is a tad sub-optimal since calling `seed()` on a faker instance will result in two redundant calls to `mersenne.init_genrand()`: one in `random.js` and the other in `datatype.js`. It would probably be more DRY to create the mersenne instance once in faker and then pass it into to the `Random` and `Datatype` instances, however, this takes the strategy of the smallest possible API change. | |||||
| 2021-03-22 | Linting fixes for `./lib` | Marak | 1 | -81/+81 | |
| 2021-03-19 | Fix index generation | OleksandrYehorov | 1 | -1/+1 | |
| 2021-03-18 | Improve faker.random.arrayElements performance | OleksandrYehorov | 1 | -6/+12 | |
| 2021-03-09 | Update description of faker.random.objectElement | Tilo Westermann | 1 | -1/+1 | |
| 2021-03-03 | Updates deprecation message | Marak | 1 | -5/+5 | |
| Fixes typo is jsdoc | |||||
| 2021-03-03 | Issue 1114: New datatype module | LBuerstmayr | 1 | -59/+16 | |
| Current status: - moved number(), float(), hexaDecimal(), boolean(), uuid() from random to datatype - moved respective test from random.unit to datatype.unit - tests of moved methods in random now check if DeprecationWarning is printed and respective method in datatype module is called - adapted all lib files that use moved methods (mostly number) - adapted tests of respective files to spy on the correct method - adapted README in order to promote usage of method that logs a DeprecationWarning | |||||
| 2021-03-03 | WIP: issue-1114-datatypes-module | LBuerstmayr | 1 | -10/+2 | |
| 2021-02-11 | Merge pull request #1063 from DanielLipowicz/fix/incorrectVinNumber | Marak | 1 | -19/+55 | |
| Fix issue 1062; Add new alpha and alphanumeric functionality | |||||
| 2020-12-01 | Implement issue 1062; Add random.aplha functionality to blacklist some ↵ | Daniel Lipowicz | 1 | -19/+55 | |
| characters | |||||
| 2020-10-04 | Check if seed is a number or array before seeding faker.random | Luiz Strobelt | 1 | -8/+7 | |
| 2020-08-23 | Merge pull request #683 from blslade-neumont/dev-random-word | Marak | 1 | -2/+2 | |
| Ensure faker.random.word does not return more than one word | |||||
| 2018-10-28 | [api] Added vehicle module #555 | Marak | 1 | -0/+31 | |
| 2018-10-23 | [api] [minor] Remove `this` reference #718 #376 | Marak | 1 | -2/+1 | |
| 2018-10-20 | merge with master | Tyler | 1 | -1/+24 | |
| 2018-09-26 | Add mixed options shape to the documentation | Tomassito | 1 | -1/+1 | |
| From the documentation it is not clear what shape should the options object take. | |||||
| 2018-09-21 | [api] [minor] Don’t use `Object.assign` | Marak | 1 | -5/+8 | |
| * Should fix tests for `faker.random.float` * Was causing older versions of Node to fail | |||||
| 2018-09-21 | [api] Add method `faker.random.float` | Jimmy Cann | 1 | -0/+20 | |
| - Extends the `faker.random.number` float to automatically return a 0.01 precision float - First parameter is set as the precision value | |||||
| 2018-08-15 | Ensure faker.random.word does not return more than one word | Brandon Slade | 1 | -2/+2 | |
| 2017-10-15 | add random.alpaha with tests | Tyler | 1 | -0/+31 | |
| 2017-09-09 | Revert "Update Random to create a per-instance copy of the RNG" | Marak | 1 | -15/+3 | |
| This reverts commit 8a33cf0e7a57f8fe766034706d0230802788d1ff. | |||||
| 2017-09-08 | Update Random to create a per-instance copy of the RNG | Chris Chambers | 1 | -3/+15 | |
| Before this change, it appeared that multiple, independent Faker instances were legal. But, when multiple instances were created, their shared random number generators would overwrite each others' states. After this change, each Random instance (and therefore each Faker instance) has its own copy of the random number generator, ensuring that calls to one Faker instance do not affect the stream of values generated by another. | |||||
| 2017-09-08 | [minor] Fix typo in code comment | Marak | 1 | -1/+1 | |
| 2017-09-08 | Merge pull request #366 from joonhocho/master | Marak | 1 | -0/+28 | |
| [api] Add `faker.random.arrayElements` | |||||
| 2017-06-19 | Generate a hexaDecimal string | Gokulnath Reddy | 1 | -0/+19 | |
| 2017-03-01 | Fix generation of float numbers | Ivan Goncharov | 1 | -1/+3 | |
| Fixes #401 | |||||
| 2016-04-08 | add faker.random.arrayElements | Joon Ho Cho | 1 | -0/+28 | |
| 2016-04-04 | alphaNumeric takes now count as a argument | Krzysztof Kaczor | 1 | -3/+13 | |
| 2016-03-17 | Bitcoin support | ashmothership | 1 | -0/+9 | |
| 2016-03-03 | Install jsdoc and add doclet stubs for all methods | Tobias Witt | 1 | -3/+55 | |
| Descriptions are taken from existing comments if available. The address module already has some new sample descriptions. | |||||
| 2016-02-15 | [api] Added `random.locale` method. Closes #274 | Marak | 1 | -0/+4 | |
| * Returns a random locale * May not work correctly in locale builds | |||||
| 2016-02-14 | [api] [minor] Move semver to System resource #304 | Marak | 1 | -9/+0 | |
| 2016-02-14 | Added faker.random.semver. | Justin McConnell | 1 | -0/+5 | |
| Conflicts: lib/random.js | |||||
| 2016-02-08 | Merge pull request #335 from john-kurkowski/patch-1 | Marak | 1 | -1/+2 | |
| [fix] random.uuid not using seeded number generator | |||||
| 2016-02-06 | [api] Improved random methods | Marak | 1 | -1/+58 | |
| * Adds `random.word` * Adds `random.words` * Adds `random.image` shortcut | |||||
| 2016-01-20 | Fix random.uuid not using seeded number generator | John Kurkowski | 1 | -1/+2 | |
| 2015-07-15 | Implemented faker.seed method for randomization seeding | Brandon Dail | 1 | -3/+11 | |
| 2015-07-08 | [api] [refactor] Rename `array_element` and `object_element` to camelCase. ↵ | Marak | 1 | -35/+35 | |
| Set default max random number to 99999. Added default arguments to some methods. | |||||
| 2015-07-08 | [refactor] [major] Adds incremental browser builds. Switch to using ↵ | Marak | 1 | -67/+74 | |
| 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 ↵ | Marak | 1 | -1/+1 | |
| the default behavior of requiring all locale data. #125 #167 | |||||
| 2015-06-11 | resolves #176 Add random boolean generator | Alan Shaw | 1 | -0/+4 | |
| 2015-06-10 | Fixing bug in random.number when max = 0 | Phil Greenberg | 1 | -1/+1 | |
| Also added tests for random.array_element | |||||
| 2015-01-07 | Merge pull request #152 from jdrew1303/feature/uuid_generator | Marak | 1 | -0/+10 | |
| [api] Adds fake uuid generator | |||||
| 2014-12-22 | Added function to generate UUID | James Drew | 1 | -0/+10 | |
| 2014-12-16 | update documentation of array_element | Andreas Böhrnsen | 1 | -1/+1 | |
| 2014-11-28 | added tests and corrected the number function | Michał Kawalec | 1 | -5/+4 | |
| 2014-11-28 | precision changes precision and max doesn't modify options object | Michał Kawalec | 1 | -10/+13 | |
| 2014-09-22 | [api] [minor] Added default values for more methods. Cleaned up image ↵ | Marak | 1 | -0/+1 | |
| module. Use a less specific regex for usernames. | |||||
