Skip to content

Commit 9b31b6e

Browse files
committed
Stark snap
1 parent 2c4f82f commit 9b31b6e

File tree

1,793 files changed

+272765
-79
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,793 files changed

+272765
-79
lines changed

.DS_Store

6 KB
Binary file not shown.

.gitignore

-25
This file was deleted.

.npmignore

-12
This file was deleted.

CHANGELOG.md

+129
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,129 @@
1+
# CHANGELOG
2+
3+
See commit history on Github for change history
4+
http://github.com/marak/faker.js
5+
6+
## v4.0.0
7+
8+
### Dist
9+
- Update to latest gulp and mocha
10+
11+
### Docs
12+
- `seed()` is on `faker`, not `random`
13+
- Add section for setting seed
14+
- Add Patreon campaign
15+
- Fix demo URL in Readme
16+
17+
### API
18+
- Add dataUri method
19+
- Add additional https option for imageUrl
20+
- Add exports for `az` locality
21+
- Add `lorem.slug` method
22+
- Expose seed option to Faker class
23+
- Don't allow `/` in file names or paths
24+
- Typo in require statement
25+
- Add database method
26+
- Move password generator to core
27+
- Add `internet.ipv6` method
28+
- alphaNumeric takes now count as a argument
29+
- Add IBAN and BIC generator functions
30+
31+
### Fix
32+
- Fix aomount and price argument dec for case = 0
33+
- Default shuffle value
34+
- Fix dec for amount in finance
35+
- Don't allow path seperators in generated filenames in system
36+
- Add lorem.slug to functional test
37+
- Don't throw in helpers.shuffle on empty array
38+
- Adds precision value to faker.random.number call
39+
- Fix typo in doc string
40+
- misspelling of 'Liaison' from faker.name.jobType()
41+
- Remove duplicate Congo from country.js
42+
- Clean up faker.commerce.department method
43+
- Correct spelling
44+
45+
### Locale
46+
- Azerbaijani localization has been added
47+
- Realistic Dutch city naming components
48+
- Add `CZ` Czech
49+
50+
## v3.1.0
51+
52+
( partial change log see: https://github.com/Marak/faker.js/commits/master for full details )
53+
54+
```
55+
[docs] Added JSDocs
56+
57+
[fix] Prevent apostrophes in return value of internet#domainWords
58+
[Fix] Display first month as 1 not 0.
59+
[fix] random.uuid not using seeded number generator
60+
[fix] image api size check
61+
[fix] update bower
62+
[fix] implement street suffix
63+
[fix] hacker.phrase - generate random string for each lexical instance
64+
65+
[api] Added safe_email method
66+
[api] Added method for getting random locale
67+
[api] Added semver method
68+
[api] Added parameters to fake method
69+
[api] Added randomness to image generation
70+
[api] adjust findName method to allow for gender based prefixes
71+
[api] [locale] Added basic support for generating UK postcodes
72+
[api] [locale] Added LV (Latvian) locale
73+
[api] [locale] Added date for Swedish locale
74+
[api] Added better lorem methods
75+
[api] Added system module
76+
[api] Added finance.bitcoinAddress
77+
```
78+
79+
80+
## v3.0.0 - v2.0.0 - Missing
81+
82+
See commit history on Github for change history
83+
http://github.com/marak/faker.js
84+
85+
## v2.0.0
86+
87+
* Adds i18n internalization of fake data sets
88+
- contributed by Marak
89+
* Reduces surface of API, removes redundant API calls
90+
- contributed by Marak
91+
* Replaces legacy build system with GulpJS
92+
- contributed by Marak
93+
* Replaces legacy browserifying system with Browserify
94+
- contributed by Marak
95+
* Adds basic financial generators
96+
- contributed by josefsalyer
97+
* Adds internet.userAgent using `random-ua` library
98+
- contributed by Marak
99+
* Adds currency codes and symbols using `random-ua` library
100+
- contributed by MQuy
101+
* Replaces use of Math.random in favor of `node-mersenne` package
102+
- contributed by Marak
103+
* Adds bower support
104+
- contributed by daytonn
105+
* avatarUrl optimization
106+
- contributed by MQuy
107+
* Fix - Remove `this` scope
108+
- contributed by goliatone
109+
* Fix - IE9 charAt() bug
110+
- contributed by beastlike
111+
* Fix - faker.date now returns a Date object instead of JSON
112+
- contributed by Marak
113+
114+
##v1.1.0
115+
116+
* Fixes random date functions that did not distribute results.
117+
- contributed by pmalouin
118+
* Fixes context of findName
119+
- contributed by juampi92
120+
* Updates to switch changes over to using 2 args to support min/max
121+
- contributed by avanderhoorn & edshadi
122+
* Added ISO 3166 countries
123+
- contributed by MaerF0x0
124+
* UMD support
125+
- contirbuted by xaka
126+
* Uk Postal Codes
127+
- contributed by schmtw
128+
* Undefined global object for webworker fix
129+
- contributed by dnbard

CODE_OF_MERIT.MD

+52
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
# Code of Merit
2+
3+
1. The project creators, lead developers, core team, constitute
4+
the managing members of the project and have final say in every decision
5+
of the project, technical or otherwise, including overruling previous decisions.
6+
There are no limitations to this decisional power.
7+
8+
2. Contributions are an expected result of your membership on the project.
9+
Don't expect others to do your work or help you with your work forever.
10+
11+
3. All members have the same opportunities to seek any challenge they want
12+
within the project.
13+
14+
4. Authority or position in the project will be proportional
15+
to the accrued contribution. Seniority must be earned.
16+
17+
5. Software is evolutive: the better implementations must supersede lesser
18+
implementations. Technical advantage is the primary evaluation metric.
19+
20+
6. This is a space for technical prowess; topics outside of the project
21+
will not be tolerated.
22+
23+
7. Non technical conflicts will be discussed in a separate space. Disruption
24+
of the project will not be allowed.
25+
26+
8. Individual characteristics, including but not limited to,
27+
body, sex, sexual preference, race, language, religion, nationality,
28+
or political preferences are irrelevant in the scope of the project and
29+
will not be taken into account concerning your value or that of your contribution
30+
to the project.
31+
32+
9. Discuss or debate the idea, not the person.
33+
34+
10. There is no room for ambiguity: Ambiguity will be met with questioning;
35+
further ambiguity will be met with silence. It is the responsibility
36+
of the originator to provide requested context.
37+
38+
11. If something is illegal outside the scope of the project, it is illegal
39+
in the scope of the project. This Code of Merit does not take precedence over
40+
governing law.
41+
42+
12. This Code of Merit governs the technical procedures of the project not the
43+
activities outside of it.
44+
45+
13. Participation on the project equates to agreement of this Code of Merit.
46+
47+
14. No objectives beyond the stated objectives of this project are relevant
48+
to the project. Any intent to deviate the project from its original purpose
49+
of existence will constitute grounds for remedial action which may include
50+
expulsion from the project.
51+
52+
This document is the Code of Merit (https://codeofmerit.org/), version 1.0.

CONTRIBUTING.md

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
A lot of effort has been put into `faker.js` to create a useful and handy
2+
library. There are still a lot of things to be done, so all contributions are
3+
welcome! If you can make `faker.js` better, please read the following contribution guide.
4+
5+
# Important
6+
7+
* Please make sure that you run both `gulp` and tests before making a PR.
8+
9+
## Support
10+
11+
`faker.js` relies on [commonJS](http://www.commonjs.org/) standard and supports both node.js and the
12+
browsers. Keep this in mind, when modifying and/or extending the sources.
13+
14+
## Automation
15+
16+
* The project is being built by [gulp](http://gulpjs.com/) (see [gulpfile](build/gulpfile.js)), destination directory is [build/build](build/build)
17+
* The documentation is auto-generated, based on [build/src](build/src) markdown sources. If you modify the main [Readme.md](Readme.md) file, the Pull Request will be rejected, since it will be overwritten by the upcoming `gulp` execution
18+
* The tests are executing `mocha` against all js contents of [test](test) directory
19+
20+
## Architecture
21+
22+
The sources are located in the [lib](lib) directory. All fake data generators are
23+
divided into namespaces (each namespace being a separate module). Most of the
24+
generators use the *definitions*, which are just plain JavaScript
25+
objects/arrays/strings that are separate for each [locale](lib/locales).

MIT-LICENSE.txt

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
faker.js - Copyright (c) 2020
2+
Marak Squires
3+
http://github.com/marak/faker.js/
4+
5+
faker.js was inspired by and has used data definitions from:
6+
7+
* https://github.com/stympy/faker/ - Copyright (c) 2007-2010 Benjamin Curtis
8+
* http://search.cpan.org/~jasonk/Data-Faker-0.07/ - Copyright 2004-2005 by Jason Kohles
9+
10+
Permission is hereby granted, free of charge, to any person obtaining
11+
a copy of this software and associated documentation files (the
12+
"Software"), to deal in the Software without restriction, including
13+
without limitation the rights to use, copy, modify, merge, publish,
14+
distribute, sublicense, and/or sell copies of the Software, and to
15+
permit persons to whom the Software is furnished to do so, subject to
16+
the following conditions:
17+
18+
The above copyright notice and this permission notice shall be
19+
included in all copies or substantial portions of the Software.
20+
21+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
22+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
23+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
24+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
25+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
26+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
27+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

0 commit comments

Comments
 (0)