Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: name module gender #644

Merged
merged 28 commits into from
Mar 24, 2022
Merged
Show file tree
Hide file tree
Changes from 24 commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
e21ba7f
test: remove todos from tests
Shinigami92 Mar 21, 2022
e1e170a
chore: define type Gender
Shinigami92 Mar 21, 2022
b68f514
docs: rework JSDocs
Shinigami92 Mar 21, 2022
9fd0c69
chore: add enum Gender
Shinigami92 Mar 21, 2022
78e698f
chore: enum needs to be real exported
Shinigami92 Mar 21, 2022
1f71ade
refactor: rewrite name.firstName
Shinigami92 Mar 21, 2022
f4a27f9
chore: generalize firstName, lastName and middleName
Shinigami92 Mar 21, 2022
5ca02fa
chore: add todo
Shinigami92 Mar 21, 2022
8c569b4
chore: simplify code
Shinigami92 Mar 21, 2022
1e1c0c8
chore: move function
Shinigami92 Mar 21, 2022
fb29b8a
chore: rework findName
Shinigami92 Mar 21, 2022
193cf40
chore: add typecast
Shinigami92 Mar 21, 2022
39dd689
test: adjust seeded values
Shinigami92 Mar 21, 2022
79ddaf4
chore: add quotes to warning
Shinigami92 Mar 21, 2022
9c41a06
chore: add empty object fallback
Shinigami92 Mar 21, 2022
a7f4443
chore: move private functions out of module
Shinigami92 Mar 21, 2022
4bfeb36
docs: add JSDoc
Shinigami92 Mar 21, 2022
3638573
fix: remove this.
Shinigami92 Mar 21, 2022
b3c548b
test: update name test
Shinigami92 Mar 21, 2022
43d09c7
test: add test case
Shinigami92 Mar 21, 2022
c6258f3
test: rewrite test
Shinigami92 Mar 21, 2022
bbfbaec
Merge branch 'main' into fix-name-module-gender
Shinigami92 Mar 22, 2022
9608a7e
Merge branch 'main' into fix-name-module-gender
Shinigami92 Mar 22, 2022
85c51c2
Merge branch 'main' into fix-name-module-gender
Shinigami92 Mar 23, 2022
d5cdb3b
chore: fix todo author
Shinigami92 Mar 23, 2022
967f1f6
Merge branch 'main' into fix-name-module-gender
Shinigami92 Mar 23, 2022
957030b
Merge branch 'main' into fix-name-module-gender
Shinigami92 Mar 23, 2022
055bf09
Merge branch 'main' into fix-name-module-gender
Shinigami92 Mar 24, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ export type {
WordDefinitions,
} from './definitions';
export type { FakerOptions, UsableLocale, UsedLocales } from './faker';
export { Gender } from './name';
export type { GenderType } from './name';
export { Faker };

// since we are requiring the top level of faker, load all locales by default
Expand Down
Loading