diff options
| author | Morgan Denis <[email protected]> | 2021-02-12 10:06:17 +0100 |
|---|---|---|
| committer | Morgan Denis <[email protected]> | 2021-02-12 10:06:17 +0100 |
| commit | ba22bcc267ec0900532ee58198a8a7908c5c9727 (patch) | |
| tree | 3cab787d4edd61dacbb3fc13d7fcee8e7e123738 /lib/index.js | |
| parent | b09ac6dee3625eeae9974761006fbdb1bd35f9ff (diff) | |
| download | faker-ba22bcc267ec0900532ee58198a8a7908c5c9727.tar.xz faker-ba22bcc267ec0900532ee58198a8a7908c5c9727.zip | |
Allow using real city name when available
Diffstat (limited to 'lib/index.js')
| -rw-r--r-- | lib/index.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/index.js b/lib/index.js index 16def0a3..205adec5 100644 --- a/lib/index.js +++ b/lib/index.js @@ -103,7 +103,7 @@ function Faker (opts) { var _definitions = { "name": ["first_name", "last_name", "prefix", "suffix", "gender", "title", "male_prefix", "female_prefix", "male_first_name", "female_first_name", "male_middle_name", "female_middle_name", "male_last_name", "female_last_name"], - "address": ["city_prefix", "city_suffix", "street_suffix", "county", "country", "country_code", "country_code_alpha_3", "state", "state_abbr", "street_prefix", "postcode", "postcode_by_state", "direction", "direction_abbr", "time_zone"], + "address": ["city_name", "city_prefix", "city_suffix", "street_suffix", "county", "country", "country_code", "country_code_alpha_3", "state", "state_abbr", "street_prefix", "postcode", "postcode_by_state", "direction", "direction_abbr", "time_zone"], "company": ["adjective", "noun", "descriptor", "bs_adjective", "bs_noun", "bs_verb", "suffix"], "lorem": ["words"], "hacker": ["abbreviation", "adjective", "noun", "verb", "ingverb", "phrase"], |
