From dfd034496383e726d63bb46e44f26fd17249809d Mon Sep 17 00:00:00 2001 From: angus Date: Fri, 7 Jan 2022 21:23:59 +0000 Subject: [PATCH 01/11] Replace var declarations for const and let in lib directory --- lib/address.js | 28 +++---- lib/animal.js | 4 +- lib/commerce.js | 14 ++-- lib/company.js | 8 +- lib/database.js | 4 +- lib/datatype.js | 40 ++++----- lib/date.js | 52 ++++++------ lib/fake.js | 24 +++--- lib/finance.js | 83 +++++++++---------- lib/git.js | 24 +++--- lib/hacker.js | 8 +- lib/helpers.js | 45 +++++----- lib/iban.js | 4 +- lib/image.js | 24 +++--- lib/image_providers/lorempicsum.js | 12 +-- lib/image_providers/lorempixel.js | 12 +-- lib/image_providers/unsplash.js | 16 ++-- lib/index.js | 72 ++++++++-------- lib/internet.js | 50 +++++------ lib/locales/af_ZA/address/index.js | 2 +- lib/locales/af_ZA/cell_phone/index.js | 2 +- lib/locales/af_ZA/company/index.js | 2 +- lib/locales/af_ZA/index.js | 2 +- lib/locales/af_ZA/internet/index.js | 2 +- lib/locales/af_ZA/name/index.js | 2 +- lib/locales/af_ZA/phone_number/index.js | 2 +- lib/locales/ar/address/index.js | 2 +- lib/locales/ar/cell_phone/index.js | 2 +- lib/locales/ar/commerce/index.js | 2 +- lib/locales/ar/date/index.js | 2 +- lib/locales/ar/index.js | 2 +- lib/locales/ar/name/index.js | 2 +- lib/locales/ar/phone_number/index.js | 2 +- lib/locales/ar/team/index.js | 2 +- lib/locales/ar/vehicle/index.js | 2 +- lib/locales/az/address/index.js | 2 +- lib/locales/az/commerce/index.js | 2 +- lib/locales/az/company/index.js | 2 +- lib/locales/az/date/index.js | 2 +- lib/locales/az/index.js | 2 +- lib/locales/az/internet/index.js | 2 +- lib/locales/az/name/index.js | 2 +- lib/locales/az/phone_number/index.js | 2 +- lib/locales/cz/address/index.js | 2 +- lib/locales/cz/company/index.js | 2 +- lib/locales/cz/date/index.js | 2 +- lib/locales/cz/index.js | 2 +- lib/locales/cz/internet/index.js | 2 +- lib/locales/cz/lorem/index.js | 2 +- lib/locales/cz/name/index.js | 2 +- lib/locales/cz/phone_number/index.js | 2 +- lib/locales/de/address/index.js | 2 +- lib/locales/de/cell_phone/index.js | 2 +- lib/locales/de/company/index.js | 2 +- lib/locales/de/date/index.js | 2 +- lib/locales/de/index.js | 2 +- lib/locales/de/internet/index.js | 2 +- lib/locales/de/lorem/index.js | 2 +- lib/locales/de/name/index.js | 2 +- lib/locales/de/phone_number/index.js | 2 +- lib/locales/de_AT/address/index.js | 2 +- lib/locales/de_AT/cell_phone/index.js | 2 +- lib/locales/de_AT/company/index.js | 2 +- lib/locales/de_AT/index.js | 2 +- lib/locales/de_AT/internet/index.js | 2 +- lib/locales/de_AT/name/index.js | 2 +- lib/locales/de_AT/phone_number/index.js | 2 +- lib/locales/de_CH/address/index.js | 2 +- lib/locales/de_CH/company/index.js | 2 +- lib/locales/de_CH/index.js | 2 +- lib/locales/de_CH/internet/index.js | 2 +- lib/locales/de_CH/name/index.js | 2 +- lib/locales/de_CH/phone_number/index.js | 2 +- lib/locales/el/address/index.js | 2 +- lib/locales/el/app/index.js | 2 +- lib/locales/el/business/index.js | 2 +- lib/locales/el/cell_phone/index.js | 2 +- lib/locales/el/commerce/index.js | 2 +- lib/locales/el/company/index.js | 2 +- lib/locales/el/credit_card/index.js | 2 +- lib/locales/el/finance/index.js | 2 +- lib/locales/el/hacker/index.js | 2 +- lib/locales/el/index.js | 2 +- lib/locales/el/internet/index.js | 2 +- lib/locales/el/lorem/index.js | 2 +- lib/locales/el/name/index.js | 2 +- lib/locales/el/phone_number/index.js | 2 +- lib/locales/el/team/index.js | 2 +- lib/locales/en/address/index.js | 2 +- lib/locales/en/animal/index.js | 2 +- lib/locales/en/app/index.js | 2 +- lib/locales/en/business/index.js | 2 +- lib/locales/en/cell_phone/index.js | 2 +- lib/locales/en/commerce/index.js | 2 +- lib/locales/en/company/index.js | 2 +- lib/locales/en/database/index.js | 2 +- lib/locales/en/date/index.js | 2 +- lib/locales/en/finance/credit_card/index.js | 2 +- lib/locales/en/finance/currency.js | 2 +- lib/locales/en/finance/index.js | 2 +- lib/locales/en/hacker/index.js | 2 +- lib/locales/en/index.js | 2 +- lib/locales/en/internet/index.js | 2 +- lib/locales/en/lorem/index.js | 2 +- lib/locales/en/music/index.js | 2 +- lib/locales/en/name/index.js | 2 +- lib/locales/en/phone_number/index.js | 2 +- lib/locales/en/system/index.js | 2 +- lib/locales/en/team/index.js | 2 +- lib/locales/en/vehicle/index.js | 2 +- lib/locales/en/word/index.js | 2 +- lib/locales/en_AU/address/index.js | 2 +- lib/locales/en_AU/company/index.js | 2 +- lib/locales/en_AU/index.js | 2 +- lib/locales/en_AU/internet/index.js | 2 +- lib/locales/en_AU/name/index.js | 2 +- lib/locales/en_AU/phone_number/index.js | 2 +- lib/locales/en_AU_ocker/address/index.js | 2 +- lib/locales/en_AU_ocker/company/index.js | 2 +- lib/locales/en_AU_ocker/index.js | 2 +- lib/locales/en_AU_ocker/internet/index.js | 2 +- lib/locales/en_AU_ocker/name/index.js | 2 +- lib/locales/en_AU_ocker/phone_number/index.js | 2 +- lib/locales/en_BORK/index.js | 2 +- lib/locales/en_BORK/lorem/index.js | 2 +- lib/locales/en_CA/address/index.js | 2 +- lib/locales/en_CA/index.js | 2 +- lib/locales/en_CA/internet/index.js | 2 +- lib/locales/en_CA/phone_number/index.js | 2 +- lib/locales/en_GB/address/index.js | 2 +- lib/locales/en_GB/cell_phone/index.js | 2 +- lib/locales/en_GB/index.js | 2 +- lib/locales/en_GB/internet/index.js | 2 +- lib/locales/en_GB/phone_number/index.js | 2 +- lib/locales/en_GH/address/index.js | 2 +- lib/locales/en_GH/company/index.js | 2 +- lib/locales/en_GH/index.js | 2 +- lib/locales/en_GH/internet/index.js | 2 +- lib/locales/en_GH/name/index.js | 2 +- lib/locales/en_GH/phone_number/index.js | 2 +- lib/locales/en_IE/address/index.js | 2 +- lib/locales/en_IE/cell_phone/index.js | 2 +- lib/locales/en_IE/index.js | 2 +- lib/locales/en_IE/internet/index.js | 2 +- lib/locales/en_IE/phone_number/index.js | 2 +- lib/locales/en_IND/address/index.js | 2 +- lib/locales/en_IND/company/index.js | 2 +- lib/locales/en_IND/index.js | 2 +- lib/locales/en_IND/internet/index.js | 2 +- lib/locales/en_IND/name/index.js | 2 +- lib/locales/en_IND/phone_number/index.js | 2 +- lib/locales/en_NG/address/index.js | 2 +- lib/locales/en_NG/company/index.js | 2 +- lib/locales/en_NG/index.js | 2 +- lib/locales/en_NG/internet/index.js | 2 +- lib/locales/en_NG/name/index.js | 2 +- lib/locales/en_NG/phone_number/index.js | 2 +- lib/locales/en_US/address/index.js | 2 +- lib/locales/en_US/index.js | 2 +- lib/locales/en_US/internet/index.js | 2 +- lib/locales/en_US/phone_number/index.js | 2 +- lib/locales/en_ZA/address/index.js | 2 +- lib/locales/en_ZA/cell_phone/index.js | 2 +- lib/locales/en_ZA/company/index.js | 2 +- lib/locales/en_ZA/index.js | 2 +- lib/locales/en_ZA/internet/index.js | 2 +- lib/locales/en_ZA/name/index.js | 2 +- lib/locales/en_ZA/phone_number/index.js | 2 +- lib/locales/es/address/index.js | 2 +- lib/locales/es/cell_phone/index.js | 2 +- lib/locales/es/commerce/index.js | 2 +- lib/locales/es/company/index.js | 2 +- lib/locales/es/index.js | 2 +- lib/locales/es/internet/index.js | 2 +- lib/locales/es/name/index.js | 2 +- lib/locales/es/phone_number/index.js | 2 +- lib/locales/es_MX/address/index.js | 2 +- lib/locales/es_MX/cell_phone/index.js | 2 +- lib/locales/es_MX/commerce/index.js | 2 +- lib/locales/es_MX/company/index.js | 2 +- lib/locales/es_MX/index.js | 2 +- lib/locales/es_MX/internet/index.js | 2 +- lib/locales/es_MX/lorem/index.js | 2 +- lib/locales/es_MX/name/index.js | 2 +- lib/locales/es_MX/phone_number/index.js | 2 +- lib/locales/es_MX/team/index.js | 2 +- lib/locales/fa/address/index.js | 2 +- lib/locales/fa/cell_phone/index.js | 2 +- lib/locales/fa/commerce/index.js | 2 +- lib/locales/fa/company/index.js | 2 +- lib/locales/fa/date/index.js | 2 +- lib/locales/fa/finance/credit_card/index.js | 2 +- lib/locales/fa/finance/index.js | 2 +- lib/locales/fa/index.js | 2 +- lib/locales/fa/internet/index.js | 2 +- lib/locales/fa/lorem/index.js | 2 +- lib/locales/fa/name/index.js | 2 +- lib/locales/fa/phone_number/index.js | 2 +- lib/locales/fa/vehicle/index.js | 2 +- lib/locales/fi/index.js | 2 +- lib/locales/fi/name/index.js | 2 +- lib/locales/fr/address/index.js | 2 +- lib/locales/fr/company/index.js | 2 +- lib/locales/fr/date/index.js | 2 +- lib/locales/fr/index.js | 2 +- lib/locales/fr/internet/index.js | 2 +- lib/locales/fr/lorem/index.js | 2 +- lib/locales/fr/name/first_name.js | 4 +- lib/locales/fr/name/index.js | 2 +- lib/locales/fr/phone_number/index.js | 2 +- lib/locales/fr_BE/adresses/index.js | 2 +- lib/locales/fr_BE/cell_phone/index.js | 2 +- lib/locales/fr_BE/index.js | 2 +- lib/locales/fr_BE/internet/index.js | 2 +- lib/locales/fr_BE/name/index.js | 2 +- lib/locales/fr_BE/phone_number/index.js | 2 +- lib/locales/fr_CA/address/index.js | 2 +- lib/locales/fr_CA/index.js | 2 +- lib/locales/fr_CA/internet/index.js | 2 +- lib/locales/fr_CA/phone_number/index.js | 2 +- lib/locales/fr_CH/address/index.js | 2 +- lib/locales/fr_CH/index.js | 2 +- lib/locales/fr_CH/internet/index.js | 2 +- lib/locales/fr_CH/phone_number/index.js | 2 +- lib/locales/ge/address/index.js | 2 +- lib/locales/ge/cell_phone/index.js | 2 +- lib/locales/ge/company/index.js | 2 +- lib/locales/ge/index.js | 2 +- lib/locales/ge/internet/index.js | 2 +- lib/locales/ge/name/index.js | 2 +- lib/locales/ge/phone_number/index.js | 2 +- lib/locales/he/address/index.js | 2 +- lib/locales/he/cell_phone/index.js | 2 +- lib/locales/he/commerce/index.js | 2 +- lib/locales/he/date/index.js | 2 +- lib/locales/he/index.js | 2 +- lib/locales/he/lorem/index.js | 2 +- lib/locales/he/music/index.js | 2 +- lib/locales/he/name/first_name.js | 6 +- lib/locales/he/name/index.js | 2 +- lib/locales/he/phone_number/index.js | 2 +- lib/locales/hr/address/index.js | 2 +- lib/locales/hr/cell_phone/index.js | 2 +- lib/locales/hr/date/index.js | 2 +- lib/locales/hr/index.js | 2 +- lib/locales/hr/internet/index.js | 2 +- lib/locales/hr/name/index.js | 2 +- lib/locales/hr/phone_number/index.js | 2 +- lib/locales/hy/address/index.js | 2 +- lib/locales/hy/commerce/index.js | 2 +- lib/locales/hy/date/index.js | 2 +- lib/locales/hy/index.js | 2 +- lib/locales/hy/internet/index.js | 2 +- lib/locales/hy/lorem/index.js | 2 +- lib/locales/hy/name/index.js | 2 +- lib/locales/hy/phone_number/index.js | 2 +- lib/locales/id_ID/address/index.js | 2 +- lib/locales/id_ID/company/index.js | 2 +- lib/locales/id_ID/date/index.js | 2 +- lib/locales/id_ID/index.js | 2 +- lib/locales/id_ID/internet/index.js | 2 +- lib/locales/id_ID/name/index.js | 2 +- lib/locales/id_ID/phone_number/index.js | 2 +- lib/locales/it/address/index.js | 2 +- lib/locales/it/company/index.js | 2 +- lib/locales/it/index.js | 2 +- lib/locales/it/internet/index.js | 2 +- lib/locales/it/name/index.js | 2 +- lib/locales/it/phone_number/index.js | 2 +- lib/locales/ja/address/index.js | 2 +- lib/locales/ja/cell_phone/index.js | 2 +- lib/locales/ja/index.js | 2 +- lib/locales/ja/lorem/index.js | 2 +- lib/locales/ja/name/index.js | 2 +- lib/locales/ja/phone_number/index.js | 2 +- lib/locales/ko/address/index.js | 2 +- lib/locales/ko/company/index.js | 2 +- lib/locales/ko/index.js | 2 +- lib/locales/ko/internet/index.js | 2 +- lib/locales/ko/lorem/index.js | 2 +- lib/locales/ko/name/index.js | 2 +- lib/locales/ko/phone_number/index.js | 2 +- lib/locales/lv/address/index.js | 2 +- lib/locales/lv/cell_phone/index.js | 2 +- lib/locales/lv/commerce/index.js | 2 +- lib/locales/lv/company/index.js | 2 +- lib/locales/lv/date/index.js | 2 +- lib/locales/lv/index.js | 2 +- lib/locales/lv/internet/index.js | 2 +- lib/locales/lv/lorem/index.js | 2 +- lib/locales/lv/name/index.js | 2 +- lib/locales/lv/phone_number/index.js | 2 +- lib/locales/mk/address/index.js | 2 +- lib/locales/mk/cell_phone/index.js | 2 +- lib/locales/mk/company/index.js | 2 +- lib/locales/mk/date/index.js | 2 +- lib/locales/mk/index.js | 2 +- lib/locales/mk/internet/index.js | 2 +- lib/locales/mk/name/first_name.js | 4 +- lib/locales/mk/name/index.js | 2 +- lib/locales/mk/name/last_name.js | 4 +- lib/locales/mk/phone_number/index.js | 2 +- lib/locales/nb_NO/address/index.js | 2 +- lib/locales/nb_NO/company/index.js | 2 +- lib/locales/nb_NO/index.js | 2 +- lib/locales/nb_NO/internet/index.js | 2 +- lib/locales/nb_NO/name/index.js | 2 +- lib/locales/nb_NO/phone_number/index.js | 2 +- lib/locales/ne/address/index.js | 2 +- lib/locales/ne/company/index.js | 2 +- lib/locales/ne/index.js | 2 +- lib/locales/ne/internet/index.js | 2 +- lib/locales/ne/name/index.js | 2 +- lib/locales/ne/phone_number/index.js | 2 +- lib/locales/nl/address/index.js | 2 +- lib/locales/nl/commerce/index.js | 2 +- lib/locales/nl/company/index.js | 2 +- lib/locales/nl/date/index.js | 2 +- lib/locales/nl/hacker/index.js | 2 +- lib/locales/nl/index.js | 2 +- lib/locales/nl/internet/index.js | 2 +- lib/locales/nl/lorem/index.js | 2 +- lib/locales/nl/name/index.js | 2 +- lib/locales/nl/phone_number/index.js | 2 +- lib/locales/nl_BE/address/index.js | 2 +- lib/locales/nl_BE/company/index.js | 2 +- lib/locales/nl_BE/index.js | 2 +- lib/locales/nl_BE/internet/index.js | 2 +- lib/locales/nl_BE/name/index.js | 2 +- lib/locales/nl_BE/phone_number/index.js | 2 +- lib/locales/pl/address/index.js | 2 +- lib/locales/pl/cell_phone/index.js | 2 +- lib/locales/pl/company/index.js | 2 +- lib/locales/pl/index.js | 2 +- lib/locales/pl/internet/index.js | 2 +- lib/locales/pl/lorem/index.js | 2 +- lib/locales/pl/name/first_name.js | 4 +- lib/locales/pl/name/index.js | 2 +- lib/locales/pl/phone_number/index.js | 2 +- lib/locales/pt_BR/address/index.js | 2 +- lib/locales/pt_BR/commerce/index.js | 2 +- lib/locales/pt_BR/company/index.js | 2 +- lib/locales/pt_BR/date/index.js | 2 +- lib/locales/pt_BR/index.js | 2 +- lib/locales/pt_BR/internet/index.js | 2 +- lib/locales/pt_BR/lorem/index.js | 2 +- lib/locales/pt_BR/name/index.js | 2 +- lib/locales/pt_BR/phone_number/index.js | 2 +- lib/locales/pt_PT/address/index.js | 2 +- lib/locales/pt_PT/cell_phone/index.js | 2 +- lib/locales/pt_PT/commerce/index.js | 2 +- lib/locales/pt_PT/date/index.js | 2 +- lib/locales/pt_PT/index.js | 2 +- lib/locales/pt_PT/internet/index.js | 2 +- lib/locales/pt_PT/name/index.js | 2 +- lib/locales/pt_PT/phone_number/index.js | 2 +- lib/locales/ro/address/index.js | 2 +- lib/locales/ro/cell_phone/index.js | 2 +- lib/locales/ro/date/index.js | 2 +- lib/locales/ro/index.js | 2 +- lib/locales/ro/internet/index.js | 2 +- lib/locales/ro/name/index.js | 2 +- lib/locales/ro/phone_number/index.js | 2 +- lib/locales/ru/address/index.js | 2 +- lib/locales/ru/commerce/index.js | 2 +- lib/locales/ru/company/index.js | 2 +- lib/locales/ru/date/index.js | 2 +- lib/locales/ru/hacker/index.js | 2 +- lib/locales/ru/index.js | 2 +- lib/locales/ru/internet/index.js | 2 +- lib/locales/ru/lorem/index.js | 2 +- lib/locales/ru/name/index.js | 2 +- lib/locales/ru/phone_number/index.js | 2 +- lib/locales/sk/address/index.js | 2 +- lib/locales/sk/company/index.js | 2 +- lib/locales/sk/index.js | 2 +- lib/locales/sk/internet/index.js | 2 +- lib/locales/sk/lorem/index.js | 2 +- lib/locales/sk/name/index.js | 2 +- lib/locales/sk/phone_number/index.js | 2 +- lib/locales/sv/address/index.js | 2 +- lib/locales/sv/cell_phone/index.js | 2 +- lib/locales/sv/commerce/index.js | 2 +- lib/locales/sv/company/index.js | 2 +- lib/locales/sv/date/index.js | 2 +- lib/locales/sv/index.js | 2 +- lib/locales/sv/internet/index.js | 2 +- lib/locales/sv/name/index.js | 2 +- lib/locales/sv/phone_number/index.js | 2 +- lib/locales/sv/team/index.js | 2 +- lib/locales/tr/address/index.js | 2 +- lib/locales/tr/cell_phone/index.js | 2 +- lib/locales/tr/commerce/index.js | 2 +- lib/locales/tr/index.js | 2 +- lib/locales/tr/internet/index.js | 2 +- lib/locales/tr/lorem/index.js | 2 +- lib/locales/tr/name/index.js | 2 +- lib/locales/tr/phone_number/index.js | 2 +- lib/locales/uk/address/index.js | 2 +- lib/locales/uk/company/index.js | 2 +- lib/locales/uk/index.js | 2 +- lib/locales/uk/internet/index.js | 2 +- lib/locales/uk/name/index.js | 2 +- lib/locales/uk/phone_number/index.js | 2 +- lib/locales/ur/address/index.js | 2 +- lib/locales/ur/animal/index.js | 2 +- lib/locales/ur/app/index.js | 2 +- lib/locales/ur/business/index.js | 2 +- lib/locales/ur/cell_phone/index.js | 2 +- lib/locales/ur/commerce/index.js | 2 +- lib/locales/ur/date/index.js | 2 +- lib/locales/ur/finance/index.js | 2 +- lib/locales/ur/index.js | 2 +- lib/locales/ur/lorem/index.js | 2 +- lib/locales/ur/music/index.js | 2 +- lib/locales/ur/name/index.js | 2 +- lib/locales/ur/team/index.js | 2 +- lib/locales/ur/vehicle/index.js | 2 +- lib/locales/vi/address/index.js | 2 +- lib/locales/vi/cell_phone/index.js | 2 +- lib/locales/vi/company/index.js | 2 +- lib/locales/vi/date/index.js | 2 +- lib/locales/vi/index.js | 2 +- lib/locales/vi/internet/index.js | 2 +- lib/locales/vi/lorem/index.js | 2 +- lib/locales/vi/name/index.js | 2 +- lib/locales/vi/phone_number/index.js | 2 +- lib/locales/zh_CN/address/index.js | 2 +- lib/locales/zh_CN/index.js | 2 +- lib/locales/zh_CN/name/index.js | 2 +- lib/locales/zh_CN/phone_number/index.js | 2 +- lib/locales/zh_TW/address/index.js | 2 +- lib/locales/zh_TW/index.js | 2 +- lib/locales/zh_TW/name/index.js | 2 +- lib/locales/zh_TW/phone_number/index.js | 2 +- lib/locales/zu_ZA/address/index.js | 2 +- lib/locales/zu_ZA/cell_phone/index.js | 2 +- lib/locales/zu_ZA/company/index.js | 2 +- lib/locales/zu_ZA/index.js | 2 +- lib/locales/zu_ZA/internet/index.js | 2 +- lib/locales/zu_ZA/name/index.js | 2 +- lib/locales/zu_ZA/phone_number/index.js | 2 +- lib/lorem.js | 26 +++--- lib/mersenne.js | 4 +- lib/music.js | 4 +- lib/name.js | 6 +- lib/phone_number.js | 4 +- lib/random.js | 40 ++++----- lib/system.js | 56 ++++++------- lib/time.js | 6 +- lib/unique.js | 8 +- lib/vehicle.js | 8 +- lib/word.js | 18 ++-- test/address.unit.js | 4 - 454 files changed, 781 insertions(+), 785 deletions(-) diff --git a/lib/address.js b/lib/address.js index 55f2e688..a91096f7 100644 --- a/lib/address.js +++ b/lib/address.js @@ -3,7 +3,7 @@ * @namespace blaver.address */ function Address(blaver) { - var f = blaver.fake, + const f = blaver.fake, Helpers = blaver.helpers; /** @@ -16,7 +16,7 @@ function Address(blaver) { this.zipCode = function (format) { // if zip format is not specified, use the zip format defined for the locale if (typeof format === "undefined") { - var localeFormat = blaver.definitions.address.postcode; + const localeFormat = blaver.definitions.address.postcode; if (typeof localeFormat === "string") { format = localeFormat; } else { @@ -37,7 +37,7 @@ function Address(blaver) { * @param {String} state */ this.zipCodeByState = function (state) { - var zipRange = blaver.definitions.address.postcode_by_state[state]; + const zipRange = blaver.definitions.address.postcode_by_state[state]; if (zipRange) { return blaver.datatype.number(zipRange); } @@ -61,7 +61,7 @@ function Address(blaver) { * @param {String} format */ this.city = function (format) { - var formats = [ + const formats = [ "{{address.cityPrefix}} {{name.firstName}}{{address.citySuffix}}", "{{address.cityPrefix}} {{name.firstName}}", "{{name.firstName}}{{address.citySuffix}}", @@ -117,8 +117,8 @@ function Address(blaver) { * @method blaver.address.streetName */ this.streetName = function () { - var result; - var suffix = blaver.address.streetSuffix(); + let result; + let suffix = blaver.address.streetSuffix(); if (suffix !== "") { suffix = " " + suffix; } @@ -147,7 +147,7 @@ function Address(blaver) { if (useFullAddress === undefined) { useFullAddress = false; } - var address = ""; + let address = ""; switch (blaver.datatype.number(2)) { case 0: address = @@ -402,18 +402,18 @@ function Address(blaver) { return miles * 0.621371; } function coordinateWithOffset(coordinate, bearing, distance, isMetric) { - var R = 6378.137; // Radius of the Earth (http://nssdc.gsfc.nasa.gov/planetary/factsheet/earthfact.html) - var d = isMetric ? distance : kilometersToMiles(distance); // Distance in km + const R = 6378.137; // Radius of the Earth (http://nssdc.gsfc.nasa.gov/planetary/factsheet/earthfact.html) + const d = isMetric ? distance : kilometersToMiles(distance); // Distance in km - var lat1 = degreesToRadians(coordinate[0]); //Current lat point converted to radians - var lon1 = degreesToRadians(coordinate[1]); //Current long point converted to radians + const lat1 = degreesToRadians(coordinate[0]); //Current lat point converted to radians + const lon1 = degreesToRadians(coordinate[1]); //Current long point converted to radians - var lat2 = Math.asin( + const lat2 = Math.asin( Math.sin(lat1) * Math.cos(d / R) + Math.cos(lat1) * Math.sin(d / R) * Math.cos(bearing) ); - var lon2 = + let lon2 = lon1 + Math.atan2( Math.sin(bearing) * Math.sin(d / R) * Math.cos(lat1), @@ -441,7 +441,7 @@ function Address(blaver) { // Possibly include param to function that allows user to choose between distributions. // This approach will likely result in a higher density of points near the center. - var randomCoord = coordinateWithOffset( + const randomCoord = coordinateWithOffset( coordinate, degreesToRadians(Math.random() * 360.0), radius, diff --git a/lib/animal.js b/lib/animal.js index 04f103d7..fb4e13c8 100644 --- a/lib/animal.js +++ b/lib/animal.js @@ -2,8 +2,8 @@ * * @namespace blaver.animal */ -var Animal = function (blaver) { - var self = this; +const Animal = function (blaver) { + const self = this; /** * dog diff --git a/lib/commerce.js b/lib/commerce.js index e86f30b5..4670aa73 100644 --- a/lib/commerce.js +++ b/lib/commerce.js @@ -2,8 +2,8 @@ * * @namespace blaver.commerce */ -var Commerce = function (blaver) { - var self = this; +const Commerce = function (blaver) { + const self = this; /** * color @@ -63,7 +63,7 @@ var Commerce = function (blaver) { return symbol + 0.0; } - var randValue = blaver.datatype.number({ max: max, min: min }); + const randValue = blaver.datatype.number({ max: max, min: min }); return ( symbol + @@ -75,10 +75,10 @@ var Commerce = function (blaver) { /* self.categories = function(num) { - var categories = []; + const categories = []; do { - var category = blaver.random.arrayElement(blaver.definitions.commerce.department); + const category = blaver.random.arrayElement(blaver.definitions.commerce.department); if(categories.indexOf(category) === -1) { categories.push(category); } @@ -90,10 +90,10 @@ var Commerce = function (blaver) { */ /* self.mergeCategories = function(categories) { - var separator = blaver.definitions.separator || " &"; + const separator = blaver.definitions.separator || " &"; // TODO: find undefined here categories = categories || blaver.definitions.commerce.categories; - var commaSeparated = categories.slice(0, -1).join(', '); + const commaSeparated = categories.slice(0, -1).join(', '); return [commaSeparated, categories[categories.length - 1]].join(separator + " "); }; diff --git a/lib/company.js b/lib/company.js index a680b17a..c43f897b 100644 --- a/lib/company.js +++ b/lib/company.js @@ -2,9 +2,9 @@ * * @namespace blaver.company */ -var Company = function (blaver) { - var self = this; - var f = blaver.fake; +const Company = function (blaver) { + const self = this; + const f = blaver.fake; /** * suffixes @@ -23,7 +23,7 @@ var Company = function (blaver) { * @param {string} format */ this.companyName = function (format) { - var formats = [ + const formats = [ "{{name.lastName}} {{company.companySuffix}}", "{{name.lastName}} - {{name.lastName}}", "{{name.lastName}}, {{name.lastName}} and {{name.lastName}}", diff --git a/lib/database.js b/lib/database.js index bf3c40f9..8c29df0b 100644 --- a/lib/database.js +++ b/lib/database.js @@ -2,8 +2,8 @@ * * @namespace blaver.database */ -var Database = function (blaver) { - var self = this; +const Database = function (blaver) { + const self = this; /** * column * diff --git a/lib/datatype.js b/lib/datatype.js index dae7ee30..482a6d4b 100644 --- a/lib/datatype.js +++ b/lib/datatype.js @@ -38,12 +38,12 @@ function Datatype(blaver, seed) { } // Make the range inclusive of the max value - var max = options.max; + let max = options.max; if (max >= 0) { max += options.precision; } - var randomNumber = Math.floor( + let randomNumber = Math.floor( blaver.mersenne.rand( max / options.precision, options.min / options.precision @@ -68,8 +68,8 @@ function Datatype(blaver, seed) { }; } options = options || {}; - var opts = {}; - for (var p in options) { + const opts = {}; + for (const p in options) { opts[p] = options[p]; } if (typeof opts.precision === "undefined") { @@ -92,7 +92,7 @@ function Datatype(blaver, seed) { }; } - var minMax = 8640000000000000; + const minMax = 8640000000000000; options = options || {}; @@ -104,7 +104,7 @@ function Datatype(blaver, seed) { options.max = new Date().setFullYear(2100, 1, 1); } - var random = blaver.datatype.number(options); + const random = blaver.datatype.number(options); return new Date(random); }; @@ -120,19 +120,19 @@ function Datatype(blaver, seed) { length = 10; } - var maxLength = Math.pow(2, 20); + const maxLength = Math.pow(2, 20); if (length >= maxLength) { length = maxLength; } - var charCodeOption = { + const charCodeOption = { min: 33, max: 125, }; - var returnString = ""; + let returnString = ""; - for (var i = 0; i < length; i++) { + for (let i = 0; i < length; i++) { returnString += String.fromCharCode( blaver.datatype.number(charCodeOption) ); @@ -146,10 +146,10 @@ function Datatype(blaver, seed) { * @method blaver.datatype.uuid */ this.uuid = function () { - var RFC4122_TEMPLATE = "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx"; - var replacePlaceholders = function (placeholder) { - var random = blaver.datatype.number({ min: 0, max: 15 }); - var value = placeholder == "x" ? random : (random & 0x3) | 0x8; + const RFC4122_TEMPLATE = "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx"; + const replacePlaceholders = function (placeholder) { + const random = blaver.datatype.number({ min: 0, max: 15 }); + const value = placeholder == "x" ? random : (random & 0x3) | 0x8; return value.toString(16); }; return RFC4122_TEMPLATE.replace(/[xy]/g, replacePlaceholders); @@ -175,8 +175,8 @@ function Datatype(blaver, seed) { count = 1; } - var wholeString = ""; - for (var i = 0; i < count; i++) { + let wholeString = ""; + for (let i = 0; i < count; i++) { wholeString += blaver.random.arrayElement([ "0", "1", @@ -212,9 +212,9 @@ function Datatype(blaver, seed) { * @method blaver.datatype.json */ this.json = function json() { - var properties = ["foo", "bar", "bike", "a", "b", "name", "prop"]; + const properties = ["foo", "bar", "bike", "a", "b", "name", "prop"]; - var returnObject = {}; + const returnObject = {}; properties.forEach(function (prop) { returnObject[prop] = blaver.datatype.boolean() ? blaver.datatype.string() @@ -235,8 +235,8 @@ function Datatype(blaver, seed) { if (length === undefined) { length = 10; } - var returnArray = new Array(length); - for (var i = 0; i < length; i++) { + const returnArray = new Array(length); + for (let i = 0; i < length; i++) { returnArray[i] = blaver.datatype.boolean() ? blaver.datatype.string() : blaver.datatype.number(); diff --git a/lib/date.js b/lib/date.js index b2153f3c..86d88b58 100644 --- a/lib/date.js +++ b/lib/date.js @@ -2,8 +2,8 @@ * * @namespace blaver.date */ -var _Date = function (blaver) { - var self = this; +const _Date = function (blaver) { + const self = this; /** * past * @@ -12,17 +12,17 @@ var _Date = function (blaver) { * @param {date} refDate */ self.past = function (years, refDate) { - var date = new Date(); + let date = new Date(); if (typeof refDate !== "undefined") { date = new Date(Date.parse(refDate)); } - var range = { + const range = { min: 1000, max: (years || 1) * 365 * 24 * 3600 * 1000, }; - var past = date.getTime(); + let past = date.getTime(); past -= blaver.datatype.number(range); // some time from now to N years ago, in milliseconds date.setTime(past); @@ -37,17 +37,17 @@ var _Date = function (blaver) { * @param {date} refDate */ self.future = function (years, refDate) { - var date = new Date(); + let date = new Date(); if (typeof refDate !== "undefined") { date = new Date(Date.parse(refDate)); } - var range = { + const range = { min: 1000, max: (years || 1) * 365 * 24 * 3600 * 1000, }; - var future = date.getTime(); + let future = date.getTime(); future += blaver.datatype.number(range); // some time from now to N years later, in milliseconds date.setTime(future); @@ -62,10 +62,10 @@ var _Date = function (blaver) { * @param {date} to */ self.between = function (from, to) { - var fromMilli = Date.parse(from); - var dateOffset = blaver.datatype.number(Date.parse(to) - fromMilli); + const fromMilli = Date.parse(from); + const dateOffset = blaver.datatype.number(Date.parse(to) - fromMilli); - var newDate = new Date(fromMilli + dateOffset); + const newDate = new Date(fromMilli + dateOffset); return newDate; }; @@ -81,11 +81,11 @@ var _Date = function (blaver) { if (typeof num == "undefined") { num = 3; } - var newDates = []; - var fromMilli = Date.parse(from); - var dateOffset = (Date.parse(to) - fromMilli) / (num + 1); - var lastDate = from; - for (var i = 0; i < num; i++) { + const newDates = []; + let fromMilli = Date.parse(from); + const dateOffset = (Date.parse(to) - fromMilli) / (num + 1); + let lastDate = from; + for (let i = 0; i < num; i++) { fromMilli = Date.parse(lastDate); lastDate = new Date(fromMilli + dateOffset); newDates.push(lastDate); @@ -101,17 +101,17 @@ var _Date = function (blaver) { * @param {date} refDate */ self.recent = function (days, refDate) { - var date = new Date(); + let date = new Date(); if (typeof refDate !== "undefined") { date = new Date(Date.parse(refDate)); } - var range = { + const range = { min: 1000, max: (days || 1) * 24 * 3600 * 1000, }; - var future = date.getTime(); + let future = date.getTime(); future -= blaver.datatype.number(range); // some time from now to N days ago, in milliseconds date.setTime(future); @@ -126,17 +126,17 @@ var _Date = function (blaver) { * @param {date} refDate */ self.soon = function (days, refDate) { - var date = new Date(); + let date = new Date(); if (typeof refDate !== "undefined") { date = new Date(Date.parse(refDate)); } - var range = { + const range = { min: 1000, max: (days || 1) * 24 * 3600 * 1000, }; - var future = date.getTime(); + let future = date.getTime(); future += blaver.datatype.number(range); // some time from now to N days later, in milliseconds date.setTime(future); @@ -152,7 +152,7 @@ var _Date = function (blaver) { self.month = function (options) { options = options || {}; - var type = "wide"; + let type = "wide"; if (options.abbr) { type = "abbr"; } @@ -164,7 +164,7 @@ var _Date = function (blaver) { type += "_context"; } - var source = blaver.definitions.date.month[type]; + const source = blaver.definitions.date.month[type]; return blaver.random.arrayElement(source); }; @@ -178,7 +178,7 @@ var _Date = function (blaver) { self.weekday = function (options) { options = options || {}; - var type = "wide"; + let type = "wide"; if (options.abbr) { type = "abbr"; } @@ -190,7 +190,7 @@ var _Date = function (blaver) { type += "_context"; } - var source = blaver.definitions.date.weekday[type]; + const source = blaver.definitions.date.weekday[type]; return blaver.random.arrayElement(source); }; diff --git a/lib/fake.js b/lib/fake.js index b08a81bb..6b1a2285 100644 --- a/lib/fake.js +++ b/lib/fake.js @@ -23,7 +23,7 @@ function Fake(blaver) { */ this.fake = function fake(str) { // setup default response as empty string - var res = ""; + let res = ""; // if incoming str parameter is not provided, return error message if (typeof str !== "string" || str.length === 0) { @@ -31,8 +31,8 @@ function Fake(blaver) { } // find first matching {{ and }} - var start = str.search("{{"); - var end = str.search("}}"); + const start = str.search("{{"); + const end = str.search("}}"); // if no {{ and }} is found, we are done if (start === -1 || end === -1) { @@ -43,22 +43,22 @@ function Fake(blaver) { // extract method name from between the {{ }} that we found // for example: {{name.firstName}} - var token = str.substr(start + 2, end - start - 2); - var method = token.replace("}}", "").replace("{{", ""); + const token = str.substr(start + 2, end - start - 2); + let method = token.replace("}}", "").replace("{{", ""); // console.log('method', method) // extract method parameters - var regExp = /\(([^)]+)\)/; - var matches = regExp.exec(method); - var parameters = ""; + const regExp = /\(([^)]+)\)/; + const matches = regExp.exec(method); + let parameters = ""; if (matches) { method = method.replace(regExp, ""); parameters = matches[1]; } // split the method into module and function - var parts = method.split("."); + const parts = method.split("."); if (typeof blaver[parts[0]] === "undefined") { throw new Error("Invalid module: " + parts[0]); @@ -69,12 +69,12 @@ function Fake(blaver) { } // assign the function from the module.function namespace - var fn = blaver[parts[0]][parts[1]]; + const fn = blaver[parts[0]][parts[1]]; // If parameters are populated here, they are always going to be of string type // since we might actually be dealing with an object or array, // we always attempt to the parse the incoming parameters into JSON - var params; + let params; // Note: we experience a small performance hit here due to JSON.parse try / catch // If anyone actually needs to optimize this specific code path, please open a support issue on github try { @@ -84,7 +84,7 @@ function Fake(blaver) { params = parameters; } - var result; + let result; if (typeof params === "string" && params.length === 0) { result = fn.call(this); } else { diff --git a/lib/finance.js b/lib/finance.js index 63f4f266..d249952a 100644 --- a/lib/finance.js +++ b/lib/finance.js @@ -1,9 +1,9 @@ /** * @namespace blaver.finance */ -var Finance = function (blaver) { - var ibanLib = require("./iban"); - var Helpers = blaver.helpers, +const Finance = function (blaver) { + const ibanLib = require("./iban"); + const Helpers = blaver.helpers, self = this; /** @@ -15,9 +15,9 @@ var Finance = function (blaver) { self.account = function (length) { length = length || 8; - var template = ""; + let template = ""; - for (var i = 0; i < length; i++) { + for (let i = 0; i < length; i++) { template = template + "#"; } length = null; @@ -42,12 +42,12 @@ var Finance = function (blaver) { * @method blaver.finance.routingNumber */ self.routingNumber = function () { - var routingNumber = Helpers.replaceSymbolWithNumber("########"); + const routingNumber = Helpers.replaceSymbolWithNumber("########"); // Modules 10 straight summation. - var sum = 0; + let sum = 0; - for (var i = 0; i < routingNumber.length; i += 3) { + for (let i = 0; i < routingNumber.length; i += 3) { sum += Number(routingNumber[i]) * 3; sum += Number(routingNumber[i + 1]) * 7; sum += Number(routingNumber[i + 2]) || 0; @@ -72,9 +72,9 @@ var Finance = function (blaver) { ellipsis = ellipsis === null ? true : ellipsis; //create a template for length - var template = ""; + let template = ""; - for (var i = 0; i < length; i++) { + for (let i = 0; i < length; i++) { template = template + "#"; } @@ -114,7 +114,7 @@ var Finance = function (blaver) { precision: Math.pow(10, -dec), }); - var formattedString; + let formattedString; if (autoFormat) { formattedString = randValue.toLocaleString(undefined, { minimumFractionDigits: dec, @@ -164,7 +164,7 @@ var Finance = function (blaver) { * @method blaver.finance.currencySymbol */ self.currencySymbol = function () { - var symbol; + let symbol; while (!symbol) { symbol = blaver.random.objectElement( @@ -180,11 +180,11 @@ var Finance = function (blaver) { * @method blaver.finance.bitcoinAddress */ self.bitcoinAddress = function () { - var addressLength = blaver.random.number({ min: 27, max: 34 }); + const addressLength = blaver.random.number({ min: 27, max: 34 }); - var address = blaver.random.arrayElement(['1', '3']); + let address = blaver.random.arrayElement(['1', '3']); - for (var i = 0; i < addressLength - 1; i++) + for (let i = 0; i < addressLength - 1; i++) {address += blaver.random.alphaNumeric().toUpperCase();} return address; @@ -196,11 +196,11 @@ var Finance = function (blaver) { * @method blaver.finance.litecoinAddress */ self.litecoinAddress = function () { - var addressLength = blaver.datatype.number({ min: 26, max: 33 }); + const addressLength = blaver.datatype.number({ min: 26, max: 33 }); - var address = blaver.random.arrayElement(["L", "M", "3"]); + let address = blaver.random.arrayElement(["L", "M", "3"]); - for (var i = 0; i < addressLength - 1; i++) + for (let i = 0; i < addressLength - 1; i++) {address += blaver.random.arrayElement( "123456789abcdefghijkmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ".split("") );} @@ -215,8 +215,8 @@ var Finance = function (blaver) { */ self.creditCardNumber = function (provider) { provider = provider || ""; - var format, formats; - var localeFormat = blaver.definitions.finance.credit_card; + let format, formats; + const localeFormat = blaver.definitions.finance.credit_card; if (provider in localeFormat) { formats = localeFormat[provider]; // there chould be multiple formats if (typeof formats === "string") { @@ -249,8 +249,8 @@ var Finance = function (blaver) { * @method blaver.finance.creditCardCVV */ self.creditCardCVV = function () { - var cvv = ""; - for (var i = 0; i < 3; i++) { + let cvv = ""; + for (let i = 0; i < 3; i++) { cvv += blaver.datatype.number({ max: 9 }).toString(); } return cvv; @@ -262,7 +262,7 @@ var Finance = function (blaver) { * @method blaver.finance.ethereumAddress */ self.ethereumAddress = function () { - var address = blaver.datatype.hexaDecimal(40).toLowerCase(); + const address = blaver.datatype.hexaDecimal(40).toLowerCase(); return address; }; @@ -276,9 +276,9 @@ var Finance = function (blaver) { * @method blaver.finance.iban */ self.iban = function (formatted, countryCode) { - var ibanFormat; + let ibanFormat; if (countryCode) { - var findFormat = function (currentFormat) { + const findFormat = function (currentFormat) { return currentFormat.country === countryCode; }; ibanFormat = ibanLib.formats.find(findFormat); @@ -290,11 +290,11 @@ var Finance = function (blaver) { throw new Error("Country code " + countryCode + " not supported."); } - var s = ""; - var count = 0; - for (var b = 0; b < ibanFormat.bban.length; b++) { - var bban = ibanFormat.bban[b]; - var c = bban.count; + let s = ""; + let count = 0; + for (let b = 0; b < ibanFormat.bban.length; b++) { + const bban = ibanFormat.bban[b]; + let c = bban.count; count += bban.count; while (c > 0) { if (bban.type == "a") { @@ -322,12 +322,11 @@ var Finance = function (blaver) { } s = s.substring(0, count); } - var checksum = - 98 - ibanLib.mod97(ibanLib.toDigitString(s + ibanFormat.country + "00")); + let checksum = 98 - ibanLib.mod97(ibanLib.toDigitString(s + ibanFormat.country + "00")); if (checksum < 10) { checksum = "0" + checksum; } - var iban = ibanFormat.country + checksum + s; + const iban = ibanFormat.country + checksum + s; return formatted ? iban.match(/.{1,4}/g).join(" ") : iban; }; @@ -337,8 +336,8 @@ var Finance = function (blaver) { * @method blaver.finance.bic */ self.bic = function () { - var vowels = ["A", "E", "I", "O", "U"]; - var prob = blaver.datatype.number(100); + const vowels = ["A", "E", "I", "O", "U"]; + const prob = blaver.datatype.number(100); return ( Helpers.replaceSymbols("???") + blaver.random.arrayElement(vowels) + @@ -361,13 +360,13 @@ var Finance = function (blaver) { * @method blaver.finance.transactionDescription */ self.transactionDescription = function () { - var transaction = Helpers.createTransaction(); - var account = transaction.account; - var amount = transaction.amount; - var transactionType = transaction.type; - var company = transaction.business; - var card = blaver.finance.mask(); - var currency = blaver.finance.currencyCode(); + const transaction = Helpers.createTransaction(); + const account = transaction.account; + const amount = transaction.amount; + const transactionType = transaction.type; + const company = transaction.business; + const card = blaver.finance.mask(); + const currency = blaver.finance.currencyCode(); return ( transactionType + " transaction at " + diff --git a/lib/git.js b/lib/git.js index 9c96b1df..57d4ef35 100644 --- a/lib/git.js +++ b/lib/git.js @@ -2,11 +2,11 @@ * @namespace blaver.git */ -var Git = function (blaver) { - var self = this; - var f = blaver.fake; +const Git = function (blaver) { + const self = this; + const f = blaver.fake; - var hexChars = [ + const hexChars = [ "0", "1", "2", @@ -31,8 +31,8 @@ var Git = function (blaver) { * @method blaver.git.branch */ self.branch = function () { - var noun = blaver.hacker.noun().replace(" ", "-"); - var verb = blaver.hacker.verb().replace(" ", "-"); + const noun = blaver.hacker.noun().replace(" ", "-"); + const verb = blaver.hacker.verb().replace(" ", "-"); return noun + "-" + verb; }; @@ -45,7 +45,7 @@ var Git = function (blaver) { self.commitEntry = function (options) { options = options || {}; - var entry = "commit {{git.commitSha}}\r\n"; + let entry = "commit {{git.commitSha}}\r\n"; if ( options.merge || @@ -68,7 +68,7 @@ var Git = function (blaver) { * @method blaver.git.commitMessage */ self.commitMessage = function () { - var format = "{{hacker.verb}} {{hacker.adjective}} {{hacker.noun}}"; + const format = "{{hacker.verb}} {{hacker.adjective}} {{hacker.noun}}"; return f(format); }; @@ -78,9 +78,9 @@ var Git = function (blaver) { * @method blaver.git.commitSha */ self.commitSha = function () { - var commit = ""; + let commit = ""; - for (var i = 0; i < 40; i++) { + for (let i = 0; i < 40; i++) { commit += blaver.random.arrayElement(hexChars); } @@ -93,9 +93,9 @@ var Git = function (blaver) { * @method blaver.git.shortSha */ self.shortSha = function () { - var shortSha = ""; + let shortSha = ""; - for (var i = 0; i < 7; i++) { + for (let i = 0; i < 7; i++) { shortSha += blaver.random.arrayElement(hexChars); } diff --git a/lib/hacker.js b/lib/hacker.js index 773f250c..efd24064 100644 --- a/lib/hacker.js +++ b/lib/hacker.js @@ -2,8 +2,8 @@ * * @namespace blaver.hacker */ -var Hacker = function (blaver) { - var self = this; +const Hacker = function (blaver) { + const self = this; /** * abbreviation @@ -62,7 +62,7 @@ var Hacker = function (blaver) { * @method blaver.hacker.phrase */ self.phrase = function () { - var data = { + const data = { abbreviation: self.abbreviation, adjective: self.adjective, ingverb: self.ingverb, @@ -70,7 +70,7 @@ var Hacker = function (blaver) { verb: self.verb, }; - var phrase = blaver.random.arrayElement( + const phrase = blaver.random.arrayElement( blaver.definitions.hacker.phrase ); return blaver.helpers.mustache(phrase, data); diff --git a/lib/helpers.js b/lib/helpers.js index d6ef5f35..bbfca893 100644 --- a/lib/helpers.js +++ b/lib/helpers.js @@ -2,8 +2,8 @@ * * @namespace blaver.helpers */ -var Helpers = function (blaver) { - var self = this; +const Helpers = function (blaver) { + const self = this; /** * backward-compatibility @@ -43,8 +43,9 @@ var Helpers = function (blaver) { symbol = "#"; } - var str = ""; - for (var i = 0; i < string.length; i++) { + let str = ""; + + for (let i = 0; i < string.length; i++) { if (string.charAt(i) == symbol) { str += blaver.datatype.number(9); } else if (string.charAt(i) == "!") { @@ -65,7 +66,7 @@ var Helpers = function (blaver) { */ self.replaceSymbols = function (string) { string = string || ""; - var alpha = [ + const alpha = [ "A", "B", "C", @@ -93,9 +94,9 @@ var Helpers = function (blaver) { "Y", "Z", ]; - var str = ""; + let str = ""; - for (var i = 0; i < string.length; i++) { + for (let i = 0; i < string.length; i++) { if (string.charAt(i) == "#") { str += blaver.datatype.number(9); } else if (string.charAt(i) == "?") { @@ -125,7 +126,7 @@ var Helpers = function (blaver) { symbol = symbol || "#"; // Function calculating the Luhn checksum of a number string - var getCheckBit = function (number) { + const getCheckBit = function (number) { number.reverse(); number = number.map(function (num, index) { if (index % 2 === 0) { @@ -136,7 +137,7 @@ var Helpers = function (blaver) { } return num; }); - var sum = number.reduce(function (prev, curr) { + const sum = number.reduce(function (prev, curr) { return prev + curr; }); return sum % 10; @@ -145,13 +146,13 @@ var Helpers = function (blaver) { string = blaver.helpers.regexpStyleStringParse(string); // replace [4-9] with a random number in range etc... string = blaver.helpers.replaceSymbolWithNumber(string, symbol); // replace ### with random numbers - var numberList = string + const numberList = string .replace(/\D/g, "") .split("") .map(function (num) { return parseInt(num); }); - var checkNum = getCheckBit(numberList); + const checkNum = getCheckBit(numberList); return string.replace("L", checkNum); }; @@ -165,8 +166,8 @@ var Helpers = function (blaver) { if (typeof num === "undefined") { num = 0; } - var text = ""; - for (var i = 0; i < num; i++) { + let text = ""; + for (let i = 0; i < num; i++) { text += string.toString(); } return text; @@ -183,11 +184,11 @@ var Helpers = function (blaver) { self.regexpStyleStringParse = function (string) { string = string || ""; // Deal with range repeat `{min,max}` - var RANGE_REP_REG = /(.)\{(\d+)\,(\d+)\}/; - var REP_REG = /(.)\{(\d+)\}/; - var RANGE_REG = /\[(\d+)\-(\d+)\]/; - var min, max, tmp, repetitions; - var token = string.match(RANGE_REP_REG); + const RANGE_REP_REG = /(.)\{(\d+)\,(\d+)\}/; + const REP_REG = /(.)\{(\d+)\}/; + const RANGE_REG = /\[(\d+)\-(\d+)\]/; + let min, max, tmp, repetitions; + let token = string.match(RANGE_REP_REG); while (token !== null) { min = parseInt(token[2]); max = parseInt(token[3]); @@ -249,7 +250,7 @@ var Helpers = function (blaver) { return o || []; } o = o || ["a", "b", "c"]; - for (var x, j, i = o.length - 1; i > 0; --i) { + for (let x, j, i = o.length - 1; i > 0; --i) { j = blaver.datatype.number(i); x = o[i]; o[i] = o[j]; @@ -298,8 +299,8 @@ var Helpers = function (blaver) { if (typeof str === "undefined") { return ""; } - for (var p in data) { - var re = new RegExp("{{" + p + "}}", "g"); + for (const p in data) { + const re = new RegExp("{{" + p + "}}", "g"); str = str.replace(re, data[p]); } return str; @@ -370,7 +371,7 @@ var Helpers = function (blaver) { * @method blaver.helpers.contextualCard */ self.contextualCard = function () { - var name = blaver.name.firstName(), + const name = blaver.name.firstName(), userName = blaver.internet.userName(name); return { name: name, diff --git a/lib/iban.js b/lib/iban.js index afaffd5b..02e5f395 100644 --- a/lib/iban.js +++ b/lib/iban.js @@ -35,8 +35,8 @@ module["exports"] = { }); }, mod97: function (digitStr) { - var m = 0; - for (var i = 0; i < digitStr.length; i++) { + let m = 0; + for (let i = 0; i < digitStr.length; i++) { m = (m * 10 + (digitStr[i] | 0)) % 97; } return m; diff --git a/lib/image.js b/lib/image.js index 4226e11a..32a5b463 100644 --- a/lib/image.js +++ b/lib/image.js @@ -6,11 +6,11 @@ * @property {object} unsplash - blaver.image.lorempicsum * @default Default provider is unsplash image provider */ -var Image = function (blaver) { - var self = this; - var Lorempixel = require("./image_providers/lorempixel"); - var Unsplash = require("./image_providers/unsplash"); - var LoremPicsum = require("./image_providers/lorempicsum"); +const Image = function (blaver) { + const self = this; + const Lorempixel = require("./image_providers/lorempixel"); + const Unsplash = require("./image_providers/unsplash"); + const LoremPicsum = require("./image_providers/lorempicsum"); /** * image @@ -21,7 +21,7 @@ var Image = function (blaver) { * @method blaver.image.image */ self.image = function (width, height, randomize) { - var categories = [ + const categories = [ "abstract", "animals", "business", @@ -60,13 +60,13 @@ var Image = function (blaver) { * @method blaver.image.imageUrl */ self.imageUrl = function (width, height, category, randomize, https) { - var width = width || 640; - var height = height || 480; - var protocol = "http://"; + const localWidth = width || 640; + const localHeight = height || 480; + const protocol = "http://"; if (typeof https !== "undefined" && https === true) { protocol = "https://"; } - var url = protocol + "placeimg.com/" + width + "/" + height; + let url = protocol + "placeimg.com/" + localWidth + "/" + localHeight; if (typeof category !== "undefined") { url += "/" + category; } @@ -230,7 +230,7 @@ var Image = function (blaver) { */ self.dataUri = function (width, height, color) { color = color || "grey"; - var svgString = + const svgString = '"; - var rawPrefix = "data:image/svg+xml;charset=UTF-8,"; + const rawPrefix = "data:image/svg+xml;charset=UTF-8,"; return rawPrefix + encodeURIComponent(svgString); }; diff --git a/lib/image_providers/lorempicsum.js b/lib/image_providers/lorempicsum.js index 5dab3823..4bc7377f 100644 --- a/lib/image_providers/lorempicsum.js +++ b/lib/image_providers/lorempicsum.js @@ -3,9 +3,9 @@ * @namespace lorempicsum * @memberof bluffmaster.image */ -var LoremPicsum = function (bluffmaster) { +const LoremPicsum = function (bluffmaster) { - var self = this; + const self = this; /** * image @@ -77,16 +77,16 @@ var LoremPicsum = function (bluffmaster) { * @method bluffmaster.image.lorempicsum.imageUrl */ self.imageUrl = function (width, height, grayscale, blur, seed) { - var width = width || 640; - var height = height || 480; + const localWidth = width || 640; + const localHeight = height || 480; - var url = 'https://picsum.photos'; + let url = 'https://picsum.photos'; if (seed) { url += '/seed/' + seed; } - url += '/' + width + '/' + height; + url += '/' + localWidth + '/' + localHeight; if (grayscale && blur) { return url + '?grayscale' + '&blur=' + blur; diff --git a/lib/image_providers/lorempixel.js b/lib/image_providers/lorempixel.js index 8cafda6f..190b3fa2 100644 --- a/lib/image_providers/lorempixel.js +++ b/lib/image_providers/lorempixel.js @@ -3,9 +3,9 @@ * @namespace lorempixel * @memberof blaver.image */ -var Lorempixel = function (blaver) { +const Lorempixel = function (blaver) { - var self = this; + const self = this; /** * image @@ -16,7 +16,7 @@ var Lorempixel = function (blaver) { * @method blaver.image.lorempixel.image */ self.image = function (width, height, randomize) { - var categories = ["abstract", "animals", "business", "cats", "city", "food", "nightlife", "fashion", "people", "nature", "sports", "technics", "transport"]; + const categories = ["abstract", "animals", "business", "cats", "city", "food", "nightlife", "fashion", "people", "nature", "sports", "technics", "transport"]; return self[blaver.random.arrayElement(categories)](width, height, randomize); }; /** @@ -37,10 +37,10 @@ var Lorempixel = function (blaver) { * @method blaver.image.lorempixel.imageUrl */ self.imageUrl = function (width, height, category, randomize) { - var width = width || 640; - var height = height || 480; + const localWidth = width || 640; + const localHeight = height || 480; - var url ='https://lorempixel.com/' + width + '/' + height; + let url ='https://lorempixel.com/' + localWidth + '/' + localHeight; if (typeof category !== 'undefined') { url += '/' + category; } diff --git a/lib/image_providers/unsplash.js b/lib/image_providers/unsplash.js index 7dcb39d1..24e60b99 100644 --- a/lib/image_providers/unsplash.js +++ b/lib/image_providers/unsplash.js @@ -3,10 +3,10 @@ * @namespace unsplash * @memberof blaver.image */ -var Unsplash = function (blaver) { +const Unsplash = function (blaver) { - var self = this; - var categories = ["food", "nature", "people", "technology", "objects", "buildings"]; + const self = this; + const categories = ["food", "nature", "people", "technology", "objects", "buildings"]; /** * image @@ -38,19 +38,19 @@ var Unsplash = function (blaver) { * @method blaver.image.unsplash.imageUrl */ self.imageUrl = function (width, height, category, keyword) { - var width = width || 640; - var height = height || 480; + const localWidth = width || 640; + const localHeight = height || 480; - var url ='https://source.unsplash.com'; + let url ='https://source.unsplash.com'; if (typeof category !== 'undefined') { url += '/category/' + category; } - url += '/' + width + 'x' + height; + url += '/' + localWidth + 'x' + localHeight; if (typeof keyword !== 'undefined') { - var keywordFormat = new RegExp('^([A-Za-z0-9].+,[A-Za-z0-9]+)$|^([A-Za-z0-9]+)$'); + const keywordFormat = new RegExp('^([A-Za-z0-9].+,[A-Za-z0-9]+)$|^([A-Za-z0-9]+)$'); if (keywordFormat.test(keyword)) { url += '?' + keyword; } diff --git a/lib/index.js b/lib/index.js index e4a111a8..c3b0f010 100644 --- a/lib/index.js +++ b/lib/index.js @@ -4,13 +4,13 @@ you can include the blaver library into your existing node.js application by requiring the entire /blaver directory - var blaver = require(./blaver); - var randomName = blaver.name.findName(); + const blaver = require(./blaver); + const randomName = blaver.name.findName(); you can also simply include the "blaver.js" file which is the auto-generated bundled version of the blaver library - var blaver = require(./customAppPath/blaver); - var randomName = blaver.name.findName(); + const blaver = require(./customAppPath/blaver); + const randomName = blaver.name.findName(); if you plan on modifying the blaver library you should be performing your changes in the /lib/ directory @@ -22,14 +22,14 @@ * @namespace blaver */ function Blaver(opts) { - var self = this; + const self = this; opts = opts || {}; // assign options - var locales = self.locales || opts.locales || {}; - var locale = self.locale || opts.locale || "en"; - var localeFallback = self.localeFallback || opts.localeFallback || "en"; + const locales = self.locales || opts.locales || {}; + const locale = self.locale || opts.locale || "en"; + const localeFallback = self.localeFallback || opts.localeFallback || "en"; self.locales = locales; self.locale = locale; @@ -37,7 +37,7 @@ function Blaver(opts) { self.definitions = {}; - var _definitions = { + const _definitions = { name: [ "first_name", "last_name", @@ -180,79 +180,79 @@ function Blaver(opts) { }); }); - var Fake = require("./fake"); + const Fake = require("./fake"); self.fake = new Fake(self).fake; - var Unique = require("./unique"); + const Unique = require("./unique"); self.unique = new Unique(self).unique; - var Mersenne = require("./mersenne"); + const Mersenne = require("./mersenne"); self.mersenne = new Mersenne(); - var Random = require("./random"); + const Random = require("./random"); self.random = new Random(self); - var Helpers = require("./helpers"); + const Helpers = require("./helpers"); self.helpers = new Helpers(self); - var Name = require("./name"); + const Name = require("./name"); self.name = new Name(self); - var Address = require("./address"); + const Address = require("./address"); self.address = new Address(self); - var Animal = require("./animal"); + const Animal = require("./animal"); self.animal = new Animal(self); - var Company = require("./company"); + const Company = require("./company"); self.company = new Company(self); - var Finance = require("./finance"); + const Finance = require("./finance"); self.finance = new Finance(self); - var Image = require("./image"); + const Image = require("./image"); self.image = new Image(self); - var Lorem = require("./lorem"); + const Lorem = require("./lorem"); self.lorem = new Lorem(self); - var Hacker = require("./hacker"); + const Hacker = require("./hacker"); self.hacker = new Hacker(self); - var Internet = require("./internet"); + const Internet = require("./internet"); self.internet = new Internet(self); - var Database = require("./database"); + const Database = require("./database"); self.database = new Database(self); - var Phone = require("./phone_number"); + const Phone = require("./phone_number"); self.phone = new Phone(self); - var _Date = require("./date"); + const _Date = require("./date"); self.date = new _Date(self); - var _Time = require("./time"); + const _Time = require("./time"); self.time = new _Time(self); - var Commerce = require("./commerce"); + const Commerce = require("./commerce"); self.commerce = new Commerce(self); - var System = require("./system"); + const System = require("./system"); self.system = new System(self); - var Git = require("./git"); + const Git = require("./git"); self.git = new Git(self); - var Vehicle = require("./vehicle"); + const Vehicle = require("./vehicle"); self.vehicle = new Vehicle(self); - var Music = require("./music"); + const Music = require("./music"); self.music = new Music(self); - var Datatype = require("./datatype"); + const Datatype = require("./datatype"); self.datatype = new Datatype(self); - var Word = require("./word"); + const Word = require("./word"); self.word = new Word(self); } @@ -261,8 +261,8 @@ Blaver.prototype.setLocale = function (locale) { }; Blaver.prototype.seed = function (value) { - var Random = require("./random"); - var Datatype = require("./datatype"); + const Random = require("./random"); + const Datatype = require("./datatype"); this.seedValue = value; this.random = new Random(this, this.seedValue); this.datatype = new Datatype(this, this.seedValue); diff --git a/lib/internet.js b/lib/internet.js index 109641ee..a536ff13 100644 --- a/lib/internet.js +++ b/lib/internet.js @@ -1,11 +1,11 @@ -var random_ua = require("../vendor/user-agent"); +const random_ua = require("../vendor/user-agent"); /** * * @namespace blaver.internet */ -var Internet = function (blaver) { - var self = this; +const Internet = function (blaver) { + const self = this; /** * avatar * @@ -78,7 +78,7 @@ var Internet = function (blaver) { * @param {string} lastName */ self.exampleEmail = function (firstName, lastName) { - var provider = blaver.random.arrayElement( + const provider = blaver.random.arrayElement( blaver.definitions.internet.example_email ); return self.email(firstName, lastName, provider); @@ -92,7 +92,7 @@ var Internet = function (blaver) { * @param {string} lastName */ self.userName = function (firstName, lastName) { - var result; + let result; firstName = firstName || blaver.name.firstName(); lastName = lastName || blaver.name.lastName(); switch (blaver.datatype.number(2)) { @@ -146,7 +146,7 @@ var Internet = function (blaver) { * @method blaver.internet.protocol */ self.protocol = function () { - var protocols = ["http", "https"]; + const protocols = ["http", "https"]; return blaver.random.arrayElement(protocols); }; @@ -161,7 +161,7 @@ var Internet = function (blaver) { * @method blaver.internet.httpMethod */ self.httpMethod = function () { - var httpMethods = ["GET", "POST", "PUT", "DELETE", "PATCH"]; + const httpMethods = ["GET", "POST", "PUT", "DELETE", "PATCH"]; return blaver.random.arrayElement(httpMethods); }; @@ -245,12 +245,12 @@ var Internet = function (blaver) { * @method blaver.internet.ip */ self.ip = function () { - var randNum = function () { + const randNum = function () { return blaver.datatype.number(255).toFixed(0); }; - var result = []; - for (var i = 0; i < 4; i++) { + const result = []; + for (let i = 0; i < 4; i++) { result[i] = randNum(); } @@ -268,9 +268,9 @@ var Internet = function (blaver) { * @method blaver.internet.ipv6 */ self.ipv6 = function () { - var randHash = function () { - var result = ""; - for (var i = 0; i < 4; i++) { + const randHash = function () { + let result = ""; + for (let i = 0; i < 4; i++) { result += blaver.random.arrayElement([ "0", "1", @@ -293,8 +293,8 @@ var Internet = function (blaver) { return result; }; - var result = []; - for (var i = 0; i < 8; i++) { + const result = []; + for (let i = 0; i < 8; i++) { result[i] = randHash(); } return result.join(":"); @@ -348,14 +348,14 @@ var Internet = function (blaver) { baseGreen255 = baseGreen255 || 0; baseBlue255 = baseBlue255 || 0; // based on awesome response : http://stackoverflow.com/questions/43044/algorithm-to-randomly-generate-an-aesthetically-pleasing-color-palette - var red = Math.floor((blaver.datatype.number(256) + baseRed255) / 2); - var green = Math.floor( + const red = Math.floor((blaver.datatype.number(256) + baseRed255) / 2); + const green = Math.floor( (blaver.datatype.number(256) + baseGreen255) / 2 ); - var blue = Math.floor((blaver.datatype.number(256) + baseBlue255) / 2); - var redStr = red.toString(16); - var greenStr = green.toString(16); - var blueStr = blue.toString(16); + const blue = Math.floor((blaver.datatype.number(256) + baseBlue255) / 2); + const redStr = red.toString(16); + const greenStr = green.toString(16); + const blueStr = blue.toString(16); return ( "#" + (redStr.length === 1 ? "0" : "") + @@ -396,7 +396,7 @@ var Internet = function (blaver) { * @param {string} sep */ self.mac = function (sep) { - var i, + let i, mac = "", validSep = ":"; @@ -439,12 +439,12 @@ var Internet = function (blaver) { * Copyright(c) 2011-2013 Bermi Ferrer * MIT Licensed */ - var consonant, letter, vowel; + let consonant, letter, vowel; letter = /[a-zA-Z]$/; vowel = /[aeiouAEIOU]$/; consonant = /[bcdfghjklmnpqrstvwxyzBCDFGHJKLMNPQRSTVWXYZ]$/; - var _password = function (length, memorable, pattern, prefix) { - var char, n; + const _password = function (length, memorable, pattern, prefix) { + let char, n; if (length == null) { length = 10; } diff --git a/lib/locales/af_ZA/address/index.js b/lib/locales/af_ZA/address/index.js index 44dff02a..a8145aa0 100644 --- a/lib/locales/af_ZA/address/index.js +++ b/lib/locales/af_ZA/address/index.js @@ -1,4 +1,4 @@ -var address = {}; +const address = {}; module['exports'] = address; address.default_country = require("./default_country"); address.postcode = require("./postcode"); diff --git a/lib/locales/af_ZA/cell_phone/index.js b/lib/locales/af_ZA/cell_phone/index.js index 8de997ba..1f65f965 100644 --- a/lib/locales/af_ZA/cell_phone/index.js +++ b/lib/locales/af_ZA/cell_phone/index.js @@ -1,3 +1,3 @@ -var cell_phone = {}; +const cell_phone = {}; module['exports'] = cell_phone; cell_phone.formats = require("./formats"); diff --git a/lib/locales/af_ZA/company/index.js b/lib/locales/af_ZA/company/index.js index ddd41f55..15298471 100644 --- a/lib/locales/af_ZA/company/index.js +++ b/lib/locales/af_ZA/company/index.js @@ -1,3 +1,3 @@ -var company = {}; +const company = {}; module['exports'] = company; company.suffix = require("./suffix"); diff --git a/lib/locales/af_ZA/index.js b/lib/locales/af_ZA/index.js index 83837c34..7c965dcc 100644 --- a/lib/locales/af_ZA/index.js +++ b/lib/locales/af_ZA/index.js @@ -1,4 +1,4 @@ -var en_ZA = {}; +const en_ZA = {}; module['exports'] = en_ZA; en_ZA.title = "Afrikaans"; en_ZA.address = require("./address"); diff --git a/lib/locales/af_ZA/internet/index.js b/lib/locales/af_ZA/internet/index.js index abfa2480..9251f559 100644 --- a/lib/locales/af_ZA/internet/index.js +++ b/lib/locales/af_ZA/internet/index.js @@ -1,3 +1,3 @@ -var internet = {}; +const internet = {}; module['exports'] = internet; internet.domain_suffix = require("./domain_suffix"); diff --git a/lib/locales/af_ZA/name/index.js b/lib/locales/af_ZA/name/index.js index 290e3cc2..8666602b 100644 --- a/lib/locales/af_ZA/name/index.js +++ b/lib/locales/af_ZA/name/index.js @@ -1,4 +1,4 @@ -var name = {}; +const name = {}; module['exports'] = name; name.male_first_name = require("./male_first_name"); name.female_first_name = require("./female_first_name"); diff --git a/lib/locales/af_ZA/phone_number/index.js b/lib/locales/af_ZA/phone_number/index.js index 8d35e011..36b6b18a 100644 --- a/lib/locales/af_ZA/phone_number/index.js +++ b/lib/locales/af_ZA/phone_number/index.js @@ -1,3 +1,3 @@ -var phone_number = {}; +const phone_number = {}; module['exports'] = phone_number; phone_number.formats = require("./formats"); diff --git a/lib/locales/ar/address/index.js b/lib/locales/ar/address/index.js index d1e09fc6..d113c858 100644 --- a/lib/locales/ar/address/index.js +++ b/lib/locales/ar/address/index.js @@ -1,4 +1,4 @@ -var address = {}; +const address = {}; module['exports'] = address; address.country = require("./country"); address.building_number = require("./building_number"); diff --git a/lib/locales/ar/cell_phone/index.js b/lib/locales/ar/cell_phone/index.js index 8de997ba..1f65f965 100644 --- a/lib/locales/ar/cell_phone/index.js +++ b/lib/locales/ar/cell_phone/index.js @@ -1,3 +1,3 @@ -var cell_phone = {}; +const cell_phone = {}; module['exports'] = cell_phone; cell_phone.formats = require("./formats"); diff --git a/lib/locales/ar/commerce/index.js b/lib/locales/ar/commerce/index.js index c5513b11..f4306eba 100644 --- a/lib/locales/ar/commerce/index.js +++ b/lib/locales/ar/commerce/index.js @@ -1,4 +1,4 @@ -var commerce = {}; +const commerce = {}; module["exports"] = commerce; commerce.color = require("./color"); commerce.department = require("./department"); diff --git a/lib/locales/ar/date/index.js b/lib/locales/ar/date/index.js index 8c45d3f6..e53e73ee 100644 --- a/lib/locales/ar/date/index.js +++ b/lib/locales/ar/date/index.js @@ -1,4 +1,4 @@ -var date = {}; +const date = {}; module["exports"] = date; date.month = require("./month"); date.weekday = require("./weekday"); diff --git a/lib/locales/ar/index.js b/lib/locales/ar/index.js index cfaa5d6b..2c28b037 100644 --- a/lib/locales/ar/index.js +++ b/lib/locales/ar/index.js @@ -1,4 +1,4 @@ -var ar = {}; +const ar = {}; module["exports"] = ar; ar.title = "Arabic"; ar.separator = " & "; diff --git a/lib/locales/ar/name/index.js b/lib/locales/ar/name/index.js index 44fd8585..f94a9ecc 100644 --- a/lib/locales/ar/name/index.js +++ b/lib/locales/ar/name/index.js @@ -1,4 +1,4 @@ -var name = {}; +const name = {}; module['exports'] = name; name.first_name = require("./first_name"); name.last_name = require("./last_name"); diff --git a/lib/locales/ar/phone_number/index.js b/lib/locales/ar/phone_number/index.js index 8d35e011..36b6b18a 100644 --- a/lib/locales/ar/phone_number/index.js +++ b/lib/locales/ar/phone_number/index.js @@ -1,3 +1,3 @@ -var phone_number = {}; +const phone_number = {}; module['exports'] = phone_number; phone_number.formats = require("./formats"); diff --git a/lib/locales/ar/team/index.js b/lib/locales/ar/team/index.js index f4e624f0..b5264b1c 100644 --- a/lib/locales/ar/team/index.js +++ b/lib/locales/ar/team/index.js @@ -1,4 +1,4 @@ -var team = {}; +const team = {}; module['exports'] = team; team.creature = require("./creature"); team.name = require("./name"); diff --git a/lib/locales/ar/vehicle/index.js b/lib/locales/ar/vehicle/index.js index 1c62416f..f0991321 100644 --- a/lib/locales/ar/vehicle/index.js +++ b/lib/locales/ar/vehicle/index.js @@ -1,4 +1,4 @@ -var vehicle = {}; +const vehicle = {}; module["exports"] = vehicle; vehicle.fuel = require("./fuel"); diff --git a/lib/locales/az/address/index.js b/lib/locales/az/address/index.js index 0dd71270..24d85128 100644 --- a/lib/locales/az/address/index.js +++ b/lib/locales/az/address/index.js @@ -1,4 +1,4 @@ -var address = {}; +const address = {}; module['exports'] = address; address.country = require("./country"); address.building_number = require("./building_number"); diff --git a/lib/locales/az/commerce/index.js b/lib/locales/az/commerce/index.js index c05b5272..271876c5 100644 --- a/lib/locales/az/commerce/index.js +++ b/lib/locales/az/commerce/index.js @@ -1,4 +1,4 @@ -var commerce = {}; +const commerce = {}; module['exports'] = commerce; commerce.color = require("./color"); commerce.department = require("./department"); diff --git a/lib/locales/az/company/index.js b/lib/locales/az/company/index.js index 1aa59cc4..2d142169 100644 --- a/lib/locales/az/company/index.js +++ b/lib/locales/az/company/index.js @@ -1,4 +1,4 @@ -var company = {}; +const company = {}; module['exports'] = company; company.prefix = require("./prefix"); company.suffix = require("./suffix"); diff --git a/lib/locales/az/date/index.js b/lib/locales/az/date/index.js index 8c45d3f6..e53e73ee 100644 --- a/lib/locales/az/date/index.js +++ b/lib/locales/az/date/index.js @@ -1,4 +1,4 @@ -var date = {}; +const date = {}; module["exports"] = date; date.month = require("./month"); date.weekday = require("./weekday"); diff --git a/lib/locales/az/index.js b/lib/locales/az/index.js index 41ccda9d..4be34182 100644 --- a/lib/locales/az/index.js +++ b/lib/locales/az/index.js @@ -1,4 +1,4 @@ -var az = {}; +const az = {}; module['exports'] = az; az.title = "Azerbaijani"; az.separator = " və "; diff --git a/lib/locales/az/internet/index.js b/lib/locales/az/internet/index.js index 8a337d64..c95143c1 100644 --- a/lib/locales/az/internet/index.js +++ b/lib/locales/az/internet/index.js @@ -1,4 +1,4 @@ -var internet = {}; +const internet = {}; module['exports'] = internet; internet.free_email = require("./free_email"); internet.domain_suffix = require("./domain_suffix"); diff --git a/lib/locales/az/name/index.js b/lib/locales/az/name/index.js index daccf09b..8960215b 100644 --- a/lib/locales/az/name/index.js +++ b/lib/locales/az/name/index.js @@ -1,4 +1,4 @@ -var name = {}; +const name = {}; module['exports'] = name; name.male_first_name = require("./male_first_name"); name.male_last_name = require("./male_last_name"); diff --git a/lib/locales/az/phone_number/index.js b/lib/locales/az/phone_number/index.js index 8d35e011..36b6b18a 100644 --- a/lib/locales/az/phone_number/index.js +++ b/lib/locales/az/phone_number/index.js @@ -1,3 +1,3 @@ -var phone_number = {}; +const phone_number = {}; module['exports'] = phone_number; phone_number.formats = require("./formats"); diff --git a/lib/locales/cz/address/index.js b/lib/locales/cz/address/index.js index 3fcf41e2..08d19603 100644 --- a/lib/locales/cz/address/index.js +++ b/lib/locales/cz/address/index.js @@ -1,4 +1,4 @@ -var address = {}; +const address = {}; module['exports'] = address; address.country = require("./country"); address.building_number = require("./building_number"); diff --git a/lib/locales/cz/company/index.js b/lib/locales/cz/company/index.js index ed79244e..3fadcca3 100644 --- a/lib/locales/cz/company/index.js +++ b/lib/locales/cz/company/index.js @@ -1,4 +1,4 @@ -var company = {}; +const company = {}; module['exports'] = company; company.suffix = require("./suffix"); company.adjective = require("./adjective"); diff --git a/lib/locales/cz/date/index.js b/lib/locales/cz/date/index.js index 8c45d3f6..e53e73ee 100644 --- a/lib/locales/cz/date/index.js +++ b/lib/locales/cz/date/index.js @@ -1,4 +1,4 @@ -var date = {}; +const date = {}; module["exports"] = date; date.month = require("./month"); date.weekday = require("./weekday"); diff --git a/lib/locales/cz/index.js b/lib/locales/cz/index.js index a860dc42..f89569b9 100644 --- a/lib/locales/cz/index.js +++ b/lib/locales/cz/index.js @@ -1,4 +1,4 @@ -var cz = {}; +const cz = {}; module['exports'] = cz; cz.title = "Czech"; cz.address = require("./address"); diff --git a/lib/locales/cz/internet/index.js b/lib/locales/cz/internet/index.js index 8a337d64..c95143c1 100644 --- a/lib/locales/cz/internet/index.js +++ b/lib/locales/cz/internet/index.js @@ -1,4 +1,4 @@ -var internet = {}; +const internet = {}; module['exports'] = internet; internet.free_email = require("./free_email"); internet.domain_suffix = require("./domain_suffix"); diff --git a/lib/locales/cz/lorem/index.js b/lib/locales/cz/lorem/index.js index a53a23d0..47ae78b5 100644 --- a/lib/locales/cz/lorem/index.js +++ b/lib/locales/cz/lorem/index.js @@ -1,3 +1,3 @@ -var lorem = {}; +const lorem = {}; module['exports'] = lorem; lorem.words = require("./words"); diff --git a/lib/locales/cz/name/index.js b/lib/locales/cz/name/index.js index f6b6aad6..5199c2c5 100644 --- a/lib/locales/cz/name/index.js +++ b/lib/locales/cz/name/index.js @@ -1,4 +1,4 @@ -var name = {}; +const name = {}; module['exports'] = name; name.first_name = require("./first_name"); name.last_name = require("./last_name"); diff --git a/lib/locales/cz/phone_number/index.js b/lib/locales/cz/phone_number/index.js index 8d35e011..36b6b18a 100644 --- a/lib/locales/cz/phone_number/index.js +++ b/lib/locales/cz/phone_number/index.js @@ -1,3 +1,3 @@ -var phone_number = {}; +const phone_number = {}; module['exports'] = phone_number; phone_number.formats = require("./formats"); diff --git a/lib/locales/de/address/index.js b/lib/locales/de/address/index.js index 455b9477..d7254c48 100644 --- a/lib/locales/de/address/index.js +++ b/lib/locales/de/address/index.js @@ -1,4 +1,4 @@ -var address = {}; +const address = {}; module['exports'] = address; address.city_prefix = require("./city_prefix"); address.city_suffix = require("./city_suffix"); diff --git a/lib/locales/de/cell_phone/index.js b/lib/locales/de/cell_phone/index.js index 8de997ba..1f65f965 100644 --- a/lib/locales/de/cell_phone/index.js +++ b/lib/locales/de/cell_phone/index.js @@ -1,3 +1,3 @@ -var cell_phone = {}; +const cell_phone = {}; module['exports'] = cell_phone; cell_phone.formats = require("./formats"); diff --git a/lib/locales/de/company/index.js b/lib/locales/de/company/index.js index 3e945ef7..c5324421 100644 --- a/lib/locales/de/company/index.js +++ b/lib/locales/de/company/index.js @@ -1,4 +1,4 @@ -var company = {}; +const company = {}; module['exports'] = company; company.suffix = require("./suffix"); company.legal_form = require("./legal_form"); diff --git a/lib/locales/de/date/index.js b/lib/locales/de/date/index.js index 8c45d3f6..e53e73ee 100644 --- a/lib/locales/de/date/index.js +++ b/lib/locales/de/date/index.js @@ -1,4 +1,4 @@ -var date = {}; +const date = {}; module["exports"] = date; date.month = require("./month"); date.weekday = require("./weekday"); diff --git a/lib/locales/de/index.js b/lib/locales/de/index.js index 92da8685..af900eef 100644 --- a/lib/locales/de/index.js +++ b/lib/locales/de/index.js @@ -1,4 +1,4 @@ -var de = {}; +const de = {}; module['exports'] = de; de.title = "German"; de.address = require("./address"); diff --git a/lib/locales/de/internet/index.js b/lib/locales/de/internet/index.js index 8a337d64..c95143c1 100644 --- a/lib/locales/de/internet/index.js +++ b/lib/locales/de/internet/index.js @@ -1,4 +1,4 @@ -var internet = {}; +const internet = {}; module['exports'] = internet; internet.free_email = require("./free_email"); internet.domain_suffix = require("./domain_suffix"); diff --git a/lib/locales/de/lorem/index.js b/lib/locales/de/lorem/index.js index a53a23d0..47ae78b5 100644 --- a/lib/locales/de/lorem/index.js +++ b/lib/locales/de/lorem/index.js @@ -1,3 +1,3 @@ -var lorem = {}; +const lorem = {}; module['exports'] = lorem; lorem.words = require("./words"); diff --git a/lib/locales/de/name/index.js b/lib/locales/de/name/index.js index 86d4d542..a1f79b06 100644 --- a/lib/locales/de/name/index.js +++ b/lib/locales/de/name/index.js @@ -1,4 +1,4 @@ -var name = {}; +const name = {}; module['exports'] = name; name.male_first_name = require("./male_first_name"); name.female_first_name = require("./female_first_name"); diff --git a/lib/locales/de/phone_number/index.js b/lib/locales/de/phone_number/index.js index 8d35e011..36b6b18a 100644 --- a/lib/locales/de/phone_number/index.js +++ b/lib/locales/de/phone_number/index.js @@ -1,3 +1,3 @@ -var phone_number = {}; +const phone_number = {}; module['exports'] = phone_number; phone_number.formats = require("./formats"); diff --git a/lib/locales/de_AT/address/index.js b/lib/locales/de_AT/address/index.js index b8d944d8..838a1e8c 100644 --- a/lib/locales/de_AT/address/index.js +++ b/lib/locales/de_AT/address/index.js @@ -1,4 +1,4 @@ -var address = {}; +const address = {}; module['exports'] = address; address.country = require("./country"); address.street_root = require("./street_root"); diff --git a/lib/locales/de_AT/cell_phone/index.js b/lib/locales/de_AT/cell_phone/index.js index 8de997ba..1f65f965 100644 --- a/lib/locales/de_AT/cell_phone/index.js +++ b/lib/locales/de_AT/cell_phone/index.js @@ -1,3 +1,3 @@ -var cell_phone = {}; +const cell_phone = {}; module['exports'] = cell_phone; cell_phone.formats = require("./formats"); diff --git a/lib/locales/de_AT/company/index.js b/lib/locales/de_AT/company/index.js index 3e945ef7..c5324421 100644 --- a/lib/locales/de_AT/company/index.js +++ b/lib/locales/de_AT/company/index.js @@ -1,4 +1,4 @@ -var company = {}; +const company = {}; module['exports'] = company; company.suffix = require("./suffix"); company.legal_form = require("./legal_form"); diff --git a/lib/locales/de_AT/index.js b/lib/locales/de_AT/index.js index 5b59ddfd..1c298ec7 100644 --- a/lib/locales/de_AT/index.js +++ b/lib/locales/de_AT/index.js @@ -1,4 +1,4 @@ -var de_AT = {}; +const de_AT = {}; module['exports'] = de_AT; de_AT.title = "German (Austria)"; de_AT.address = require("./address"); diff --git a/lib/locales/de_AT/internet/index.js b/lib/locales/de_AT/internet/index.js index 8a337d64..c95143c1 100644 --- a/lib/locales/de_AT/internet/index.js +++ b/lib/locales/de_AT/internet/index.js @@ -1,4 +1,4 @@ -var internet = {}; +const internet = {}; module['exports'] = internet; internet.free_email = require("./free_email"); internet.domain_suffix = require("./domain_suffix"); diff --git a/lib/locales/de_AT/name/index.js b/lib/locales/de_AT/name/index.js index 526b2bff..32eed4cb 100644 --- a/lib/locales/de_AT/name/index.js +++ b/lib/locales/de_AT/name/index.js @@ -1,4 +1,4 @@ -var name = {}; +const name = {}; module['exports'] = name; name.first_name = require("./first_name"); name.last_name = require("./last_name"); diff --git a/lib/locales/de_AT/phone_number/index.js b/lib/locales/de_AT/phone_number/index.js index 8d35e011..36b6b18a 100644 --- a/lib/locales/de_AT/phone_number/index.js +++ b/lib/locales/de_AT/phone_number/index.js @@ -1,3 +1,3 @@ -var phone_number = {}; +const phone_number = {}; module['exports'] = phone_number; phone_number.formats = require("./formats"); diff --git a/lib/locales/de_CH/address/index.js b/lib/locales/de_CH/address/index.js index 9af0c8c6..938dd0f3 100644 --- a/lib/locales/de_CH/address/index.js +++ b/lib/locales/de_CH/address/index.js @@ -1,4 +1,4 @@ -var address = {}; +const address = {}; module['exports'] = address; address.country_code = require("./country_code"); address.postcode = require("./postcode"); diff --git a/lib/locales/de_CH/company/index.js b/lib/locales/de_CH/company/index.js index 2abcbf5c..8f1b8c98 100644 --- a/lib/locales/de_CH/company/index.js +++ b/lib/locales/de_CH/company/index.js @@ -1,4 +1,4 @@ -var company = {}; +const company = {}; module['exports'] = company; company.suffix = require("./suffix"); company.name = require("./name"); diff --git a/lib/locales/de_CH/index.js b/lib/locales/de_CH/index.js index 1ab58bba..2849d3c3 100644 --- a/lib/locales/de_CH/index.js +++ b/lib/locales/de_CH/index.js @@ -1,4 +1,4 @@ -var de_CH = {}; +const de_CH = {}; module['exports'] = de_CH; de_CH.title = "German (Switzerland)"; de_CH.address = require("./address"); diff --git a/lib/locales/de_CH/internet/index.js b/lib/locales/de_CH/internet/index.js index abfa2480..9251f559 100644 --- a/lib/locales/de_CH/internet/index.js +++ b/lib/locales/de_CH/internet/index.js @@ -1,3 +1,3 @@ -var internet = {}; +const internet = {}; module['exports'] = internet; internet.domain_suffix = require("./domain_suffix"); diff --git a/lib/locales/de_CH/name/index.js b/lib/locales/de_CH/name/index.js index ac23ebe9..9860b50d 100644 --- a/lib/locales/de_CH/name/index.js +++ b/lib/locales/de_CH/name/index.js @@ -1,4 +1,4 @@ -var name = {}; +const name = {}; module['exports'] = name; name.first_name = require("./first_name"); name.last_name = require("./last_name"); diff --git a/lib/locales/de_CH/phone_number/index.js b/lib/locales/de_CH/phone_number/index.js index 8d35e011..36b6b18a 100644 --- a/lib/locales/de_CH/phone_number/index.js +++ b/lib/locales/de_CH/phone_number/index.js @@ -1,3 +1,3 @@ -var phone_number = {}; +const phone_number = {}; module['exports'] = phone_number; phone_number.formats = require("./formats"); diff --git a/lib/locales/el/address/index.js b/lib/locales/el/address/index.js index 852d3b86..ae1f8c34 100644 --- a/lib/locales/el/address/index.js +++ b/lib/locales/el/address/index.js @@ -1,4 +1,4 @@ -var address = {}; +const address = {}; module['exports'] = address; address.county = require("./county"); address.default_country = require("./default_country"); diff --git a/lib/locales/el/app/index.js b/lib/locales/el/app/index.js index 4c0f6473..10449c4b 100644 --- a/lib/locales/el/app/index.js +++ b/lib/locales/el/app/index.js @@ -1,4 +1,4 @@ -var app = {}; +const app = {}; module['exports'] = app; app.name = require("./name"); app.version = require("./version"); diff --git a/lib/locales/el/business/index.js b/lib/locales/el/business/index.js index 88772345..3146faad 100644 --- a/lib/locales/el/business/index.js +++ b/lib/locales/el/business/index.js @@ -1,4 +1,4 @@ -var business = {}; +const business = {}; module['exports'] = business; business.credit_card_numbers = require("./credit_card_numbers"); business.credit_card_expiry_dates = require("./credit_card_expiry_dates"); diff --git a/lib/locales/el/cell_phone/index.js b/lib/locales/el/cell_phone/index.js index 8de997ba..1f65f965 100644 --- a/lib/locales/el/cell_phone/index.js +++ b/lib/locales/el/cell_phone/index.js @@ -1,3 +1,3 @@ -var cell_phone = {}; +const cell_phone = {}; module['exports'] = cell_phone; cell_phone.formats = require("./formats"); diff --git a/lib/locales/el/commerce/index.js b/lib/locales/el/commerce/index.js index c05b5272..271876c5 100644 --- a/lib/locales/el/commerce/index.js +++ b/lib/locales/el/commerce/index.js @@ -1,4 +1,4 @@ -var commerce = {}; +const commerce = {}; module['exports'] = commerce; commerce.color = require("./color"); commerce.department = require("./department"); diff --git a/lib/locales/el/company/index.js b/lib/locales/el/company/index.js index 83b2f5cc..79469daa 100644 --- a/lib/locales/el/company/index.js +++ b/lib/locales/el/company/index.js @@ -1,4 +1,4 @@ -var company = {}; +const company = {}; module['exports'] = company; company.suffix = require("./suffix"); company.adjective = require("./adjective"); diff --git a/lib/locales/el/credit_card/index.js b/lib/locales/el/credit_card/index.js index 03fdd21e..d4517e8e 100644 --- a/lib/locales/el/credit_card/index.js +++ b/lib/locales/el/credit_card/index.js @@ -1,4 +1,4 @@ -var credit_card = {}; +const credit_card = {}; module['exports'] = credit_card; credit_card.visa = require("./visa"); credit_card.mastercard = require("./mastercard"); diff --git a/lib/locales/el/finance/index.js b/lib/locales/el/finance/index.js index 4020b1d0..1701c1d3 100644 --- a/lib/locales/el/finance/index.js +++ b/lib/locales/el/finance/index.js @@ -1,4 +1,4 @@ -var finance = {}; +const finance = {}; module['exports'] = finance; finance.account_type = require("./account_type"); finance.transaction_type = require("./transaction_type"); diff --git a/lib/locales/el/hacker/index.js b/lib/locales/el/hacker/index.js index 15bc611f..af3832e6 100644 --- a/lib/locales/el/hacker/index.js +++ b/lib/locales/el/hacker/index.js @@ -1,4 +1,4 @@ -var hacker = {}; +const hacker = {}; module['exports'] = hacker; hacker.abbreviation = require("./abbreviation"); hacker.adjective = require("./adjective"); diff --git a/lib/locales/el/index.js b/lib/locales/el/index.js index a071e197..9c810b15 100644 --- a/lib/locales/el/index.js +++ b/lib/locales/el/index.js @@ -1,4 +1,4 @@ -var el = {}; +const el = {}; module['exports'] = el; el.title = "Greek"; el.separator = " & "; diff --git a/lib/locales/el/internet/index.js b/lib/locales/el/internet/index.js index abfa2480..9251f559 100644 --- a/lib/locales/el/internet/index.js +++ b/lib/locales/el/internet/index.js @@ -1,3 +1,3 @@ -var internet = {}; +const internet = {}; module['exports'] = internet; internet.domain_suffix = require("./domain_suffix"); diff --git a/lib/locales/el/lorem/index.js b/lib/locales/el/lorem/index.js index a53a23d0..47ae78b5 100644 --- a/lib/locales/el/lorem/index.js +++ b/lib/locales/el/lorem/index.js @@ -1,3 +1,3 @@ -var lorem = {}; +const lorem = {}; module['exports'] = lorem; lorem.words = require("./words"); diff --git a/lib/locales/el/name/index.js b/lib/locales/el/name/index.js index 44fd8585..f94a9ecc 100644 --- a/lib/locales/el/name/index.js +++ b/lib/locales/el/name/index.js @@ -1,4 +1,4 @@ -var name = {}; +const name = {}; module['exports'] = name; name.first_name = require("./first_name"); name.last_name = require("./last_name"); diff --git a/lib/locales/el/phone_number/index.js b/lib/locales/el/phone_number/index.js index 8d35e011..36b6b18a 100644 --- a/lib/locales/el/phone_number/index.js +++ b/lib/locales/el/phone_number/index.js @@ -1,3 +1,3 @@ -var phone_number = {}; +const phone_number = {}; module['exports'] = phone_number; phone_number.formats = require("./formats"); diff --git a/lib/locales/el/team/index.js b/lib/locales/el/team/index.js index f4e624f0..b5264b1c 100644 --- a/lib/locales/el/team/index.js +++ b/lib/locales/el/team/index.js @@ -1,4 +1,4 @@ -var team = {}; +const team = {}; module['exports'] = team; team.creature = require("./creature"); team.name = require("./name"); diff --git a/lib/locales/en/address/index.js b/lib/locales/en/address/index.js index c95f78f3..3c76e5ea 100644 --- a/lib/locales/en/address/index.js +++ b/lib/locales/en/address/index.js @@ -1,4 +1,4 @@ -var address = {}; +const address = {}; module['exports'] = address; address.city_prefix = require("./city_prefix"); address.city_suffix = require("./city_suffix"); diff --git a/lib/locales/en/animal/index.js b/lib/locales/en/animal/index.js index 428cf2d6..d91f3151 100644 --- a/lib/locales/en/animal/index.js +++ b/lib/locales/en/animal/index.js @@ -1,4 +1,4 @@ -var animal = {}; +const animal = {}; module['exports'] = animal; animal.dog = require("./dog"); animal.cat = require("./cat"); diff --git a/lib/locales/en/app/index.js b/lib/locales/en/app/index.js index 4c0f6473..10449c4b 100644 --- a/lib/locales/en/app/index.js +++ b/lib/locales/en/app/index.js @@ -1,4 +1,4 @@ -var app = {}; +const app = {}; module['exports'] = app; app.name = require("./name"); app.version = require("./version"); diff --git a/lib/locales/en/business/index.js b/lib/locales/en/business/index.js index 88772345..3146faad 100644 --- a/lib/locales/en/business/index.js +++ b/lib/locales/en/business/index.js @@ -1,4 +1,4 @@ -var business = {}; +const business = {}; module['exports'] = business; business.credit_card_numbers = require("./credit_card_numbers"); business.credit_card_expiry_dates = require("./credit_card_expiry_dates"); diff --git a/lib/locales/en/cell_phone/index.js b/lib/locales/en/cell_phone/index.js index 8de997ba..1f65f965 100644 --- a/lib/locales/en/cell_phone/index.js +++ b/lib/locales/en/cell_phone/index.js @@ -1,3 +1,3 @@ -var cell_phone = {}; +const cell_phone = {}; module['exports'] = cell_phone; cell_phone.formats = require("./formats"); diff --git a/lib/locales/en/commerce/index.js b/lib/locales/en/commerce/index.js index 89187f7c..ac1d8e5c 100644 --- a/lib/locales/en/commerce/index.js +++ b/lib/locales/en/commerce/index.js @@ -1,4 +1,4 @@ -var commerce = {}; +const commerce = {}; module['exports'] = commerce; commerce.color = require("./color"); commerce.department = require("./department"); diff --git a/lib/locales/en/company/index.js b/lib/locales/en/company/index.js index 83b2f5cc..79469daa 100644 --- a/lib/locales/en/company/index.js +++ b/lib/locales/en/company/index.js @@ -1,4 +1,4 @@ -var company = {}; +const company = {}; module['exports'] = company; company.suffix = require("./suffix"); company.adjective = require("./adjective"); diff --git a/lib/locales/en/database/index.js b/lib/locales/en/database/index.js index 84ba719c..8f6fa9b4 100644 --- a/lib/locales/en/database/index.js +++ b/lib/locales/en/database/index.js @@ -1,4 +1,4 @@ -var database = {}; +const database = {}; module['exports'] = database; database.collation = require("./collation"); database.column = require("./column"); diff --git a/lib/locales/en/date/index.js b/lib/locales/en/date/index.js index 8c45d3f6..e53e73ee 100644 --- a/lib/locales/en/date/index.js +++ b/lib/locales/en/date/index.js @@ -1,4 +1,4 @@ -var date = {}; +const date = {}; module["exports"] = date; date.month = require("./month"); date.weekday = require("./weekday"); diff --git a/lib/locales/en/finance/credit_card/index.js b/lib/locales/en/finance/credit_card/index.js index 3afd843e..b7418d5f 100644 --- a/lib/locales/en/finance/credit_card/index.js +++ b/lib/locales/en/finance/credit_card/index.js @@ -1,4 +1,4 @@ -var credit_card = {}; +const credit_card = {}; module['exports'] = credit_card; credit_card.visa = require("./visa"); credit_card.mastercard = require("./mastercard"); diff --git a/lib/locales/en/finance/currency.js b/lib/locales/en/finance/currency.js index 46c175af..3008758f 100644 --- a/lib/locales/en/finance/currency.js +++ b/lib/locales/en/finance/currency.js @@ -579,7 +579,7 @@ module["exports"] = { "code": "UZS", "symbol": "лв" }, - "Bolivar Fuerte": { + "Boliconst Fuerte": { "code": "VEF", "symbol": "Bs" }, diff --git a/lib/locales/en/finance/index.js b/lib/locales/en/finance/index.js index 9a5b00d9..4cbb809c 100644 --- a/lib/locales/en/finance/index.js +++ b/lib/locales/en/finance/index.js @@ -1,4 +1,4 @@ -var finance = {}; +const finance = {}; module['exports'] = finance; finance.account_type = require("./account_type"); finance.transaction_type = require("./transaction_type"); diff --git a/lib/locales/en/hacker/index.js b/lib/locales/en/hacker/index.js index 91673a19..423da495 100644 --- a/lib/locales/en/hacker/index.js +++ b/lib/locales/en/hacker/index.js @@ -1,4 +1,4 @@ -var hacker = {}; +const hacker = {}; module['exports'] = hacker; hacker.abbreviation = require("./abbreviation"); hacker.adjective = require("./adjective"); diff --git a/lib/locales/en/index.js b/lib/locales/en/index.js index 54877741..a209566c 100644 --- a/lib/locales/en/index.js +++ b/lib/locales/en/index.js @@ -1,4 +1,4 @@ -var en = {}; +const en = {}; module['exports'] = en; en.title = "English"; en.separator = " & "; diff --git a/lib/locales/en/internet/index.js b/lib/locales/en/internet/index.js index 08d27ff9..44e47490 100644 --- a/lib/locales/en/internet/index.js +++ b/lib/locales/en/internet/index.js @@ -1,4 +1,4 @@ -var internet = {}; +const internet = {}; module['exports'] = internet; internet.free_email = require("./free_email"); internet.example_email = require("./example_email"); diff --git a/lib/locales/en/lorem/index.js b/lib/locales/en/lorem/index.js index feb6eff8..82b2e52a 100644 --- a/lib/locales/en/lorem/index.js +++ b/lib/locales/en/lorem/index.js @@ -1,4 +1,4 @@ -var lorem = {}; +const lorem = {}; module['exports'] = lorem; lorem.words = require("./words"); lorem.supplemental = require("./supplemental"); diff --git a/lib/locales/en/music/index.js b/lib/locales/en/music/index.js index aad921a5..6c5f2f65 100644 --- a/lib/locales/en/music/index.js +++ b/lib/locales/en/music/index.js @@ -1,3 +1,3 @@ -var music = {}; +const music = {}; module['exports'] = music; music.genre = require("./genre"); diff --git a/lib/locales/en/name/index.js b/lib/locales/en/name/index.js index c8ff86f0..aada383d 100644 --- a/lib/locales/en/name/index.js +++ b/lib/locales/en/name/index.js @@ -1,4 +1,4 @@ -var name = {}; +const name = {}; module['exports'] = name; name.male_first_name = require("./male_first_name"); name.female_first_name = require("./female_first_name"); diff --git a/lib/locales/en/phone_number/index.js b/lib/locales/en/phone_number/index.js index 8d35e011..36b6b18a 100644 --- a/lib/locales/en/phone_number/index.js +++ b/lib/locales/en/phone_number/index.js @@ -1,3 +1,3 @@ -var phone_number = {}; +const phone_number = {}; module['exports'] = phone_number; phone_number.formats = require("./formats"); diff --git a/lib/locales/en/system/index.js b/lib/locales/en/system/index.js index f13c92d3..8f30655d 100644 --- a/lib/locales/en/system/index.js +++ b/lib/locales/en/system/index.js @@ -1,4 +1,4 @@ -var system = {}; +const system = {}; module['exports'] = system; system.directoryPaths = require("./directoryPaths"); system.mimeTypes = require("./mimeTypes"); diff --git a/lib/locales/en/team/index.js b/lib/locales/en/team/index.js index f4e624f0..b5264b1c 100644 --- a/lib/locales/en/team/index.js +++ b/lib/locales/en/team/index.js @@ -1,4 +1,4 @@ -var team = {}; +const team = {}; module['exports'] = team; team.creature = require("./creature"); team.name = require("./name"); diff --git a/lib/locales/en/vehicle/index.js b/lib/locales/en/vehicle/index.js index 4a2c8172..cfe5b8a0 100644 --- a/lib/locales/en/vehicle/index.js +++ b/lib/locales/en/vehicle/index.js @@ -1,4 +1,4 @@ -var vehicle = {}; +const vehicle = {}; module["exports"] = vehicle; vehicle.manufacturer = require("./manufacturer"); vehicle.model = require("./model"); diff --git a/lib/locales/en/word/index.js b/lib/locales/en/word/index.js index cb14027c..14b32fe5 100644 --- a/lib/locales/en/word/index.js +++ b/lib/locales/en/word/index.js @@ -1,4 +1,4 @@ -var word = {}; +const word = {}; module["exports"] = word; word.adjective = require("./adjective"); word.adverb = require("./adverb"); diff --git a/lib/locales/en_AU/address/index.js b/lib/locales/en_AU/address/index.js index f6df753a..d5d8fda8 100644 --- a/lib/locales/en_AU/address/index.js +++ b/lib/locales/en_AU/address/index.js @@ -1,4 +1,4 @@ -var address = {}; +const address = {}; module['exports'] = address; address.state_abbr = require("./state_abbr"); address.state = require("./state"); diff --git a/lib/locales/en_AU/company/index.js b/lib/locales/en_AU/company/index.js index ddd41f55..15298471 100644 --- a/lib/locales/en_AU/company/index.js +++ b/lib/locales/en_AU/company/index.js @@ -1,3 +1,3 @@ -var company = {}; +const company = {}; module['exports'] = company; company.suffix = require("./suffix"); diff --git a/lib/locales/en_AU/index.js b/lib/locales/en_AU/index.js index 1ed678b4..97dd8991 100644 --- a/lib/locales/en_AU/index.js +++ b/lib/locales/en_AU/index.js @@ -1,4 +1,4 @@ -var en_AU = {}; +const en_AU = {}; module['exports'] = en_AU; en_AU.title = "English (Australia)"; en_AU.name = require("./name"); diff --git a/lib/locales/en_AU/internet/index.js b/lib/locales/en_AU/internet/index.js index abfa2480..9251f559 100644 --- a/lib/locales/en_AU/internet/index.js +++ b/lib/locales/en_AU/internet/index.js @@ -1,3 +1,3 @@ -var internet = {}; +const internet = {}; module['exports'] = internet; internet.domain_suffix = require("./domain_suffix"); diff --git a/lib/locales/en_AU/name/index.js b/lib/locales/en_AU/name/index.js index 5b91cc00..3b2c09f9 100644 --- a/lib/locales/en_AU/name/index.js +++ b/lib/locales/en_AU/name/index.js @@ -1,4 +1,4 @@ -var name = {}; +const name = {}; module['exports'] = name; name.first_name = require("./first_name"); name.last_name = require("./last_name"); diff --git a/lib/locales/en_AU/phone_number/index.js b/lib/locales/en_AU/phone_number/index.js index 8d35e011..36b6b18a 100644 --- a/lib/locales/en_AU/phone_number/index.js +++ b/lib/locales/en_AU/phone_number/index.js @@ -1,3 +1,3 @@ -var phone_number = {}; +const phone_number = {}; module['exports'] = phone_number; phone_number.formats = require("./formats"); diff --git a/lib/locales/en_AU_ocker/address/index.js b/lib/locales/en_AU_ocker/address/index.js index c8459541..387a75f4 100644 --- a/lib/locales/en_AU_ocker/address/index.js +++ b/lib/locales/en_AU_ocker/address/index.js @@ -1,4 +1,4 @@ -var address = {}; +const address = {}; module['exports'] = address; address.street_root = require("./street_root"); address.street_name = require("./street_name"); diff --git a/lib/locales/en_AU_ocker/company/index.js b/lib/locales/en_AU_ocker/company/index.js index ddd41f55..15298471 100644 --- a/lib/locales/en_AU_ocker/company/index.js +++ b/lib/locales/en_AU_ocker/company/index.js @@ -1,3 +1,3 @@ -var company = {}; +const company = {}; module['exports'] = company; company.suffix = require("./suffix"); diff --git a/lib/locales/en_AU_ocker/index.js b/lib/locales/en_AU_ocker/index.js index 2efbf804..32c2392f 100644 --- a/lib/locales/en_AU_ocker/index.js +++ b/lib/locales/en_AU_ocker/index.js @@ -1,4 +1,4 @@ -var en_AU_ocker = {}; +const en_AU_ocker = {}; module['exports'] = en_AU_ocker; en_AU_ocker.title = "English (Australia Ocker)"; en_AU_ocker.name = require("./name"); diff --git a/lib/locales/en_AU_ocker/internet/index.js b/lib/locales/en_AU_ocker/internet/index.js index abfa2480..9251f559 100644 --- a/lib/locales/en_AU_ocker/internet/index.js +++ b/lib/locales/en_AU_ocker/internet/index.js @@ -1,3 +1,3 @@ -var internet = {}; +const internet = {}; module['exports'] = internet; internet.domain_suffix = require("./domain_suffix"); diff --git a/lib/locales/en_AU_ocker/name/index.js b/lib/locales/en_AU_ocker/name/index.js index a5463b09..d934098d 100644 --- a/lib/locales/en_AU_ocker/name/index.js +++ b/lib/locales/en_AU_ocker/name/index.js @@ -1,4 +1,4 @@ -var name = {}; +const name = {}; module['exports'] = name; name.first_name = require("./first_name"); name.last_name = require("./last_name"); diff --git a/lib/locales/en_AU_ocker/phone_number/index.js b/lib/locales/en_AU_ocker/phone_number/index.js index 8d35e011..36b6b18a 100644 --- a/lib/locales/en_AU_ocker/phone_number/index.js +++ b/lib/locales/en_AU_ocker/phone_number/index.js @@ -1,3 +1,3 @@ -var phone_number = {}; +const phone_number = {}; module['exports'] = phone_number; phone_number.formats = require("./formats"); diff --git a/lib/locales/en_BORK/index.js b/lib/locales/en_BORK/index.js index 1a05c8b2..62df2d95 100644 --- a/lib/locales/en_BORK/index.js +++ b/lib/locales/en_BORK/index.js @@ -1,4 +1,4 @@ -var en_BORK = {}; +const en_BORK = {}; module['exports'] = en_BORK; en_BORK.title = "English (Bork)"; en_BORK.lorem = require("./lorem"); diff --git a/lib/locales/en_BORK/lorem/index.js b/lib/locales/en_BORK/lorem/index.js index a53a23d0..47ae78b5 100644 --- a/lib/locales/en_BORK/lorem/index.js +++ b/lib/locales/en_BORK/lorem/index.js @@ -1,3 +1,3 @@ -var lorem = {}; +const lorem = {}; module['exports'] = lorem; lorem.words = require("./words"); diff --git a/lib/locales/en_CA/address/index.js b/lib/locales/en_CA/address/index.js index 5b43a214..3ddcf7db 100644 --- a/lib/locales/en_CA/address/index.js +++ b/lib/locales/en_CA/address/index.js @@ -1,4 +1,4 @@ -var address = {}; +const address = {}; module['exports'] = address; address.state = require("./state"); address.state_abbr = require("./state_abbr"); diff --git a/lib/locales/en_CA/index.js b/lib/locales/en_CA/index.js index ac6ed0f6..4596d43c 100644 --- a/lib/locales/en_CA/index.js +++ b/lib/locales/en_CA/index.js @@ -1,4 +1,4 @@ -var en_CA = {}; +const en_CA = {}; module['exports'] = en_CA; en_CA.title = "English (Canada)"; en_CA.address = require("./address"); diff --git a/lib/locales/en_CA/internet/index.js b/lib/locales/en_CA/internet/index.js index 8a337d64..c95143c1 100644 --- a/lib/locales/en_CA/internet/index.js +++ b/lib/locales/en_CA/internet/index.js @@ -1,4 +1,4 @@ -var internet = {}; +const internet = {}; module['exports'] = internet; internet.free_email = require("./free_email"); internet.domain_suffix = require("./domain_suffix"); diff --git a/lib/locales/en_CA/phone_number/index.js b/lib/locales/en_CA/phone_number/index.js index 8d35e011..36b6b18a 100644 --- a/lib/locales/en_CA/phone_number/index.js +++ b/lib/locales/en_CA/phone_number/index.js @@ -1,3 +1,3 @@ -var phone_number = {}; +const phone_number = {}; module['exports'] = phone_number; phone_number.formats = require("./formats"); diff --git a/lib/locales/en_GB/address/index.js b/lib/locales/en_GB/address/index.js index 2790f836..5789264e 100644 --- a/lib/locales/en_GB/address/index.js +++ b/lib/locales/en_GB/address/index.js @@ -1,4 +1,4 @@ -var address = {}; +const address = {}; module['exports'] = address; address.county = require("./county"); address.uk_country = require("./uk_country"); diff --git a/lib/locales/en_GB/cell_phone/index.js b/lib/locales/en_GB/cell_phone/index.js index 8de997ba..1f65f965 100644 --- a/lib/locales/en_GB/cell_phone/index.js +++ b/lib/locales/en_GB/cell_phone/index.js @@ -1,3 +1,3 @@ -var cell_phone = {}; +const cell_phone = {}; module['exports'] = cell_phone; cell_phone.formats = require("./formats"); diff --git a/lib/locales/en_GB/index.js b/lib/locales/en_GB/index.js index bc271835..7f2a0433 100644 --- a/lib/locales/en_GB/index.js +++ b/lib/locales/en_GB/index.js @@ -1,4 +1,4 @@ -var en_GB = {}; +const en_GB = {}; module['exports'] = en_GB; en_GB.title = "English (Great Britain)"; en_GB.address = require("./address"); diff --git a/lib/locales/en_GB/internet/index.js b/lib/locales/en_GB/internet/index.js index abfa2480..9251f559 100644 --- a/lib/locales/en_GB/internet/index.js +++ b/lib/locales/en_GB/internet/index.js @@ -1,3 +1,3 @@ -var internet = {}; +const internet = {}; module['exports'] = internet; internet.domain_suffix = require("./domain_suffix"); diff --git a/lib/locales/en_GB/phone_number/index.js b/lib/locales/en_GB/phone_number/index.js index 8d35e011..36b6b18a 100644 --- a/lib/locales/en_GB/phone_number/index.js +++ b/lib/locales/en_GB/phone_number/index.js @@ -1,3 +1,3 @@ -var phone_number = {}; +const phone_number = {}; module['exports'] = phone_number; phone_number.formats = require("./formats"); diff --git a/lib/locales/en_GH/address/index.js b/lib/locales/en_GH/address/index.js index cca99872..bfc9f847 100644 --- a/lib/locales/en_GH/address/index.js +++ b/lib/locales/en_GH/address/index.js @@ -1,4 +1,4 @@ -var address = {}; +const address = {}; module['exports'] = address; address.city = require("./city"); address.city_name = require("./city_name"); diff --git a/lib/locales/en_GH/company/index.js b/lib/locales/en_GH/company/index.js index 2abcbf5c..8f1b8c98 100644 --- a/lib/locales/en_GH/company/index.js +++ b/lib/locales/en_GH/company/index.js @@ -1,4 +1,4 @@ -var company = {}; +const company = {}; module['exports'] = company; company.suffix = require("./suffix"); company.name = require("./name"); diff --git a/lib/locales/en_GH/index.js b/lib/locales/en_GH/index.js index 95897eed..7c34b790 100644 --- a/lib/locales/en_GH/index.js +++ b/lib/locales/en_GH/index.js @@ -1,4 +1,4 @@ -var en_GH = {}; +const en_GH = {}; module['exports'] = en_GH; en_GH.title = "English (Ghana)"; en_GH.name = require("./name"); diff --git a/lib/locales/en_GH/internet/index.js b/lib/locales/en_GH/internet/index.js index abfa2480..9251f559 100644 --- a/lib/locales/en_GH/internet/index.js +++ b/lib/locales/en_GH/internet/index.js @@ -1,3 +1,3 @@ -var internet = {}; +const internet = {}; module['exports'] = internet; internet.domain_suffix = require("./domain_suffix"); diff --git a/lib/locales/en_GH/name/index.js b/lib/locales/en_GH/name/index.js index f71eef88..620bd3e6 100644 --- a/lib/locales/en_GH/name/index.js +++ b/lib/locales/en_GH/name/index.js @@ -1,4 +1,4 @@ -var name = {}; +const name = {}; module['exports'] = name; name.name = require("./name"); name.male_first_name = require("./male_first_name"); diff --git a/lib/locales/en_GH/phone_number/index.js b/lib/locales/en_GH/phone_number/index.js index 8d35e011..36b6b18a 100644 --- a/lib/locales/en_GH/phone_number/index.js +++ b/lib/locales/en_GH/phone_number/index.js @@ -1,3 +1,3 @@ -var phone_number = {}; +const phone_number = {}; module['exports'] = phone_number; phone_number.formats = require("./formats"); diff --git a/lib/locales/en_IE/address/index.js b/lib/locales/en_IE/address/index.js index 852d3b86..ae1f8c34 100644 --- a/lib/locales/en_IE/address/index.js +++ b/lib/locales/en_IE/address/index.js @@ -1,4 +1,4 @@ -var address = {}; +const address = {}; module['exports'] = address; address.county = require("./county"); address.default_country = require("./default_country"); diff --git a/lib/locales/en_IE/cell_phone/index.js b/lib/locales/en_IE/cell_phone/index.js index 8de997ba..1f65f965 100644 --- a/lib/locales/en_IE/cell_phone/index.js +++ b/lib/locales/en_IE/cell_phone/index.js @@ -1,3 +1,3 @@ -var cell_phone = {}; +const cell_phone = {}; module['exports'] = cell_phone; cell_phone.formats = require("./formats"); diff --git a/lib/locales/en_IE/index.js b/lib/locales/en_IE/index.js index 22a8adee..493b578b 100644 --- a/lib/locales/en_IE/index.js +++ b/lib/locales/en_IE/index.js @@ -1,4 +1,4 @@ -var en_IE = {}; +const en_IE = {}; module['exports'] = en_IE; en_IE.title = "English (Ireland)"; en_IE.address = require("./address"); diff --git a/lib/locales/en_IE/internet/index.js b/lib/locales/en_IE/internet/index.js index abfa2480..9251f559 100644 --- a/lib/locales/en_IE/internet/index.js +++ b/lib/locales/en_IE/internet/index.js @@ -1,3 +1,3 @@ -var internet = {}; +const internet = {}; module['exports'] = internet; internet.domain_suffix = require("./domain_suffix"); diff --git a/lib/locales/en_IE/phone_number/index.js b/lib/locales/en_IE/phone_number/index.js index 8d35e011..36b6b18a 100644 --- a/lib/locales/en_IE/phone_number/index.js +++ b/lib/locales/en_IE/phone_number/index.js @@ -1,3 +1,3 @@ -var phone_number = {}; +const phone_number = {}; module['exports'] = phone_number; phone_number.formats = require("./formats"); diff --git a/lib/locales/en_IND/address/index.js b/lib/locales/en_IND/address/index.js index e85aeb98..e0e72b0a 100644 --- a/lib/locales/en_IND/address/index.js +++ b/lib/locales/en_IND/address/index.js @@ -1,4 +1,4 @@ -var address = {}; +const address = {}; module["exports"] = address; address.postcode = require("./postcode"); address.state = require("./state"); diff --git a/lib/locales/en_IND/company/index.js b/lib/locales/en_IND/company/index.js index ddd41f55..15298471 100644 --- a/lib/locales/en_IND/company/index.js +++ b/lib/locales/en_IND/company/index.js @@ -1,3 +1,3 @@ -var company = {}; +const company = {}; module['exports'] = company; company.suffix = require("./suffix"); diff --git a/lib/locales/en_IND/index.js b/lib/locales/en_IND/index.js index 95777091..fe7b9e0c 100644 --- a/lib/locales/en_IND/index.js +++ b/lib/locales/en_IND/index.js @@ -1,4 +1,4 @@ -var en_IND = {}; +const en_IND = {}; module['exports'] = en_IND; en_IND.title = "English (India)"; en_IND.name = require("./name"); diff --git a/lib/locales/en_IND/internet/index.js b/lib/locales/en_IND/internet/index.js index 8a337d64..c95143c1 100644 --- a/lib/locales/en_IND/internet/index.js +++ b/lib/locales/en_IND/internet/index.js @@ -1,4 +1,4 @@ -var internet = {}; +const internet = {}; module['exports'] = internet; internet.free_email = require("./free_email"); internet.domain_suffix = require("./domain_suffix"); diff --git a/lib/locales/en_IND/name/index.js b/lib/locales/en_IND/name/index.js index 5b91cc00..3b2c09f9 100644 --- a/lib/locales/en_IND/name/index.js +++ b/lib/locales/en_IND/name/index.js @@ -1,4 +1,4 @@ -var name = {}; +const name = {}; module['exports'] = name; name.first_name = require("./first_name"); name.last_name = require("./last_name"); diff --git a/lib/locales/en_IND/phone_number/index.js b/lib/locales/en_IND/phone_number/index.js index 8d35e011..36b6b18a 100644 --- a/lib/locales/en_IND/phone_number/index.js +++ b/lib/locales/en_IND/phone_number/index.js @@ -1,3 +1,3 @@ -var phone_number = {}; +const phone_number = {}; module['exports'] = phone_number; phone_number.formats = require("./formats"); diff --git a/lib/locales/en_NG/address/index.js b/lib/locales/en_NG/address/index.js index 04d128ec..e60c19bd 100644 --- a/lib/locales/en_NG/address/index.js +++ b/lib/locales/en_NG/address/index.js @@ -1,4 +1,4 @@ -var address = {}; +const address = {}; module['exports'] = address; address.city = require("./city"); address.city_prefix = require("./city_prefix"); diff --git a/lib/locales/en_NG/company/index.js b/lib/locales/en_NG/company/index.js index ddd41f55..15298471 100644 --- a/lib/locales/en_NG/company/index.js +++ b/lib/locales/en_NG/company/index.js @@ -1,3 +1,3 @@ -var company = {}; +const company = {}; module['exports'] = company; company.suffix = require("./suffix"); diff --git a/lib/locales/en_NG/index.js b/lib/locales/en_NG/index.js index b2228b93..caba9385 100644 --- a/lib/locales/en_NG/index.js +++ b/lib/locales/en_NG/index.js @@ -1,4 +1,4 @@ -var en_NG = {}; +const en_NG = {}; module['exports'] = en_NG; en_NG.title = "Nigeria (English)"; en_NG.address = require("./address"); diff --git a/lib/locales/en_NG/internet/index.js b/lib/locales/en_NG/internet/index.js index abfa2480..9251f559 100644 --- a/lib/locales/en_NG/internet/index.js +++ b/lib/locales/en_NG/internet/index.js @@ -1,3 +1,3 @@ -var internet = {}; +const internet = {}; module['exports'] = internet; internet.domain_suffix = require("./domain_suffix"); diff --git a/lib/locales/en_NG/name/index.js b/lib/locales/en_NG/name/index.js index f71eef88..620bd3e6 100644 --- a/lib/locales/en_NG/name/index.js +++ b/lib/locales/en_NG/name/index.js @@ -1,4 +1,4 @@ -var name = {}; +const name = {}; module['exports'] = name; name.name = require("./name"); name.male_first_name = require("./male_first_name"); diff --git a/lib/locales/en_NG/phone_number/index.js b/lib/locales/en_NG/phone_number/index.js index 8de997ba..1f65f965 100644 --- a/lib/locales/en_NG/phone_number/index.js +++ b/lib/locales/en_NG/phone_number/index.js @@ -1,3 +1,3 @@ -var cell_phone = {}; +const cell_phone = {}; module['exports'] = cell_phone; cell_phone.formats = require("./formats"); diff --git a/lib/locales/en_US/address/index.js b/lib/locales/en_US/address/index.js index eaec1362..cfca5ebd 100644 --- a/lib/locales/en_US/address/index.js +++ b/lib/locales/en_US/address/index.js @@ -1,4 +1,4 @@ -var address = {}; +const address = {}; module['exports'] = address; address.default_country = require("./default_country"); address.postcode_by_state = require("./postcode_by_state"); diff --git a/lib/locales/en_US/index.js b/lib/locales/en_US/index.js index 25683087..18902c23 100644 --- a/lib/locales/en_US/index.js +++ b/lib/locales/en_US/index.js @@ -1,4 +1,4 @@ -var en_US = {}; +const en_US = {}; module['exports'] = en_US; en_US.title = "English (United States)"; en_US.internet = require("./internet"); diff --git a/lib/locales/en_US/internet/index.js b/lib/locales/en_US/internet/index.js index abfa2480..9251f559 100644 --- a/lib/locales/en_US/internet/index.js +++ b/lib/locales/en_US/internet/index.js @@ -1,3 +1,3 @@ -var internet = {}; +const internet = {}; module['exports'] = internet; internet.domain_suffix = require("./domain_suffix"); diff --git a/lib/locales/en_US/phone_number/index.js b/lib/locales/en_US/phone_number/index.js index 4ca7ca4c..ba49bb5e 100644 --- a/lib/locales/en_US/phone_number/index.js +++ b/lib/locales/en_US/phone_number/index.js @@ -1,4 +1,4 @@ -var phone_number = {}; +const phone_number = {}; module['exports'] = phone_number; phone_number.area_code = require("./area_code"); phone_number.exchange_code = require("./exchange_code"); diff --git a/lib/locales/en_ZA/address/index.js b/lib/locales/en_ZA/address/index.js index 04d128ec..e60c19bd 100644 --- a/lib/locales/en_ZA/address/index.js +++ b/lib/locales/en_ZA/address/index.js @@ -1,4 +1,4 @@ -var address = {}; +const address = {}; module['exports'] = address; address.city = require("./city"); address.city_prefix = require("./city_prefix"); diff --git a/lib/locales/en_ZA/cell_phone/index.js b/lib/locales/en_ZA/cell_phone/index.js index 8de997ba..1f65f965 100644 --- a/lib/locales/en_ZA/cell_phone/index.js +++ b/lib/locales/en_ZA/cell_phone/index.js @@ -1,3 +1,3 @@ -var cell_phone = {}; +const cell_phone = {}; module['exports'] = cell_phone; cell_phone.formats = require("./formats"); diff --git a/lib/locales/en_ZA/company/index.js b/lib/locales/en_ZA/company/index.js index ddd41f55..15298471 100644 --- a/lib/locales/en_ZA/company/index.js +++ b/lib/locales/en_ZA/company/index.js @@ -1,3 +1,3 @@ -var company = {}; +const company = {}; module['exports'] = company; company.suffix = require("./suffix"); diff --git a/lib/locales/en_ZA/index.js b/lib/locales/en_ZA/index.js index e93304e0..5a23c564 100644 --- a/lib/locales/en_ZA/index.js +++ b/lib/locales/en_ZA/index.js @@ -1,4 +1,4 @@ -var en_ZA = {}; +const en_ZA = {}; module['exports'] = en_ZA; en_ZA.title = "English (South Africa)"; en_ZA.address = require("./address"); diff --git a/lib/locales/en_ZA/internet/index.js b/lib/locales/en_ZA/internet/index.js index abfa2480..9251f559 100644 --- a/lib/locales/en_ZA/internet/index.js +++ b/lib/locales/en_ZA/internet/index.js @@ -1,3 +1,3 @@ -var internet = {}; +const internet = {}; module['exports'] = internet; internet.domain_suffix = require("./domain_suffix"); diff --git a/lib/locales/en_ZA/name/index.js b/lib/locales/en_ZA/name/index.js index f71eef88..620bd3e6 100644 --- a/lib/locales/en_ZA/name/index.js +++ b/lib/locales/en_ZA/name/index.js @@ -1,4 +1,4 @@ -var name = {}; +const name = {}; module['exports'] = name; name.name = require("./name"); name.male_first_name = require("./male_first_name"); diff --git a/lib/locales/en_ZA/phone_number/index.js b/lib/locales/en_ZA/phone_number/index.js index 6e7023a8..4f74b369 100644 --- a/lib/locales/en_ZA/phone_number/index.js +++ b/lib/locales/en_ZA/phone_number/index.js @@ -1,4 +1,4 @@ -var phone_number = {}; +const phone_number = {}; module['exports'] = phone_number; phone_number.area_code = require("./area_code"); phone_number.exchange_code = require("./exchange_code"); diff --git a/lib/locales/es/address/index.js b/lib/locales/es/address/index.js index e15d73e2..c8c9ca64 100644 --- a/lib/locales/es/address/index.js +++ b/lib/locales/es/address/index.js @@ -1,4 +1,4 @@ -var address = {}; +const address = {}; module['exports'] = address; address.city_prefix = require("./city_prefix"); address.country = require("./country"); diff --git a/lib/locales/es/cell_phone/index.js b/lib/locales/es/cell_phone/index.js index 8de997ba..1f65f965 100644 --- a/lib/locales/es/cell_phone/index.js +++ b/lib/locales/es/cell_phone/index.js @@ -1,3 +1,3 @@ -var cell_phone = {}; +const cell_phone = {}; module['exports'] = cell_phone; cell_phone.formats = require("./formats"); diff --git a/lib/locales/es/commerce/index.js b/lib/locales/es/commerce/index.js index c5513b11..f4306eba 100644 --- a/lib/locales/es/commerce/index.js +++ b/lib/locales/es/commerce/index.js @@ -1,4 +1,4 @@ -var commerce = {}; +const commerce = {}; module["exports"] = commerce; commerce.color = require("./color"); commerce.department = require("./department"); diff --git a/lib/locales/es/company/index.js b/lib/locales/es/company/index.js index c8c050a3..28548e19 100644 --- a/lib/locales/es/company/index.js +++ b/lib/locales/es/company/index.js @@ -1,4 +1,4 @@ -var company = {}; +const company = {}; module['exports'] = company; company.suffix = require("./suffix"); company.noun = require("./noun"); diff --git a/lib/locales/es/index.js b/lib/locales/es/index.js index 7f3a5697..0bfcbfb7 100644 --- a/lib/locales/es/index.js +++ b/lib/locales/es/index.js @@ -1,4 +1,4 @@ -var es = {}; +const es = {}; module['exports'] = es; es.title = "Spanish"; es.address = require("./address"); diff --git a/lib/locales/es/internet/index.js b/lib/locales/es/internet/index.js index 8a337d64..c95143c1 100644 --- a/lib/locales/es/internet/index.js +++ b/lib/locales/es/internet/index.js @@ -1,4 +1,4 @@ -var internet = {}; +const internet = {}; module['exports'] = internet; internet.free_email = require("./free_email"); internet.domain_suffix = require("./domain_suffix"); diff --git a/lib/locales/es/name/index.js b/lib/locales/es/name/index.js index aabe2180..fdb7f543 100644 --- a/lib/locales/es/name/index.js +++ b/lib/locales/es/name/index.js @@ -1,4 +1,4 @@ -var name = {}; +const name = {}; module['exports'] = name; name.first_name = require("./first_name"); name.last_name = require("./last_name"); diff --git a/lib/locales/es/phone_number/index.js b/lib/locales/es/phone_number/index.js index 8d35e011..36b6b18a 100644 --- a/lib/locales/es/phone_number/index.js +++ b/lib/locales/es/phone_number/index.js @@ -1,3 +1,3 @@ -var phone_number = {}; +const phone_number = {}; module['exports'] = phone_number; phone_number.formats = require("./formats"); diff --git a/lib/locales/es_MX/address/index.js b/lib/locales/es_MX/address/index.js index 0d314b77..f80efb81 100644 --- a/lib/locales/es_MX/address/index.js +++ b/lib/locales/es_MX/address/index.js @@ -1,4 +1,4 @@ -var address = {}; +const address = {}; module['exports'] = address; address.city_prefix = require("./city_prefix"); address.city_suffix = require("./city_suffix"); diff --git a/lib/locales/es_MX/cell_phone/index.js b/lib/locales/es_MX/cell_phone/index.js index 8de997ba..1f65f965 100644 --- a/lib/locales/es_MX/cell_phone/index.js +++ b/lib/locales/es_MX/cell_phone/index.js @@ -1,3 +1,3 @@ -var cell_phone = {}; +const cell_phone = {}; module['exports'] = cell_phone; cell_phone.formats = require("./formats"); diff --git a/lib/locales/es_MX/commerce/index.js b/lib/locales/es_MX/commerce/index.js index c05b5272..271876c5 100644 --- a/lib/locales/es_MX/commerce/index.js +++ b/lib/locales/es_MX/commerce/index.js @@ -1,4 +1,4 @@ -var commerce = {}; +const commerce = {}; module['exports'] = commerce; commerce.color = require("./color"); commerce.department = require("./department"); diff --git a/lib/locales/es_MX/company/index.js b/lib/locales/es_MX/company/index.js index 92bf4fc1..90f3ffd0 100644 --- a/lib/locales/es_MX/company/index.js +++ b/lib/locales/es_MX/company/index.js @@ -1,4 +1,4 @@ -var company = {}; +const company = {}; module['exports'] = company; company.suffix = require("./suffix"); company.adjective = require("./adjective"); diff --git a/lib/locales/es_MX/index.js b/lib/locales/es_MX/index.js index d49087b6..f9447a64 100644 --- a/lib/locales/es_MX/index.js +++ b/lib/locales/es_MX/index.js @@ -1,4 +1,4 @@ -var es_MX = {}; +const es_MX = {}; module['exports'] = es_MX; es_MX.title = "Spanish (Mexico)"; es_MX.separator = " & "; diff --git a/lib/locales/es_MX/internet/index.js b/lib/locales/es_MX/internet/index.js index 8a337d64..c95143c1 100644 --- a/lib/locales/es_MX/internet/index.js +++ b/lib/locales/es_MX/internet/index.js @@ -1,4 +1,4 @@ -var internet = {}; +const internet = {}; module['exports'] = internet; internet.free_email = require("./free_email"); internet.domain_suffix = require("./domain_suffix"); diff --git a/lib/locales/es_MX/lorem/index.js b/lib/locales/es_MX/lorem/index.js index a53a23d0..47ae78b5 100644 --- a/lib/locales/es_MX/lorem/index.js +++ b/lib/locales/es_MX/lorem/index.js @@ -1,3 +1,3 @@ -var lorem = {}; +const lorem = {}; module['exports'] = lorem; lorem.words = require("./words"); diff --git a/lib/locales/es_MX/name/index.js b/lib/locales/es_MX/name/index.js index 936de2ff..3c443270 100644 --- a/lib/locales/es_MX/name/index.js +++ b/lib/locales/es_MX/name/index.js @@ -1,4 +1,4 @@ -var name = {}; +const name = {}; module['exports'] = name; name.first_name = require("./first_name"); name.last_name = require("./last_name"); diff --git a/lib/locales/es_MX/phone_number/index.js b/lib/locales/es_MX/phone_number/index.js index 8d35e011..36b6b18a 100644 --- a/lib/locales/es_MX/phone_number/index.js +++ b/lib/locales/es_MX/phone_number/index.js @@ -1,3 +1,3 @@ -var phone_number = {}; +const phone_number = {}; module['exports'] = phone_number; phone_number.formats = require("./formats"); diff --git a/lib/locales/es_MX/team/index.js b/lib/locales/es_MX/team/index.js index f4e624f0..b5264b1c 100644 --- a/lib/locales/es_MX/team/index.js +++ b/lib/locales/es_MX/team/index.js @@ -1,4 +1,4 @@ -var team = {}; +const team = {}; module['exports'] = team; team.creature = require("./creature"); team.name = require("./name"); diff --git a/lib/locales/fa/address/index.js b/lib/locales/fa/address/index.js index 18c4c1e2..2718998c 100644 --- a/lib/locales/fa/address/index.js +++ b/lib/locales/fa/address/index.js @@ -1,4 +1,4 @@ -var address = {}; +const address = {}; module['exports'] = address; address.building_number = require("./building_number"); address.street_prefix = require("./street_prefix"); diff --git a/lib/locales/fa/cell_phone/index.js b/lib/locales/fa/cell_phone/index.js index 8de997ba..1f65f965 100644 --- a/lib/locales/fa/cell_phone/index.js +++ b/lib/locales/fa/cell_phone/index.js @@ -1,3 +1,3 @@ -var cell_phone = {}; +const cell_phone = {}; module['exports'] = cell_phone; cell_phone.formats = require("./formats"); diff --git a/lib/locales/fa/commerce/index.js b/lib/locales/fa/commerce/index.js index c05b5272..271876c5 100644 --- a/lib/locales/fa/commerce/index.js +++ b/lib/locales/fa/commerce/index.js @@ -1,4 +1,4 @@ -var commerce = {}; +const commerce = {}; module['exports'] = commerce; commerce.color = require("./color"); commerce.department = require("./department"); diff --git a/lib/locales/fa/company/index.js b/lib/locales/fa/company/index.js index 83b2f5cc..79469daa 100644 --- a/lib/locales/fa/company/index.js +++ b/lib/locales/fa/company/index.js @@ -1,4 +1,4 @@ -var company = {}; +const company = {}; module['exports'] = company; company.suffix = require("./suffix"); company.adjective = require("./adjective"); diff --git a/lib/locales/fa/date/index.js b/lib/locales/fa/date/index.js index 8c45d3f6..e53e73ee 100644 --- a/lib/locales/fa/date/index.js +++ b/lib/locales/fa/date/index.js @@ -1,4 +1,4 @@ -var date = {}; +const date = {}; module["exports"] = date; date.month = require("./month"); date.weekday = require("./weekday"); diff --git a/lib/locales/fa/finance/credit_card/index.js b/lib/locales/fa/finance/credit_card/index.js index 3bd2dfd9..1684658f 100644 --- a/lib/locales/fa/finance/credit_card/index.js +++ b/lib/locales/fa/finance/credit_card/index.js @@ -1,4 +1,4 @@ -var credit_card = {}; +const credit_card = {}; module['exports'] = credit_card; credit_card.visa = require("./visa"); credit_card.mastercard = require("./mastercard"); diff --git a/lib/locales/fa/finance/index.js b/lib/locales/fa/finance/index.js index 9a5b00d9..4cbb809c 100644 --- a/lib/locales/fa/finance/index.js +++ b/lib/locales/fa/finance/index.js @@ -1,4 +1,4 @@ -var finance = {}; +const finance = {}; module['exports'] = finance; finance.account_type = require("./account_type"); finance.transaction_type = require("./transaction_type"); diff --git a/lib/locales/fa/index.js b/lib/locales/fa/index.js index 72c247fb..dbb45f2a 100644 --- a/lib/locales/fa/index.js +++ b/lib/locales/fa/index.js @@ -1,4 +1,4 @@ -var fa = {}; +const fa = {}; module['exports'] = fa; fa.title = "Farsi"; fa.name = require("./name"); diff --git a/lib/locales/fa/internet/index.js b/lib/locales/fa/internet/index.js index 241488fb..70528b18 100644 --- a/lib/locales/fa/internet/index.js +++ b/lib/locales/fa/internet/index.js @@ -1,4 +1,4 @@ -var internet = {}; +const internet = {}; module['exports'] = internet; internet.free_email = require("./free_email"); internet.example_email = require("./example_email"); diff --git a/lib/locales/fa/lorem/index.js b/lib/locales/fa/lorem/index.js index a53a23d0..47ae78b5 100644 --- a/lib/locales/fa/lorem/index.js +++ b/lib/locales/fa/lorem/index.js @@ -1,3 +1,3 @@ -var lorem = {}; +const lorem = {}; module['exports'] = lorem; lorem.words = require("./words"); diff --git a/lib/locales/fa/name/index.js b/lib/locales/fa/name/index.js index 0c980df2..260f70f2 100644 --- a/lib/locales/fa/name/index.js +++ b/lib/locales/fa/name/index.js @@ -1,4 +1,4 @@ -var name = {}; +const name = {}; module['exports'] = name; name.male_first_name = require("./male_first_name"); name.female_first_name = require("./female_first_name"); diff --git a/lib/locales/fa/phone_number/index.js b/lib/locales/fa/phone_number/index.js index 8d35e011..36b6b18a 100644 --- a/lib/locales/fa/phone_number/index.js +++ b/lib/locales/fa/phone_number/index.js @@ -1,3 +1,3 @@ -var phone_number = {}; +const phone_number = {}; module['exports'] = phone_number; phone_number.formats = require("./formats"); diff --git a/lib/locales/fa/vehicle/index.js b/lib/locales/fa/vehicle/index.js index 73407875..f22d6a88 100644 --- a/lib/locales/fa/vehicle/index.js +++ b/lib/locales/fa/vehicle/index.js @@ -1,4 +1,4 @@ -var vehicle = {}; +const vehicle = {}; module["exports"] = vehicle; vehicle.manufacturer = require("./manufacturer"); vehicle.model = require("./model"); diff --git a/lib/locales/fi/index.js b/lib/locales/fi/index.js index 749c86ad..086d805d 100644 --- a/lib/locales/fi/index.js +++ b/lib/locales/fi/index.js @@ -1,4 +1,4 @@ -var fi = {}; +const fi = {}; module['exports'] = fi; fi.title = "Finnish"; fi.name = require("./name"); \ No newline at end of file diff --git a/lib/locales/fi/name/index.js b/lib/locales/fi/name/index.js index 686c045b..6e5c30cd 100644 --- a/lib/locales/fi/name/index.js +++ b/lib/locales/fi/name/index.js @@ -1,4 +1,4 @@ -var name = {}; +const name = {}; module['exports'] = name; name.male_first_name = require("./male_first_name"); name.female_first_name = require("./female_first_name"); diff --git a/lib/locales/fr/address/index.js b/lib/locales/fr/address/index.js index 9609331d..fff49c02 100644 --- a/lib/locales/fr/address/index.js +++ b/lib/locales/fr/address/index.js @@ -1,4 +1,4 @@ -var address = {}; +const address = {}; module['exports'] = address; address.building_number = require("./building_number"); address.street_prefix = require("./street_prefix"); diff --git a/lib/locales/fr/company/index.js b/lib/locales/fr/company/index.js index 83b2f5cc..79469daa 100644 --- a/lib/locales/fr/company/index.js +++ b/lib/locales/fr/company/index.js @@ -1,4 +1,4 @@ -var company = {}; +const company = {}; module['exports'] = company; company.suffix = require("./suffix"); company.adjective = require("./adjective"); diff --git a/lib/locales/fr/date/index.js b/lib/locales/fr/date/index.js index 8c45d3f6..e53e73ee 100644 --- a/lib/locales/fr/date/index.js +++ b/lib/locales/fr/date/index.js @@ -1,4 +1,4 @@ -var date = {}; +const date = {}; module["exports"] = date; date.month = require("./month"); date.weekday = require("./weekday"); diff --git a/lib/locales/fr/index.js b/lib/locales/fr/index.js index 7007e9a5..53c69ac7 100644 --- a/lib/locales/fr/index.js +++ b/lib/locales/fr/index.js @@ -1,4 +1,4 @@ -var fr = {}; +const fr = {}; module['exports'] = fr; fr.title = "French"; fr.address = require("./address"); diff --git a/lib/locales/fr/internet/index.js b/lib/locales/fr/internet/index.js index 8a337d64..c95143c1 100644 --- a/lib/locales/fr/internet/index.js +++ b/lib/locales/fr/internet/index.js @@ -1,4 +1,4 @@ -var internet = {}; +const internet = {}; module['exports'] = internet; internet.free_email = require("./free_email"); internet.domain_suffix = require("./domain_suffix"); diff --git a/lib/locales/fr/lorem/index.js b/lib/locales/fr/lorem/index.js index a53a23d0..47ae78b5 100644 --- a/lib/locales/fr/lorem/index.js +++ b/lib/locales/fr/lorem/index.js @@ -1,3 +1,3 @@ -var lorem = {}; +const lorem = {}; module['exports'] = lorem; lorem.words = require("./words"); diff --git a/lib/locales/fr/name/first_name.js b/lib/locales/fr/name/first_name.js index ac96d8e2..61bfe320 100644 --- a/lib/locales/fr/name/first_name.js +++ b/lib/locales/fr/name/first_name.js @@ -1,3 +1,3 @@ -var female_first_name = require('./female_first_name'); -var male_first_name = require('./male_first_name'); +const female_first_name = require('./female_first_name'); +const male_first_name = require('./male_first_name'); module.exports = female_first_name.concat(male_first_name); diff --git a/lib/locales/fr/name/index.js b/lib/locales/fr/name/index.js index 07672c0e..71f2f068 100644 --- a/lib/locales/fr/name/index.js +++ b/lib/locales/fr/name/index.js @@ -1,4 +1,4 @@ -var name = {}; +const name = {}; module['exports'] = name; name.first_name = require("./first_name"); name.male_first_name = require("./male_first_name") diff --git a/lib/locales/fr/phone_number/index.js b/lib/locales/fr/phone_number/index.js index 8d35e011..36b6b18a 100644 --- a/lib/locales/fr/phone_number/index.js +++ b/lib/locales/fr/phone_number/index.js @@ -1,3 +1,3 @@ -var phone_number = {}; +const phone_number = {}; module['exports'] = phone_number; phone_number.formats = require("./formats"); diff --git a/lib/locales/fr_BE/adresses/index.js b/lib/locales/fr_BE/adresses/index.js index 8fe660ea..13aba66d 100644 --- a/lib/locales/fr_BE/adresses/index.js +++ b/lib/locales/fr_BE/adresses/index.js @@ -1,4 +1,4 @@ -var address = {}; +const address = {}; module['exports'] = address; //address.building_number = require("./building_number"); address.city = require("./city"); diff --git a/lib/locales/fr_BE/cell_phone/index.js b/lib/locales/fr_BE/cell_phone/index.js index 8de997ba..1f65f965 100644 --- a/lib/locales/fr_BE/cell_phone/index.js +++ b/lib/locales/fr_BE/cell_phone/index.js @@ -1,3 +1,3 @@ -var cell_phone = {}; +const cell_phone = {}; module['exports'] = cell_phone; cell_phone.formats = require("./formats"); diff --git a/lib/locales/fr_BE/index.js b/lib/locales/fr_BE/index.js index e944dc16..29c29483 100644 --- a/lib/locales/fr_BE/index.js +++ b/lib/locales/fr_BE/index.js @@ -1,4 +1,4 @@ -var fr_BE = {}; +const fr_BE = {}; module['exports'] = fr_BE; fr_BE.title = "Français (Belgique)"; fr_BE.address = require("./adresses"); diff --git a/lib/locales/fr_BE/internet/index.js b/lib/locales/fr_BE/internet/index.js index 8a337d64..c95143c1 100644 --- a/lib/locales/fr_BE/internet/index.js +++ b/lib/locales/fr_BE/internet/index.js @@ -1,4 +1,4 @@ -var internet = {}; +const internet = {}; module['exports'] = internet; internet.free_email = require("./free_email"); internet.domain_suffix = require("./domain_suffix"); diff --git a/lib/locales/fr_BE/name/index.js b/lib/locales/fr_BE/name/index.js index ea712a40..e8755aac 100644 --- a/lib/locales/fr_BE/name/index.js +++ b/lib/locales/fr_BE/name/index.js @@ -1,4 +1,4 @@ -var name = {}; +const name = {}; module['exports'] = name; name.male_first_name = require("./first_name_male"); name.female_first_name = require("./first_name_female"); diff --git a/lib/locales/fr_BE/phone_number/index.js b/lib/locales/fr_BE/phone_number/index.js index 8d35e011..36b6b18a 100644 --- a/lib/locales/fr_BE/phone_number/index.js +++ b/lib/locales/fr_BE/phone_number/index.js @@ -1,3 +1,3 @@ -var phone_number = {}; +const phone_number = {}; module['exports'] = phone_number; phone_number.formats = require("./formats"); diff --git a/lib/locales/fr_CA/address/index.js b/lib/locales/fr_CA/address/index.js index e54c3324..cb8522f7 100644 --- a/lib/locales/fr_CA/address/index.js +++ b/lib/locales/fr_CA/address/index.js @@ -1,4 +1,4 @@ -var address = {}; +const address = {}; module['exports'] = address; address.postcode = require("./postcode"); address.state = require("./state"); diff --git a/lib/locales/fr_CA/index.js b/lib/locales/fr_CA/index.js index 29cfce83..0e90bab2 100644 --- a/lib/locales/fr_CA/index.js +++ b/lib/locales/fr_CA/index.js @@ -1,4 +1,4 @@ -var fr_CA = {}; +const fr_CA = {}; module['exports'] = fr_CA; fr_CA.title = "French (Canada)"; fr_CA.address = require("./address"); diff --git a/lib/locales/fr_CA/internet/index.js b/lib/locales/fr_CA/internet/index.js index 8a337d64..c95143c1 100644 --- a/lib/locales/fr_CA/internet/index.js +++ b/lib/locales/fr_CA/internet/index.js @@ -1,4 +1,4 @@ -var internet = {}; +const internet = {}; module['exports'] = internet; internet.free_email = require("./free_email"); internet.domain_suffix = require("./domain_suffix"); diff --git a/lib/locales/fr_CA/phone_number/index.js b/lib/locales/fr_CA/phone_number/index.js index 8d35e011..36b6b18a 100644 --- a/lib/locales/fr_CA/phone_number/index.js +++ b/lib/locales/fr_CA/phone_number/index.js @@ -1,3 +1,3 @@ -var phone_number = {}; +const phone_number = {}; module['exports'] = phone_number; phone_number.formats = require("./formats"); diff --git a/lib/locales/fr_CH/address/index.js b/lib/locales/fr_CH/address/index.js index 23779fc6..10f85dee 100644 --- a/lib/locales/fr_CH/address/index.js +++ b/lib/locales/fr_CH/address/index.js @@ -1,4 +1,4 @@ -var address = {}; +const address = {}; module['exports'] = address; address.country_code = require("./country_code"); address.city = require("./city"); diff --git a/lib/locales/fr_CH/index.js b/lib/locales/fr_CH/index.js index 6c5af44d..ead1b9c0 100644 --- a/lib/locales/fr_CH/index.js +++ b/lib/locales/fr_CH/index.js @@ -1,4 +1,4 @@ -var fr_CH = {}; +const fr_CH = {}; module['exports'] = fr_CH; fr_CH.title = "French (Switzerland)"; fr_CH.address = require("./address"); diff --git a/lib/locales/fr_CH/internet/index.js b/lib/locales/fr_CH/internet/index.js index abfa2480..9251f559 100644 --- a/lib/locales/fr_CH/internet/index.js +++ b/lib/locales/fr_CH/internet/index.js @@ -1,3 +1,3 @@ -var internet = {}; +const internet = {}; module['exports'] = internet; internet.domain_suffix = require("./domain_suffix"); diff --git a/lib/locales/fr_CH/phone_number/index.js b/lib/locales/fr_CH/phone_number/index.js index 8d35e011..36b6b18a 100644 --- a/lib/locales/fr_CH/phone_number/index.js +++ b/lib/locales/fr_CH/phone_number/index.js @@ -1,3 +1,3 @@ -var phone_number = {}; +const phone_number = {}; module['exports'] = phone_number; phone_number.formats = require("./formats"); diff --git a/lib/locales/ge/address/index.js b/lib/locales/ge/address/index.js index 2c56c2ce..ce42e698 100644 --- a/lib/locales/ge/address/index.js +++ b/lib/locales/ge/address/index.js @@ -1,4 +1,4 @@ -var address = {}; +const address = {}; module['exports'] = address; address.city_prefix = require("./city_prefix"); address.city_suffix = require("./city_suffix"); diff --git a/lib/locales/ge/cell_phone/index.js b/lib/locales/ge/cell_phone/index.js index 8de997ba..1f65f965 100644 --- a/lib/locales/ge/cell_phone/index.js +++ b/lib/locales/ge/cell_phone/index.js @@ -1,3 +1,3 @@ -var cell_phone = {}; +const cell_phone = {}; module['exports'] = cell_phone; cell_phone.formats = require("./formats"); diff --git a/lib/locales/ge/company/index.js b/lib/locales/ge/company/index.js index 1aa59cc4..2d142169 100644 --- a/lib/locales/ge/company/index.js +++ b/lib/locales/ge/company/index.js @@ -1,4 +1,4 @@ -var company = {}; +const company = {}; module['exports'] = company; company.prefix = require("./prefix"); company.suffix = require("./suffix"); diff --git a/lib/locales/ge/index.js b/lib/locales/ge/index.js index 5b5e1d26..1f13f714 100644 --- a/lib/locales/ge/index.js +++ b/lib/locales/ge/index.js @@ -1,4 +1,4 @@ -var ge = {}; +const ge = {}; module['exports'] = ge; ge.title = "Georgian"; ge.separator = " და "; diff --git a/lib/locales/ge/internet/index.js b/lib/locales/ge/internet/index.js index 8a337d64..c95143c1 100644 --- a/lib/locales/ge/internet/index.js +++ b/lib/locales/ge/internet/index.js @@ -1,4 +1,4 @@ -var internet = {}; +const internet = {}; module['exports'] = internet; internet.free_email = require("./free_email"); internet.domain_suffix = require("./domain_suffix"); diff --git a/lib/locales/ge/name/index.js b/lib/locales/ge/name/index.js index 44fd8585..f94a9ecc 100644 --- a/lib/locales/ge/name/index.js +++ b/lib/locales/ge/name/index.js @@ -1,4 +1,4 @@ -var name = {}; +const name = {}; module['exports'] = name; name.first_name = require("./first_name"); name.last_name = require("./last_name"); diff --git a/lib/locales/ge/phone_number/index.js b/lib/locales/ge/phone_number/index.js index 8d35e011..36b6b18a 100644 --- a/lib/locales/ge/phone_number/index.js +++ b/lib/locales/ge/phone_number/index.js @@ -1,3 +1,3 @@ -var phone_number = {}; +const phone_number = {}; module['exports'] = phone_number; phone_number.formats = require("./formats"); diff --git a/lib/locales/he/address/index.js b/lib/locales/he/address/index.js index d65170cd..4c0b955e 100644 --- a/lib/locales/he/address/index.js +++ b/lib/locales/he/address/index.js @@ -1,4 +1,4 @@ -var address = {}; +const address = {}; module['exports'] = address; address.city_prefix = require("./city_prefix"); address.city_suffix = require("./city_suffix"); diff --git a/lib/locales/he/cell_phone/index.js b/lib/locales/he/cell_phone/index.js index 8de997ba..1f65f965 100644 --- a/lib/locales/he/cell_phone/index.js +++ b/lib/locales/he/cell_phone/index.js @@ -1,3 +1,3 @@ -var cell_phone = {}; +const cell_phone = {}; module['exports'] = cell_phone; cell_phone.formats = require("./formats"); diff --git a/lib/locales/he/commerce/index.js b/lib/locales/he/commerce/index.js index 89187f7c..ac1d8e5c 100644 --- a/lib/locales/he/commerce/index.js +++ b/lib/locales/he/commerce/index.js @@ -1,4 +1,4 @@ -var commerce = {}; +const commerce = {}; module['exports'] = commerce; commerce.color = require("./color"); commerce.department = require("./department"); diff --git a/lib/locales/he/date/index.js b/lib/locales/he/date/index.js index 8c45d3f6..e53e73ee 100644 --- a/lib/locales/he/date/index.js +++ b/lib/locales/he/date/index.js @@ -1,4 +1,4 @@ -var date = {}; +const date = {}; module["exports"] = date; date.month = require("./month"); date.weekday = require("./weekday"); diff --git a/lib/locales/he/index.js b/lib/locales/he/index.js index fd8f81fa..25aa5c6e 100644 --- a/lib/locales/he/index.js +++ b/lib/locales/he/index.js @@ -1,4 +1,4 @@ -var he = {}; +const he = {}; module['exports'] = he; he.title = "Hebrew"; he.separator = "ו "; diff --git a/lib/locales/he/lorem/index.js b/lib/locales/he/lorem/index.js index feb6eff8..82b2e52a 100644 --- a/lib/locales/he/lorem/index.js +++ b/lib/locales/he/lorem/index.js @@ -1,4 +1,4 @@ -var lorem = {}; +const lorem = {}; module['exports'] = lorem; lorem.words = require("./words"); lorem.supplemental = require("./supplemental"); diff --git a/lib/locales/he/music/index.js b/lib/locales/he/music/index.js index aad921a5..6c5f2f65 100644 --- a/lib/locales/he/music/index.js +++ b/lib/locales/he/music/index.js @@ -1,3 +1,3 @@ -var music = {}; +const music = {}; module['exports'] = music; music.genre = require("./genre"); diff --git a/lib/locales/he/name/first_name.js b/lib/locales/he/name/first_name.js index 3f2de90e..56a52b58 100644 --- a/lib/locales/he/name/first_name.js +++ b/lib/locales/he/name/first_name.js @@ -1,6 +1,6 @@ -var maleNames = require('./male_first_name'); -var femaleNames = require('./female_first_name'); -var allNames = []; +const maleNames = require('./male_first_name'); +const femaleNames = require('./female_first_name'); +const allNames = []; maleNames.forEach(function (v) { allNames.push(v); }); femaleNames.forEach( function (v) { allNames.push(v); }); diff --git a/lib/locales/he/name/index.js b/lib/locales/he/name/index.js index a945ed68..4a659f42 100644 --- a/lib/locales/he/name/index.js +++ b/lib/locales/he/name/index.js @@ -1,4 +1,4 @@ -var name = {}; +const name = {}; module['exports'] = name; name.male_first_name = require("./male_first_name"); name.female_first_name = require("./female_first_name"); diff --git a/lib/locales/he/phone_number/index.js b/lib/locales/he/phone_number/index.js index 8d35e011..36b6b18a 100644 --- a/lib/locales/he/phone_number/index.js +++ b/lib/locales/he/phone_number/index.js @@ -1,3 +1,3 @@ -var phone_number = {}; +const phone_number = {}; module['exports'] = phone_number; phone_number.formats = require("./formats"); diff --git a/lib/locales/hr/address/index.js b/lib/locales/hr/address/index.js index f1a81291..c389870f 100644 --- a/lib/locales/hr/address/index.js +++ b/lib/locales/hr/address/index.js @@ -1,4 +1,4 @@ -var address = {}; +const address = {}; module['exports'] = address; address.country = require("./country"); address.building_number = require("./building_number"); diff --git a/lib/locales/hr/cell_phone/index.js b/lib/locales/hr/cell_phone/index.js index 40306442..84c66e94 100644 --- a/lib/locales/hr/cell_phone/index.js +++ b/lib/locales/hr/cell_phone/index.js @@ -1,3 +1,3 @@ -var cell_phone = {}; +const cell_phone = {}; module['exports'] = cell_phone; cell_phone.formats = require("./formats"); diff --git a/lib/locales/hr/date/index.js b/lib/locales/hr/date/index.js index 8c45d3f6..e53e73ee 100644 --- a/lib/locales/hr/date/index.js +++ b/lib/locales/hr/date/index.js @@ -1,4 +1,4 @@ -var date = {}; +const date = {}; module["exports"] = date; date.month = require("./month"); date.weekday = require("./weekday"); diff --git a/lib/locales/hr/index.js b/lib/locales/hr/index.js index 3aadffb9..f75dab4a 100644 --- a/lib/locales/hr/index.js +++ b/lib/locales/hr/index.js @@ -1,4 +1,4 @@ -var hr = {}; +const hr = {}; module['exports'] = hr; hr.title = "Hrvatski"; hr.address = require("./address"); diff --git a/lib/locales/hr/internet/index.js b/lib/locales/hr/internet/index.js index 8a337d64..c95143c1 100644 --- a/lib/locales/hr/internet/index.js +++ b/lib/locales/hr/internet/index.js @@ -1,4 +1,4 @@ -var internet = {}; +const internet = {}; module['exports'] = internet; internet.free_email = require("./free_email"); internet.domain_suffix = require("./domain_suffix"); diff --git a/lib/locales/hr/name/index.js b/lib/locales/hr/name/index.js index a2c3617d..6851cea3 100644 --- a/lib/locales/hr/name/index.js +++ b/lib/locales/hr/name/index.js @@ -1,4 +1,4 @@ -var name = {}; +const name = {}; module['exports'] = name; name.male_first_name = require("./male_first_name"); name.first_name = require("./first_name"); diff --git a/lib/locales/hr/phone_number/index.js b/lib/locales/hr/phone_number/index.js index 8d35e011..36b6b18a 100644 --- a/lib/locales/hr/phone_number/index.js +++ b/lib/locales/hr/phone_number/index.js @@ -1,3 +1,3 @@ -var phone_number = {}; +const phone_number = {}; module['exports'] = phone_number; phone_number.formats = require("./formats"); diff --git a/lib/locales/hy/address/index.js b/lib/locales/hy/address/index.js index 2ae13ec1..7b628980 100644 --- a/lib/locales/hy/address/index.js +++ b/lib/locales/hy/address/index.js @@ -1,4 +1,4 @@ -var address = {}; +const address = {}; module['exports'] = address; address.city_prefix = require("./city_prefix"); address.city_suffix = require("./city_suffix"); diff --git a/lib/locales/hy/commerce/index.js b/lib/locales/hy/commerce/index.js index 9ae83c57..a46a78ce 100644 --- a/lib/locales/hy/commerce/index.js +++ b/lib/locales/hy/commerce/index.js @@ -1,3 +1,3 @@ -var commerce = {}; +const commerce = {}; module['exports'] = commerce; commerce.color = require("./color"); \ No newline at end of file diff --git a/lib/locales/hy/date/index.js b/lib/locales/hy/date/index.js index 8c45d3f6..e53e73ee 100644 --- a/lib/locales/hy/date/index.js +++ b/lib/locales/hy/date/index.js @@ -1,4 +1,4 @@ -var date = {}; +const date = {}; module["exports"] = date; date.month = require("./month"); date.weekday = require("./weekday"); diff --git a/lib/locales/hy/index.js b/lib/locales/hy/index.js index 29ad5d78..7c49a908 100644 --- a/lib/locales/hy/index.js +++ b/lib/locales/hy/index.js @@ -1,4 +1,4 @@ -var hy = {}; +const hy = {}; module['exports'] = hy; hy.title = "Armenian"; hy.separator = " և "; diff --git a/lib/locales/hy/internet/index.js b/lib/locales/hy/internet/index.js index abfa2480..9251f559 100644 --- a/lib/locales/hy/internet/index.js +++ b/lib/locales/hy/internet/index.js @@ -1,3 +1,3 @@ -var internet = {}; +const internet = {}; module['exports'] = internet; internet.domain_suffix = require("./domain_suffix"); diff --git a/lib/locales/hy/lorem/index.js b/lib/locales/hy/lorem/index.js index 65267368..3de161de 100644 --- a/lib/locales/hy/lorem/index.js +++ b/lib/locales/hy/lorem/index.js @@ -1,3 +1,3 @@ -var lorem = {}; +const lorem = {}; module['exports'] = lorem; lorem.words = require("./words"); \ No newline at end of file diff --git a/lib/locales/hy/name/index.js b/lib/locales/hy/name/index.js index 686c045b..6e5c30cd 100644 --- a/lib/locales/hy/name/index.js +++ b/lib/locales/hy/name/index.js @@ -1,4 +1,4 @@ -var name = {}; +const name = {}; module['exports'] = name; name.male_first_name = require("./male_first_name"); name.female_first_name = require("./female_first_name"); diff --git a/lib/locales/hy/phone_number/index.js b/lib/locales/hy/phone_number/index.js index 8d35e011..36b6b18a 100644 --- a/lib/locales/hy/phone_number/index.js +++ b/lib/locales/hy/phone_number/index.js @@ -1,3 +1,3 @@ -var phone_number = {}; +const phone_number = {}; module['exports'] = phone_number; phone_number.formats = require("./formats"); diff --git a/lib/locales/id_ID/address/index.js b/lib/locales/id_ID/address/index.js index bca4d3dd..4848a73e 100644 --- a/lib/locales/id_ID/address/index.js +++ b/lib/locales/id_ID/address/index.js @@ -1,4 +1,4 @@ -var address = {}; +const address = {}; module['exports'] = address; address.building_number = require("./building_number"); address.postcode = require("./postcode"); diff --git a/lib/locales/id_ID/company/index.js b/lib/locales/id_ID/company/index.js index 1aa59cc4..2d142169 100644 --- a/lib/locales/id_ID/company/index.js +++ b/lib/locales/id_ID/company/index.js @@ -1,4 +1,4 @@ -var company = {}; +const company = {}; module['exports'] = company; company.prefix = require("./prefix"); company.suffix = require("./suffix"); diff --git a/lib/locales/id_ID/date/index.js b/lib/locales/id_ID/date/index.js index 8c45d3f6..e53e73ee 100644 --- a/lib/locales/id_ID/date/index.js +++ b/lib/locales/id_ID/date/index.js @@ -1,4 +1,4 @@ -var date = {}; +const date = {}; module["exports"] = date; date.month = require("./month"); date.weekday = require("./weekday"); diff --git a/lib/locales/id_ID/index.js b/lib/locales/id_ID/index.js index 5d3ed148..4cf104bd 100644 --- a/lib/locales/id_ID/index.js +++ b/lib/locales/id_ID/index.js @@ -1,4 +1,4 @@ -var id = {}; +const id = {}; module['exports'] = id; id.title = "Indonesia"; id.address = require("./address"); diff --git a/lib/locales/id_ID/internet/index.js b/lib/locales/id_ID/internet/index.js index 8a337d64..c95143c1 100644 --- a/lib/locales/id_ID/internet/index.js +++ b/lib/locales/id_ID/internet/index.js @@ -1,4 +1,4 @@ -var internet = {}; +const internet = {}; module['exports'] = internet; internet.free_email = require("./free_email"); internet.domain_suffix = require("./domain_suffix"); diff --git a/lib/locales/id_ID/name/index.js b/lib/locales/id_ID/name/index.js index daccf09b..8960215b 100644 --- a/lib/locales/id_ID/name/index.js +++ b/lib/locales/id_ID/name/index.js @@ -1,4 +1,4 @@ -var name = {}; +const name = {}; module['exports'] = name; name.male_first_name = require("./male_first_name"); name.male_last_name = require("./male_last_name"); diff --git a/lib/locales/id_ID/phone_number/index.js b/lib/locales/id_ID/phone_number/index.js index 8d35e011..36b6b18a 100644 --- a/lib/locales/id_ID/phone_number/index.js +++ b/lib/locales/id_ID/phone_number/index.js @@ -1,3 +1,3 @@ -var phone_number = {}; +const phone_number = {}; module['exports'] = phone_number; phone_number.formats = require("./formats"); diff --git a/lib/locales/it/address/index.js b/lib/locales/it/address/index.js index 2b9b1627..cf774fed 100644 --- a/lib/locales/it/address/index.js +++ b/lib/locales/it/address/index.js @@ -1,4 +1,4 @@ -var address = {}; +const address = {}; module['exports'] = address; address.city_prefix = require("./city_prefix"); address.city_suffix = require("./city_suffix"); diff --git a/lib/locales/it/company/index.js b/lib/locales/it/company/index.js index 207eb337..85540855 100644 --- a/lib/locales/it/company/index.js +++ b/lib/locales/it/company/index.js @@ -1,4 +1,4 @@ -var company = {}; +const company = {}; module['exports'] = company; company.suffix = require("./suffix"); company.noun = require("./noun"); diff --git a/lib/locales/it/index.js b/lib/locales/it/index.js index f4154b66..4d7eb0bf 100644 --- a/lib/locales/it/index.js +++ b/lib/locales/it/index.js @@ -1,4 +1,4 @@ -var it = {}; +const it = {}; module['exports'] = it; it.title = "Italian"; it.address = require("./address"); diff --git a/lib/locales/it/internet/index.js b/lib/locales/it/internet/index.js index 8a337d64..c95143c1 100644 --- a/lib/locales/it/internet/index.js +++ b/lib/locales/it/internet/index.js @@ -1,4 +1,4 @@ -var internet = {}; +const internet = {}; module['exports'] = internet; internet.free_email = require("./free_email"); internet.domain_suffix = require("./domain_suffix"); diff --git a/lib/locales/it/name/index.js b/lib/locales/it/name/index.js index 8aa8a8de..31dce2eb 100644 --- a/lib/locales/it/name/index.js +++ b/lib/locales/it/name/index.js @@ -1,4 +1,4 @@ -var name = {}; +const name = {}; module['exports'] = name; name.male_first_name = require("./male_first_name"); name.female_first_name = require("./female_first_name"); diff --git a/lib/locales/it/phone_number/index.js b/lib/locales/it/phone_number/index.js index 8d35e011..36b6b18a 100644 --- a/lib/locales/it/phone_number/index.js +++ b/lib/locales/it/phone_number/index.js @@ -1,3 +1,3 @@ -var phone_number = {}; +const phone_number = {}; module['exports'] = phone_number; phone_number.formats = require("./formats"); diff --git a/lib/locales/ja/address/index.js b/lib/locales/ja/address/index.js index 1a7f00fa..5805fa37 100644 --- a/lib/locales/ja/address/index.js +++ b/lib/locales/ja/address/index.js @@ -1,4 +1,4 @@ -var address = {}; +const address = {}; module['exports'] = address; address.postcode = require("./postcode"); address.state = require("./state"); diff --git a/lib/locales/ja/cell_phone/index.js b/lib/locales/ja/cell_phone/index.js index 8de997ba..1f65f965 100644 --- a/lib/locales/ja/cell_phone/index.js +++ b/lib/locales/ja/cell_phone/index.js @@ -1,3 +1,3 @@ -var cell_phone = {}; +const cell_phone = {}; module['exports'] = cell_phone; cell_phone.formats = require("./formats"); diff --git a/lib/locales/ja/index.js b/lib/locales/ja/index.js index 29b317cf..ffeeb66d 100644 --- a/lib/locales/ja/index.js +++ b/lib/locales/ja/index.js @@ -1,4 +1,4 @@ -var ja = {}; +const ja = {}; module["exports"] = ja; ja.title = "Japanese"; ja.address = require("./address"); diff --git a/lib/locales/ja/lorem/index.js b/lib/locales/ja/lorem/index.js index 41495a59..94c5380b 100644 --- a/lib/locales/ja/lorem/index.js +++ b/lib/locales/ja/lorem/index.js @@ -1,4 +1,4 @@ -var lorem = {}; +const lorem = {}; module["exports"] = lorem; lorem.words = require("./words"); lorem.supplemental = require("./supplemental"); diff --git a/lib/locales/ja/name/index.js b/lib/locales/ja/name/index.js index 26cdec26..bf9cb13f 100644 --- a/lib/locales/ja/name/index.js +++ b/lib/locales/ja/name/index.js @@ -1,4 +1,4 @@ -var name = {}; +const name = {}; module['exports'] = name; name.last_name = require("./last_name"); name.first_name = require("./first_name"); diff --git a/lib/locales/ja/phone_number/index.js b/lib/locales/ja/phone_number/index.js index 8d35e011..36b6b18a 100644 --- a/lib/locales/ja/phone_number/index.js +++ b/lib/locales/ja/phone_number/index.js @@ -1,3 +1,3 @@ -var phone_number = {}; +const phone_number = {}; module['exports'] = phone_number; phone_number.formats = require("./formats"); diff --git a/lib/locales/ko/address/index.js b/lib/locales/ko/address/index.js index e35095bc..3b0c34ee 100644 --- a/lib/locales/ko/address/index.js +++ b/lib/locales/ko/address/index.js @@ -1,4 +1,4 @@ -var address = {}; +const address = {}; module['exports'] = address; address.postcode = require("./postcode"); address.state = require("./state"); diff --git a/lib/locales/ko/company/index.js b/lib/locales/ko/company/index.js index 7bff2aeb..2fb19265 100644 --- a/lib/locales/ko/company/index.js +++ b/lib/locales/ko/company/index.js @@ -1,4 +1,4 @@ -var company = {}; +const company = {}; module['exports'] = company; company.suffix = require("./suffix"); company.prefix = require("./prefix"); diff --git a/lib/locales/ko/index.js b/lib/locales/ko/index.js index af5d9014..a3c37035 100644 --- a/lib/locales/ko/index.js +++ b/lib/locales/ko/index.js @@ -1,4 +1,4 @@ -var ko = {}; +const ko = {}; module['exports'] = ko; ko.title = "Korean"; ko.address = require("./address"); diff --git a/lib/locales/ko/internet/index.js b/lib/locales/ko/internet/index.js index 8a337d64..c95143c1 100644 --- a/lib/locales/ko/internet/index.js +++ b/lib/locales/ko/internet/index.js @@ -1,4 +1,4 @@ -var internet = {}; +const internet = {}; module['exports'] = internet; internet.free_email = require("./free_email"); internet.domain_suffix = require("./domain_suffix"); diff --git a/lib/locales/ko/lorem/index.js b/lib/locales/ko/lorem/index.js index a53a23d0..47ae78b5 100644 --- a/lib/locales/ko/lorem/index.js +++ b/lib/locales/ko/lorem/index.js @@ -1,3 +1,3 @@ -var lorem = {}; +const lorem = {}; module['exports'] = lorem; lorem.words = require("./words"); diff --git a/lib/locales/ko/name/index.js b/lib/locales/ko/name/index.js index 26cdec26..bf9cb13f 100644 --- a/lib/locales/ko/name/index.js +++ b/lib/locales/ko/name/index.js @@ -1,4 +1,4 @@ -var name = {}; +const name = {}; module['exports'] = name; name.last_name = require("./last_name"); name.first_name = require("./first_name"); diff --git a/lib/locales/ko/phone_number/index.js b/lib/locales/ko/phone_number/index.js index 8d35e011..36b6b18a 100644 --- a/lib/locales/ko/phone_number/index.js +++ b/lib/locales/ko/phone_number/index.js @@ -1,3 +1,3 @@ -var phone_number = {}; +const phone_number = {}; module['exports'] = phone_number; phone_number.formats = require("./formats"); diff --git a/lib/locales/lv/address/index.js b/lib/locales/lv/address/index.js index 0dd71270..24d85128 100644 --- a/lib/locales/lv/address/index.js +++ b/lib/locales/lv/address/index.js @@ -1,4 +1,4 @@ -var address = {}; +const address = {}; module['exports'] = address; address.country = require("./country"); address.building_number = require("./building_number"); diff --git a/lib/locales/lv/cell_phone/index.js b/lib/locales/lv/cell_phone/index.js index 8de997ba..1f65f965 100644 --- a/lib/locales/lv/cell_phone/index.js +++ b/lib/locales/lv/cell_phone/index.js @@ -1,3 +1,3 @@ -var cell_phone = {}; +const cell_phone = {}; module['exports'] = cell_phone; cell_phone.formats = require("./formats"); diff --git a/lib/locales/lv/commerce/index.js b/lib/locales/lv/commerce/index.js index c05b5272..271876c5 100644 --- a/lib/locales/lv/commerce/index.js +++ b/lib/locales/lv/commerce/index.js @@ -1,4 +1,4 @@ -var commerce = {}; +const commerce = {}; module['exports'] = commerce; commerce.color = require("./color"); commerce.department = require("./department"); diff --git a/lib/locales/lv/company/index.js b/lib/locales/lv/company/index.js index 1aa59cc4..2d142169 100644 --- a/lib/locales/lv/company/index.js +++ b/lib/locales/lv/company/index.js @@ -1,4 +1,4 @@ -var company = {}; +const company = {}; module['exports'] = company; company.prefix = require("./prefix"); company.suffix = require("./suffix"); diff --git a/lib/locales/lv/date/index.js b/lib/locales/lv/date/index.js index 8c45d3f6..e53e73ee 100644 --- a/lib/locales/lv/date/index.js +++ b/lib/locales/lv/date/index.js @@ -1,4 +1,4 @@ -var date = {}; +const date = {}; module["exports"] = date; date.month = require("./month"); date.weekday = require("./weekday"); diff --git a/lib/locales/lv/index.js b/lib/locales/lv/index.js index 21112b6b..3afa412c 100644 --- a/lib/locales/lv/index.js +++ b/lib/locales/lv/index.js @@ -1,4 +1,4 @@ -var lv = {}; +const lv = {}; module['exports'] = lv; lv.title = "Latvian"; lv.separator = " un "; diff --git a/lib/locales/lv/internet/index.js b/lib/locales/lv/internet/index.js index 8a337d64..c95143c1 100644 --- a/lib/locales/lv/internet/index.js +++ b/lib/locales/lv/internet/index.js @@ -1,4 +1,4 @@ -var internet = {}; +const internet = {}; module['exports'] = internet; internet.free_email = require("./free_email"); internet.domain_suffix = require("./domain_suffix"); diff --git a/lib/locales/lv/lorem/index.js b/lib/locales/lv/lorem/index.js index feb6eff8..82b2e52a 100644 --- a/lib/locales/lv/lorem/index.js +++ b/lib/locales/lv/lorem/index.js @@ -1,4 +1,4 @@ -var lorem = {}; +const lorem = {}; module['exports'] = lorem; lorem.words = require("./words"); lorem.supplemental = require("./supplemental"); diff --git a/lib/locales/lv/name/index.js b/lib/locales/lv/name/index.js index f889fae1..99471e44 100644 --- a/lib/locales/lv/name/index.js +++ b/lib/locales/lv/name/index.js @@ -1,4 +1,4 @@ -var name = {}; +const name = {}; module['exports'] = name; name.male_first_name = require("./male_first_name"); name.male_last_name = require("./male_last_name"); diff --git a/lib/locales/lv/phone_number/index.js b/lib/locales/lv/phone_number/index.js index 8d35e011..36b6b18a 100644 --- a/lib/locales/lv/phone_number/index.js +++ b/lib/locales/lv/phone_number/index.js @@ -1,3 +1,3 @@ -var phone_number = {}; +const phone_number = {}; module['exports'] = phone_number; phone_number.formats = require("./formats"); diff --git a/lib/locales/mk/address/index.js b/lib/locales/mk/address/index.js index 5068f06f..c74d9c11 100644 --- a/lib/locales/mk/address/index.js +++ b/lib/locales/mk/address/index.js @@ -1,4 +1,4 @@ -var address = {}; +const address = {}; module['exports'] = address; address.country = require("./country"); address.building_number = require("./building_number"); diff --git a/lib/locales/mk/cell_phone/index.js b/lib/locales/mk/cell_phone/index.js index 8de997ba..1f65f965 100644 --- a/lib/locales/mk/cell_phone/index.js +++ b/lib/locales/mk/cell_phone/index.js @@ -1,3 +1,3 @@ -var cell_phone = {}; +const cell_phone = {}; module['exports'] = cell_phone; cell_phone.formats = require("./formats"); diff --git a/lib/locales/mk/company/index.js b/lib/locales/mk/company/index.js index 2abcbf5c..8f1b8c98 100644 --- a/lib/locales/mk/company/index.js +++ b/lib/locales/mk/company/index.js @@ -1,4 +1,4 @@ -var company = {}; +const company = {}; module['exports'] = company; company.suffix = require("./suffix"); company.name = require("./name"); diff --git a/lib/locales/mk/date/index.js b/lib/locales/mk/date/index.js index 8c45d3f6..e53e73ee 100644 --- a/lib/locales/mk/date/index.js +++ b/lib/locales/mk/date/index.js @@ -1,4 +1,4 @@ -var date = {}; +const date = {}; module["exports"] = date; date.month = require("./month"); date.weekday = require("./weekday"); diff --git a/lib/locales/mk/index.js b/lib/locales/mk/index.js index 9a8306be..691d78b0 100644 --- a/lib/locales/mk/index.js +++ b/lib/locales/mk/index.js @@ -1,4 +1,4 @@ -var mk = {}; +const mk = {}; module['exports'] = mk; mk.title = "Macedonian"; mk.separator = " и "; diff --git a/lib/locales/mk/internet/index.js b/lib/locales/mk/internet/index.js index 8a337d64..c95143c1 100644 --- a/lib/locales/mk/internet/index.js +++ b/lib/locales/mk/internet/index.js @@ -1,4 +1,4 @@ -var internet = {}; +const internet = {}; module['exports'] = internet; internet.free_email = require("./free_email"); internet.domain_suffix = require("./domain_suffix"); diff --git a/lib/locales/mk/name/first_name.js b/lib/locales/mk/name/first_name.js index ac96d8e2..61bfe320 100644 --- a/lib/locales/mk/name/first_name.js +++ b/lib/locales/mk/name/first_name.js @@ -1,3 +1,3 @@ -var female_first_name = require('./female_first_name'); -var male_first_name = require('./male_first_name'); +const female_first_name = require('./female_first_name'); +const male_first_name = require('./male_first_name'); module.exports = female_first_name.concat(male_first_name); diff --git a/lib/locales/mk/name/index.js b/lib/locales/mk/name/index.js index 4a8a0874..c431d980 100644 --- a/lib/locales/mk/name/index.js +++ b/lib/locales/mk/name/index.js @@ -1,4 +1,4 @@ -var name = {}; +const name = {}; module['exports'] = name; name.male_prefix = require("./male_prefix"); name.male_first_name = require("./male_first_name"); diff --git a/lib/locales/mk/name/last_name.js b/lib/locales/mk/name/last_name.js index b8eae436..d8ce8244 100644 --- a/lib/locales/mk/name/last_name.js +++ b/lib/locales/mk/name/last_name.js @@ -1,3 +1,3 @@ -var female_last_name = require('./female_last_name'); -var male_last_name = require('./male_last_name'); +const female_last_name = require('./female_last_name'); +const male_last_name = require('./male_last_name'); module.exports = female_last_name.concat(male_last_name); diff --git a/lib/locales/mk/phone_number/index.js b/lib/locales/mk/phone_number/index.js index 8d35e011..36b6b18a 100644 --- a/lib/locales/mk/phone_number/index.js +++ b/lib/locales/mk/phone_number/index.js @@ -1,3 +1,3 @@ -var phone_number = {}; +const phone_number = {}; module['exports'] = phone_number; phone_number.formats = require("./formats"); diff --git a/lib/locales/nb_NO/address/index.js b/lib/locales/nb_NO/address/index.js index c5be2e6e..f9a18a01 100644 --- a/lib/locales/nb_NO/address/index.js +++ b/lib/locales/nb_NO/address/index.js @@ -1,4 +1,4 @@ -var address = {}; +const address = {}; module['exports'] = address; address.city_root = require("./city_root"); address.city_suffix = require("./city_suffix"); diff --git a/lib/locales/nb_NO/company/index.js b/lib/locales/nb_NO/company/index.js index 2abcbf5c..8f1b8c98 100644 --- a/lib/locales/nb_NO/company/index.js +++ b/lib/locales/nb_NO/company/index.js @@ -1,4 +1,4 @@ -var company = {}; +const company = {}; module['exports'] = company; company.suffix = require("./suffix"); company.name = require("./name"); diff --git a/lib/locales/nb_NO/index.js b/lib/locales/nb_NO/index.js index cd092c96..dfee0048 100644 --- a/lib/locales/nb_NO/index.js +++ b/lib/locales/nb_NO/index.js @@ -1,4 +1,4 @@ -var nb_NO = {}; +const nb_NO = {}; module['exports'] = nb_NO; nb_NO.title = "Norwegian"; nb_NO.address = require("./address"); diff --git a/lib/locales/nb_NO/internet/index.js b/lib/locales/nb_NO/internet/index.js index abfa2480..9251f559 100644 --- a/lib/locales/nb_NO/internet/index.js +++ b/lib/locales/nb_NO/internet/index.js @@ -1,3 +1,3 @@ -var internet = {}; +const internet = {}; module['exports'] = internet; internet.domain_suffix = require("./domain_suffix"); diff --git a/lib/locales/nb_NO/name/index.js b/lib/locales/nb_NO/name/index.js index 8136bbaf..bd1bdef1 100644 --- a/lib/locales/nb_NO/name/index.js +++ b/lib/locales/nb_NO/name/index.js @@ -1,4 +1,4 @@ -var name = {}; +const name = {}; module['exports'] = name; name.first_name = require("./first_name"); name.female_first_name = require("./feminine_name"); diff --git a/lib/locales/nb_NO/phone_number/index.js b/lib/locales/nb_NO/phone_number/index.js index 8d35e011..36b6b18a 100644 --- a/lib/locales/nb_NO/phone_number/index.js +++ b/lib/locales/nb_NO/phone_number/index.js @@ -1,3 +1,3 @@ -var phone_number = {}; +const phone_number = {}; module['exports'] = phone_number; phone_number.formats = require("./formats"); diff --git a/lib/locales/ne/address/index.js b/lib/locales/ne/address/index.js index ff2e561a..1f4e550e 100644 --- a/lib/locales/ne/address/index.js +++ b/lib/locales/ne/address/index.js @@ -1,4 +1,4 @@ -var address = {}; +const address = {}; module['exports'] = address; address.postcode = require("./postcode"); address.state = require("./state"); diff --git a/lib/locales/ne/company/index.js b/lib/locales/ne/company/index.js index ddd41f55..15298471 100644 --- a/lib/locales/ne/company/index.js +++ b/lib/locales/ne/company/index.js @@ -1,3 +1,3 @@ -var company = {}; +const company = {}; module['exports'] = company; company.suffix = require("./suffix"); diff --git a/lib/locales/ne/index.js b/lib/locales/ne/index.js index 4edf0635..efb1d8fe 100644 --- a/lib/locales/ne/index.js +++ b/lib/locales/ne/index.js @@ -1,4 +1,4 @@ -var ne = {}; +const ne = {}; module['exports'] = ne; ne.title = "Nepalese"; ne.name = require("./name"); diff --git a/lib/locales/ne/internet/index.js b/lib/locales/ne/internet/index.js index 8a337d64..c95143c1 100644 --- a/lib/locales/ne/internet/index.js +++ b/lib/locales/ne/internet/index.js @@ -1,4 +1,4 @@ -var internet = {}; +const internet = {}; module['exports'] = internet; internet.free_email = require("./free_email"); internet.domain_suffix = require("./domain_suffix"); diff --git a/lib/locales/ne/name/index.js b/lib/locales/ne/name/index.js index 5b91cc00..3b2c09f9 100644 --- a/lib/locales/ne/name/index.js +++ b/lib/locales/ne/name/index.js @@ -1,4 +1,4 @@ -var name = {}; +const name = {}; module['exports'] = name; name.first_name = require("./first_name"); name.last_name = require("./last_name"); diff --git a/lib/locales/ne/phone_number/index.js b/lib/locales/ne/phone_number/index.js index 8d35e011..36b6b18a 100644 --- a/lib/locales/ne/phone_number/index.js +++ b/lib/locales/ne/phone_number/index.js @@ -1,3 +1,3 @@ -var phone_number = {}; +const phone_number = {}; module['exports'] = phone_number; phone_number.formats = require("./formats"); diff --git a/lib/locales/nl/address/index.js b/lib/locales/nl/address/index.js index 214e8715..cd82f30d 100644 --- a/lib/locales/nl/address/index.js +++ b/lib/locales/nl/address/index.js @@ -1,4 +1,4 @@ -var address = {}; +const address = {}; module['exports'] = address; address.city_prefix = require("./city_prefix"); address.city_suffix = require("./city_suffix"); diff --git a/lib/locales/nl/commerce/index.js b/lib/locales/nl/commerce/index.js index 5cf680a2..db445cc6 100644 --- a/lib/locales/nl/commerce/index.js +++ b/lib/locales/nl/commerce/index.js @@ -1,4 +1,4 @@ -var commerce = {}; +const commerce = {}; module['exports'] = commerce; commerce.color = require("./color"); commerce.department = require("./department"); diff --git a/lib/locales/nl/company/index.js b/lib/locales/nl/company/index.js index ddd41f55..15298471 100644 --- a/lib/locales/nl/company/index.js +++ b/lib/locales/nl/company/index.js @@ -1,3 +1,3 @@ -var company = {}; +const company = {}; module['exports'] = company; company.suffix = require("./suffix"); diff --git a/lib/locales/nl/date/index.js b/lib/locales/nl/date/index.js index 8c45d3f6..e53e73ee 100644 --- a/lib/locales/nl/date/index.js +++ b/lib/locales/nl/date/index.js @@ -1,4 +1,4 @@ -var date = {}; +const date = {}; module["exports"] = date; date.month = require("./month"); date.weekday = require("./weekday"); diff --git a/lib/locales/nl/hacker/index.js b/lib/locales/nl/hacker/index.js index 363e754e..98c0816d 100644 --- a/lib/locales/nl/hacker/index.js +++ b/lib/locales/nl/hacker/index.js @@ -1,4 +1,4 @@ -var hacker = {}; +const hacker = {}; module['exports'] = hacker; hacker.adjective = require("./adjective"); hacker.noun = require("./noun"); diff --git a/lib/locales/nl/index.js b/lib/locales/nl/index.js index bc67ea80..873e3f5b 100644 --- a/lib/locales/nl/index.js +++ b/lib/locales/nl/index.js @@ -1,4 +1,4 @@ -var nl = {}; +const nl = {}; module['exports'] = nl; nl.title = "Dutch"; nl.address = require("./address"); diff --git a/lib/locales/nl/internet/index.js b/lib/locales/nl/internet/index.js index 8a337d64..c95143c1 100644 --- a/lib/locales/nl/internet/index.js +++ b/lib/locales/nl/internet/index.js @@ -1,4 +1,4 @@ -var internet = {}; +const internet = {}; module['exports'] = internet; internet.free_email = require("./free_email"); internet.domain_suffix = require("./domain_suffix"); diff --git a/lib/locales/nl/lorem/index.js b/lib/locales/nl/lorem/index.js index a53a23d0..47ae78b5 100644 --- a/lib/locales/nl/lorem/index.js +++ b/lib/locales/nl/lorem/index.js @@ -1,3 +1,3 @@ -var lorem = {}; +const lorem = {}; module['exports'] = lorem; lorem.words = require("./words"); diff --git a/lib/locales/nl/name/index.js b/lib/locales/nl/name/index.js index 20aee1b8..97c9e2fc 100644 --- a/lib/locales/nl/name/index.js +++ b/lib/locales/nl/name/index.js @@ -1,4 +1,4 @@ -var name = {}; +const name = {}; module['exports'] = name; name.female_first_name = require("./female_first_name"); name.first_name = require("./first_name"); diff --git a/lib/locales/nl/phone_number/index.js b/lib/locales/nl/phone_number/index.js index 8d35e011..36b6b18a 100644 --- a/lib/locales/nl/phone_number/index.js +++ b/lib/locales/nl/phone_number/index.js @@ -1,3 +1,3 @@ -var phone_number = {}; +const phone_number = {}; module['exports'] = phone_number; phone_number.formats = require("./formats"); diff --git a/lib/locales/nl_BE/address/index.js b/lib/locales/nl_BE/address/index.js index 824eada6..8711b39c 100644 --- a/lib/locales/nl_BE/address/index.js +++ b/lib/locales/nl_BE/address/index.js @@ -1,4 +1,4 @@ -var address = {}; +const address = {}; module['exports'] = address; address.city_prefix = require("./city_prefix"); address.city_suffix = require("./city_suffix"); diff --git a/lib/locales/nl_BE/company/index.js b/lib/locales/nl_BE/company/index.js index ddd41f55..15298471 100644 --- a/lib/locales/nl_BE/company/index.js +++ b/lib/locales/nl_BE/company/index.js @@ -1,3 +1,3 @@ -var company = {}; +const company = {}; module['exports'] = company; company.suffix = require("./suffix"); diff --git a/lib/locales/nl_BE/index.js b/lib/locales/nl_BE/index.js index 53dafd6f..138ead24 100644 --- a/lib/locales/nl_BE/index.js +++ b/lib/locales/nl_BE/index.js @@ -1,4 +1,4 @@ -var nl_BE = {}; +const nl_BE = {}; module['exports'] = nl_BE; nl_BE.title = "Dutch (Belgium)"; nl_BE.address = require("./address"); diff --git a/lib/locales/nl_BE/internet/index.js b/lib/locales/nl_BE/internet/index.js index 8a337d64..c95143c1 100644 --- a/lib/locales/nl_BE/internet/index.js +++ b/lib/locales/nl_BE/internet/index.js @@ -1,4 +1,4 @@ -var internet = {}; +const internet = {}; module['exports'] = internet; internet.free_email = require("./free_email"); internet.domain_suffix = require("./domain_suffix"); diff --git a/lib/locales/nl_BE/name/index.js b/lib/locales/nl_BE/name/index.js index 9161e2de..4eac6713 100644 --- a/lib/locales/nl_BE/name/index.js +++ b/lib/locales/nl_BE/name/index.js @@ -1,4 +1,4 @@ -var name = {}; +const name = {}; module['exports'] = name; name.first_name = require("./first_name"); name.last_name = require("./last_name"); diff --git a/lib/locales/nl_BE/phone_number/index.js b/lib/locales/nl_BE/phone_number/index.js index 8d35e011..36b6b18a 100644 --- a/lib/locales/nl_BE/phone_number/index.js +++ b/lib/locales/nl_BE/phone_number/index.js @@ -1,3 +1,3 @@ -var phone_number = {}; +const phone_number = {}; module['exports'] = phone_number; phone_number.formats = require("./formats"); diff --git a/lib/locales/pl/address/index.js b/lib/locales/pl/address/index.js index 0dbf0fcd..6faed6b7 100644 --- a/lib/locales/pl/address/index.js +++ b/lib/locales/pl/address/index.js @@ -1,4 +1,4 @@ -var address = {}; +const address = {}; module['exports'] = address; address.country = require("./country"); address.building_number = require("./building_number"); diff --git a/lib/locales/pl/cell_phone/index.js b/lib/locales/pl/cell_phone/index.js index 8de997ba..1f65f965 100644 --- a/lib/locales/pl/cell_phone/index.js +++ b/lib/locales/pl/cell_phone/index.js @@ -1,3 +1,3 @@ -var cell_phone = {}; +const cell_phone = {}; module['exports'] = cell_phone; cell_phone.formats = require("./formats"); diff --git a/lib/locales/pl/company/index.js b/lib/locales/pl/company/index.js index 35669783..4eb1ed35 100644 --- a/lib/locales/pl/company/index.js +++ b/lib/locales/pl/company/index.js @@ -1,4 +1,4 @@ -var company = {}; +const company = {}; module['exports'] = company; company.suffix = require("./suffix"); company.adjetive = require("./adjetive"); diff --git a/lib/locales/pl/index.js b/lib/locales/pl/index.js index aa6a34c6..d78f2dd4 100644 --- a/lib/locales/pl/index.js +++ b/lib/locales/pl/index.js @@ -1,4 +1,4 @@ -var pl = {}; +const pl = {}; module['exports'] = pl; pl.title = "Polish"; pl.name = require("./name"); diff --git a/lib/locales/pl/internet/index.js b/lib/locales/pl/internet/index.js index 8a337d64..c95143c1 100644 --- a/lib/locales/pl/internet/index.js +++ b/lib/locales/pl/internet/index.js @@ -1,4 +1,4 @@ -var internet = {}; +const internet = {}; module['exports'] = internet; internet.free_email = require("./free_email"); internet.domain_suffix = require("./domain_suffix"); diff --git a/lib/locales/pl/lorem/index.js b/lib/locales/pl/lorem/index.js index a53a23d0..47ae78b5 100644 --- a/lib/locales/pl/lorem/index.js +++ b/lib/locales/pl/lorem/index.js @@ -1,3 +1,3 @@ -var lorem = {}; +const lorem = {}; module['exports'] = lorem; lorem.words = require("./words"); diff --git a/lib/locales/pl/name/first_name.js b/lib/locales/pl/name/first_name.js index ac96d8e2..61bfe320 100644 --- a/lib/locales/pl/name/first_name.js +++ b/lib/locales/pl/name/first_name.js @@ -1,3 +1,3 @@ -var female_first_name = require('./female_first_name'); -var male_first_name = require('./male_first_name'); +const female_first_name = require('./female_first_name'); +const male_first_name = require('./male_first_name'); module.exports = female_first_name.concat(male_first_name); diff --git a/lib/locales/pl/name/index.js b/lib/locales/pl/name/index.js index 44fd8585..f94a9ecc 100644 --- a/lib/locales/pl/name/index.js +++ b/lib/locales/pl/name/index.js @@ -1,4 +1,4 @@ -var name = {}; +const name = {}; module['exports'] = name; name.first_name = require("./first_name"); name.last_name = require("./last_name"); diff --git a/lib/locales/pl/phone_number/index.js b/lib/locales/pl/phone_number/index.js index 8d35e011..36b6b18a 100644 --- a/lib/locales/pl/phone_number/index.js +++ b/lib/locales/pl/phone_number/index.js @@ -1,3 +1,3 @@ -var phone_number = {}; +const phone_number = {}; module['exports'] = phone_number; phone_number.formats = require("./formats"); diff --git a/lib/locales/pt_BR/address/index.js b/lib/locales/pt_BR/address/index.js index 169570c3..6343d2d3 100644 --- a/lib/locales/pt_BR/address/index.js +++ b/lib/locales/pt_BR/address/index.js @@ -1,4 +1,4 @@ -var address = {}; +const address = {}; module['exports'] = address; address.city_prefix = require("./city_prefix"); address.city_suffix = require("./city_suffix"); diff --git a/lib/locales/pt_BR/commerce/index.js b/lib/locales/pt_BR/commerce/index.js index c05b5272..271876c5 100644 --- a/lib/locales/pt_BR/commerce/index.js +++ b/lib/locales/pt_BR/commerce/index.js @@ -1,4 +1,4 @@ -var commerce = {}; +const commerce = {}; module['exports'] = commerce; commerce.color = require("./color"); commerce.department = require("./department"); diff --git a/lib/locales/pt_BR/company/index.js b/lib/locales/pt_BR/company/index.js index 2abcbf5c..8f1b8c98 100644 --- a/lib/locales/pt_BR/company/index.js +++ b/lib/locales/pt_BR/company/index.js @@ -1,4 +1,4 @@ -var company = {}; +const company = {}; module['exports'] = company; company.suffix = require("./suffix"); company.name = require("./name"); diff --git a/lib/locales/pt_BR/date/index.js b/lib/locales/pt_BR/date/index.js index 8c45d3f6..e53e73ee 100644 --- a/lib/locales/pt_BR/date/index.js +++ b/lib/locales/pt_BR/date/index.js @@ -1,4 +1,4 @@ -var date = {}; +const date = {}; module["exports"] = date; date.month = require("./month"); date.weekday = require("./weekday"); diff --git a/lib/locales/pt_BR/index.js b/lib/locales/pt_BR/index.js index e46984d8..7c42938d 100644 --- a/lib/locales/pt_BR/index.js +++ b/lib/locales/pt_BR/index.js @@ -1,4 +1,4 @@ -var pt_BR = {}; +const pt_BR = {}; module['exports'] = pt_BR; pt_BR.title = "Portuguese (Brazil)"; pt_BR.address = require("./address"); diff --git a/lib/locales/pt_BR/internet/index.js b/lib/locales/pt_BR/internet/index.js index 8a337d64..c95143c1 100644 --- a/lib/locales/pt_BR/internet/index.js +++ b/lib/locales/pt_BR/internet/index.js @@ -1,4 +1,4 @@ -var internet = {}; +const internet = {}; module['exports'] = internet; internet.free_email = require("./free_email"); internet.domain_suffix = require("./domain_suffix"); diff --git a/lib/locales/pt_BR/lorem/index.js b/lib/locales/pt_BR/lorem/index.js index a53a23d0..47ae78b5 100644 --- a/lib/locales/pt_BR/lorem/index.js +++ b/lib/locales/pt_BR/lorem/index.js @@ -1,3 +1,3 @@ -var lorem = {}; +const lorem = {}; module['exports'] = lorem; lorem.words = require("./words"); diff --git a/lib/locales/pt_BR/name/index.js b/lib/locales/pt_BR/name/index.js index 87bffce1..01b4a962 100644 --- a/lib/locales/pt_BR/name/index.js +++ b/lib/locales/pt_BR/name/index.js @@ -1,4 +1,4 @@ -var name = {}; +const name = {}; module['exports'] = name; name.male_first_name = require("./male_first_name"); name.female_first_name = require("./female_first_name"); diff --git a/lib/locales/pt_BR/phone_number/index.js b/lib/locales/pt_BR/phone_number/index.js index 8d35e011..36b6b18a 100644 --- a/lib/locales/pt_BR/phone_number/index.js +++ b/lib/locales/pt_BR/phone_number/index.js @@ -1,3 +1,3 @@ -var phone_number = {}; +const phone_number = {}; module['exports'] = phone_number; phone_number.formats = require("./formats"); diff --git a/lib/locales/pt_PT/address/index.js b/lib/locales/pt_PT/address/index.js index e67c334f..a2cf8fc3 100644 --- a/lib/locales/pt_PT/address/index.js +++ b/lib/locales/pt_PT/address/index.js @@ -1,4 +1,4 @@ -var address = {}; +const address = {}; module['exports'] = address; address.country = require("./country"); address.street_name = require("./street_name"); diff --git a/lib/locales/pt_PT/cell_phone/index.js b/lib/locales/pt_PT/cell_phone/index.js index 8de997ba..1f65f965 100644 --- a/lib/locales/pt_PT/cell_phone/index.js +++ b/lib/locales/pt_PT/cell_phone/index.js @@ -1,3 +1,3 @@ -var cell_phone = {}; +const cell_phone = {}; module['exports'] = cell_phone; cell_phone.formats = require("./formats"); diff --git a/lib/locales/pt_PT/commerce/index.js b/lib/locales/pt_PT/commerce/index.js index c05b5272..271876c5 100644 --- a/lib/locales/pt_PT/commerce/index.js +++ b/lib/locales/pt_PT/commerce/index.js @@ -1,4 +1,4 @@ -var commerce = {}; +const commerce = {}; module['exports'] = commerce; commerce.color = require("./color"); commerce.department = require("./department"); diff --git a/lib/locales/pt_PT/date/index.js b/lib/locales/pt_PT/date/index.js index 8c45d3f6..e53e73ee 100644 --- a/lib/locales/pt_PT/date/index.js +++ b/lib/locales/pt_PT/date/index.js @@ -1,4 +1,4 @@ -var date = {}; +const date = {}; module["exports"] = date; date.month = require("./month"); date.weekday = require("./weekday"); diff --git a/lib/locales/pt_PT/index.js b/lib/locales/pt_PT/index.js index 913f5e5d..e4b52e99 100644 --- a/lib/locales/pt_PT/index.js +++ b/lib/locales/pt_PT/index.js @@ -1,4 +1,4 @@ -var pt_PT = {}; +const pt_PT = {}; module['exports'] = pt_PT; pt_PT.title = "Portuguese (Portugal)"; pt_PT.address = require("./address"); diff --git a/lib/locales/pt_PT/internet/index.js b/lib/locales/pt_PT/internet/index.js index 8a337d64..c95143c1 100644 --- a/lib/locales/pt_PT/internet/index.js +++ b/lib/locales/pt_PT/internet/index.js @@ -1,4 +1,4 @@ -var internet = {}; +const internet = {}; module['exports'] = internet; internet.free_email = require("./free_email"); internet.domain_suffix = require("./domain_suffix"); diff --git a/lib/locales/pt_PT/name/index.js b/lib/locales/pt_PT/name/index.js index c2af3f0d..8ff02285 100644 --- a/lib/locales/pt_PT/name/index.js +++ b/lib/locales/pt_PT/name/index.js @@ -1,4 +1,4 @@ -var name = {}; +const name = {}; module['exports'] = name; name.male_prefix = require("./male_prefix"); name.male_first_name = require("./male_first_name"); diff --git a/lib/locales/pt_PT/phone_number/index.js b/lib/locales/pt_PT/phone_number/index.js index 8d35e011..36b6b18a 100644 --- a/lib/locales/pt_PT/phone_number/index.js +++ b/lib/locales/pt_PT/phone_number/index.js @@ -1,3 +1,3 @@ -var phone_number = {}; +const phone_number = {}; module['exports'] = phone_number; phone_number.formats = require("./formats"); diff --git a/lib/locales/ro/address/index.js b/lib/locales/ro/address/index.js index f2942ac6..9140bbfb 100644 --- a/lib/locales/ro/address/index.js +++ b/lib/locales/ro/address/index.js @@ -1,4 +1,4 @@ -var address = {}; +const address = {}; module['exports'] = address; address.building_number = require("./building_number"); address.city = require("./city"); diff --git a/lib/locales/ro/cell_phone/index.js b/lib/locales/ro/cell_phone/index.js index 8de997ba..1f65f965 100644 --- a/lib/locales/ro/cell_phone/index.js +++ b/lib/locales/ro/cell_phone/index.js @@ -1,3 +1,3 @@ -var cell_phone = {}; +const cell_phone = {}; module['exports'] = cell_phone; cell_phone.formats = require("./formats"); diff --git a/lib/locales/ro/date/index.js b/lib/locales/ro/date/index.js index 8c45d3f6..e53e73ee 100644 --- a/lib/locales/ro/date/index.js +++ b/lib/locales/ro/date/index.js @@ -1,4 +1,4 @@ -var date = {}; +const date = {}; module["exports"] = date; date.month = require("./month"); date.weekday = require("./weekday"); diff --git a/lib/locales/ro/index.js b/lib/locales/ro/index.js index c6fdecf8..d31d7269 100644 --- a/lib/locales/ro/index.js +++ b/lib/locales/ro/index.js @@ -1,4 +1,4 @@ -var ro = {}; +const ro = {}; module['exports'] = ro; ro.title = "Romanian"; ro.address = require("./address"); diff --git a/lib/locales/ro/internet/index.js b/lib/locales/ro/internet/index.js index 8a337d64..c95143c1 100644 --- a/lib/locales/ro/internet/index.js +++ b/lib/locales/ro/internet/index.js @@ -1,4 +1,4 @@ -var internet = {}; +const internet = {}; module['exports'] = internet; internet.free_email = require("./free_email"); internet.domain_suffix = require("./domain_suffix"); diff --git a/lib/locales/ro/name/index.js b/lib/locales/ro/name/index.js index fe36decf..2edb1672 100644 --- a/lib/locales/ro/name/index.js +++ b/lib/locales/ro/name/index.js @@ -1,4 +1,4 @@ -var name = {}; +const name = {}; module['exports'] = name; name.male_first_name = require("./male_first_name"); name.female_first_name = require("./female_first_name"); diff --git a/lib/locales/ro/phone_number/index.js b/lib/locales/ro/phone_number/index.js index 8d35e011..36b6b18a 100644 --- a/lib/locales/ro/phone_number/index.js +++ b/lib/locales/ro/phone_number/index.js @@ -1,3 +1,3 @@ -var phone_number = {}; +const phone_number = {}; module['exports'] = phone_number; phone_number.formats = require("./formats"); diff --git a/lib/locales/ru/address/index.js b/lib/locales/ru/address/index.js index 0dd71270..24d85128 100644 --- a/lib/locales/ru/address/index.js +++ b/lib/locales/ru/address/index.js @@ -1,4 +1,4 @@ -var address = {}; +const address = {}; module['exports'] = address; address.country = require("./country"); address.building_number = require("./building_number"); diff --git a/lib/locales/ru/commerce/index.js b/lib/locales/ru/commerce/index.js index c05b5272..271876c5 100644 --- a/lib/locales/ru/commerce/index.js +++ b/lib/locales/ru/commerce/index.js @@ -1,4 +1,4 @@ -var commerce = {}; +const commerce = {}; module['exports'] = commerce; commerce.color = require("./color"); commerce.department = require("./department"); diff --git a/lib/locales/ru/company/index.js b/lib/locales/ru/company/index.js index 1aa59cc4..2d142169 100644 --- a/lib/locales/ru/company/index.js +++ b/lib/locales/ru/company/index.js @@ -1,4 +1,4 @@ -var company = {}; +const company = {}; module['exports'] = company; company.prefix = require("./prefix"); company.suffix = require("./suffix"); diff --git a/lib/locales/ru/date/index.js b/lib/locales/ru/date/index.js index 8c45d3f6..e53e73ee 100644 --- a/lib/locales/ru/date/index.js +++ b/lib/locales/ru/date/index.js @@ -1,4 +1,4 @@ -var date = {}; +const date = {}; module["exports"] = date; date.month = require("./month"); date.weekday = require("./weekday"); diff --git a/lib/locales/ru/hacker/index.js b/lib/locales/ru/hacker/index.js index 91673a19..423da495 100644 --- a/lib/locales/ru/hacker/index.js +++ b/lib/locales/ru/hacker/index.js @@ -1,4 +1,4 @@ -var hacker = {}; +const hacker = {}; module['exports'] = hacker; hacker.abbreviation = require("./abbreviation"); hacker.adjective = require("./adjective"); diff --git a/lib/locales/ru/index.js b/lib/locales/ru/index.js index b7c66be8..3b1ed0ef 100644 --- a/lib/locales/ru/index.js +++ b/lib/locales/ru/index.js @@ -1,4 +1,4 @@ -var ru = {}; +const ru = {}; module['exports'] = ru; ru.title = "Russian"; ru.separator = " и "; diff --git a/lib/locales/ru/internet/index.js b/lib/locales/ru/internet/index.js index 8a337d64..c95143c1 100644 --- a/lib/locales/ru/internet/index.js +++ b/lib/locales/ru/internet/index.js @@ -1,4 +1,4 @@ -var internet = {}; +const internet = {}; module['exports'] = internet; internet.free_email = require("./free_email"); internet.domain_suffix = require("./domain_suffix"); diff --git a/lib/locales/ru/lorem/index.js b/lib/locales/ru/lorem/index.js index 33080405..adee2ad8 100644 --- a/lib/locales/ru/lorem/index.js +++ b/lib/locales/ru/lorem/index.js @@ -1,3 +1,3 @@ -var lorem = {}; +const lorem = {}; module["exports"] = lorem; lorem.words = require("./words"); diff --git a/lib/locales/ru/name/index.js b/lib/locales/ru/name/index.js index 772a2d8c..43b94dfb 100644 --- a/lib/locales/ru/name/index.js +++ b/lib/locales/ru/name/index.js @@ -1,4 +1,4 @@ -var name = {}; +const name = {}; module['exports'] = name; name.female_first_name = require("./female_first_name"); name.female_last_name = require("./female_last_name"); diff --git a/lib/locales/ru/phone_number/index.js b/lib/locales/ru/phone_number/index.js index 8d35e011..36b6b18a 100644 --- a/lib/locales/ru/phone_number/index.js +++ b/lib/locales/ru/phone_number/index.js @@ -1,3 +1,3 @@ -var phone_number = {}; +const phone_number = {}; module['exports'] = phone_number; phone_number.formats = require("./formats"); diff --git a/lib/locales/sk/address/index.js b/lib/locales/sk/address/index.js index 313cce13..e27437fb 100644 --- a/lib/locales/sk/address/index.js +++ b/lib/locales/sk/address/index.js @@ -1,4 +1,4 @@ -var address = {}; +const address = {}; module['exports'] = address; address.city_prefix = require("./city_prefix"); address.city_suffix = require("./city_suffix"); diff --git a/lib/locales/sk/company/index.js b/lib/locales/sk/company/index.js index ed79244e..3fadcca3 100644 --- a/lib/locales/sk/company/index.js +++ b/lib/locales/sk/company/index.js @@ -1,4 +1,4 @@ -var company = {}; +const company = {}; module['exports'] = company; company.suffix = require("./suffix"); company.adjective = require("./adjective"); diff --git a/lib/locales/sk/index.js b/lib/locales/sk/index.js index 856f93b1..293c0766 100644 --- a/lib/locales/sk/index.js +++ b/lib/locales/sk/index.js @@ -1,4 +1,4 @@ -var sk = {}; +const sk = {}; module['exports'] = sk; sk.title = "Slovakian"; sk.address = require("./address"); diff --git a/lib/locales/sk/internet/index.js b/lib/locales/sk/internet/index.js index 8a337d64..c95143c1 100644 --- a/lib/locales/sk/internet/index.js +++ b/lib/locales/sk/internet/index.js @@ -1,4 +1,4 @@ -var internet = {}; +const internet = {}; module['exports'] = internet; internet.free_email = require("./free_email"); internet.domain_suffix = require("./domain_suffix"); diff --git a/lib/locales/sk/lorem/index.js b/lib/locales/sk/lorem/index.js index a53a23d0..47ae78b5 100644 --- a/lib/locales/sk/lorem/index.js +++ b/lib/locales/sk/lorem/index.js @@ -1,3 +1,3 @@ -var lorem = {}; +const lorem = {}; module['exports'] = lorem; lorem.words = require("./words"); diff --git a/lib/locales/sk/name/index.js b/lib/locales/sk/name/index.js index 08bc20f0..0b4b4508 100644 --- a/lib/locales/sk/name/index.js +++ b/lib/locales/sk/name/index.js @@ -1,4 +1,4 @@ -var name = {}; +const name = {}; module['exports'] = name; name.male_first_name = require("./male_first_name"); name.female_first_name = require("./female_first_name"); diff --git a/lib/locales/sk/phone_number/index.js b/lib/locales/sk/phone_number/index.js index 8d35e011..36b6b18a 100644 --- a/lib/locales/sk/phone_number/index.js +++ b/lib/locales/sk/phone_number/index.js @@ -1,3 +1,3 @@ -var phone_number = {}; +const phone_number = {}; module['exports'] = phone_number; phone_number.formats = require("./formats"); diff --git a/lib/locales/sv/address/index.js b/lib/locales/sv/address/index.js index c9cac06e..625f9a61 100644 --- a/lib/locales/sv/address/index.js +++ b/lib/locales/sv/address/index.js @@ -1,4 +1,4 @@ -var address = {}; +const address = {}; module['exports'] = address; address.city_prefix = require("./city_prefix"); address.city_suffix = require("./city_suffix"); diff --git a/lib/locales/sv/cell_phone/index.js b/lib/locales/sv/cell_phone/index.js index e1c54acf..4a77d8ce 100644 --- a/lib/locales/sv/cell_phone/index.js +++ b/lib/locales/sv/cell_phone/index.js @@ -1,4 +1,4 @@ -var cell_phone = {}; +const cell_phone = {}; module['exports'] = cell_phone; cell_phone.common_cell_prefix = require("./common_cell_prefix"); cell_phone.formats = require("./formats"); diff --git a/lib/locales/sv/commerce/index.js b/lib/locales/sv/commerce/index.js index c05b5272..271876c5 100644 --- a/lib/locales/sv/commerce/index.js +++ b/lib/locales/sv/commerce/index.js @@ -1,4 +1,4 @@ -var commerce = {}; +const commerce = {}; module['exports'] = commerce; commerce.color = require("./color"); commerce.department = require("./department"); diff --git a/lib/locales/sv/company/index.js b/lib/locales/sv/company/index.js index 2abcbf5c..8f1b8c98 100644 --- a/lib/locales/sv/company/index.js +++ b/lib/locales/sv/company/index.js @@ -1,4 +1,4 @@ -var company = {}; +const company = {}; module['exports'] = company; company.suffix = require("./suffix"); company.name = require("./name"); diff --git a/lib/locales/sv/date/index.js b/lib/locales/sv/date/index.js index 8c45d3f6..e53e73ee 100644 --- a/lib/locales/sv/date/index.js +++ b/lib/locales/sv/date/index.js @@ -1,4 +1,4 @@ -var date = {}; +const date = {}; module["exports"] = date; date.month = require("./month"); date.weekday = require("./weekday"); diff --git a/lib/locales/sv/index.js b/lib/locales/sv/index.js index 921680dd..56199064 100644 --- a/lib/locales/sv/index.js +++ b/lib/locales/sv/index.js @@ -1,4 +1,4 @@ -var sv = {}; +const sv = {}; module['exports'] = sv; sv.title = "Swedish"; sv.address = require("./address"); diff --git a/lib/locales/sv/internet/index.js b/lib/locales/sv/internet/index.js index abfa2480..9251f559 100644 --- a/lib/locales/sv/internet/index.js +++ b/lib/locales/sv/internet/index.js @@ -1,3 +1,3 @@ -var internet = {}; +const internet = {}; module['exports'] = internet; internet.domain_suffix = require("./domain_suffix"); diff --git a/lib/locales/sv/name/index.js b/lib/locales/sv/name/index.js index 970b82ac..f1e40dde 100644 --- a/lib/locales/sv/name/index.js +++ b/lib/locales/sv/name/index.js @@ -1,4 +1,4 @@ -var name = {}; +const name = {}; module['exports'] = name; name.female_first_name = require("./female_first_name"); name.male_first_name = require("./male_first_name"); diff --git a/lib/locales/sv/phone_number/index.js b/lib/locales/sv/phone_number/index.js index 8d35e011..36b6b18a 100644 --- a/lib/locales/sv/phone_number/index.js +++ b/lib/locales/sv/phone_number/index.js @@ -1,3 +1,3 @@ -var phone_number = {}; +const phone_number = {}; module['exports'] = phone_number; phone_number.formats = require("./formats"); diff --git a/lib/locales/sv/team/index.js b/lib/locales/sv/team/index.js index 236e3fbe..d5f65025 100644 --- a/lib/locales/sv/team/index.js +++ b/lib/locales/sv/team/index.js @@ -1,4 +1,4 @@ -var team = {}; +const team = {}; module['exports'] = team; team.suffix = require("./suffix"); team.name = require("./name"); diff --git a/lib/locales/tr/address/index.js b/lib/locales/tr/address/index.js index 069237ac..eea8646f 100644 --- a/lib/locales/tr/address/index.js +++ b/lib/locales/tr/address/index.js @@ -1,4 +1,4 @@ -var address = {}; +const address = {}; module['exports'] = address; address.city = require("./city"); address.street_root = require("./street_root"); diff --git a/lib/locales/tr/cell_phone/index.js b/lib/locales/tr/cell_phone/index.js index 8de997ba..1f65f965 100644 --- a/lib/locales/tr/cell_phone/index.js +++ b/lib/locales/tr/cell_phone/index.js @@ -1,3 +1,3 @@ -var cell_phone = {}; +const cell_phone = {}; module['exports'] = cell_phone; cell_phone.formats = require("./formats"); diff --git a/lib/locales/tr/commerce/index.js b/lib/locales/tr/commerce/index.js index 89187f7c..ac1d8e5c 100644 --- a/lib/locales/tr/commerce/index.js +++ b/lib/locales/tr/commerce/index.js @@ -1,4 +1,4 @@ -var commerce = {}; +const commerce = {}; module['exports'] = commerce; commerce.color = require("./color"); commerce.department = require("./department"); diff --git a/lib/locales/tr/index.js b/lib/locales/tr/index.js index 96688c7a..79abc77c 100644 --- a/lib/locales/tr/index.js +++ b/lib/locales/tr/index.js @@ -1,4 +1,4 @@ -var tr = {}; +const tr = {}; module['exports'] = tr; tr.title = "Turkish"; tr.address = require("./address"); diff --git a/lib/locales/tr/internet/index.js b/lib/locales/tr/internet/index.js index abfa2480..9251f559 100644 --- a/lib/locales/tr/internet/index.js +++ b/lib/locales/tr/internet/index.js @@ -1,3 +1,3 @@ -var internet = {}; +const internet = {}; module['exports'] = internet; internet.domain_suffix = require("./domain_suffix"); diff --git a/lib/locales/tr/lorem/index.js b/lib/locales/tr/lorem/index.js index a53a23d0..47ae78b5 100644 --- a/lib/locales/tr/lorem/index.js +++ b/lib/locales/tr/lorem/index.js @@ -1,3 +1,3 @@ -var lorem = {}; +const lorem = {}; module['exports'] = lorem; lorem.words = require("./words"); diff --git a/lib/locales/tr/name/index.js b/lib/locales/tr/name/index.js index 9dd2a0f0..c4f6e719 100644 --- a/lib/locales/tr/name/index.js +++ b/lib/locales/tr/name/index.js @@ -1,4 +1,4 @@ -var name = {}; +const name = {}; module['exports'] = name; name.male_first_name = require("./male_first_name"); name.female_first_name = require("./female_first_name"); diff --git a/lib/locales/tr/phone_number/index.js b/lib/locales/tr/phone_number/index.js index 24b79a32..faefd50d 100644 --- a/lib/locales/tr/phone_number/index.js +++ b/lib/locales/tr/phone_number/index.js @@ -1,4 +1,4 @@ -var phone_number = {}; +const phone_number = {}; module['exports'] = phone_number; phone_number.area_code = require("./area_code"); phone_number.formats = require("./formats"); diff --git a/lib/locales/uk/address/index.js b/lib/locales/uk/address/index.js index d27d2957..c1303f04 100644 --- a/lib/locales/uk/address/index.js +++ b/lib/locales/uk/address/index.js @@ -1,4 +1,4 @@ -var address = {}; +const address = {}; module['exports'] = address; address.country = require("./country"); address.building_number = require("./building_number"); diff --git a/lib/locales/uk/company/index.js b/lib/locales/uk/company/index.js index 1aa59cc4..2d142169 100644 --- a/lib/locales/uk/company/index.js +++ b/lib/locales/uk/company/index.js @@ -1,4 +1,4 @@ -var company = {}; +const company = {}; module['exports'] = company; company.prefix = require("./prefix"); company.suffix = require("./suffix"); diff --git a/lib/locales/uk/index.js b/lib/locales/uk/index.js index 3b5be69d..1873ca5e 100644 --- a/lib/locales/uk/index.js +++ b/lib/locales/uk/index.js @@ -1,4 +1,4 @@ -var uk = {}; +const uk = {}; module['exports'] = uk; uk.title = "Ukrainian"; uk.address = require("./address"); diff --git a/lib/locales/uk/internet/index.js b/lib/locales/uk/internet/index.js index 8a337d64..c95143c1 100644 --- a/lib/locales/uk/internet/index.js +++ b/lib/locales/uk/internet/index.js @@ -1,4 +1,4 @@ -var internet = {}; +const internet = {}; module['exports'] = internet; internet.free_email = require("./free_email"); internet.domain_suffix = require("./domain_suffix"); diff --git a/lib/locales/uk/name/index.js b/lib/locales/uk/name/index.js index 2cf8a79f..5d724a1b 100644 --- a/lib/locales/uk/name/index.js +++ b/lib/locales/uk/name/index.js @@ -1,4 +1,4 @@ -var name = {}; +const name = {}; module['exports'] = name; name.male_first_name = require("./male_first_name"); name.male_middle_name = require("./male_middle_name"); diff --git a/lib/locales/uk/phone_number/index.js b/lib/locales/uk/phone_number/index.js index 8d35e011..36b6b18a 100644 --- a/lib/locales/uk/phone_number/index.js +++ b/lib/locales/uk/phone_number/index.js @@ -1,3 +1,3 @@ -var phone_number = {}; +const phone_number = {}; module['exports'] = phone_number; phone_number.formats = require("./formats"); diff --git a/lib/locales/ur/address/index.js b/lib/locales/ur/address/index.js index c2c72af4..c8eca51a 100644 --- a/lib/locales/ur/address/index.js +++ b/lib/locales/ur/address/index.js @@ -1,4 +1,4 @@ -var address = {}; +const address = {}; module['exports'] = address; address.city_prefix = require('./city_prefix'); address.city_suffix = require('./city_suffix'); diff --git a/lib/locales/ur/animal/index.js b/lib/locales/ur/animal/index.js index c3053ce3..72ef81e6 100644 --- a/lib/locales/ur/animal/index.js +++ b/lib/locales/ur/animal/index.js @@ -1,4 +1,4 @@ -var animal = {}; +const animal = {}; module['exports'] = animal; animal.insect = require('./insect'); animal.bear = require('./bear'); diff --git a/lib/locales/ur/app/index.js b/lib/locales/ur/app/index.js index 7a421c94..79203adc 100644 --- a/lib/locales/ur/app/index.js +++ b/lib/locales/ur/app/index.js @@ -1,4 +1,4 @@ -var app = {}; +const app = {}; module['exports'] = app; app.name = require('./name'); app.version = require('./version'); diff --git a/lib/locales/ur/business/index.js b/lib/locales/ur/business/index.js index c5716445..f01628e2 100644 --- a/lib/locales/ur/business/index.js +++ b/lib/locales/ur/business/index.js @@ -1,3 +1,3 @@ -var business = {}; +const business = {}; module['exports'] = business; business.credit_card_types = require('./credit_card_types'); diff --git a/lib/locales/ur/cell_phone/index.js b/lib/locales/ur/cell_phone/index.js index c3ee77a1..16f18f3f 100644 --- a/lib/locales/ur/cell_phone/index.js +++ b/lib/locales/ur/cell_phone/index.js @@ -1,3 +1,3 @@ -var cell_phone = {}; +const cell_phone = {}; module['exports'] = cell_phone; cell_phone.formats = require('./formats'); diff --git a/lib/locales/ur/commerce/index.js b/lib/locales/ur/commerce/index.js index 7def4e3c..c89332ef 100644 --- a/lib/locales/ur/commerce/index.js +++ b/lib/locales/ur/commerce/index.js @@ -1,4 +1,4 @@ -var commerce = {}; +const commerce = {}; module['exports'] = commerce; commerce.color = require('./color'); commerce.department = require('./department'); diff --git a/lib/locales/ur/date/index.js b/lib/locales/ur/date/index.js index 8c45d3f6..e53e73ee 100644 --- a/lib/locales/ur/date/index.js +++ b/lib/locales/ur/date/index.js @@ -1,4 +1,4 @@ -var date = {}; +const date = {}; module["exports"] = date; date.month = require("./month"); date.weekday = require("./weekday"); diff --git a/lib/locales/ur/finance/index.js b/lib/locales/ur/finance/index.js index 816575b5..bd196c64 100644 --- a/lib/locales/ur/finance/index.js +++ b/lib/locales/ur/finance/index.js @@ -1,4 +1,4 @@ -var finance = {}; +const finance = {}; module['exports'] = finance; finance.account_type = require('./account_type'); finance.transaction_type = require('./transaction_type'); diff --git a/lib/locales/ur/index.js b/lib/locales/ur/index.js index e679f698..5a606957 100644 --- a/lib/locales/ur/index.js +++ b/lib/locales/ur/index.js @@ -1,4 +1,4 @@ -var ur = {}; +const ur = {}; module['exports'] = ur; ur.title = 'Urdu'; ur.separator = ' اور '; diff --git a/lib/locales/ur/lorem/index.js b/lib/locales/ur/lorem/index.js index feb6eff8..82b2e52a 100644 --- a/lib/locales/ur/lorem/index.js +++ b/lib/locales/ur/lorem/index.js @@ -1,4 +1,4 @@ -var lorem = {}; +const lorem = {}; module['exports'] = lorem; lorem.words = require("./words"); lorem.supplemental = require("./supplemental"); diff --git a/lib/locales/ur/music/index.js b/lib/locales/ur/music/index.js index aad921a5..6c5f2f65 100644 --- a/lib/locales/ur/music/index.js +++ b/lib/locales/ur/music/index.js @@ -1,3 +1,3 @@ -var music = {}; +const music = {}; module['exports'] = music; music.genre = require("./genre"); diff --git a/lib/locales/ur/name/index.js b/lib/locales/ur/name/index.js index f9c34406..232eb406 100644 --- a/lib/locales/ur/name/index.js +++ b/lib/locales/ur/name/index.js @@ -1,4 +1,4 @@ -var name = {}; +const name = {}; module["exports"] = name; name.male_first_name = require("./male_first_name"); name.female_first_name = require("./female_first_name"); diff --git a/lib/locales/ur/team/index.js b/lib/locales/ur/team/index.js index f4e624f0..b5264b1c 100644 --- a/lib/locales/ur/team/index.js +++ b/lib/locales/ur/team/index.js @@ -1,4 +1,4 @@ -var team = {}; +const team = {}; module['exports'] = team; team.creature = require("./creature"); team.name = require("./name"); diff --git a/lib/locales/ur/vehicle/index.js b/lib/locales/ur/vehicle/index.js index 4a2c8172..cfe5b8a0 100644 --- a/lib/locales/ur/vehicle/index.js +++ b/lib/locales/ur/vehicle/index.js @@ -1,4 +1,4 @@ -var vehicle = {}; +const vehicle = {}; module["exports"] = vehicle; vehicle.manufacturer = require("./manufacturer"); vehicle.model = require("./model"); diff --git a/lib/locales/vi/address/index.js b/lib/locales/vi/address/index.js index 676be305..c47ec7ec 100644 --- a/lib/locales/vi/address/index.js +++ b/lib/locales/vi/address/index.js @@ -1,4 +1,4 @@ -var address = {}; +const address = {}; module['exports'] = address; address.city_root = require("./city_root"); address.city = require("./city"); diff --git a/lib/locales/vi/cell_phone/index.js b/lib/locales/vi/cell_phone/index.js index 8de997ba..1f65f965 100644 --- a/lib/locales/vi/cell_phone/index.js +++ b/lib/locales/vi/cell_phone/index.js @@ -1,3 +1,3 @@ -var cell_phone = {}; +const cell_phone = {}; module['exports'] = cell_phone; cell_phone.formats = require("./formats"); diff --git a/lib/locales/vi/company/index.js b/lib/locales/vi/company/index.js index 357e5e94..8592941e 100644 --- a/lib/locales/vi/company/index.js +++ b/lib/locales/vi/company/index.js @@ -1,4 +1,4 @@ -var company = {}; +const company = {}; module['exports'] = company; company.prefix = require("./prefix"); company.name = require("./name"); diff --git a/lib/locales/vi/date/index.js b/lib/locales/vi/date/index.js index 8c45d3f6..e53e73ee 100644 --- a/lib/locales/vi/date/index.js +++ b/lib/locales/vi/date/index.js @@ -1,4 +1,4 @@ -var date = {}; +const date = {}; module["exports"] = date; date.month = require("./month"); date.weekday = require("./weekday"); diff --git a/lib/locales/vi/index.js b/lib/locales/vi/index.js index 427211d7..ba11fe8a 100644 --- a/lib/locales/vi/index.js +++ b/lib/locales/vi/index.js @@ -1,4 +1,4 @@ -var vi = {}; +const vi = {}; module['exports'] = vi; vi.title = "Vietnamese"; vi.address = require("./address"); diff --git a/lib/locales/vi/internet/index.js b/lib/locales/vi/internet/index.js index abfa2480..9251f559 100644 --- a/lib/locales/vi/internet/index.js +++ b/lib/locales/vi/internet/index.js @@ -1,3 +1,3 @@ -var internet = {}; +const internet = {}; module['exports'] = internet; internet.domain_suffix = require("./domain_suffix"); diff --git a/lib/locales/vi/lorem/index.js b/lib/locales/vi/lorem/index.js index a53a23d0..47ae78b5 100644 --- a/lib/locales/vi/lorem/index.js +++ b/lib/locales/vi/lorem/index.js @@ -1,3 +1,3 @@ -var lorem = {}; +const lorem = {}; module['exports'] = lorem; lorem.words = require("./words"); diff --git a/lib/locales/vi/name/index.js b/lib/locales/vi/name/index.js index 3c9ed958..a699be9c 100644 --- a/lib/locales/vi/name/index.js +++ b/lib/locales/vi/name/index.js @@ -1,4 +1,4 @@ -var name = {}; +const name = {}; module['exports'] = name; name.female_first_name = require('./female_first_name'); name.male_first_name = require('./male_first_name'); diff --git a/lib/locales/vi/phone_number/index.js b/lib/locales/vi/phone_number/index.js index 8d35e011..36b6b18a 100644 --- a/lib/locales/vi/phone_number/index.js +++ b/lib/locales/vi/phone_number/index.js @@ -1,3 +1,3 @@ -var phone_number = {}; +const phone_number = {}; module['exports'] = phone_number; phone_number.formats = require("./formats"); diff --git a/lib/locales/zh_CN/address/index.js b/lib/locales/zh_CN/address/index.js index b9e86a0f..62912809 100644 --- a/lib/locales/zh_CN/address/index.js +++ b/lib/locales/zh_CN/address/index.js @@ -1,4 +1,4 @@ -var address = {}; +const address = {}; module['exports'] = address; address.city_prefix = require("./city_prefix"); address.city_suffix = require("./city_suffix"); diff --git a/lib/locales/zh_CN/index.js b/lib/locales/zh_CN/index.js index 277d77c2..a1a717a6 100644 --- a/lib/locales/zh_CN/index.js +++ b/lib/locales/zh_CN/index.js @@ -1,4 +1,4 @@ -var zh_CN = {}; +const zh_CN = {}; module['exports'] = zh_CN; zh_CN.title = "Chinese"; zh_CN.address = require("./address"); diff --git a/lib/locales/zh_CN/name/index.js b/lib/locales/zh_CN/name/index.js index 27b846ac..a3560dc0 100644 --- a/lib/locales/zh_CN/name/index.js +++ b/lib/locales/zh_CN/name/index.js @@ -1,4 +1,4 @@ -var name = {}; +const name = {}; module['exports'] = name; name.first_name = require("./first_name"); name.last_name = require("./last_name"); diff --git a/lib/locales/zh_CN/phone_number/index.js b/lib/locales/zh_CN/phone_number/index.js index 8d35e011..36b6b18a 100644 --- a/lib/locales/zh_CN/phone_number/index.js +++ b/lib/locales/zh_CN/phone_number/index.js @@ -1,3 +1,3 @@ -var phone_number = {}; +const phone_number = {}; module['exports'] = phone_number; phone_number.formats = require("./formats"); diff --git a/lib/locales/zh_TW/address/index.js b/lib/locales/zh_TW/address/index.js index b9e86a0f..62912809 100644 --- a/lib/locales/zh_TW/address/index.js +++ b/lib/locales/zh_TW/address/index.js @@ -1,4 +1,4 @@ -var address = {}; +const address = {}; module['exports'] = address; address.city_prefix = require("./city_prefix"); address.city_suffix = require("./city_suffix"); diff --git a/lib/locales/zh_TW/index.js b/lib/locales/zh_TW/index.js index 238b80e7..851db0c8 100644 --- a/lib/locales/zh_TW/index.js +++ b/lib/locales/zh_TW/index.js @@ -1,4 +1,4 @@ -var zh_TW = {}; +const zh_TW = {}; module['exports'] = zh_TW; zh_TW.title = "Chinese (Taiwan)"; zh_TW.address = require("./address"); diff --git a/lib/locales/zh_TW/name/index.js b/lib/locales/zh_TW/name/index.js index 27b846ac..a3560dc0 100644 --- a/lib/locales/zh_TW/name/index.js +++ b/lib/locales/zh_TW/name/index.js @@ -1,4 +1,4 @@ -var name = {}; +const name = {}; module['exports'] = name; name.first_name = require("./first_name"); name.last_name = require("./last_name"); diff --git a/lib/locales/zh_TW/phone_number/index.js b/lib/locales/zh_TW/phone_number/index.js index 8d35e011..36b6b18a 100644 --- a/lib/locales/zh_TW/phone_number/index.js +++ b/lib/locales/zh_TW/phone_number/index.js @@ -1,3 +1,3 @@ -var phone_number = {}; +const phone_number = {}; module['exports'] = phone_number; phone_number.formats = require("./formats"); diff --git a/lib/locales/zu_ZA/address/index.js b/lib/locales/zu_ZA/address/index.js index 44dff02a..a8145aa0 100644 --- a/lib/locales/zu_ZA/address/index.js +++ b/lib/locales/zu_ZA/address/index.js @@ -1,4 +1,4 @@ -var address = {}; +const address = {}; module['exports'] = address; address.default_country = require("./default_country"); address.postcode = require("./postcode"); diff --git a/lib/locales/zu_ZA/cell_phone/index.js b/lib/locales/zu_ZA/cell_phone/index.js index 8de997ba..1f65f965 100644 --- a/lib/locales/zu_ZA/cell_phone/index.js +++ b/lib/locales/zu_ZA/cell_phone/index.js @@ -1,3 +1,3 @@ -var cell_phone = {}; +const cell_phone = {}; module['exports'] = cell_phone; cell_phone.formats = require("./formats"); diff --git a/lib/locales/zu_ZA/company/index.js b/lib/locales/zu_ZA/company/index.js index ddd41f55..15298471 100644 --- a/lib/locales/zu_ZA/company/index.js +++ b/lib/locales/zu_ZA/company/index.js @@ -1,3 +1,3 @@ -var company = {}; +const company = {}; module['exports'] = company; company.suffix = require("./suffix"); diff --git a/lib/locales/zu_ZA/index.js b/lib/locales/zu_ZA/index.js index 4c86e78b..197bc6cb 100644 --- a/lib/locales/zu_ZA/index.js +++ b/lib/locales/zu_ZA/index.js @@ -1,4 +1,4 @@ -var en_ZA = {}; +const en_ZA = {}; module['exports'] = en_ZA; en_ZA.title = "Zulu (South Africa)"; en_ZA.address = require("./address"); diff --git a/lib/locales/zu_ZA/internet/index.js b/lib/locales/zu_ZA/internet/index.js index abfa2480..9251f559 100644 --- a/lib/locales/zu_ZA/internet/index.js +++ b/lib/locales/zu_ZA/internet/index.js @@ -1,3 +1,3 @@ -var internet = {}; +const internet = {}; module['exports'] = internet; internet.domain_suffix = require("./domain_suffix"); diff --git a/lib/locales/zu_ZA/name/index.js b/lib/locales/zu_ZA/name/index.js index 290e3cc2..8666602b 100644 --- a/lib/locales/zu_ZA/name/index.js +++ b/lib/locales/zu_ZA/name/index.js @@ -1,4 +1,4 @@ -var name = {}; +const name = {}; module['exports'] = name; name.male_first_name = require("./male_first_name"); name.female_first_name = require("./female_first_name"); diff --git a/lib/locales/zu_ZA/phone_number/index.js b/lib/locales/zu_ZA/phone_number/index.js index 8d35e011..36b6b18a 100644 --- a/lib/locales/zu_ZA/phone_number/index.js +++ b/lib/locales/zu_ZA/phone_number/index.js @@ -1,3 +1,3 @@ -var phone_number = {}; +const phone_number = {}; module['exports'] = phone_number; phone_number.formats = require("./formats"); diff --git a/lib/lorem.js b/lib/lorem.js index 54d97588..3f23f66f 100644 --- a/lib/lorem.js +++ b/lib/lorem.js @@ -2,9 +2,9 @@ * * @namespace blaver.lorem */ -var Lorem = function (blaver) { - var self = this; - var Helpers = blaver.helpers; +const Lorem = function (blaver) { + const self = this; + const Helpers = blaver.helpers; /** * generates a word of a specified length @@ -13,10 +13,10 @@ var Lorem = function (blaver) { * @param {number} length length of the word that should be returned. Defaults to a random length */ self.word = function (length) { - var hasRightLength = function (word) { + const hasRightLength = function (word) { return word.length === length; }; - var properLengthWords; + let properLengthWords; if (typeof length === "undefined") { properLengthWords = blaver.definitions.lorem.words; } else { @@ -36,8 +36,8 @@ var Lorem = function (blaver) { if (typeof num == "undefined") { num = 3; } - var words = []; - for (var i = 0; i < num; i++) { + const words = []; + for (let i = 0; i < num; i++) { words.push(blaver.lorem.word()); } return words.join(" "); @@ -59,7 +59,7 @@ var Lorem = function (blaver) { // strange issue with the node_min_test failing for capitalize, please fix and add blaver.lorem.back //return blaver.lorem.words(wordCount + Helpers.randomNumber(range)).join(' ').capitalize(); - var sentence = blaver.lorem.words(wordCount); + const sentence = blaver.lorem.words(wordCount); return sentence.charAt(0).toUpperCase() + sentence.slice(1) + "."; }; @@ -70,7 +70,7 @@ var Lorem = function (blaver) { * @param {number} wordCount number of words, defaults to 3 */ self.slug = function (wordCount) { - var words = blaver.lorem.words(wordCount); + const words = blaver.lorem.words(wordCount); return Helpers.slugify(words); }; @@ -88,7 +88,7 @@ var Lorem = function (blaver) { if (typeof separator == "undefined") { separator = " "; } - var sentences = []; + const sentences = []; for (sentenceCount; sentenceCount > 0; sentenceCount--) { sentences.push(blaver.lorem.sentence()); } @@ -124,7 +124,7 @@ var Lorem = function (blaver) { if (typeof paragraphCount == "undefined") { paragraphCount = 3; } - var paragraphs = []; + const paragraphs = []; for (paragraphCount; paragraphCount > 0; paragraphCount--) { paragraphs.push(blaver.lorem.paragraph()); } @@ -138,7 +138,7 @@ var Lorem = function (blaver) { * @param {number} times */ self.text = function loremText(times) { - var loremMethods = [ + const loremMethods = [ "lorem.word", "lorem.words", "lorem.sentence", @@ -147,7 +147,7 @@ var Lorem = function (blaver) { "lorem.paragraphs", "lorem.lines", ]; - var randomLoremMethod = blaver.random.arrayElement(loremMethods); + const randomLoremMethod = blaver.random.arrayElement(loremMethods); return blaver.fake("{{" + randomLoremMethod + "}}"); }; diff --git a/lib/mersenne.js b/lib/mersenne.js index e176613f..7dc8a8a7 100644 --- a/lib/mersenne.js +++ b/lib/mersenne.js @@ -1,7 +1,7 @@ -var Gen = require("../vendor/mersenne").MersenneTwister19937; +const Gen = require("../vendor/mersenne").MersenneTwister19937; function Mersenne() { - var gen = new Gen(); + const gen = new Gen(); gen.init_genrand(new Date().getTime() % 1000000000); this.rand = function (max, min) { diff --git a/lib/music.js b/lib/music.js index ee87b9bc..f7b79c31 100644 --- a/lib/music.js +++ b/lib/music.js @@ -2,8 +2,8 @@ * * @namespace blaver.music */ -var Music = function (blaver) { - var self = this; +const Music = function (blaver) { + const self = this; /** * genre * diff --git a/lib/name.js b/lib/name.js index a0d4e232..4b2a24e9 100644 --- a/lib/name.js +++ b/lib/name.js @@ -123,8 +123,8 @@ function Name(blaver) { * @memberof blaver.name */ this.findName = function (firstName, lastName, gender) { - var r = blaver.datatype.number(8); - var prefix, suffix; + const r = blaver.datatype.number(8); + let prefix, suffix; // in particular locales first and last names split by gender, // thus we keep consistency by passing 0 as male and 1 as female if (typeof gender !== "number") { @@ -227,7 +227,7 @@ function Name(blaver) { * @memberof blaver.name */ this.title = function () { - var descriptor = blaver.random.arrayElement( + const descriptor = blaver.random.arrayElement( blaver.definitions.name.title.descriptor ), level = blaver.random.arrayElement( diff --git a/lib/phone_number.js b/lib/phone_number.js index f6d5f02f..08b596c6 100644 --- a/lib/phone_number.js +++ b/lib/phone_number.js @@ -2,8 +2,8 @@ * * @namespace blaver.phone */ -var Phone = function (blaver) { - var self = this; +const Phone = function (blaver) { + const self = this; /** * phoneNumber diff --git a/lib/random.js b/lib/random.js index 4b1ab24b..371ac1d8 100644 --- a/lib/random.js +++ b/lib/random.js @@ -4,7 +4,7 @@ * @param values array of characters which should be removed * @return {*} new array without banned characters */ -var arrayRemove = function (arr, values) { +const arrayRemove = function (arr, values) { values.forEach(function (value) { arr = arr.filter(function (ele) { return ele !== value; @@ -61,7 +61,7 @@ function Random(blaver, seed) { */ this.arrayElement = function (array) { array = array || ["a", "b", "c"]; - var r = blaver.datatype.number({ max: array.length - 1 }); + const r = blaver.datatype.number({ max: array.length - 1 }); return array[r]; }; @@ -83,11 +83,11 @@ function Random(blaver, seed) { count = 0; } - var arrayCopy = array.slice(0); - var i = array.length; - var min = i - count; - var temp; - var index; + const arrayCopy = array.slice(0); + let i = array.length; + const min = i - count; + let temp; + let index; while (i-- > min) { index = Math.floor( @@ -110,8 +110,8 @@ function Random(blaver, seed) { */ this.objectElement = function (object, field) { object = object || { foo: "bar", too: "car" }; - var array = Object.keys(object); - var key = blaver.random.arrayElement(array); + const array = Object.keys(object); + const key = blaver.random.arrayElement(array); return field === "key" ? key : object[key]; }; @@ -149,7 +149,7 @@ function Random(blaver, seed) { * @param {string} type */ this.word = function randomWord(type) { - var wordMethods = [ + const wordMethods = [ "commerce.department", "commerce.productName", "commerce.productAdjective", @@ -184,8 +184,8 @@ function Random(blaver, seed) { ]; // randomly pick from the many blaver methods that can generate words - var randomWordMethod = blaver.random.arrayElement(wordMethods); - var result = blaver.fake("{{" + randomWordMethod + "}}"); + const randomWordMethod = blaver.random.arrayElement(wordMethods); + const result = blaver.fake("{{" + randomWordMethod + "}}"); return blaver.random.arrayElement(result.split(" ")); }; @@ -196,11 +196,11 @@ function Random(blaver, seed) { * @param {number} count defaults to a random value between 1 and 3 */ this.words = function randomWords(count) { - var words = []; + const words = []; if (typeof count === "undefined") { count = blaver.datatype.number({ min: 1, max: 3 }); } - for (var i = 0; i < count; i++) { + for (let i = 0; i < count; i++) { words.push(blaver.random.word()); } return words.join(" "); @@ -250,8 +250,8 @@ function Random(blaver, seed) { options.bannedChars = []; } - var wholeString = ""; - var charsArray = [ + let wholeString = ""; + let charsArray = [ "a", "b", "c", @@ -282,7 +282,7 @@ function Random(blaver, seed) { if (options.bannedChars) { charsArray = arrayRemove(charsArray, options.bannedChars); } - for (var i = 0; i < options.count; i++) { + for (let i = 0; i < options.count; i++) { wholeString += blaver.random.arrayElement(charsArray); } @@ -308,8 +308,8 @@ function Random(blaver, seed) { options.bannedChars = []; } - var wholeString = ""; - var charsArray = [ + let wholeString = ""; + let charsArray = [ "0", "1", "2", @@ -352,7 +352,7 @@ function Random(blaver, seed) { charsArray = arrayRemove(charsArray, options.bannedChars); } } - for (var i = 0; i < count; i++) { + for (let i = 0; i < count; i++) { wholeString += blaver.random.arrayElement(charsArray); } diff --git a/lib/system.js b/lib/system.js index 96ef1415..fe761896 100644 --- a/lib/system.js +++ b/lib/system.js @@ -1,8 +1,8 @@ // generates fake data for many computer systems properties -var commonFileTypes = ["video", "audio", "image", "text", "application"]; +const commonFileTypes = ["video", "audio", "image", "text", "application"]; -var commonMimeTypes = [ +const commonMimeTypes = [ "application/pdf", "audio/mpeg", "audio/wav", @@ -20,7 +20,7 @@ function setToArray(set) { return Array.from(set); } - var array = []; + const array = []; set.forEach(function (item) { array.push(item); }); @@ -38,7 +38,7 @@ function System(blaver) { * @method blaver.system.fileName */ this.fileName = function () { - var str = blaver.random.words(); + let str = blaver.random.words(); str = str.toLowerCase().replace(/\W/g, "_") + "." + @@ -53,7 +53,7 @@ function System(blaver) { * @param {string} ext */ this.commonFileName = function (ext) { - var str = blaver.random.words(); + let str = blaver.random.words(); str = str.toLowerCase().replace(/\W/g, "_"); str += "." + (ext || blaver.system.commonFileExt()); return str; @@ -65,12 +65,12 @@ function System(blaver) { * @method blaver.system.mimeType */ this.mimeType = function () { - var typeSet = new Set(); - var extensionSet = new Set(); - var mimeTypes = blaver.definitions.system.mimeTypes; + const typeSet = new Set(); + const extensionSet = new Set(); + const mimeTypes = blaver.definitions.system.mimeTypes; Object.keys(mimeTypes).forEach(function (m) { - var type = m.split("/")[0]; + const type = m.split("/")[0]; typeSet.add(type); @@ -81,9 +81,9 @@ function System(blaver) { } }); - var types = setToArray(typeSet); - var extensions = setToArray(extensionSet); - var mimeTypeKeys = Object.keys(blaver.definitions.system.mimeTypes); + const types = setToArray(typeSet); + const extensions = setToArray(extensionSet); + const mimeTypeKeys = Object.keys(blaver.definitions.system.mimeTypes); return blaver.random.arrayElement(mimeTypeKeys); }; @@ -114,12 +114,12 @@ function System(blaver) { * @method blaver.system.fileType */ this.fileType = function () { - var typeSet = new Set(); - var extensionSet = new Set(); - var mimeTypes = blaver.definitions.system.mimeTypes; + const typeSet = new Set(); + const extensionSet = new Set(); + const mimeTypes = blaver.definitions.system.mimeTypes; Object.keys(mimeTypes).forEach(function (m) { - var type = m.split("/")[0]; + const type = m.split("/")[0]; typeSet.add(type); @@ -130,9 +130,9 @@ function System(blaver) { } }); - var types = setToArray(typeSet); - var extensions = setToArray(extensionSet); - var mimeTypeKeys = Object.keys(blaver.definitions.system.mimeTypes); + const types = setToArray(typeSet); + const extensions = setToArray(extensionSet); + const mimeTypeKeys = Object.keys(blaver.definitions.system.mimeTypes); return blaver.random.arrayElement(types); }; @@ -143,12 +143,12 @@ function System(blaver) { * @param {string} mimeType */ this.fileExt = function (mimeType) { - var typeSet = new Set(); - var extensionSet = new Set(); - var mimeTypes = blaver.definitions.system.mimeTypes; + const typeSet = new Set(); + const extensionSet = new Set(); + const mimeTypes = blaver.definitions.system.mimeTypes; Object.keys(mimeTypes).forEach(function (m) { - var type = m.split("/")[0]; + const type = m.split("/")[0]; typeSet.add(type); @@ -159,12 +159,12 @@ function System(blaver) { } }); - var types = setToArray(typeSet); - var extensions = setToArray(extensionSet); - var mimeTypeKeys = Object.keys(blaver.definitions.system.mimeTypes); + const types = setToArray(typeSet); + const extensions = setToArray(extensionSet); + const mimeTypeKeys = Object.keys(blaver.definitions.system.mimeTypes); if (mimeType) { - var mimes = blaver.definitions.system.mimeTypes; + const mimes = blaver.definitions.system.mimeTypes; return blaver.random.arrayElement(mimes[mimeType].extensions); } @@ -177,7 +177,7 @@ function System(blaver) { * @method blaver.system.directoryPath */ this.directoryPath = function () { - var paths = blaver.definitions.system.directoryPaths; + const paths = blaver.definitions.system.directoryPaths; return blaver.random.arrayElement(paths); }; diff --git a/lib/time.js b/lib/time.js index 5e47faa0..30fb7271 100644 --- a/lib/time.js +++ b/lib/time.js @@ -2,8 +2,8 @@ * * @namespace blaver.time */ -var _Time = function (blaver) { - var self = this; +const _Time = function (blaver) { + const self = this; /** * recent @@ -16,7 +16,7 @@ var _Time = function (blaver) { outputType = "unix"; } - var date = new Date(); + let date = new Date(); switch (outputType) { case "abbr": date = date.toLocaleTimeString(); diff --git a/lib/unique.js b/lib/unique.js index 1f2321b1..7eceb057 100644 --- a/lib/unique.js +++ b/lib/unique.js @@ -1,4 +1,4 @@ -var uniqueExec = require("../vendor/unique"); +const uniqueExec = require("../vendor/unique"); /** * * @namespace blaver.unique @@ -7,13 +7,13 @@ function Unique(blaver) { // initialize unique module class variables // maximum time unique.exec will attempt to run before aborting - var maxTime = 10; + const maxTime = 10; // maximum retries unique.exec will recurse before aborting ( max loop depth ) - var maxRetries = 10; + const maxRetries = 10; // time the script started - // var startTime = 0; + // const startTime = 0; /** * unique diff --git a/lib/vehicle.js b/lib/vehicle.js index 852b3c8f..127fb96b 100644 --- a/lib/vehicle.js +++ b/lib/vehicle.js @@ -2,9 +2,9 @@ * * @namespace blaver.vehicle */ -var Vehicle = function (blaver) { - var self = this; - var fake = blaver.fake; +const Vehicle = function (blaver) { + const self = this; + const fake = blaver.fake; /** * vehicle @@ -90,7 +90,7 @@ var Vehicle = function (blaver) { * @method blaver.vehicle.vin */ self.vin = function () { - var bannedChars = ["o", "i", "q"]; + const bannedChars = ["o", "i", "q"]; return ( blaver.random.alphaNumeric(10, { bannedChars: bannedChars }) + blaver.random.alpha({ diff --git a/lib/word.js b/lib/word.js index 043f50f1..5371f27a 100644 --- a/lib/word.js +++ b/lib/word.js @@ -1,8 +1,8 @@ /** * @namespace blaver.word */ -var Word = function (blaver) { - var self = this; +const Word = function (blaver) { + const self = this; /** * Returns an adjective of random or optionally specified length. * If specified length is unresolvable, returns random adjective. @@ -12,7 +12,7 @@ var Word = function (blaver) { * @returns {string} a random adjective */ self.adjective = function (length) { - var wordList = blaver.definitions.word.adjective; + let wordList = blaver.definitions.word.adjective; if (length !== undefined) { length = parseInt(length); wordList = blaver.definitions.word.adjective.filter(function (word) { @@ -35,7 +35,7 @@ var Word = function (blaver) { * @returns {string} random adverb */ self.adverb = function (length) { - var wordList = blaver.definitions.word.adverb; + let wordList = blaver.definitions.word.adverb; if (length !== undefined) { length = parseInt(length); wordList = blaver.definitions.word.adverb.filter(function (word) { @@ -58,7 +58,7 @@ var Word = function (blaver) { * @returns {string} random conjunction */ self.conjunction = function (length) { - var wordList = blaver.definitions.word.conjunction; + let wordList = blaver.definitions.word.conjunction; if (length !== undefined) { length = parseInt(length); wordList = blaver.definitions.word.conjunction.filter(function ( @@ -83,7 +83,7 @@ var Word = function (blaver) { * @returns {string} random interjection */ self.interjection = function (length) { - var wordList = blaver.definitions.word.interjection; + let wordList = blaver.definitions.word.interjection; if (length !== undefined) { length = parseInt(length); wordList = blaver.definitions.word.interjection.filter(function ( @@ -108,7 +108,7 @@ var Word = function (blaver) { * @returns {string} random noun */ self.noun = function (length) { - var wordList = blaver.definitions.word.noun; + let wordList = blaver.definitions.word.noun; if (length !== undefined) { length = parseInt(length); wordList = blaver.definitions.word.noun.filter(function (word) { @@ -131,7 +131,7 @@ var Word = function (blaver) { * @returns {string} random preposition */ self.preposition = function (length) { - var wordList = blaver.definitions.word.preposition; + let wordList = blaver.definitions.word.preposition; if (length !== undefined) { length = parseInt(length); wordList = blaver.definitions.word.preposition.filter(function ( @@ -156,7 +156,7 @@ var Word = function (blaver) { * @returns {string} random verb */ self.verb = function (length) { - var wordList = blaver.definitions.word.verb; + let wordList = blaver.definitions.word.verb; if (length !== undefined) { length = parseInt(length); wordList = blaver.definitions.word.verb.filter(function (word) { diff --git a/test/address.unit.js b/test/address.unit.js index 3623a1d5..5378cff5 100644 --- a/test/address.unit.js +++ b/test/address.unit.js @@ -64,7 +64,6 @@ describe("address.js", function () { }); }); - describe("streetName()", function () { beforeEach(function () { sinon.spy(blaver.name, 'firstName'); @@ -112,8 +111,6 @@ describe("address.js", function () { }); }); - - describe("streetAddress()", function () { var errorExpectDigits = function(expected){ @@ -176,7 +173,6 @@ describe("address.js", function () { }); }); - describe("secondaryAddress()", function () { it("randomly chooses an Apt or Suite number", function () { sinon.spy(blaver.random, 'arrayElement'); From b9098a5e03bbbd2f94fb0709a9787c0881d87874 Mon Sep 17 00:00:00 2001 From: angus Date: Fri, 7 Jan 2022 21:43:36 +0000 Subject: [PATCH 02/11] Convert var into const and let on test files --- .eslintrc | 2 + test/address.unit.js | 182 ++++---- test/all.functional.js | 13 +- test/animal.unit.js | 3 +- test/commerce.unit.js | 42 +- test/company.unit.js | 18 +- test/database.unit.js | 16 +- test/datatype.unit.js | 117 +++--- test/date.unit.js | 85 ++-- test/fake.unit.js | 12 +- test/finance.unit.js | 151 ++++--- test/finance_iban.unit.js | 38 +- test/git.unit.js | 4 +- test/helpers.unit.js | 78 ++-- test/image.unit.js | 79 ++-- test/internet.unit.js | 62 +-- test/locales.unit.js | 3 +- test/lorem.unit.js | 54 +-- test/music.unit.js | 2 +- test/name.unit.js | 56 +-- test/phone_number.unit.js | 14 +- test/random.unit.js | 38 +- test/run.js | 26 +- test/support/chai.js | 250 +++++------ test/support/function-helpers.js | 10 +- test/support/luhnCheck.js | 6 +- test/support/sinon-1.5.2.js | 684 +++++++++++++++---------------- test/support/walk_dir.js | 8 +- test/system.unit.js | 8 +- test/time.unit.js | 7 +- test/unique.unit.js | 14 +- test/vehicle.unit.js | 16 +- test/word.unit.js | 12 +- 33 files changed, 1049 insertions(+), 1061 deletions(-) diff --git a/.eslintrc b/.eslintrc index a60f318d..bd7eb89e 100644 --- a/.eslintrc +++ b/.eslintrc @@ -41,6 +41,8 @@ "no-ternary": 0, "no-plusplus": 0, "dot-notation": 0, + "no-unused-vars": 2, + "no-const-assign": 2, "indent": [ 2, 2, diff --git a/test/address.unit.js b/test/address.unit.js index 5378cff5..ded4deb0 100644 --- a/test/address.unit.js +++ b/test/address.unit.js @@ -24,7 +24,7 @@ describe("address.js", function () { it("occasionally returns prefix + first name + suffix", function () { sinon.stub(blaver.datatype, 'number').returns(0); - var city = blaver.address.city(); + const city = blaver.address.city(); assert.ok(city); assert.ok(blaver.address.cityPrefix.calledOnce); @@ -35,7 +35,7 @@ describe("address.js", function () { it("occasionally returns prefix + first name", function () { sinon.stub(blaver.datatype, 'number').returns(1); - var city = blaver.address.city(); + const city = blaver.address.city(); assert.ok(city); assert.ok(blaver.address.cityPrefix.calledOnce); @@ -45,7 +45,7 @@ describe("address.js", function () { it("occasionally returns first name + suffix", function () { sinon.stub(blaver.datatype, 'number').returns(2); - var city = blaver.address.city(); + const city = blaver.address.city(); assert.ok(city); assert.ok(blaver.address.citySuffix.calledOnce); @@ -54,7 +54,7 @@ describe("address.js", function () { it("occasionally returns last name + suffix", function () { sinon.stub(blaver.datatype, 'number').returns(3); - var city = blaver.address.city(); + const city = blaver.address.city(); assert.ok(city); assert.ok(!blaver.address.cityPrefix.called); @@ -80,7 +80,7 @@ describe("address.js", function () { it("occasionally returns last name + suffix", function () { sinon.stub(blaver.datatype, 'number').returns(0); - var street_name = blaver.address.streetName(); + const street_name = blaver.address.streetName(); assert.ok(street_name); assert.ok(!blaver.name.firstName.called); assert.ok(blaver.name.lastName.calledOnce); @@ -92,7 +92,7 @@ describe("address.js", function () { it("occasionally returns first name + suffix", function () { sinon.stub(blaver.datatype, 'number').returns(1); - var street_name = blaver.address.streetName(); + const street_name = blaver.address.streetName(); assert.ok(street_name); assert.ok(blaver.name.firstName.calledOnce); @@ -106,14 +106,14 @@ describe("address.js", function () { blaver.address.streetSuffix.restore(); sinon.stub(blaver.address, 'streetSuffix').returns("") - var street_name = blaver.address.streetName(); + const street_name = blaver.address.streetName(); assert.ok(!street_name.match(/ $/)); }); }); describe("streetAddress()", function () { - var errorExpectDigits = function(expected){ + const errorExpectDigits = function(expected){ return "The street number should be had " + expected + " digits" } @@ -129,9 +129,9 @@ describe("address.js", function () { it("occasionally returns a 5-digit street number", function () { sinon.stub(blaver.datatype, 'number').returns(0); - var address = blaver.address.streetAddress(); - var expected = 5 - var parts = address.split(' '); + const address = blaver.address.streetAddress(); + const expected = 5 + const parts = address.split(' '); assert.strictEqual(parts[0].length, expected, errorExpectDigits(expected)); assert.ok(blaver.address.streetName.called); @@ -141,9 +141,9 @@ describe("address.js", function () { it("occasionally returns a 4-digit street number", function () { sinon.stub(blaver.datatype, 'number').returns(1); - var address = blaver.address.streetAddress(); - var parts = address.split(' '); - var expected = 4 + const address = blaver.address.streetAddress(); + const parts = address.split(' '); + const expected = 4 assert.strictEqual(parts[0].length, expected, errorExpectDigits(expected)); assert.ok(blaver.address.streetName.called); @@ -153,9 +153,9 @@ describe("address.js", function () { it("occasionally returns a 3-digit street number", function () { sinon.stub(blaver.datatype, 'number').returns(2); - var address = blaver.address.streetAddress(); - var parts = address.split(' '); - var expected = 3 + const address = blaver.address.streetAddress(); + const parts = address.split(' '); + const expected = 3 assert.strictEqual(parts[0].length, expected, errorExpectDigits(expected)); assert.ok(blaver.address.streetName.called); @@ -177,9 +177,9 @@ describe("address.js", function () { it("randomly chooses an Apt or Suite number", function () { sinon.spy(blaver.random, 'arrayElement'); - var address = blaver.address.secondaryAddress(); + const address = blaver.address.secondaryAddress(); - var expected_array = [ + const expected_array = [ 'Apt. ###', 'Suite ###' ]; @@ -193,7 +193,7 @@ describe("address.js", function () { describe("county()", function () { it("returns random county", function () { sinon.spy(blaver.address, 'county'); - var county = blaver.address.county(); + const county = blaver.address.county(); assert.ok(county); assert.ok(blaver.address.county.called); blaver.address.county.restore(); @@ -203,7 +203,7 @@ describe("address.js", function () { describe("country()", function () { it("returns random country", function () { sinon.spy(blaver.address, 'country'); - var country = blaver.address.country(); + const country = blaver.address.country(); assert.ok(country); assert.ok(blaver.address.country.called); blaver.address.country.restore(); @@ -214,7 +214,7 @@ describe("address.js", function () { it("returns random countryCode", function () { sinon.spy(blaver.address, 'countryCode'); - var countryCode = blaver.address.countryCode(); + const countryCode = blaver.address.countryCode(); assert.ok(countryCode); assert.ok(blaver.address.countryCode.called); blaver.address.countryCode.restore(); @@ -222,7 +222,7 @@ describe("address.js", function () { it("returns random alpha-3 countryCode", function () { sinon.spy(blaver.address, 'countryCode'); - var countryCode = blaver.address.countryCode("alpha-3"); + const countryCode = blaver.address.countryCode("alpha-3"); assert.ok(countryCode); assert.ok(blaver.address.countryCode.called); assert.strictEqual(countryCode.length, 3, "The countryCode should be had 3 characters"); @@ -234,7 +234,7 @@ describe("address.js", function () { describe("state()", function () { it("returns random state", function () { sinon.spy(blaver.address, 'state'); - var state = blaver.address.state(); + const state = blaver.address.state(); assert.ok(state); assert.ok(blaver.address.state.called); blaver.address.state.restore(); @@ -244,14 +244,14 @@ describe("address.js", function () { describe("zipCode()", function () { it("returns random zipCode", function () { sinon.spy(blaver.address, 'zipCode'); - var zipCode = blaver.address.zipCode(); + const zipCode = blaver.address.zipCode(); assert.ok(zipCode); assert.ok(blaver.address.zipCode.called); blaver.address.zipCode.restore(); }); it("returns random zipCode - user specified format", function () { - var zipCode = blaver.address.zipCode("?#? #?#"); + let zipCode = blaver.address.zipCode("?#? #?#"); assert.ok(zipCode.match(/^[A-Za-z]\d[A-Za-z]\s\d[A-Za-z]\d$/)); // try another format zipCode = blaver.address.zipCode("###-###"); @@ -261,7 +261,7 @@ describe("address.js", function () { it("returns zipCode with proper locale format", function () { // we'll use the en_CA locale.. blaver.locale = "en_CA"; - var zipCode = blaver.address.zipCode(); + const zipCode = blaver.address.zipCode(); assert.ok(zipCode.match(/^[A-Za-z]\d[A-Za-z]\s?\d[A-Za-z]\d$/)); }); }); @@ -269,21 +269,21 @@ describe("address.js", function () { describe("zipCodeByState()", function () { it("returns zipCode valid for specified State", function () { blaver.locale = "en_US"; - var states = ["IL", "GA", "WA"]; + const states = ["IL", "GA", "WA"]; - var zipCode1 = blaver.address.zipCodeByState(states[0]); + const zipCode1 = blaver.address.zipCodeByState(states[0]); assert.ok(zipCode1 >= 60001); assert.ok(zipCode1 <= 62999); - var zipCode2 = blaver.address.zipCodeByState(states[1]); + const zipCode2 = blaver.address.zipCodeByState(states[1]); assert.ok(zipCode2 >= 30001); assert.ok(zipCode2 <= 31999); - var zipCode3 = blaver.address.zipCodeByState(states[2]); + const zipCode3 = blaver.address.zipCodeByState(states[2]); assert.ok(zipCode3 >= 98001); assert.ok(zipCode3 <= 99403); }); it("returns undefined if state is invalid", function () { - var state = "XX"; + const state = "XX"; sinon.spy(blaver.address, 'zipCode'); blaver.address.zipCodeByState(state); assert.ok(blaver.address.zipCode.called); @@ -292,7 +292,7 @@ describe("address.js", function () { it("returns undefined if state is valid but localeis invalid", function () { blaver.locale = "zh_CN"; - var state = "IL"; + const state = "IL"; sinon.spy(blaver.address, 'zipCode'); blaver.address.zipCodeByState(state); assert.ok(blaver.address.zipCode.called); @@ -302,11 +302,11 @@ describe("address.js", function () { describe("latitude()", function () { it("returns random latitude", function () { - for (var i = 0; i < 100; i++) { + for (let i = 0; i < 100; i++) { sinon.spy(blaver.datatype, 'number'); - var latitude = blaver.address.latitude(); + const latitude = blaver.address.latitude(); assert.ok(typeof latitude === 'string'); - var latitude_float = parseFloat(latitude); + const latitude_float = parseFloat(latitude); assert.ok(latitude_float >= -90.0); assert.ok(latitude_float <= 90.0); assert.ok(blaver.datatype.number.called); @@ -315,12 +315,12 @@ describe("address.js", function () { }); it("returns latitude with min and max and default precision", function () { - for (var i = 0; i < 100; i++) { + for (let i = 0; i < 100; i++) { sinon.spy(blaver.datatype, 'number'); - var latitude = blaver.address.latitude(-5, 5); + const latitude = blaver.address.latitude(-5, 5); assert.ok(typeof latitude === 'string'); assert.strictEqual(latitude.split('.')[1].length, 4, "The precision of latitude should be had of 4 digits"); - var latitude_float = parseFloat(latitude); + const latitude_float = parseFloat(latitude); assert.ok(latitude_float >= -5); assert.ok(latitude_float <= 5); assert.ok(blaver.datatype.number.called); @@ -329,12 +329,12 @@ describe("address.js", function () { }); it("returns random latitude with custom precision", function () { - for (var i = 0; i < 100; i++) { + for (let i = 0; i < 100; i++) { sinon.spy(blaver.datatype, 'number'); - var latitude = blaver.address.latitude(undefined, undefined, 7); + const latitude = blaver.address.latitude(undefined, undefined, 7); assert.ok(typeof latitude === 'string'); assert.strictEqual(latitude.split('.')[1].length, 7, "The precision of latitude should be had of 7 digits"); - var latitude_float = parseFloat(latitude); + const latitude_float = parseFloat(latitude); assert.ok(latitude_float >= -180); assert.ok(latitude_float <= 180); assert.ok(blaver.datatype.number.called); @@ -345,11 +345,11 @@ describe("address.js", function () { describe("longitude()", function () { it("returns random longitude", function () { - for (var i = 0; i < 100; i++) { + for (let i = 0; i < 100; i++) { sinon.spy(blaver.datatype, 'number'); - var longitude = blaver.address.longitude(); + const longitude = blaver.address.longitude(); assert.ok(typeof longitude === 'string'); - var longitude_float = parseFloat(longitude); + const longitude_float = parseFloat(longitude); assert.ok(longitude_float >= -180.0); assert.ok(longitude_float <= 180.0); assert.ok(blaver.datatype.number.called); @@ -358,12 +358,12 @@ describe("address.js", function () { }); it("returns random longitude with min and max and default precision", function () { - for (var i = 0; i < 100; i++) { + for (let i = 0; i < 100; i++) { sinon.spy(blaver.datatype, 'number'); - var longitude = blaver.address.longitude(100, -30); + const longitude = blaver.address.longitude(100, -30); assert.ok(typeof longitude === 'string'); assert.strictEqual(longitude.split('.')[1].length, 4, "The precision of longitude should be had of 4 digits"); - var longitude_float = parseFloat(longitude); + const longitude_float = parseFloat(longitude); assert.ok(longitude_float >= -30); assert.ok(longitude_float <= 100); assert.ok(blaver.datatype.number.called); @@ -372,12 +372,12 @@ describe("address.js", function () { }); it("returns random longitude with custom precision", function () { - for (var i = 0; i < 100; i++) { + for (let i = 0; i < 100; i++) { sinon.spy(blaver.datatype, 'number'); - var longitude = blaver.address.longitude(undefined, undefined, 7); + const longitude = blaver.address.longitude(undefined, undefined, 7); assert.ok(typeof longitude === 'string'); assert.strictEqual(longitude.split('.')[1].length, 7, "The precision of longitude should be had of 7 digits"); - var longitude_float = parseFloat(longitude); + const longitude_float = parseFloat(longitude); assert.ok(longitude_float >= -180); assert.ok(longitude_float <= 180); assert.ok(blaver.datatype.number.called); @@ -389,8 +389,8 @@ describe("address.js", function () { describe("direction()", function () { it("returns random direction", function () { sinon.stub(blaver.address, 'direction').returns('North'); - var direction = blaver.address.direction(); - var expected = 'North'; + const direction = blaver.address.direction(); + const expected = 'North'; assert.strictEqual(direction, expected, "The random direction should be equals " + expected); blaver.address.direction.restore(); @@ -398,25 +398,25 @@ describe("address.js", function () { it("returns abbreviation when useAbbr is false", function () { sinon.stub(blaver.address, 'direction').returns('N'); - var direction = blaver.address.direction(false); - var expected = 'N'; + const direction = blaver.address.direction(false); + const expected = 'N'; assert.strictEqual(direction, expected, "The abbreviation of direction when useAbbr is false should be equals " + expected+ ". Current is " + direction); blaver.address.direction.restore(); }) it("returns abbreviation when useAbbr is true", function () { - var direction = blaver.address.direction(true); - var expectedType = 'string'; - var lengthDirection = direction.length - var prefixErrorMessage = "The abbreviation of direction when useAbbr is true should" + const direction = blaver.address.direction(true); + const expectedType = 'string'; + const lengthDirection = direction.length + const prefixErrorMessage = "The abbreviation of direction when useAbbr is true should" assert.strictEqual(typeof direction, expectedType, prefixErrorMessage + " be typeof string. Current is" + typeof direction); assert.strictEqual(lengthDirection <= 2, true, prefixErrorMessage + " have a length less or equals 2. Current is " + lengthDirection); }) it("returns abbreviation when useAbbr is true", function () { sinon.stub(blaver.address, 'direction').returns('N'); - var direction = blaver.address.direction(true); - var expected = 'N'; + const direction = blaver.address.direction(true); + const expected = 'N'; assert.strictEqual(direction, expected, "The abbreviation of direction when useAbbr is true should be equals " + expected + ". Current is " + direction); blaver.address.direction.restore(); }) @@ -426,8 +426,8 @@ describe("address.js", function () { describe("ordinalDirection()", function () { it("returns random ordinal direction", function () { sinon.stub(blaver.address, 'ordinalDirection').returns('West'); - var ordinalDirection = blaver.address.ordinalDirection(); - var expected = 'West'; + const ordinalDirection = blaver.address.ordinalDirection(); + const expected = 'West'; assert.strictEqual(ordinalDirection, expected, "The ransom ordinal direction should be equals " + expected + ". Current is " + ordinalDirection); blaver.address.ordinalDirection.restore(); @@ -435,18 +435,18 @@ describe("address.js", function () { it("returns abbreviation when useAbbr is true", function () { sinon.stub(blaver.address, 'ordinalDirection').returns('W'); - var ordinalDirection = blaver.address.ordinalDirection(true); - var expected = 'W'; + const ordinalDirection = blaver.address.ordinalDirection(true); + const expected = 'W'; assert.strictEqual(ordinalDirection, expected, "The ordinal direction when useAbbr is true should be equals " + expected + ". Current is " + ordinalDirection); blaver.address.ordinalDirection.restore(); }) it("returns abbreviation when useAbbr is true", function () { - var ordinalDirection = blaver.address.ordinalDirection(true); - var expectedType = 'string'; - var ordinalDirectionLength = ordinalDirection.length; - var prefixErrorMessage = "The ordinal direction when useAbbr is true should" + const ordinalDirection = blaver.address.ordinalDirection(true); + const expectedType = 'string'; + const ordinalDirectionLength = ordinalDirection.length; + const prefixErrorMessage = "The ordinal direction when useAbbr is true should" assert.strictEqual(typeof ordinalDirection, expectedType, prefixErrorMessage + " be had typeof equals " + expectedType + ".Current is " + typeof ordinalDirection); assert.strictEqual(ordinalDirectionLength <= 2, true, prefixErrorMessage + " have a length less or equals 2. Current is " + ordinalDirectionLength); @@ -458,8 +458,8 @@ describe("address.js", function () { describe("cardinalDirection()", function () { it("returns random cardinal direction", function () { sinon.stub(blaver.address, 'cardinalDirection').returns('Northwest'); - var cardinalDirection = blaver.address.cardinalDirection(); - var expected = 'Northwest'; + const cardinalDirection = blaver.address.cardinalDirection(); + const expected = 'Northwest'; assert.strictEqual(cardinalDirection, expected, "The random cardinal direction should be equals " + expected + ". Current is " + cardinalDirection); blaver.address.cardinalDirection.restore(); @@ -467,18 +467,18 @@ describe("address.js", function () { it("returns abbreviation when useAbbr is true", function () { sinon.stub(blaver.address, 'cardinalDirection').returns('NW'); - var cardinalDirection = blaver.address.cardinalDirection(true); - var expected = 'NW'; + const cardinalDirection = blaver.address.cardinalDirection(true); + const expected = 'NW'; assert.strictEqual(cardinalDirection, expected, "The cardinal direction when useAbbr is true should be equals " + expected + ". Current is " + cardinalDirection); blaver.address.cardinalDirection.restore(); }) it("returns abbreviation when useAbbr is true", function () { - var cardinalDirection = blaver.address.cardinalDirection(true); - var expectedType = 'string'; - var cardinalDirectionLength = cardinalDirection.length; - var prefixErrorMessage = "The cardinal direction when useAbbr is true should" + const cardinalDirection = blaver.address.cardinalDirection(true); + const expectedType = 'string'; + const cardinalDirectionLength = cardinalDirection.length; + const prefixErrorMessage = "The cardinal direction when useAbbr is true should" assert.strictEqual(typeof cardinalDirection, expectedType, prefixErrorMessage + " be had typeof equals " + expectedType + ".Current is " + typeof ordinalDirection); assert.strictEqual(cardinalDirectionLength <= 2, true, prefixErrorMessage + " have a length less or equals 2. Current is " + cardinalDirectionLength); @@ -495,45 +495,45 @@ describe("address.js", function () { function kilometersToMiles(miles) { return miles * 0.621371; } - var R = 6378.137; - var dLat = degreesToRadians(lat2-lat1); - var dLon = degreesToRadians(lon2-lon1); - var a = Math.sin(dLat/2) * Math.sin(dLat/2) + const R = 6378.137; + const dLat = degreesToRadians(lat2-lat1); + const dLon = degreesToRadians(lon2-lon1); + const a = Math.sin(dLat/2) * Math.sin(dLat/2) + Math.cos(degreesToRadians(lat1)) * Math.cos(degreesToRadians(lat2)) * Math.sin(dLon/2) * Math.sin(dLon/2); - var distance = R * 2 * Math.atan2(Math.sqrt(a), Math.sqrt(1-a)); + const distance = R * 2 * Math.atan2(Math.sqrt(a), Math.sqrt(1-a)); return isMetric ? distance : kilometersToMiles(distance); } - for (var i = 0; i < 10000; i++) { + for (let i = 0; i < 10000; i++) { var latFloat1 = parseFloat(blaver.address.latitude()); var lonFloat1 = parseFloat(blaver.address.longitude()); - var radius = (Math.random() * 99) + 1; // range of [1, 100) var isMetric = (Math.round(Math.random()) == 1); + const radius = (Math.random() * 99) + 1; // range of [1, 100) - var coordinate = blaver.address.nearbyGPSCoordinate([latFloat1, lonFloat1], radius, isMetric); + const coordinate = blaver.address.nearbyGPSCoordinate([latFloat1, lonFloat1], radius, isMetric); assert.ok(coordinate.length === 2); assert.ok(typeof coordinate[0] === 'string'); assert.ok(typeof coordinate[1] === 'string'); - var latFloat2 = parseFloat(coordinate[0]); + const latFloat2 = parseFloat(coordinate[0]); assert.ok(latFloat2 >= -90.0); assert.ok(latFloat2 <= 90.0); - var lonFloat2 = parseFloat(coordinate[1]); + const lonFloat2 = parseFloat(coordinate[1]); assert.ok(lonFloat2 >= -180.0); assert.ok(lonFloat2 <= 180.0); // Due to floating point math, and constants that are not extremely precise, // returned points will not be strictly within the given radius of the input // coordinate. Using a error of 1.0 to compensate. - var error = 1.0; - var actualDistance = haversine(latFloat1, lonFloat1, latFloat2, lonFloat2, isMetric); + const error = 1.0; + const actualDistance = haversine(latFloat1, lonFloat1, latFloat2, lonFloat2, isMetric); assert.ok(actualDistance <= (radius + error)); } // test once with undefined radius - var coordinate = blaver.address.nearbyGPSCoordinate([latFloat1, lonFloat1], undefined, isMetric); + const coordinate = blaver.address.nearbyGPSCoordinate([latFloat1, lonFloat1], undefined, isMetric); assert.ok(coordinate.length === 2); assert.ok(typeof coordinate[0] === 'string'); assert.ok(typeof coordinate[1] === 'string'); @@ -544,7 +544,7 @@ describe("address.js", function () { describe("timeZone()", function () { it("returns random timeZone", function () { sinon.spy(blaver.address, 'timeZone'); - var timeZone = blaver.address.timeZone(); + const timeZone = blaver.address.timeZone(); assert.ok(timeZone); assert.ok(blaver.address.timeZone.called); blaver.address.timeZone.restore(); diff --git a/test/all.functional.js b/test/all.functional.js index a95eadd3..4fa15d73 100644 --- a/test/all.functional.js +++ b/test/all.functional.js @@ -1,21 +1,20 @@ if (typeof module !== 'undefined') { var assert = require('assert'); - var sinon = require('sinon'); var blaver = require('../index'); } -var functionalHelpers = require('./support/function-helpers.js'); +const functionalHelpers = require('./support/function-helpers.js'); -var modules = functionalHelpers.modulesList(); +const modules = functionalHelpers.modulesList(); describe("functional tests", function () { - for(var locale in blaver.locales) { + for(const locale in blaver.locales) { blaver.locale = locale; Object.keys(modules).forEach(function (module) { describe(module, function () { modules[module].forEach(function (meth) { it(meth + "()", function () { - var result = blaver[module][meth](); + const result = blaver[module][meth](); if (meth === 'boolean') { assert.ok(result === true || result === false); } else { @@ -29,14 +28,14 @@ describe("functional tests", function () { }); describe("blaver.fake functional tests", function () { - for(var locale in blaver.locales) { + for(const locale in blaver.locales) { blaver.locale = locale; blaver.seed(1); Object.keys(modules).forEach(function (module) { describe(module, function () { modules[module].forEach(function (meth) { it(meth + "()", function () { - var result = blaver.fake('{{' + module + '.' + meth + '}}'); + const result = blaver.fake('{{' + module + '.' + meth + '}}'); // just make sure any result is returned // an undefined result usually means an error assert.ok(typeof result !== 'undefined'); diff --git a/test/animal.unit.js b/test/animal.unit.js index a9d58c9a..cddd108a 100644 --- a/test/animal.unit.js +++ b/test/animal.unit.js @@ -1,6 +1,5 @@ if (typeof module !== 'undefined') { var assert = require('assert'); - var sinon = require('sinon'); var blaver = require('../index'); } @@ -8,7 +7,7 @@ describe("animal.js", function() { describe("dog()", function() { it("returns random value from dog array", function() { - var dog = blaver.animal.dog(); + const dog = blaver.animal.dog(); assert.ok(blaver.definitions.animal.dog.indexOf(dog) !== -1); }); }); diff --git a/test/commerce.unit.js b/test/commerce.unit.js index 76032ac5..fc0a76c0 100644 --- a/test/commerce.unit.js +++ b/test/commerce.unit.js @@ -1,14 +1,14 @@ if (typeof module !== 'undefined') { - var assert = require('assert'), - sinon = require('sinon'), - blaver = require('../index'); + var assert = require('assert'); + var sinon = require('sinon'); + var blaver = require('../index'); } describe("commerce.js", function() { describe("color()", function() { it("returns random value from commerce.color array", function() { - var color = blaver.commerce.color(); + const color = blaver.commerce.color(); assert.ok(blaver.definitions.commerce.color.indexOf(color) !== -1); }); }); @@ -16,7 +16,7 @@ describe("commerce.js", function() { describe("department(max, fixedValue)", function() { it("should use the default amounts when not passing arguments", function() { - var department = blaver.commerce.department(); + const department = blaver.commerce.department(); assert.ok(department.split(" ").length === 1); }); @@ -25,7 +25,7 @@ describe("commerce.js", function() { it("should return only one value if we specify a maximum of one", function() { sinon.spy(blaver.random, 'arrayElement'); - var department = blaver.commerce.department(1); + const department = blaver.commerce.department(1); assert.strictEqual(department.split(" ").length, 1); assert.ok(blaver.random.arrayElement.calledOnce); @@ -36,7 +36,7 @@ describe("commerce.js", function() { it("should return the maximum value if we specify the fixed value", function() { sinon.spy(blaver.random, 'arrayElement'); - var department = blaver.commerce.department(5, true); + const department = blaver.commerce.department(5, true); console.log(department); @@ -57,7 +57,7 @@ describe("commerce.js", function() { sinon.spy(blaver.commerce, 'productAdjective'); sinon.spy(blaver.commerce, 'productMaterial'); sinon.spy(blaver.commerce, 'product'); - var name = blaver.commerce.productName(); + const name = blaver.commerce.productName(); assert.ok(name.split(' ').length >= 3); assert.ok(blaver.random.arrayElement.calledThrice); @@ -74,7 +74,7 @@ describe("commerce.js", function() { describe("price(min, max, dec, symbol)", function() { it("should use the default amounts when not passing arguments", function() { - var price = blaver.commerce.price(); + const price = blaver.commerce.price(); assert.ok(price); assert.strictEqual((price > 0), true, "the amount should be greater than 0"); @@ -82,30 +82,30 @@ describe("commerce.js", function() { }); it("should use the default decimal location when not passing arguments", function() { - var price = blaver.commerce.price(); + const price = blaver.commerce.price(); - var decimal = "."; - var expected = price.length - 3; - var actual = price.indexOf(decimal); + const decimal = "."; + const expected = price.length - 3; + const actual = price.indexOf(decimal); assert.strictEqual(actual, expected, "The expected location of the decimal is " + expected + " but it was " + actual + " amount " + price); }); it("should not include a currency symbol by default", function () { - var amount = blaver.commerce.price(); + const amount = blaver.commerce.price(); - var regexp = new RegExp(/[0-9.]/); + const regexp = new RegExp(/[0-9.]/); - var expected = true; - var actual = regexp.test(amount); + const expected = true; + const actual = regexp.test(amount); assert.strictEqual(actual, expected, 'The expected match should not include a currency symbol'); }); it("it should handle negative amounts, but return 0", function () { - var amount = blaver.commerce.price(-200, -1); + const amount = blaver.commerce.price(-200, -1); assert.ok(amount); assert.strictEqual((amount == 0.00), true, "the amount should equal 0"); @@ -113,7 +113,7 @@ describe("commerce.js", function() { it("it should handle argument dec", function () { - var price = blaver.commerce.price(100, 100, 1); + const price = blaver.commerce.price(100, 100, 1); assert.ok(price); assert.strictEqual(price , '100.0', "the price should be equal 100.0"); @@ -121,7 +121,7 @@ describe("commerce.js", function() { it("it should handle argument dec = 0", function () { - var price = blaver.commerce.price(100, 100, 0); + const price = blaver.commerce.price(100, 100, 0); assert.ok(price); assert.strictEqual(price , '100', "the price should be equal 100"); @@ -132,7 +132,7 @@ describe("commerce.js", function() { describe("productDescription()", function() { it("returns a random product description", function() { sinon.spy(blaver.commerce, 'productDescription'); - var description = blaver.commerce.productDescription(); + const description = blaver.commerce.productDescription(); assert.ok(typeof description === 'string'); assert.ok(blaver.commerce.productDescription.calledOnce); diff --git a/test/company.unit.js b/test/company.unit.js index b262aff4..93a5bb1f 100644 --- a/test/company.unit.js +++ b/test/company.unit.js @@ -10,8 +10,8 @@ describe("company.js", function () { it("sometimes returns three last names", function () { sinon.spy(blaver.name, 'lastName'); sinon.stub(blaver.datatype, 'number').returns(2); - var name = blaver.company.companyName(); - var parts = name.split(' '); + const name = blaver.company.companyName(); + const parts = name.split(' '); assert.strictEqual(parts.length, 4); // account for word 'and' assert.ok(blaver.name.lastName.calledThrice); @@ -23,8 +23,8 @@ describe("company.js", function () { it("sometimes returns two last names separated by a hyphen", function () { sinon.spy(blaver.name, 'lastName'); sinon.stub(blaver.datatype, 'number').returns(1); - var name = blaver.company.companyName(); - var parts = name.split('-'); + const name = blaver.company.companyName(); + const parts = name.split('-'); assert.ok(parts.length >= 2); assert.ok(blaver.name.lastName.calledTwice); @@ -37,8 +37,8 @@ describe("company.js", function () { sinon.spy(blaver.company, 'companySuffix'); sinon.spy(blaver.name, 'lastName'); sinon.stub(blaver.datatype, 'number').returns(0); - var name = blaver.company.companyName(); - var parts = name.split(' '); + const name = blaver.company.companyName(); + const parts = name.split(' '); assert.ok(parts.length >= 2); assert.ok(blaver.name.lastName.calledOnce); @@ -52,7 +52,7 @@ describe("company.js", function () { describe("companySuffix()", function () { it("returns random value from company.suffixes array", function () { - var suffix = blaver.company.companySuffix(); + const suffix = blaver.company.companySuffix(); assert.ok(blaver.company.suffixes().indexOf(suffix) !== -1); }); }); @@ -63,7 +63,7 @@ describe("company.js", function () { sinon.spy(blaver.company, 'catchPhraseAdjective'); sinon.spy(blaver.company, 'catchPhraseDescriptor'); sinon.spy(blaver.company, 'catchPhraseNoun'); - var phrase = blaver.company.catchPhrase(); + const phrase = blaver.company.catchPhrase(); assert.ok(phrase.split(' ').length >= 3); assert.ok(blaver.random.arrayElement.calledThrice); @@ -84,7 +84,7 @@ describe("company.js", function () { sinon.spy(blaver.company, 'bsBuzz'); sinon.spy(blaver.company, 'bsAdjective'); sinon.spy(blaver.company, 'bsNoun'); - var bs = blaver.company.bs(); + const bs = blaver.company.bs(); assert.ok(typeof bs === 'string'); assert.ok(blaver.random.arrayElement.calledThrice); diff --git a/test/database.unit.js b/test/database.unit.js index 143461e8..de1695b7 100644 --- a/test/database.unit.js +++ b/test/database.unit.js @@ -8,8 +8,8 @@ describe("database.js", function () { describe("column()", function () { it("returns a column name", function () { sinon.stub(blaver.database, 'column').returns('title'); - var column = blaver.database.column(); - var expected = 'title'; + const column = blaver.database.column(); + const expected = 'title'; assert.strictEqual(column, expected, "The column name should be equals " + expected + ". Current is " + column); blaver.database.column.restore(); @@ -19,8 +19,8 @@ describe("database.js", function () { describe("collation()", function () { it("returns a collation", function () { sinon.stub(blaver.database, 'collation').returns('utf8_bin'); - var collation = blaver.database.collation(); - var expected = 'utf8_bin'; + const collation = blaver.database.collation(); + const expected = 'utf8_bin'; assert.strictEqual(collation, expected, "The collation should be equals " + expected + ". Current is " + collation); blaver.database.collation.restore(); @@ -30,8 +30,8 @@ describe("database.js", function () { describe("engine()", function () { it("returns an engine", function () { sinon.stub(blaver.database, 'engine').returns('InnoDB'); - var engine = blaver.database.engine(); - var expected = 'InnoDB'; + const engine = blaver.database.engine(); + const expected = 'InnoDB'; assert.strictEqual(engine, expected, "The db engine should be equals " + expected + ". Current is " + engine); blaver.database.engine.restore(); @@ -41,8 +41,8 @@ describe("database.js", function () { describe("type()", function () { it("returns a column type", function () { sinon.stub(blaver.database, 'type').returns('int'); - var type = blaver.database.type(); - var expected = 'int'; + const type = blaver.database.type(); + const expected = 'int'; assert.strictEqual(type, expected, "The column type should be equals " + expected + ". Current is " + type); blaver.database.type.restore(); diff --git a/test/datatype.unit.js b/test/datatype.unit.js index af80b96b..8c58e3a8 100644 --- a/test/datatype.unit.js +++ b/test/datatype.unit.js @@ -3,43 +3,42 @@ if (typeof module !== "undefined") { var sinon = require("sinon"); var _ = require("lodash"); var blaver = require("../index"); - var mersenne = require("../vendor/mersenne"); } describe("datatype.js", function () { describe("number", function () { it("returns a random number given a maximum value as Number", function () { - var max = 10; + const max = 10; assert.ok(blaver.datatype.number(max) <= max); }); it("returns a random number given a maximum value as Object", function () { - var options = { max: 10 }; + const options = { max: 10 }; assert.ok(blaver.datatype.number(options) <= options.max); }); it("returns a random number given a maximum value of 0", function () { - var options = { max: 0 }; + const options = { max: 0 }; assert.ok(blaver.datatype.number(options) === 0); }); it("returns a random number given a negative number minimum and maximum value of 0", function () { - var options = { min: -100, max: 0 }; + const options = { min: -100, max: 0 }; assert.ok(blaver.datatype.number(options) <= options.max); }); it("returns a random number between a range", function () { - var options = { min: 22, max: 33 }; - for (var i = 0; i < 100; i++) { - var randomNumber = blaver.datatype.number(options); + const options = { min: 22, max: 33 }; + for (let i = 0; i < 100; i++) { + const randomNumber = blaver.datatype.number(options); assert.ok(randomNumber >= options.min); assert.ok(randomNumber <= options.max); } }); it("provides numbers with a given precision", function () { - var options = { min: 0, max: 1.5, precision: 0.5 }; - var results = _.chain(_.range(50)) + const options = { min: 0, max: 1.5, precision: 0.5 }; + const results = _.chain(_.range(50)) .map(function () { return blaver.datatype.number(options); }) @@ -55,17 +54,17 @@ describe("datatype.js", function () { }); it("provides numbers with a with exact precision", function () { - var options = { min: 0.5, max: 0.99, precision: 0.01 }; - for (var i = 0; i < 100; i++) { - var number = blaver.datatype.number(options); + const options = { min: 0.5, max: 0.99, precision: 0.01 }; + for (let i = 0; i < 100; i++) { + const number = blaver.datatype.number(options); assert.strictEqual(number, Number(number.toFixed(2))); } }); it("should not modify the input object", function () { - var min = 1; - var max = 2; - var opts = { + const min = 1; + const max = 2; + const opts = { min: min, max: max, }; @@ -79,42 +78,42 @@ describe("datatype.js", function () { describe("float", function () { it("returns a random float with a default precision value (0.01)", function () { - var number = blaver.datatype.float(); + const number = blaver.datatype.float(); assert.strictEqual(number, Number(number.toFixed(2))); }); it("returns a random float given a precision value", function () { - var number = blaver.datatype.float(0.001); + const number = blaver.datatype.float(0.001); assert.strictEqual(number, Number(number.toFixed(3))); }); it("returns a random number given a maximum value as Object", function () { - var options = { max: 10 }; + const options = { max: 10 }; assert.ok(blaver.datatype.float(options) <= options.max); }); it("returns a random number given a maximum value of 0", function () { - var options = { max: 0 }; + const options = { max: 0 }; assert.ok(blaver.datatype.float(options) === 0); }); it("returns a random number given a negative number minimum and maximum value of 0", function () { - var options = { min: -100, max: 0 }; + const options = { min: -100, max: 0 }; assert.ok(blaver.datatype.float(options) <= options.max); }); it("returns a random number between a range", function () { - var options = { min: 22, max: 33 }; - for (var i = 0; i < 5; i++) { - var randomNumber = blaver.datatype.float(options); + const options = { min: 22, max: 33 }; + for (let i = 0; i < 5; i++) { + const randomNumber = blaver.datatype.float(options); assert.ok(randomNumber >= options.min); assert.ok(randomNumber <= options.max); } }); it("provides numbers with a given precision", function () { - var options = { min: 0, max: 1.5, precision: 0.5 }; - var results = _.chain(_.range(50)) + const options = { min: 0, max: 1.5, precision: 0.5 }; + const results = _.chain(_.range(50)) .map(function () { return blaver.datatype.float(options); }) @@ -130,17 +129,17 @@ describe("datatype.js", function () { }); it("provides numbers with a with exact precision", function () { - var options = { min: 0.5, max: 0.99, precision: 0.01 }; - for (var i = 0; i < 100; i++) { - var number = blaver.datatype.float(options); + const options = { min: 0.5, max: 0.99, precision: 0.01 }; + for (let i = 0; i < 100; i++) { + const number = blaver.datatype.float(options); assert.strictEqual(number, Number(number.toFixed(2))); } }); it("should not modify the input object", function () { - var min = 1; - var max = 2; - var opts = { + const min = 1; + const max = 2; + const opts = { min: min, max: max, }; @@ -154,15 +153,15 @@ describe("datatype.js", function () { describe("datetime", function () { it("check validity of date and if returned value is created by Date()", function () { - var date = blaver.datatype.datetime(); + const date = blaver.datatype.datetime(); assert.strictEqual(typeof date, "object"); assert.ok(!isNaN(date.getTime())); assert.strictEqual(Object.prototype.toString.call(date), "[object Date]"); }); it("basic test with stubbed value", function () { - var today = new Date(); + const today = new Date(); sinon.stub(blaver.datatype, "number").returns(today); - var date = blaver.datatype.datetime(); + const date = blaver.datatype.datetime(); assert.strictEqual(today.valueOf(), date.valueOf()); blaver.datatype.number.restore(); }); @@ -172,77 +171,77 @@ describe("datatype.js", function () { describe("string", function () { it("should generate a string value", function () { - var generateString = blaver.datatype.string(); + const generateString = blaver.datatype.string(); assert.strictEqual(typeof generateString, "string"); assert.strictEqual(generateString.length, 10); }); it("should generate a string value, checks seeding", function () { blaver.seed(100); - var generateString = blaver.datatype.string(); + const generateString = blaver.datatype.string(); assert.strictEqual(generateString, "S_:GHQo.!/"); }); it("returns empty string if negative length is passed", function () { - var negativeValue = blaver.datatype.number({ min: -1000, max: -1 }); - var generateString = blaver.datatype.string(negativeValue); + const negativeValue = blaver.datatype.number({ min: -1000, max: -1 }); + const generateString = blaver.datatype.string(negativeValue); assert.strictEqual(generateString, ""); assert.strictEqual(generateString.length, 0); }); it("returns string with length of 2^20 if bigger length value is passed", function () { - var overMaxValue = Math.pow(2, 28); - var generateString = blaver.datatype.string(overMaxValue); + const overMaxValue = Math.pow(2, 28); + const generateString = blaver.datatype.string(overMaxValue); assert.strictEqual(generateString.length, Math.pow(2, 20)); }); }); describe("boolean", function () { it("generates a boolean value", function () { - var bool = blaver.datatype.boolean(); + const bool = blaver.datatype.boolean(); assert.strictEqual(typeof bool, "boolean"); }); it("generates a boolean value, checks seeding", function () { blaver.seed(1); - var bool = blaver.datatype.boolean(); + const bool = blaver.datatype.boolean(); assert.strictEqual(bool, false); }); }); describe("UUID", function () { it("generates a valid UUID", function () { - var UUID = blaver.datatype.uuid(); - var RFC4122 = + const UUID = blaver.datatype.uuid(); + const RFC4122 = /^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/; assert.ok(RFC4122.test(UUID)); }); }); describe("hexaDecimal", function () { - var hexaDecimal = blaver.datatype.hexaDecimal; + const hexaDecimal = blaver.datatype.hexaDecimal; it("generates single hex character when no additional argument was provided", function () { - var hex = hexaDecimal(); + const hex = hexaDecimal(); assert.ok(hex.match(/^(0x)[0-9a-f]{1}$/i)); }); it("generates a random hex string", function () { - var hex = hexaDecimal(5); + const hex = hexaDecimal(5); assert.ok(hex.match(/^(0x)[0-9a-f]+$/i)); }); }); describe("json", function () { it("generates a valid json object", function () { - var jsonObject = blaver.datatype.json(); + const jsonObject = blaver.datatype.json(); assert.strictEqual(typeof jsonObject, "string"); assert.ok(JSON.parse(jsonObject)); }); it("generates a valid json object, with seeding", function () { blaver.seed(10); - var jsonObject = blaver.datatype.json(); - var parsedObject = JSON.parse(jsonObject); + const jsonObject = blaver.datatype.json(); + const parsedObject = JSON.parse(jsonObject); assert.strictEqual(typeof jsonObject, "string"); assert.strictEqual(parsedObject.foo, '<"N[JfnOW5'); assert.strictEqual(parsedObject.bar, 19806); @@ -256,38 +255,38 @@ describe("datatype.js", function () { describe("array", function () { it("generates an array", function () { - var stubArray = [0, 1, 3, 4, 5, 6, 1, "a", "b", "c"]; + const stubArray = [0, 1, 3, 4, 5, 6, 1, "a", "b", "c"]; sinon.stub(blaver.datatype, "array").returns(stubArray); - var generatedArray = blaver.datatype.array(); + const generatedArray = blaver.datatype.array(); assert.strictEqual(generatedArray.length, stubArray.length); assert.strictEqual(stubArray, generatedArray); blaver.datatype.array.restore(); }); it("generates an array with passed size", function () { - var randomSize = blaver.datatype.number(); - var generatedArray = blaver.datatype.array(randomSize); + const randomSize = blaver.datatype.number(); + const generatedArray = blaver.datatype.array(randomSize); assert.strictEqual(generatedArray.length, randomSize); }); it("generates an array with 1 element, with seeding", function () { blaver.seed(10); - var generatedArray = blaver.datatype.array(1); + const generatedArray = blaver.datatype.array(1); assert.strictEqual(generatedArray[0], '<"N[JfnOW5'); }); }); describe("bigInt", function () { it("should generate a bigInt value", function () { - var generateBigInt = blaver.datatype.bigInt(); + const generateBigInt = blaver.datatype.bigInt(); assert.strictEqual(typeof generateBigInt, "bigint"); }); // it("Generate and compare two numbers of data type BigInt, with seeding", function () { // blaver.seed(123); - // var generateBigInt1 = blaver.datatype.bigInt(); + // const generateBigInt1 = blaver.datatype.bigInt(); // blaver.seed(123); - // var generateBigInt2 = blaver.datatype.bigInt(); + // const generateBigInt2 = blaver.datatype.bigInt(); // assert.strictEqual(generateBigInt1, generateBigInt2); // }); diff --git a/test/date.unit.js b/test/date.unit.js index de0756db..2624d70c 100644 --- a/test/date.unit.js +++ b/test/date.unit.js @@ -1,6 +1,5 @@ if (typeof module !== 'undefined') { var assert = require('assert'); - var sinon = require('sinon'); var blaver = require('../index'); } @@ -8,23 +7,23 @@ describe("date.js", function () { describe("past()", function () { it("returns a date N years into the past", function () { - var date = blaver.date.past(75); + const date = blaver.date.past(75); assert.ok(date < new Date()); }); it("returns a past date when N = 0", function () { - var refDate = new Date(); - var date = blaver.date.past(0, refDate.toJSON()); + const refDate = new Date(); + const date = blaver.date.past(0, refDate.toJSON()); assert.ok(date < refDate); // date should be before the date given }); it("returns a date N years before the date given", function () { - var refDate = new Date(2120, 11, 9, 10, 0, 0, 0); // set the date beyond the usual calculation (to make sure this is working correctly) + const refDate = new Date(2120, 11, 9, 10, 0, 0, 0); // set the date beyond the usual calculation (to make sure this is working correctly) - var date = blaver.date.past(75, refDate.toJSON()); + const date = blaver.date.past(75, refDate.toJSON()); assert.ok(date < refDate && date > new Date()); // date should be before date given but after the current time }); @@ -34,24 +33,24 @@ describe("date.js", function () { describe("future()", function () { it("returns a date N years into the future", function () { - var date = blaver.date.future(75); + const date = blaver.date.future(75); assert.ok(date > new Date()); }); it("returns a future date when N = 0", function () { - var refDate = new Date(); - var date = blaver.date.future(0, refDate.toJSON()); + const refDate = new Date(); + const date = blaver.date.future(0, refDate.toJSON()); assert.ok(date > refDate); // date should be after the date given }); it("returns a date N years after the date given", function () { - var refDate = new Date(1880, 11, 9, 10, 0, 0, 0); // set the date beyond the usual calculation (to make sure this is working correctly) + const refDate = new Date(1880, 11, 9, 10, 0, 0, 0); // set the date beyond the usual calculation (to make sure this is working correctly) - var date = blaver.date.future(75, refDate.toJSON()); + const date = blaver.date.future(75, refDate.toJSON()); assert.ok(date > refDate && date < new Date()); // date should be after the date given, but before the current time }); @@ -60,19 +59,19 @@ describe("date.js", function () { describe("recent()", function () { it("returns a date N days from the recent past", function () { - var date = blaver.date.recent(30); + const date = blaver.date.recent(30); assert.ok(date <= new Date()); }); it("returns a date N days from the recent past, starting from refDate", function () { - var days = 30; - var refDate = new Date(2120, 11, 9, 10, 0, 0, 0); // set the date beyond the usual calculation (to make sure this is working correctly) + const days = 30; + const refDate = new Date(2120, 11, 9, 10, 0, 0, 0); // set the date beyond the usual calculation (to make sure this is working correctly) - var date = blaver.date.recent(days, refDate); + const date = blaver.date.recent(days, refDate); - var lowerBound = new Date(refDate.getTime() - (days * 24 * 60 * 60 * 1000)); + const lowerBound = new Date(refDate.getTime() - (days * 24 * 60 * 60 * 1000)); assert.ok(lowerBound <= date, "`recent()` date should not be further back than `n` days ago"); assert.ok(date <= refDate, "`recent()` date should not be ahead of the starting date reference"); @@ -83,19 +82,19 @@ describe("date.js", function () { describe("soon()", function () { it("returns a date N days into the future", function () { - var date = blaver.date.soon(30); + const date = blaver.date.soon(30); assert.ok(date >= new Date()); }); it("returns a date N days from the recent future, starting from refDate", function () { - var days = 30; - var refDate = new Date(1880, 11, 9, 10, 0, 0, 0); // set the date beyond the usual calculation (to make sure this is working correctly) + const days = 30; + const refDate = new Date(1880, 11, 9, 10, 0, 0, 0); // set the date beyond the usual calculation (to make sure this is working correctly) - var date = blaver.date.soon(days, refDate); + const date = blaver.date.soon(days, refDate); - var upperBound = new Date(refDate.getTime() + (days * 24 * 60 * 60 * 1000)); + const upperBound = new Date(refDate.getTime() + (days * 24 * 60 * 60 * 1000)); assert.ok(date <= upperBound, "`soon()` date should not be further ahead than `n` days ago"); assert.ok(refDate <= date, "`soon()` date should not be behind the starting date reference"); @@ -106,10 +105,10 @@ describe("date.js", function () { describe("between()", function () { it("returns a random date between the dates given", function () { - var from = new Date(1990, 5, 7, 9, 11, 0, 0); - var to = new Date(2000, 6, 8, 10, 12, 0, 0); + const from = new Date(1990, 5, 7, 9, 11, 0, 0); + const to = new Date(2000, 6, 8, 10, 12, 0, 0); - var date = blaver.date.between(from, to); + const date = blaver.date.between(from, to); assert.ok(date > from && date < to); }); @@ -118,10 +117,10 @@ describe("date.js", function () { describe("betweens()", function () { it("returns an array of 3 dates ( by default ) of sorted randoms dates between the dates given", function () { - var from = new Date(1990, 5, 7, 9, 11, 0, 0); - var to = new Date(2000, 6, 8, 10, 12, 0, 0); + const from = new Date(1990, 5, 7, 9, 11, 0, 0); + const to = new Date(2000, 6, 8, 10, 12, 0, 0); - var dates = blaver.date.betweens(from, to ); + const dates = blaver.date.betweens(from, to ); assert.ok(dates[0] > from && dates[0] < to); assert.ok(dates[1] > dates[0] && dates[2] > dates[1]); @@ -130,40 +129,40 @@ describe("date.js", function () { describe("month()", function () { it("returns random value from date.month.wide array by default", function () { - var month = blaver.date.month(); + const month = blaver.date.month(); assert.ok(blaver.definitions.date.month.wide.indexOf(month) !== -1); }); it("returns random value from date.month.wide_context array for context option", function () { - var month = blaver.date.month({ context: true }); + const month = blaver.date.month({ context: true }); assert.ok(blaver.definitions.date.month.wide_context.indexOf(month) !== -1); }); it("returns random value from date.month.abbr array for abbr option", function () { - var month = blaver.date.month({ abbr: true }); + const month = blaver.date.month({ abbr: true }); assert.ok(blaver.definitions.date.month.abbr.indexOf(month) !== -1); }); it("returns random value from date.month.abbr_context array for abbr and context option", function () { - var month = blaver.date.month({ abbr: true, context: true }); + const month = blaver.date.month({ abbr: true, context: true }); assert.ok(blaver.definitions.date.month.abbr_context.indexOf(month) !== -1); }); it("returns random value from date.month.wide array for context option when date.month.wide_context array is missing", function () { - var backup_wide_context = blaver.definitions.date.month.wide_context; + const backup_wide_context = blaver.definitions.date.month.wide_context; blaver.definitions.date.month.wide_context = undefined; - var month = blaver.date.month({ context: true }); + const month = blaver.date.month({ context: true }); assert.ok(blaver.definitions.date.month.wide.indexOf(month) !== -1); blaver.definitions.date.month.wide_context = backup_wide_context; }); it("returns random value from date.month.abbr array for abbr and context option when date.month.abbr_context array is missing", function () { - var backup_abbr_context = blaver.definitions.date.month.abbr_context; + const backup_abbr_context = blaver.definitions.date.month.abbr_context; blaver.definitions.date.month.abbr_context = undefined; - var month = blaver.date.month({ abbr: true, context: true }); + const month = blaver.date.month({ abbr: true, context: true }); assert.ok(blaver.definitions.date.month.abbr.indexOf(month) !== -1); blaver.definitions.date.month.abbr_context = backup_abbr_context; @@ -172,40 +171,40 @@ describe("date.js", function () { describe("weekday()", function () { it("returns random value from date.weekday.wide array by default", function () { - var weekday = blaver.date.weekday(); + const weekday = blaver.date.weekday(); assert.ok(blaver.definitions.date.weekday.wide.indexOf(weekday) !== -1); }); it("returns random value from date.weekday.wide_context array for context option", function () { - var weekday = blaver.date.weekday({ context: true }); + const weekday = blaver.date.weekday({ context: true }); assert.ok(blaver.definitions.date.weekday.wide_context.indexOf(weekday) !== -1); }); it("returns random value from date.weekday.abbr array for abbr option", function () { - var weekday = blaver.date.weekday({ abbr: true }); + const weekday = blaver.date.weekday({ abbr: true }); assert.ok(blaver.definitions.date.weekday.abbr.indexOf(weekday) !== -1); }); it("returns random value from date.weekday.abbr_context array for abbr and context option", function () { - var weekday = blaver.date.weekday({ abbr: true, context: true }); + const weekday = blaver.date.weekday({ abbr: true, context: true }); assert.ok(blaver.definitions.date.weekday.abbr_context.indexOf(weekday) !== -1); }); it("returns random value from date.weekday.wide array for context option when date.weekday.wide_context array is missing", function () { - var backup_wide_context = blaver.definitions.date.weekday.wide_context; + const backup_wide_context = blaver.definitions.date.weekday.wide_context; blaver.definitions.date.weekday.wide_context = undefined; - var weekday = blaver.date.weekday({ context: true }); + const weekday = blaver.date.weekday({ context: true }); assert.ok(blaver.definitions.date.weekday.wide.indexOf(weekday) !== -1); blaver.definitions.date.weekday.wide_context = backup_wide_context; }); it("returns random value from date.weekday.abbr array for abbr and context option when date.weekday.abbr_context array is missing", function () { - var backup_abbr_context = blaver.definitions.date.weekday.abbr_context; + const backup_abbr_context = blaver.definitions.date.weekday.abbr_context; blaver.definitions.date.weekday.abbr_context = undefined; - var weekday = blaver.date.weekday({ abbr: true, context: true }); + const weekday = blaver.date.weekday({ abbr: true, context: true }); assert.ok(blaver.definitions.date.weekday.abbr.indexOf(weekday) !== -1); blaver.definitions.date.weekday.abbr_context = backup_abbr_context; diff --git a/test/fake.unit.js b/test/fake.unit.js index b9195e31..241b28aa 100644 --- a/test/fake.unit.js +++ b/test/fake.unit.js @@ -7,24 +7,24 @@ if (typeof module !== 'undefined') { describe("fake.js", function () { describe("fake()", function () { it("replaces a token with a random value for a method with no parameters", function () { - var name = blaver.fake('{{phone.phoneNumber}}'); + const name = blaver.fake('{{phone.phoneNumber}}'); assert.ok(name.match(/\d/)); }); it("replaces multiple tokens with random values for methods with no parameters", function () { - var name = blaver.fake('{{helpers.randomize}}{{helpers.randomize}}{{helpers.randomize}}'); + const name = blaver.fake('{{helpers.randomize}}{{helpers.randomize}}{{helpers.randomize}}'); assert.ok(name.match(/[abc]{3}/)); }); it("replaces a token with a random value for a methods with a simple parameter", function () { - var arr = ["one", "two", "three"]; - var random = blaver.fake('{{helpers.slugify("Will This Work")}}'); + const arr = ["one", "two", "three"]; + const random = blaver.fake('{{helpers.slugify("Will This Work")}}'); assert.ok(random === "Will-This-Work"); }); it("replaces a token with a random value for a method with an array parameter", function () { - var arr = ["one", "two", "three"]; - var random = blaver.fake('{{helpers.randomize(["one", "two", "three"])}}'); + const arr = ["one", "two", "three"]; + const random = blaver.fake('{{helpers.randomize(["one", "two", "three"])}}'); assert.ok(arr.indexOf(random) > -1); }); diff --git a/test/finance.unit.js b/test/finance.unit.js index fcfc0670..5dc76982 100644 --- a/test/finance.unit.js +++ b/test/finance.unit.js @@ -11,10 +11,10 @@ describe('finance.js', function () { it('should supply a default length if no length is passed', function () { - var account = blaver.finance.account(); + const account = blaver.finance.account(); - var expected = 8; - var actual = account.length; + const expected = 8; + const actual = account.length; assert.strictEqual(actual, expected, 'The expected default account length is ' + expected + ' but it was ' + actual); @@ -22,11 +22,11 @@ describe('finance.js', function () { it('should supply a length if a length is passed', function () { - var expected = 9; + const expected = 9; - var account = blaver.finance.account(expected); + const account = blaver.finance.account(expected); - var actual = account.length; + const actual = account.length; assert.strictEqual(actual, expected, 'The expected default account length is ' + expected + ' but it was ' + actual); @@ -34,11 +34,11 @@ describe('finance.js', function () { it('should supply a default length if a zero is passed', function () { - var expected = 8; + const expected = 8; - var account = blaver.finance.account(0); + const account = blaver.finance.account(0); - var actual = account.length; + const actual = account.length; assert.strictEqual(actual, expected, 'The expected default account length is ' + expected + ' but it was ' + actual); @@ -50,7 +50,7 @@ describe('finance.js', function () { it("should return an account name", function () { - var actual = blaver.finance.accountName(); + const actual = blaver.finance.accountName(); assert.ok(actual); @@ -62,7 +62,7 @@ describe('finance.js', function () { it("should return a routing number", function () { - var actual = blaver.finance.routingNumber(); + const actual = blaver.finance.routingNumber(); assert.ok(actual); @@ -73,11 +73,11 @@ describe('finance.js', function () { describe('mask( length, parens, ellipsis )', function () { it("should set a default length", function () { - var expected = 4; //default account mask length + const expected = 4; //default account mask length - var mask = blaver.finance.mask(null, false, false); + const mask = blaver.finance.mask(null, false, false); - var actual = mask.length; + const actual = mask.length; assert.strictEqual(actual, expected, 'The expected default mask length is ' + expected + ' but it was ' + actual); @@ -85,13 +85,13 @@ describe('finance.js', function () { it("should set a specified length", function () { - var expected = blaver.datatype.number(20); + let expected = blaver.datatype.number(20); expected = (expected == 0 || !expected || typeof expected == 'undefined') ? 4 : expected; - var mask = blaver.finance.mask(expected, false, false); + const mask = blaver.finance.mask(expected, false, false); - var actual = mask.length; //picks 4 if the random number generator picks 0 + const actual = mask.length; //picks 4 if the random number generator picks 0 assert.strictEqual(actual, expected, 'The expected default mask length is ' + expected + ' but it was ' + actual); @@ -99,11 +99,11 @@ describe('finance.js', function () { it("should set a default length of 4 for a zero value", function () { - var expected = 4; + const expected = 4; blaver.finance.mask(0, false, false); - var actual = 4; //picks 4 if the random number generator picks 0 + const actual = 4; //picks 4 if the random number generator picks 0 assert.strictEqual(actual, expected, 'The expected default mask length is ' + expected + ' but it was ' + actual); @@ -112,12 +112,12 @@ describe('finance.js', function () { it("should by default include parentheses around a partial account number", function () { - var expected = true; + const expected = true; - var mask = blaver.finance.mask(null, null, false); + const mask = blaver.finance.mask(null, null, false); - var regexp = new RegExp(/(\(\d{4}?\))/); - var actual = regexp.test(mask); + const regexp = new RegExp(/(\(\d{4}?\))/); + const actual = regexp.test(mask); assert.strictEqual(actual, expected, 'The expected match for parentheses is ' + expected + ' but it was ' + actual); @@ -125,24 +125,24 @@ describe('finance.js', function () { it("should by default include an ellipsis", function () { - var expected = true; + const expected = true; - var mask = blaver.finance.mask(null, false, null); + const mask = blaver.finance.mask(null, false, null); - var regexp = new RegExp(/(\.\.\.\d{4})/); - var actual = regexp.test(mask); + const regexp = new RegExp(/(\.\.\.\d{4})/); + const actual = regexp.test(mask); assert.strictEqual(actual, expected, 'The expected match for parentheses is ' + expected + ' but it was ' + actual); }); - it("should work when random variables are passed into the arguments", function () { + it("should work when random constiables are passed into the arguments", function () { - var length = blaver.datatype.number(20); - var ellipsis = (length % 2 === 0) ? true : false; - var parens = !ellipsis; + const length = blaver.datatype.number(20); + const ellipsis = (length % 2 === 0) ? true : false; + const parens = !ellipsis; - var mask = blaver.finance.mask(length, ellipsis, parens); + const mask = blaver.finance.mask(length, ellipsis, parens); assert.ok(mask); }); @@ -153,7 +153,7 @@ describe('finance.js', function () { describe('amount(min, max, dec, symbol)', function () { it("should use the default amounts when not passing arguments", function () { - var amount = blaver.finance.amount(); + const amount = blaver.finance.amount(); assert.ok(amount); assert.strictEqual((amount > 0), true, "the amount should be greater than 0"); @@ -163,11 +163,8 @@ describe('finance.js', function () { it("should use the default decimal location when not passing arguments", function () { - var amount = blaver.finance.amount(); - - var decimal = '.'; - var expected = amount.length - 3; - var amount = blaver.finance.amount(100, 100, 1); + let amount = blaver.finance.amount(); + amount = blaver.finance.amount(100, 100, 1); assert.ok(amount); assert.strictEqual(amount , '100.0', "the amount should be equal 100.0"); @@ -176,12 +173,12 @@ describe('finance.js', function () { //TODO: add support for more currency and decimal options it("should not include a currency symbol by default", function () { - var amount = blaver.finance.amount(); + const amount = blaver.finance.amount(); - var regexp = new RegExp(/[0-9.]/); + const regexp = new RegExp(/[0-9.]/); - var expected = true; - var actual = regexp.test(amount); + const expected = true; + const actual = regexp.test(amount); assert.strictEqual(actual, expected, 'The expected match should not include a currency symbol'); }); @@ -189,7 +186,7 @@ describe('finance.js', function () { it("it should handle negative amounts", function () { - var amount = blaver.finance.amount(-200, -1); + const amount = blaver.finance.amount(-200, -1); assert.ok(amount); assert.strictEqual((amount < 0), true, "the amount should be greater than 0"); @@ -199,7 +196,7 @@ describe('finance.js', function () { it("it should handle argument dec", function () { - var amount = blaver.finance.amount(100, 100, 1); + const amount = blaver.finance.amount(100, 100, 1); assert.ok(amount); assert.strictEqual(amount , "100.0", "the amount should be equal 100.0"); @@ -207,7 +204,7 @@ describe('finance.js', function () { it("it should handle argument dec = 0", function () { - var amount = blaver.finance.amount(100, 100, 0); + const amount = blaver.finance.amount(100, 100, 0); assert.ok(amount); assert.strictEqual(amount , '100', "the amount should be equal 100"); @@ -215,9 +212,9 @@ describe('finance.js', function () { it("it should return a string", function() { - var amount = blaver.finance.amount(100, 100, 0); + const amount = blaver.finance.amount(100, 100, 0); - var typeOfAmount = typeof amount; + const typeOfAmount = typeof amount; assert.ok(amount); assert.strictEqual(typeOfAmount , "string", "the amount type should be number"); @@ -248,7 +245,7 @@ describe('finance.js', function () { describe('transactionType()', function () { it("should return a random transaction type", function () { - var transactionType = blaver.finance.transactionType(); + const transactionType = blaver.finance.transactionType(); assert.ok(transactionType); }); @@ -256,7 +253,7 @@ describe('finance.js', function () { describe("currencyCode()", function () { it("returns a random currency code with a format", function () { - var currencyCode = blaver.finance.currencyCode(); + const currencyCode = blaver.finance.currencyCode(); assert.ok(currencyCode.match(/^[A-Z]{3}$/)); }); @@ -264,7 +261,7 @@ describe('finance.js', function () { describe("bitcoinAddress()", function(){ it("returns a random bitcoin address", function(){ - var bitcoinAddress = blaver.finance.bitcoinAddress(); + const bitcoinAddress = blaver.finance.bitcoinAddress(); /** * Note: Although the total length of a Bitcoin address can be 25-33 characters, regex quantifiers only check the preceding token * Therefore we take one from the total length of the address not including the first character ([13]) @@ -276,7 +273,7 @@ describe('finance.js', function () { describe("litecoinAddress()", function(){ it("returns a random litecoin address", function(){ - var litecoinAddress = blaver.finance.litecoinAddress(); + const litecoinAddress = blaver.finance.litecoinAddress(); assert.ok(litecoinAddress.match(/^[LM3][1-9a-km-zA-HJ-NP-Z]{25,32}$/)); }); @@ -284,16 +281,16 @@ describe('finance.js', function () { describe("ethereumAddress()", function(){ it("returns a random ethereum address", function(){ - var ethereumAddress = blaver.finance.ethereumAddress(); + const ethereumAddress = blaver.finance.ethereumAddress(); assert.ok(ethereumAddress.match(/^(0x)[0-9a-f]{40}$/)); }); }); describe("creditCardNumber()", function(){ - var luhnFormula = require("./support/luhnCheck.js"); + const luhnFormula = require("./support/luhnCheck.js"); it("returns a random credit card number", function(){ - var number = blaver.finance.creditCardNumber(); + let number = blaver.finance.creditCardNumber(); number = number.replace(/\D/g,""); // remove formating console.log("version:", process.version, number, number.length); assert.ok(number.length >= 13 && number.length <= 20); @@ -313,38 +310,38 @@ describe('finance.js', function () { }); it("returns a correct credit card number when issuer provided", function(){ //TODO: implement checks for each format with regexp - var visa = blaver.finance.creditCardNumber("visa"); + const visa = blaver.finance.creditCardNumber("visa"); assert.ok(visa.match(/^4(([0-9]){12}|([0-9]){3}(\-([0-9]){4}){3})$/)); assert.ok(luhnFormula(visa)); - var mastercard = blaver.finance.creditCardNumber("mastercard"); + const mastercard = blaver.finance.creditCardNumber("mastercard"); assert.ok(mastercard.match(/^(5[1-5]\d{2}|6771)(\-\d{4}){3}$/)); assert.ok(luhnFormula(mastercard)); - var discover = blaver.finance.creditCardNumber("discover"); + const discover = blaver.finance.creditCardNumber("discover"); assert.ok(luhnFormula(discover)); - var american_express = blaver.finance.creditCardNumber("american_express"); + const american_express = blaver.finance.creditCardNumber("american_express"); assert.ok(luhnFormula(american_express)); - var diners_club = blaver.finance.creditCardNumber("diners_club"); + const diners_club = blaver.finance.creditCardNumber("diners_club"); assert.ok(luhnFormula(diners_club)); - var jcb = blaver.finance.creditCardNumber("jcb"); + const jcb = blaver.finance.creditCardNumber("jcb"); assert.ok(luhnFormula(jcb)); - var switchC = blaver.finance.creditCardNumber("mastercard"); + const switchC = blaver.finance.creditCardNumber("mastercard"); assert.ok(luhnFormula(switchC)); - var solo = blaver.finance.creditCardNumber("solo"); + const solo = blaver.finance.creditCardNumber("solo"); assert.ok(luhnFormula(solo)); - var maestro = blaver.finance.creditCardNumber("maestro"); + const maestro = blaver.finance.creditCardNumber("maestro"); assert.ok(luhnFormula(maestro)); - var laser = blaver.finance.creditCardNumber("laser"); + const laser = blaver.finance.creditCardNumber("laser"); assert.ok(luhnFormula(laser)); - var instapayment = blaver.finance.creditCardNumber("instapayment"); + const instapayment = blaver.finance.creditCardNumber("instapayment"); assert.ok(luhnFormula(instapayment)); }); it("returns custom formated strings",function(){ - var number = blaver.finance.creditCardNumber("###-###-##L"); + let number = blaver.finance.creditCardNumber("###-###-##L"); assert.ok(number.match(/^\d{3}\-\d{3}\-\d{3}$/)); assert.ok(luhnFormula(number)); number =blaver.finance.creditCardNumber("234[5-9]#{999}L"); @@ -355,7 +352,7 @@ describe('finance.js', function () { describe("creditCardCVV()", function(){ it("returns a random credit card CVV", function(){ - var cvv = blaver.finance.creditCardCVV(); + const cvv = blaver.finance.creditCardCVV(); assert.ok(cvv.length === 3); assert.ok(cvv.match(/^[0-9]{3}$/)); }); @@ -363,17 +360,17 @@ describe('finance.js', function () { describe("iban()", function () { - var ibanLib = require('../lib/iban'); + const ibanLib = require('../lib/iban'); it("returns a random yet formally correct IBAN number", function () { - var iban = blaver.finance.iban(); - var bban = iban.substring(4) + iban.substring(0, 4); + const iban = blaver.finance.iban(); + const bban = iban.substring(4) + iban.substring(0, 4); assert.strictEqual(ibanLib.mod97(ibanLib.toDigitString(bban)), 1, "the result should be equal to 1"); }); it("returns a specific and formally correct IBAN number", function () { - var iban = blaver.finance.iban(false, "DE"); - var bban = iban.substring(4) + iban.substring(0, 4); - var countryCode = iban.substring(0, 2); + const iban = blaver.finance.iban(false, "DE"); + const bban = iban.substring(4) + iban.substring(0, 4); + const countryCode = iban.substring(0, 2); assert.equal(countryCode, "DE"); assert.equal(ibanLib.mod97(ibanLib.toDigitString(bban)), 1, "the result should be equal to 1"); @@ -384,10 +381,10 @@ describe('finance.js', function () { }); describe("bic()", function () { - var ibanLib = require('../lib/iban'); + const ibanLib = require('../lib/iban'); it("returns a random yet formally correct BIC number", function () { - var bic = blaver.finance.bic(); - var expr = new RegExp("^[A-Z]{4}(" + ibanLib.iso3166.join("|") + ")[A-Z2-9][A-NP-Z0-9]([A-Z0-9]{3})?$", "i"); + const bic = blaver.finance.bic(); + const expr = new RegExp("^[A-Z]{4}(" + ibanLib.iso3166.join("|") + ")[A-Z2-9][A-NP-Z0-9]([A-Z0-9]{3})?$", "i"); assert.ok(bic.match(expr)); }); @@ -403,7 +400,7 @@ describe('finance.js', function () { }); it("returns a random transaction description", function() { - var transactionDescription = blaver.finance.transactionDescription(); + const transactionDescription = blaver.finance.transactionDescription(); assert.ok(transactionDescription); assert.ok(blaver.helpers.createTransaction.calledOnce); diff --git a/test/finance_iban.unit.js b/test/finance_iban.unit.js index 73d6a278..afdf3de7 100644 --- a/test/finance_iban.unit.js +++ b/test/finance_iban.unit.js @@ -4,9 +4,9 @@ if (typeof module !== 'undefined') { } function getAnIbanByCountry(countryCode) { - var iban = blaver.finance.iban(); - var maxTry = 100000; - var countTry = maxTry; + const iban = blaver.finance.iban(); + const maxTry = 100000; + const countTry = maxTry; while (countTry && iban.substring(0, 2) != countryCode) { blaver.seed(100000- countTry); iban = blaver.finance.iban(); @@ -36,14 +36,14 @@ describe('finance_iban.js', function () { // example IBAN GE29 NB00 0000 0101 9049 17 - var ibanLib = require('../lib/iban'); + const ibanLib = require('../lib/iban'); it("IBAN for Georgia is correct", function () { blaver.seed(17); - var iban = getAnIbanByCountry('GE'); - var ibanFormated = iban.match(/.{1,4}/g).join(" "); - var bban = iban.substring(4) + iban.substring(0, 4); + const iban = getAnIbanByCountry('GE'); + const ibanFormated = iban.match(/.{1,4}/g).join(" "); + const bban = iban.substring(4) + iban.substring(0, 4); assert.equal(22, iban.length, 'GE IBAN would be 22 chars length, given is ' + iban.length); @@ -70,14 +70,14 @@ describe('finance_iban.js', function () { // Account Code 16 digits // Total Length 24 chars - var ibanLib = require('../lib/iban'); + const ibanLib = require('../lib/iban'); it("IBAN for Pakistan is correct", function () { blaver.seed(28); - var iban = getAnIbanByCountry('PK'); - var ibanFormated = iban.match(/.{1,4}/g).join(" "); - var bban = iban.substring(4) + iban.substring(0, 4); + const iban = getAnIbanByCountry('PK'); + const ibanFormated = iban.match(/.{1,4}/g).join(" "); + const bban = iban.substring(4) + iban.substring(0, 4); assert.equal(24, iban.length, 'PK IBAN would be 24 chars length, given is ' + iban.length); @@ -110,15 +110,15 @@ describe('finance_iban.js', function () { // Chiffre d'indicatif national 0 // Numéro de compte bancaire 0519786457841326 - var ibanLib = require('../lib/iban'); + const ibanLib = require('../lib/iban'); it("IBAN for Turkish is correct", function () { blaver.seed(37); - var iban = getAnIbanByCountry('TR'); - var ibanFormated = iban.match(/.{1,4}/g).join(" "); - var bban = iban.substring(4) + iban.substring(0, 4); + const iban = getAnIbanByCountry('TR'); + const ibanFormated = iban.match(/.{1,4}/g).join(" "); + const bban = iban.substring(4) + iban.substring(0, 4); assert.equal(26, iban.length, 'PK IBAN would be 26 chars length, given is ' + iban.length); @@ -145,14 +145,14 @@ describe('finance_iban.js', function () { // example IBAN AZ21 NABZ 0000 0000 1370 1000 1944 - var ibanLib = require('../lib/iban'); + const ibanLib = require('../lib/iban'); it("IBAN for Azerbaijan is correct", function () { blaver.seed(21); - var iban = getAnIbanByCountry('AZ'); - var ibanFormated = iban.match(/.{1,4}/g).join(" "); - var bban = iban.substring(4) + iban.substring(0, 4); + const iban = getAnIbanByCountry('AZ'); + const ibanFormated = iban.match(/.{1,4}/g).join(" "); + const bban = iban.substring(4) + iban.substring(0, 4); assert.equal(28, iban.length, 'AZ IBAN would be 28 chars length, given is ' + iban.length); diff --git a/test/git.unit.js b/test/git.unit.js index 7550002b..e3003fe2 100644 --- a/test/git.unit.js +++ b/test/git.unit.js @@ -111,14 +111,14 @@ describe("git.js", function() { describe("commitSha()", function() { it("returns a random commit SHA", function() { - var commitSha = blaver.git.commitSha(); + const commitSha = blaver.git.commitSha(); assert.ok(commitSha.match(/^[a-f0-9]{40}$/)); }); }); describe("shortSha()", function() { it("returns a random short SHA", function() { - var shortSha = blaver.git.shortSha(); + const shortSha = blaver.git.shortSha(); assert.ok(shortSha.match(/^[a-f0-9]{7}$/)); }); }); diff --git a/test/helpers.unit.js b/test/helpers.unit.js index 88473132..d59066c8 100644 --- a/test/helpers.unit.js +++ b/test/helpers.unit.js @@ -9,14 +9,14 @@ describe("helpers.js", function () { describe("replaceSymbolWithNumber()", function () { context("when no symbol passed in", function () { it("uses '#' by default", function () { - var num = blaver.helpers.replaceSymbolWithNumber('#AB'); + const num = blaver.helpers.replaceSymbolWithNumber('#AB'); assert.ok(num.match(/\dAB/)); }); }); context("when symbol passed in", function () { it("replaces that symbol with integers", function () { - var num = blaver.helpers.replaceSymbolWithNumber('#AB', 'A'); + const num = blaver.helpers.replaceSymbolWithNumber('#AB', 'A'); assert.ok(num.match(/#\dB/)); }); }); @@ -25,7 +25,7 @@ describe("helpers.js", function () { describe("replaceSymbols()", function () { context("when '*' passed", function () { it("replaces it with alphanumeric", function(){ - var num = blaver.helpers.replaceSymbols('*AB'); + const num = blaver.helpers.replaceSymbols('*AB'); assert.ok(num.match(/\wAB/)); }); }); @@ -34,75 +34,75 @@ describe("helpers.js", function () { describe("shuffle()", function () { it("the output is the same length as the input", function () { sinon.spy(blaver.datatype, 'number'); - var shuffled = blaver.helpers.shuffle(["a", "b"]); + const shuffled = blaver.helpers.shuffle(["a", "b"]); assert.ok(shuffled.length === 2); assert.ok(blaver.datatype.number.calledWith(1)); blaver.datatype.number.restore(); }); it("empty array returns empty array", function () { - var shuffled = blaver.helpers.shuffle([]); + const shuffled = blaver.helpers.shuffle([]); assert.ok(shuffled.length === 0); }); it("mutates the input array in place", function () { - var input = ["a", "b", "c", "d", "e", "f", "g", "h", "i", "j"]; - var shuffled = blaver.helpers.shuffle(input); + const input = ["a", "b", "c", "d", "e", "f", "g", "h", "i", "j"]; + const shuffled = blaver.helpers.shuffle(input); assert.deepStrictEqual(shuffled, input); }); it("all items shuffled as expected when seeded", function () { - var input = ["a", "b", "c", "d", "e", "f", "g", "h", "i", "j"]; + const input = ["a", "b", "c", "d", "e", "f", "g", "h", "i", "j"]; blaver.seed(100); - var shuffled = blaver.helpers.shuffle(input); + const shuffled = blaver.helpers.shuffle(input); assert.deepStrictEqual(shuffled, ["b", "e", "a", "d", "j", "i", "h", "c", "g", "f"]); }); }); describe("uniqueArray()", function () { it("custom array returns unique array", function () { - var input = ["a", "a", "a", "a,", "a", "a", "a", "a", "b"]; - var length = 2; - var unique = blaver.helpers.uniqueArray(input, length); + const input = ["a", "a", "a", "a,", "a", "a", "a", "a", "b"]; + const length = 2; + const unique = blaver.helpers.uniqueArray(input, length); assert.strictEqual(unique.length, length); assert.strictEqual(new Set(unique).size, length); }); it("definition array returns unique array", function () { - var length = blaver.datatype.number({ min: 1, max: 6 }); - var unique = blaver.helpers.uniqueArray(blaver.definitions.hacker.noun, length); + const length = blaver.datatype.number({ min: 1, max: 6 }); + const unique = blaver.helpers.uniqueArray(blaver.definitions.hacker.noun, length); assert.strictEqual(unique.length, length); assert.strictEqual(new Set(unique).size, length); }); it("function returns unique array", function () { - var length = blaver.datatype.number({ min: 1, max: 6 }); - var unique = blaver.helpers.uniqueArray(blaver.lorem.word, length); + const length = blaver.datatype.number({ min: 1, max: 6 }); + const unique = blaver.helpers.uniqueArray(blaver.lorem.word, length); assert.strictEqual(unique.length, length); assert.strictEqual(new Set(unique).size, length); }); it("empty array returns empty array", function () { - var input = []; - var length = blaver.datatype.number({ min: 1, max: 6 }); - var unique = blaver.helpers.uniqueArray(input, length); + const input = []; + const length = blaver.datatype.number({ min: 1, max: 6 }); + const unique = blaver.helpers.uniqueArray(input, length); assert.strictEqual(unique.length, input.length); assert.strictEqual(new Set(unique).size, input.length); }); it("length longer than source returns max length", function () { - var input = ["a", "b", "c", "d", "e", "f", "g", "h", "i", "j"]; - var length = input.length + 1; - var unique = blaver.helpers.uniqueArray(input, length); + const input = ["a", "b", "c", "d", "e", "f", "g", "h", "i", "j"]; + const length = input.length + 1; + const unique = blaver.helpers.uniqueArray(input, length); assert.strictEqual(unique.length, input.length); assert.strictEqual(new Set(unique).size, input.length); }); it("works as expected when seeded", function () { - var input = ["a", "a", "a", "a", "a", "f", "g", "h", "i", "j"]; - var length = 5; + const input = ["a", "a", "a", "a", "a", "f", "g", "h", "i", "j"]; + const length = 5; blaver.seed(100); - var unique = blaver.helpers.uniqueArray(input, length); + const unique = blaver.helpers.uniqueArray(input, length); assert.deepStrictEqual(unique, ["g", "a", "i", "f", "j"]); }); }); @@ -142,21 +142,21 @@ describe("helpers.js", function () { describe("createCard()", function () { it("returns an object", function () { - var card = blaver.helpers.createCard(); + const card = blaver.helpers.createCard(); assert.ok(typeof card === 'object'); }); }); describe("contextualCard()", function () { it("returns an object", function () { - var card = blaver.helpers.contextualCard(); + const card = blaver.helpers.contextualCard(); assert.ok(typeof card === 'object'); }); }); describe("userCard()", function () { it("returns an object", function () { - var card = blaver.helpers.userCard(); + const card = blaver.helpers.userCard(); assert.ok(typeof card === 'object'); }); }); @@ -164,27 +164,27 @@ describe("helpers.js", function () { // Make sure we keep this function for backward-compatibility. describe("randomize()", function () { it("returns a random element from an array", function () { - var arr = ['a', 'b', 'c']; - var elem = blaver.helpers.randomize(arr); + const arr = ['a', 'b', 'c']; + const elem = blaver.helpers.randomize(arr); assert.ok(elem); assert.ok(arr.indexOf(elem) !== -1); }); }); describe("replaceCreditCardSymbols()", function () { - var luhnCheck = require("./support/luhnCheck.js"); + const luhnCheck = require("./support/luhnCheck.js"); it("returns a credit card number given a schema", function () { - var number = blaver.helpers.replaceCreditCardSymbols("6453-####-####-####-###L"); + const number = blaver.helpers.replaceCreditCardSymbols("6453-####-####-####-###L"); assert.ok(number.match(/^6453\-([0-9]){4}\-([0-9]){4}\-([0-9]){4}\-([0-9]){4}$/)); assert.ok(luhnCheck(number)); }); it("supports different symbols", function () { - var number = blaver.helpers.replaceCreditCardSymbols("6453-****-****-****-***L","*"); + const number = blaver.helpers.replaceCreditCardSymbols("6453-****-****-****-***L","*"); assert.ok(number.match(/^6453\-([0-9]){4}\-([0-9]){4}\-([0-9]){4}\-([0-9]){4}$/)); assert.ok(luhnCheck(number)); }); it("handles regexp style input", function () { - var number = blaver.helpers.replaceCreditCardSymbols("6453-*{4}-*{4}-*{4}-*{3}L","*"); + let number = blaver.helpers.replaceCreditCardSymbols("6453-*{4}-*{4}-*{4}-*{3}L","*"); assert.ok(number.match(/^6453\-([0-9]){4}\-([0-9]){4}\-([0-9]){4}\-([0-9]){4}$/)); assert.ok(luhnCheck(number)); number = blaver.helpers.replaceCreditCardSymbols("645[5-9]-#{4,6}-#{1,2}-#{4,6}-#{3}L"); @@ -198,12 +198,12 @@ describe("helpers.js", function () { assert.ok(blaver.helpers.regexpStyleStringParse() === ""); }); it("deals with range repeat", function () { - var string = blaver.helpers.regexpStyleStringParse("#{5,10}"); + const string = blaver.helpers.regexpStyleStringParse("#{5,10}"); assert.ok(string.length <= 10 && string.length >= 5); assert.ok(string.match(/^\#{5,10}$/)); }); it("flips the range when min > max", function () { - var string = blaver.helpers.regexpStyleStringParse("#{10,5}"); + const string = blaver.helpers.regexpStyleStringParse("#{10,5}"); assert.ok(string.length <= 10 && string.length >= 5); assert.ok(string.match(/^\#{5,10}$/)); }); @@ -213,18 +213,18 @@ describe("helpers.js", function () { assert.ok(blaver.helpers.regexpStyleStringParse("%{5}") === blaver.helpers.repeatString("%",5)); }); it("creates a numerical range", function () { - var string = blaver.helpers.regexpStyleStringParse("Hello[0-9]"); + const string = blaver.helpers.regexpStyleStringParse("Hello[0-9]"); assert.ok(string.match(/^Hello[0-9]$/)); }); it("deals with multiple tokens in one string", function () { - var string = blaver.helpers.regexpStyleStringParse("Test#{5}%{2,5}Testing**[1-5]**{10}END"); + const string = blaver.helpers.regexpStyleStringParse("Test#{5}%{2,5}Testing**[1-5]**{10}END"); assert.ok(string.match(/^Test\#{5}%{2,5}Testing\*\*[1-5]\*\*{10}END$/)); }); }); describe("createTransaction()", function() { it("should create a random transaction", function() { - var transaction = blaver.helpers.createTransaction(); + const transaction = blaver.helpers.createTransaction(); assert.ok(transaction); assert.ok(transaction.amount); assert.ok(transaction.date); diff --git a/test/image.unit.js b/test/image.unit.js index 35488ad8..c17ac3cc 100644 --- a/test/image.unit.js +++ b/test/image.unit.js @@ -1,6 +1,5 @@ if (typeof module !== 'undefined') { var assert = require('assert'); - var sinon = require('sinon'); var blaver = require('../index'); } @@ -8,35 +7,35 @@ describe("image.js", function () { describe("lorempicsum", function() { describe("imageUrl()", function () { it("returns a random image url from lorempixel", function () { - var imageUrl = blaver.image.lorempicsum.imageUrl(); + const imageUrl = blaver.image.lorempicsum.imageUrl(); assert.strictEqual(imageUrl, 'https://picsum.photos/640/480'); }); it("returns a random image url from lorem picsum with width and height", function () { - var imageUrl = blaver.image.lorempicsum.imageUrl(100, 100); + const imageUrl = blaver.image.lorempicsum.imageUrl(100, 100); assert.strictEqual(imageUrl, 'https://picsum.photos/100/100'); }); it("returns a random image url grayscaled", function () { - var imageUrl = blaver.image.lorempicsum.imageUrl(100, 100, true); + const imageUrl = blaver.image.lorempicsum.imageUrl(100, 100, true); assert.strictEqual(imageUrl, 'https://picsum.photos/100/100?grayscale'); }); it("returns a random image url grayscaled and blurred", function () { - var imageUrl = blaver.image.lorempicsum.imageUrl(100, 100, true, 2); + const imageUrl = blaver.image.lorempicsum.imageUrl(100, 100, true, 2); assert.strictEqual(imageUrl, 'https://picsum.photos/100/100?grayscale&blur=2'); }); it("returns a random image url blurred", function () { - var imageUrl = blaver.image.lorempicsum.imageUrl(100, 100, undefined, 2); + const imageUrl = blaver.image.lorempicsum.imageUrl(100, 100, undefined, 2); assert.strictEqual(imageUrl, 'https://picsum.photos/100/100?blur=2'); }); it("returns a random image url with seed", function () { - var imageUrl = blaver.image.lorempicsum.imageUrl(100, 100, undefined, undefined, 'picsum'); + const imageUrl = blaver.image.lorempicsum.imageUrl(100, 100, undefined, undefined, 'picsum'); assert.strictEqual(imageUrl, 'https://picsum.photos/seed/picsum/100/100'); }); @@ -49,21 +48,21 @@ describe("image.js", function () { describe("imageGrayscale()", function () { it("returns a random URL with grayscale image", function () { - var imageUrl = blaver.image.lorempicsum.imageGrayscale(100, 100, true); + const imageUrl = blaver.image.lorempicsum.imageGrayscale(100, 100, true); assert.strictEqual(imageUrl, 'https://picsum.photos/100/100?grayscale'); }); }); describe("imageBlurred()", function () { it("returns a random image url blurred", function () { - var imageUrl = blaver.image.lorempicsum.imageBlurred(100, 100, 2); + const imageUrl = blaver.image.lorempicsum.imageBlurred(100, 100, 2); assert.strictEqual(imageUrl, 'https://picsum.photos/100/100?blur=2'); }); }); describe("imageRandomSeeded()", function () { it("returns a random image url blurred", function () { - var imageUrl = blaver.image.lorempicsum.imageRandomSeeded(100, 100, undefined, undefined, 'picsum'); + const imageUrl = blaver.image.lorempicsum.imageRandomSeeded(100, 100, undefined, undefined, 'picsum'); assert.strictEqual(imageUrl, 'https://picsum.photos/seed/picsum/100/100'); }); @@ -73,17 +72,17 @@ describe("image.js", function () { describe("lorempixel", function() { describe("imageUrl()", function () { it("returns a random image url from lorempixel", function () { - var imageUrl = blaver.image.lorempixel.imageUrl(); + const imageUrl = blaver.image.lorempixel.imageUrl(); assert.strictEqual(imageUrl, 'https://lorempixel.com/640/480'); }); it("returns a random image url from lorempixel with width and height", function () { - var imageUrl = blaver.image.lorempixel.imageUrl(100, 100); + const imageUrl = blaver.image.lorempixel.imageUrl(100, 100); assert.strictEqual(imageUrl, 'https://lorempixel.com/100/100'); }); it("returns a random image url for a specified category", function () { - var imageUrl = blaver.image.lorempixel.imageUrl(100, 100, 'abstract'); + const imageUrl = blaver.image.lorempixel.imageUrl(100, 100, 'abstract'); assert.strictEqual(imageUrl, 'https://lorempixel.com/100/100/abstract'); }); @@ -95,79 +94,79 @@ describe("image.js", function () { }); describe("abstract()", function () { it("returns a random abstract image url", function () { - var abstract = blaver.image.lorempixel.abstract(); + const abstract = blaver.image.lorempixel.abstract(); assert.strictEqual(abstract, 'https://lorempixel.com/640/480/abstract'); }); }); describe("animals()", function () { it("returns a random animals image url", function () { - var animals = blaver.image.lorempixel.animals(); + const animals = blaver.image.lorempixel.animals(); assert.strictEqual(animals, 'https://lorempixel.com/640/480/animals'); }); }); describe("business()", function () { it("returns a random business image url", function () { - var business = blaver.image.lorempixel.business(); + const business = blaver.image.lorempixel.business(); assert.strictEqual(business, 'https://lorempixel.com/640/480/business'); }); }); describe("cats()", function () { it("returns a random cats image url", function () { - var cats = blaver.image.lorempixel.cats(); + const cats = blaver.image.lorempixel.cats(); assert.strictEqual(cats, 'https://lorempixel.com/640/480/cats'); }); }); describe("city()", function () { it("returns a random city image url", function () { - var city = blaver.image.lorempixel.city(); + const city = blaver.image.lorempixel.city(); assert.strictEqual(city, 'https://lorempixel.com/640/480/city'); }); }); describe("food()", function () { it("returns a random food image url", function () { - var food = blaver.image.lorempixel.food(); + const food = blaver.image.lorempixel.food(); assert.strictEqual(food, 'https://lorempixel.com/640/480/food'); }); }); describe("nightlife()", function () { it("returns a random nightlife image url", function () { - var nightlife = blaver.image.lorempixel.nightlife(); + const nightlife = blaver.image.lorempixel.nightlife(); assert.strictEqual(nightlife, 'https://lorempixel.com/640/480/nightlife'); }); }); describe("fashion()", function () { it("returns a random fashion image url", function () { - var fashion = blaver.image.lorempixel.fashion(); + const fashion = blaver.image.lorempixel.fashion(); assert.strictEqual(fashion, 'https://lorempixel.com/640/480/fashion'); }); }); describe("people()", function () { it("returns a random people image url", function () { - var people = blaver.image.lorempixel.people(); + const people = blaver.image.lorempixel.people(); assert.strictEqual(people, 'https://lorempixel.com/640/480/people'); }); }); describe("nature()", function () { it("returns a random nature image url", function () { - var nature = blaver.image.lorempixel.nature(); + const nature = blaver.image.lorempixel.nature(); assert.strictEqual(nature, 'https://lorempixel.com/640/480/nature'); }); }); describe("sports()", function () { it("returns a random sports image url", function () { - var sports = blaver.image.lorempixel.sports(); + const sports = blaver.image.lorempixel.sports(); assert.strictEqual(sports, 'https://lorempixel.com/640/480/sports'); }); }); describe("technics()", function () { it("returns a random technics image url", function () { - var technics = blaver.image.lorempixel.technics(); + const technics = blaver.image.lorempixel.technics(); assert.strictEqual(technics, 'https://lorempixel.com/640/480/technics'); }); }); describe("transport()", function () { it("returns a random transport image url", function () { - var transport = blaver.image.lorempixel.transport(); + const transport = blaver.image.lorempixel.transport(); assert.strictEqual(transport, 'https://lorempixel.com/640/480/transport'); }); }); @@ -176,81 +175,81 @@ describe("image.js", function () { describe("unsplash", function() { describe("imageUrl()", function () { it("returns a random image url from unsplash", function () { - var imageUrl = blaver.image.unsplash.imageUrl(); + const imageUrl = blaver.image.unsplash.imageUrl(); assert.strictEqual(imageUrl, 'https://source.unsplash.com/640x480'); }); it("returns a random image url from unsplash with width and height", function () { - var imageUrl = blaver.image.unsplash.imageUrl(100, 100); + const imageUrl = blaver.image.unsplash.imageUrl(100, 100); assert.strictEqual(imageUrl, 'https://source.unsplash.com/100x100'); }); it("returns a random image url for a specified category", function () { - var imageUrl = blaver.image.unsplash.imageUrl(100, 100, 'food'); + const imageUrl = blaver.image.unsplash.imageUrl(100, 100, 'food'); assert.strictEqual(imageUrl, 'https://source.unsplash.com/category/food/100x100'); }); it("returns a random image url with correct keywords for a specified category", function () { - var imageUrl = blaver.image.unsplash.imageUrl(100, 100, 'food', 'keyword1,keyword2'); + const imageUrl = blaver.image.unsplash.imageUrl(100, 100, 'food', 'keyword1,keyword2'); assert.strictEqual(imageUrl, 'https://source.unsplash.com/category/food/100x100?keyword1,keyword2'); }); it("returns a random image url without keyword which format is wrong for a specified category", function () { - var imageUrl = blaver.image.unsplash.imageUrl(100, 100, 'food', 'keyword1,?ds)0123$*908932409'); + const imageUrl = blaver.image.unsplash.imageUrl(100, 100, 'food', 'keyword1,?ds)0123$*908932409'); assert.strictEqual(imageUrl, 'https://source.unsplash.com/category/food/100x100'); }); }); describe("image()", function() { it("returns a searching image url with keyword", function () { - var food = blaver.image.unsplash.image(100, 200, 'keyword1,keyword2,keyword3'); + const food = blaver.image.unsplash.image(100, 200, 'keyword1,keyword2,keyword3'); assert.strictEqual(food, 'https://source.unsplash.com/100x200?keyword1,keyword2,keyword3'); }); }) describe("food()", function () { it("returns a random food image url", function () { - var food = blaver.image.unsplash.food(); + const food = blaver.image.unsplash.food(); assert.strictEqual(food, 'https://source.unsplash.com/category/food/640x480'); }); }); describe("people()", function () { it("returns a random people image url", function () { - var people = blaver.image.unsplash.people(); + const people = blaver.image.unsplash.people(); assert.strictEqual(people, 'https://source.unsplash.com/category/people/640x480'); }); }); describe("nature()", function () { it("returns a random nature image url", function () { - var nature = blaver.image.unsplash.nature(); + const nature = blaver.image.unsplash.nature(); assert.strictEqual(nature, 'https://source.unsplash.com/category/nature/640x480'); }); }); describe("technology()", function () { it("returns a random technology image url", function () { - var transport = blaver.image.unsplash.technology(); + const transport = blaver.image.unsplash.technology(); assert.strictEqual(transport, 'https://source.unsplash.com/category/technology/640x480'); }); }); describe("objects()", function () { it("returns a random objects image url", function () { - var transport = blaver.image.unsplash.objects(); + const transport = blaver.image.unsplash.objects(); assert.strictEqual(transport, 'https://source.unsplash.com/category/objects/640x480'); }); }); describe("buildings()", function () { it("returns a random buildings image url", function () { - var transport = blaver.image.unsplash.buildings(); + const transport = blaver.image.unsplash.buildings(); assert.strictEqual(transport, 'https://source.unsplash.com/category/buildings/640x480'); }); }); }); describe("dataUri", function () { it("returns a blank data", function () { - var dataUri = blaver.image.dataUri(200,300); + const dataUri = blaver.image.dataUri(200,300); assert.strictEqual(dataUri, 'data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20version%3D%221.1%22%20baseProfile%3D%22full%22%20width%3D%22200%22%20height%3D%22300%22%3E%3Crect%20width%3D%22100%25%22%20height%3D%22100%25%22%20fill%3D%22grey%22%2F%3E%3Ctext%20x%3D%22100%22%20y%3D%22150%22%20font-size%3D%2220%22%20alignment-baseline%3D%22middle%22%20text-anchor%3D%22middle%22%20fill%3D%22white%22%3E200x300%3C%2Ftext%3E%3C%2Fsvg%3E'); }); it("returns a customed background color data URI", function () { - var dataUri = blaver.image.dataUri(200, 300, 'red'); + const dataUri = blaver.image.dataUri(200, 300, 'red'); assert.strictEqual(dataUri, 'data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20version%3D%221.1%22%20baseProfile%3D%22full%22%20width%3D%22200%22%20height%3D%22300%22%3E%3Crect%20width%3D%22100%25%22%20height%3D%22100%25%22%20fill%3D%22red%22%2F%3E%3Ctext%20x%3D%22100%22%20y%3D%22150%22%20font-size%3D%2220%22%20alignment-baseline%3D%22middle%22%20text-anchor%3D%22middle%22%20fill%3D%22white%22%3E200x300%3C%2Ftext%3E%3C%2Fsvg%3E'); }); }); diff --git a/test/internet.unit.js b/test/internet.unit.js index 9b17908c..d0eaf1df 100644 --- a/test/internet.unit.js +++ b/test/internet.unit.js @@ -8,8 +8,8 @@ describe("internet.js", function () { describe("email()", function () { it("returns an email", function () { sinon.stub(blaver.internet, 'userName').returns('Aiden.Harann55'); - var email = blaver.internet.email("Aiden.Harann55"); - var res = email.split("@"); + const email = blaver.internet.email("Aiden.Harann55"); + let res = email.split("@"); res = res[0]; assert.strictEqual(res, 'Aiden.Harann55'); blaver.internet.userName.restore(); @@ -17,8 +17,8 @@ describe("internet.js", function () { it("returns an email with japanese characters", function () { sinon.stub(blaver.internet, 'userName').returns('思源_唐3'); - var email = blaver.internet.email("思源_唐3"); - var res = email.split("@"); + const email = blaver.internet.email("思源_唐3"); + let res = email.split("@"); res = res[0]; assert.equal(res, '思源_唐3'); blaver.internet.userName.restore(); @@ -28,15 +28,15 @@ describe("internet.js", function () { describe("exampleEmail", function () { it("returns an email with the correct name", function () { sinon.stub(blaver.internet, 'userName').returns('Aiden.Harann55'); - var email = blaver.internet.email("Aiden.Harann55"); - var res = email.split("@"); + const email = blaver.internet.email("Aiden.Harann55"); + let res = email.split("@"); res = res[0]; assert.strictEqual(res, 'Aiden.Harann55'); blaver.internet.userName.restore(); }); it("uses the example.[org|com|net] host", function () { - var email = blaver.internet.exampleEmail(); + const email = blaver.internet.exampleEmail(); assert.ok(email.match(/@example\.(org|com|net)$/)); }); }); @@ -45,7 +45,7 @@ describe("internet.js", function () { it("occasionally returns a single firstName", function () { sinon.stub(blaver.datatype, 'number').returns(0); sinon.spy(blaver.name, 'firstName'); - var username = blaver.internet.userName(); + const username = blaver.internet.userName(); assert.ok(username); assert.ok(blaver.name.firstName.called); @@ -59,7 +59,7 @@ describe("internet.js", function () { sinon.spy(blaver.name, 'firstName'); sinon.spy(blaver.name, 'lastName'); sinon.spy(blaver.random, 'arrayElement'); - var username = blaver.internet.userName(); + const username = blaver.internet.userName(); assert.ok(username); assert.ok(blaver.name.firstName.called); @@ -78,7 +78,7 @@ describe("internet.js", function () { sinon.stub(blaver.internet, 'domainWord').returns('bar'); sinon.stub(blaver.internet, 'domainSuffix').returns('net'); - var domain_name = blaver.internet.domainName(); + const domain_name = blaver.internet.domainName(); assert.strictEqual(domain_name, 'bar.net'); @@ -91,7 +91,7 @@ describe("internet.js", function () { it("returns a lower-case adjective + noun", function () { sinon.stub(blaver.word, 'adjective').returns('RANDOM'); sinon.stub(blaver.word, 'noun').returns('WORD'); - var domain_word = blaver.internet.domainWord(); + const domain_word = blaver.internet.domainWord(); assert.ok(domain_word); assert.strictEqual(domain_word, 'random-word'); @@ -102,7 +102,7 @@ describe("internet.js", function () { describe("when the firstName used contains a apostrophe", function () { sinon.stub(blaver.word, 'adjective').returns('an\'other'); sinon.stub(blaver.word, 'noun').returns('no\'un'); - var domain_word = blaver.internet.domainWord(); + const domain_word = blaver.internet.domainWord(); it("should remove the apostrophe", function () { assert.strictEqual(domain_word, 'another-noun'); @@ -115,13 +115,13 @@ describe("internet.js", function () { describe('protocol()', function () { it('returns a valid protocol', function () { - var protocol = blaver.internet.protocol(); + const protocol = blaver.internet.protocol(); assert.ok(protocol); }); it('should occasionally return http', function () { sinon.stub(blaver.datatype, 'number').returns(0); - var protocol = blaver.internet.protocol(); + const protocol = blaver.internet.protocol(); assert.ok(protocol); assert.strictEqual(protocol, 'http'); @@ -130,7 +130,7 @@ describe("internet.js", function () { it('should occasionally return https', function () { sinon.stub(blaver.datatype, 'number').returns(1); - var protocol = blaver.internet.protocol(); + const protocol = blaver.internet.protocol(); assert.ok(protocol); assert.strictEqual(protocol, 'https'); @@ -140,8 +140,8 @@ describe("internet.js", function () { describe('httpMethod()', function () { it('returns a valid http method', function () { - var httpMethods = ['GET','POST', 'PUT', 'DELETE', 'PATCH']; - var method = blaver.internet.httpMethod(); + const httpMethods = ['GET','POST', 'PUT', 'DELETE', 'PATCH']; + const method = blaver.internet.httpMethod(); assert.ok(httpMethods.includes(method)); }); }); @@ -152,7 +152,7 @@ describe("internet.js", function () { sinon.stub(blaver.internet, 'domainWord').returns('bar'); sinon.stub(blaver.internet, 'domainSuffix').returns('net'); - var url = blaver.internet.url(); + const url = blaver.internet.url(); assert.ok(url); assert.strictEqual(url,'http://bar.net'); @@ -161,23 +161,23 @@ describe("internet.js", function () { describe("ip()", function () { it("returns a random IP address with four parts", function () { - var ip = blaver.internet.ip(); - var parts = ip.split('.'); + const ip = blaver.internet.ip(); + const parts = ip.split('.'); assert.strictEqual(parts.length, 4); }); }); describe("ipv6()", function () { it("returns a random IPv6 address with eight parts", function () { - var ip = blaver.internet.ipv6(); - var parts = ip.split(':'); + const ip = blaver.internet.ipv6(); + const parts = ip.split(':'); assert.strictEqual(parts.length, 8); }); }); describe("port()", function () { it("returns a random port number", function () { - var port = blaver.internet.port(); + const port = blaver.internet.port(); assert.ok(Number.isInteger(port)); assert.ok(0 <= port && port <= 65535); }); @@ -185,44 +185,44 @@ describe("internet.js", function () { describe("userAgent()", function () { it("returns a valid user-agent", function () { - var ua = blaver.internet.userAgent(); + const ua = blaver.internet.userAgent(); assert.ok(ua); }); it('is deterministic', function () { blaver.seed(1); - var ua1 = blaver.internet.userAgent(); + const ua1 = blaver.internet.userAgent(); blaver.seed(1); - var ua2 = blaver.internet.userAgent(); + const ua2 = blaver.internet.userAgent(); assert.strictEqual(ua1, ua2); }); }); describe("color()", function () { it("returns a valid hex value (like #ffffff)", function () { - var color = blaver.internet.color(100, 100, 100); + const color = blaver.internet.color(100, 100, 100); assert.ok(color.match(/^#[a-f0-9]{6}$/)); }); }); describe("mac()", function () { it("returns a random MAC address with 6 hexadecimal digits", function () { - var mac = blaver.internet.mac(); + const mac = blaver.internet.mac(); assert.ok(mac.match(/^([a-f0-9]{2}:){5}[a-f0-9]{2}$/)); }); it("uses the dash separator if we pass it in as our separator", function () { - var mac = blaver.internet.mac('-'); + const mac = blaver.internet.mac('-'); assert.ok(mac.match(/^([a-f0-9]{2}-){5}[a-f0-9]{2}$/)); }); it("uses no separator if we pass in an empty string", function() { - var mac = blaver.internet.mac(''); + const mac = blaver.internet.mac(''); assert.ok(mac.match(/^[a-f0-9]{12}$/)); }); it("uses the default colon (:) if we provide an unacceptable separator", function() { - var mac = blaver.internet.mac('!'); + let mac = blaver.internet.mac('!'); assert.ok(mac.match(/^([a-f0-9]{2}:){5}[a-f0-9]{2}$/)); mac = blaver.internet.mac('&'); diff --git a/test/locales.unit.js b/test/locales.unit.js index 9ac29339..736d6001 100644 --- a/test/locales.unit.js +++ b/test/locales.unit.js @@ -1,6 +1,5 @@ if (typeof module !== 'undefined') { var assert = require('assert'); - var sinon = require('sinon'); var blaver = require('../index'); } @@ -11,7 +10,7 @@ if (typeof module !== 'undefined') { describe("locale", function () { describe("setLocale()", function () { it("setLocale() changes blaver.locale", function () { - for(var locale in blaver.locales) { + for(const locale in blaver.locales) { blaver.setLocale(locale) assert.strictEqual(blaver.locale, locale); } diff --git a/test/lorem.unit.js b/test/lorem.unit.js index 4f082c95..0ddacb1c 100644 --- a/test/lorem.unit.js +++ b/test/lorem.unit.js @@ -9,14 +9,14 @@ describe("lorem.js", function () { context("when no 'length' param passed in", function () { it("returns a word with a random length", function () { - var str = blaver.lorem.word(); + const str = blaver.lorem.word(); assert.ok(typeof str === 'string'); }); }); context("when 'length' param passed in", function () { it("returns a word with the requested length", function () { - var str = blaver.lorem.word(5); + const str = blaver.lorem.word(5); assert.ok(typeof str === 'string'); assert.strictEqual(str.length, 5); }); @@ -34,8 +34,8 @@ describe("lorem.js", function () { context("when no 'num' param passed in", function () { it("returns three words", function () { - var str = blaver.lorem.words(); - var words = str.split(' '); + const str = blaver.lorem.words(); + const words = str.split(' '); assert.ok(Array.isArray(words)); assert.strictEqual(true, words.length >= 3); // assert.ok(blaver.helpers.shuffle.called); @@ -44,8 +44,8 @@ describe("lorem.js", function () { context("when 'num' param passed in", function () { it("returns requested number of words", function () { - var str = blaver.lorem.words(7); - var words = str.split(' '); + const str = blaver.lorem.words(7); + const words = str.split(' '); assert.ok(Array.isArray(words)); assert.strictEqual(words.length, 7); }); @@ -61,21 +61,21 @@ describe("lorem.js", function () { blaver.helpers.shuffle.restore(); }); - var validateSlug = function (wordCount, str) { + const validateSlug = function (wordCount, str) { assert.strictEqual(1, str.match(/^[a-z][a-z-]*[a-z]$/).length); assert.strictEqual(wordCount - 1, str.match(/-/g).length); }; context("when no 'wordCount' param passed in", function () { it("returns a slug with three words", function () { - var str = blaver.lorem.slug(); + const str = blaver.lorem.slug(); validateSlug(3, str); }); }); context("when 'wordCount' param passed in", function () { it("returns a slug with requested number of words", function () { - var str = blaver.lorem.slug(7); + const str = blaver.lorem.slug(7); validateSlug(7, str); }); }); @@ -88,9 +88,9 @@ describe("lorem.js", function () { it("returns a string of at least three words", function () { sinon.spy(blaver.lorem, 'words'); sinon.stub(blaver.random, 'number').returns(2); - var sentence = blaver.lorem.sentence(); + const sentence = blaver.lorem.sentence(); assert.ok(typeof sentence === 'string'); - var parts = sentence.split(' '); + const parts = sentence.split(' '); assert.strictEqual(parts.length, 5); // default 3 plus stubbed 2. assert.ok(blaver.lorem.words.calledWith(5)); @@ -103,10 +103,10 @@ describe("lorem.js", function () { it("returns a string of at least the requested number of words", function () { sinon.spy(blaver.lorem, 'words'); sinon.stub(blaver.random, 'number').withArgs(7).returns(2); - var sentence = blaver.lorem.sentence(10); + const sentence = blaver.lorem.sentence(10); assert.ok(typeof sentence === 'string'); - var parts = sentence.split(' '); + const parts = sentence.split(' '); assert.strictEqual(parts.length, 12); // requested 10 plus stubbed 2. assert.ok(blaver.lorem.words.calledWith(12)); @@ -120,10 +120,10 @@ describe("lorem.js", function () { sinon.spy(blaver.lorem, 'words'); sinon.stub(blaver.random, 'number').withArgs(4).returns(4); - var sentence = blaver.lorem.sentence(10, 4); + const sentence = blaver.lorem.sentence(10, 4); assert.ok(typeof sentence === 'string'); - var parts = sentence.split(' '); + const parts = sentence.split(' '); assert.strictEqual(parts.length, 14); // requested 10 plus stubbed 4. assert.ok(blaver.random.number.calledWith(4)); // random.number should be called with the 'range' we passed. assert.ok(blaver.lorem.words.calledWith(14)); @@ -141,10 +141,10 @@ describe("lorem.js", function () { context("when no 'sentenceCount' param passed in", function () { it("returns newline-separated string of three sentences", function () { sinon.spy(blaver.lorem, 'sentence'); - var sentences = blaver.lorem.sentences(); + const sentences = blaver.lorem.sentences(); assert.ok(typeof sentences === 'string'); - var parts = sentences.split('\n'); + const parts = sentences.split('\n'); assert.strictEqual(parts.length, 3); assert.ok(blaver.lorem.sentence.calledThrice); @@ -155,10 +155,10 @@ describe("lorem.js", function () { context("when 'sentenceCount' param passed in", function () { it("returns newline-separated string of requested number of sentences", function () { sinon.spy(blaver.lorem, 'sentence'); - var sentences = blaver.lorem.sentences(5); + const sentences = blaver.lorem.sentences(5); assert.ok(typeof sentences === 'string'); - var parts = sentences.split('\n'); + const parts = sentences.split('\n'); assert.strictEqual(parts.length, 5); blaver.lorem.sentence.restore(); @@ -172,10 +172,10 @@ describe("lorem.js", function () { it("returns a string of at least three sentences", function () { sinon.spy(blaver.lorem, 'sentences'); sinon.stub(blaver.random, 'number').returns(2); - var paragraph = blaver.lorem.paragraph(); + const paragraph = blaver.lorem.paragraph(); assert.ok(typeof paragraph === 'string'); - var parts = paragraph.split('\n'); + const parts = paragraph.split('\n'); assert.strictEqual(parts.length, 5); // default 3 plus stubbed 2. assert.ok(blaver.lorem.sentences.calledWith(5)); @@ -188,10 +188,10 @@ describe("lorem.js", function () { it("returns a string of at least the requested number of sentences", function () { sinon.spy(blaver.lorem, 'sentences'); sinon.stub(blaver.random, 'number').returns(2); - var paragraph = blaver.lorem.paragraph(10); + const paragraph = blaver.lorem.paragraph(10); assert.ok(typeof paragraph === 'string'); - var parts = paragraph.split('\n'); + const parts = paragraph.split('\n'); assert.strictEqual(parts.length, 12); // requested 10 plus stubbed 2. assert.ok(blaver.lorem.sentences.calledWith(12)); @@ -208,10 +208,10 @@ describe("lorem.js", function () { context("when no 'paragraphCount' param passed in", function () { it("returns newline-separated string of three paragraphs", function () { sinon.spy(blaver.lorem, 'paragraph'); - var paragraphs = blaver.lorem.paragraphs(); + const paragraphs = blaver.lorem.paragraphs(); assert.ok(typeof paragraphs === 'string'); - var parts = paragraphs.split('\n \r'); + const parts = paragraphs.split('\n \r'); assert.strictEqual(parts.length, 3); assert.ok(blaver.lorem.paragraph.calledThrice); @@ -222,10 +222,10 @@ describe("lorem.js", function () { context("when 'paragraphCount' param passed in", function () { it("returns newline-separated string of requested number of paragraphs", function () { sinon.spy(blaver.lorem, 'paragraph'); - var paragraphs = blaver.lorem.paragraphs(5); + const paragraphs = blaver.lorem.paragraphs(5); assert.ok(typeof paragraphs === 'string'); - var parts = paragraphs.split('\n \r'); + const parts = paragraphs.split('\n \r'); assert.strictEqual(parts.length, 5); blaver.lorem.paragraph.restore(); diff --git a/test/music.unit.js b/test/music.unit.js index cf70ae6c..94f4b12e 100644 --- a/test/music.unit.js +++ b/test/music.unit.js @@ -8,7 +8,7 @@ describe("music.js", function () { describe("genre()", function () { it("returns a genre", function () { sinon.stub(blaver.music, 'genre').returns('Rock'); - var genre = blaver.music.genre(); + const genre = blaver.music.genre(); assert.strictEqual(genre, 'Rock'); blaver.music.genre.restore(); diff --git a/test/name.unit.js b/test/name.unit.js index 66bdec64..072d1f5f 100644 --- a/test/name.unit.js +++ b/test/name.unit.js @@ -6,7 +6,7 @@ if (typeof module !== 'undefined') { } function assertInArray(value, array) { - var idx = array.indexOf(value); + const idx = array.indexOf(value); assert.notEqual(idx, -1); } @@ -14,7 +14,7 @@ describe("name.js", function () { describe("firstName()", function () { it("returns a random name", function () { sinon.stub(blaver.name, 'firstName').returns('foo'); - var first_name = blaver.name.firstName(); + const first_name = blaver.name.firstName(); assert.strictEqual(first_name, 'foo'); @@ -22,19 +22,19 @@ describe("name.js", function () { }); it("returns a gender-specific name when passed a number", function () { - for (var q = 0; q < 30; q++) { - var gender = Math.floor(Math.random() * 2); - var name = blaver.name.firstName(gender); + for (let q = 0; q < 30; q++) { + const gender = Math.floor(Math.random() * 2); + const name = blaver.name.firstName(gender); if (gender === 0) {assertInArray(name, blaver.definitions.name.male_first_name);} else {assertInArray(name, blaver.definitions.name.female_first_name);} } }); it("returns a gender-specific name when passed a string", function () { - for (var q = 0; q < 30; q++) { - var gender = Math.floor(Math.random() * 2); - var genderString = (gender === 0 ? 'male' : 'female'); - var name = blaver.name.firstName(genderString); + for (let q = 0; q < 30; q++) { + const gender = Math.floor(Math.random() * 2); + const genderString = (gender === 0 ? 'male' : 'female'); + const name = blaver.name.firstName(genderString); assertInArray(name, blaver.definitions.name[genderString + '_first_name']); } }); @@ -44,7 +44,7 @@ describe("name.js", function () { it("returns a random name", function () { sinon.stub(blaver.name, 'lastName').returns('foo'); - var last_name = blaver.name.lastName(); + const last_name = blaver.name.lastName(); assert.strictEqual(last_name, 'foo'); @@ -57,7 +57,7 @@ describe("name.js", function () { it("returns a random middle name", function () { sinon.stub(blaver.name, 'middleName').returns('foo'); - var middle_name = blaver.name.middleName(); + const middle_name = blaver.name.middleName(); assert.strictEqual(middle_name, 'foo'); @@ -83,13 +83,13 @@ describe("name.js", function () { }) it("returns male prefix", function () { - var middle_name = blaver.name.middleName(0); + const middle_name = blaver.name.middleName(0); assert.strictEqual(middle_name, 'Genaddiesvich') }); it("returns female prefix", function () { - var middle_name = blaver.name.middleName(1); + const middle_name = blaver.name.middleName(1); assert.strictEqual(middle_name, 'Genaddievna'); }); @@ -100,9 +100,9 @@ describe("name.js", function () { describe("findName()", function () { it("usually returns a first name and last name", function () { sinon.stub(blaver.datatype, 'number').returns(5); - var name = blaver.name.findName(); + const name = blaver.name.findName(); assert.ok(name); - var parts = name.split(' '); + const parts = name.split(' '); assert.strictEqual(parts.length, 2); @@ -111,8 +111,8 @@ describe("name.js", function () { it("occasionally returns a first name and last name with a prefix", function () { sinon.stub(blaver.datatype, 'number').returns(0); - var name = blaver.name.findName(); - var parts = name.split(' '); + const name = blaver.name.findName(); + const parts = name.split(' '); assert.ok(parts.length >= 3); @@ -128,7 +128,7 @@ describe("name.js", function () { sinon.stub(blaver.name, 'firstName').withArgs(0).returns('Y'); sinon.stub(blaver.name, 'lastName').withArgs(0).returns('Z'); - var name = blaver.name.findName(); + const name = blaver.name.findName(); assert.strictEqual(name, 'X Y Z'); @@ -147,7 +147,7 @@ describe("name.js", function () { sinon.stub(blaver.name, 'firstName').withArgs(1).returns('K'); sinon.stub(blaver.name, 'lastName').withArgs(1).returns('L'); - var name = blaver.name.findName(); + const name = blaver.name.findName(); assert.strictEqual(name, 'J K L'); @@ -160,8 +160,8 @@ describe("name.js", function () { it("occasionally returns a first name and last name with a suffix", function () { sinon.stub(blaver.datatype, 'number').returns(1); sinon.stub(blaver.name, 'suffix').returns('Jr.'); - var name = blaver.name.findName(); - var parts = name.split(' '); + const name = blaver.name.findName(); + const parts = name.split(' '); assert.ok(parts.length >= 3); assert.strictEqual(parts[parts.length-1], 'Jr.'); @@ -173,7 +173,7 @@ describe("name.js", function () { it("needs to work with specific locales and respect the fallbacks", function () { blaver.locale = 'en_US'; // this will throw if this is broken - var name = blaver.name.findName(); + const name = blaver.name.findName(); }); }); @@ -181,7 +181,7 @@ describe("name.js", function () { it("returns a random title", function () { sinon.stub(blaver.name, 'title').returns('Lead Solutions Supervisor'); - var title = blaver.name.title(); + const title = blaver.name.title(); assert.strictEqual(title, 'Lead Solutions Supervisor'); @@ -195,7 +195,7 @@ describe("name.js", function () { sinon.spy(blaver.name, 'jobDescriptor'); sinon.spy(blaver.name, 'jobArea'); sinon.spy(blaver.name, 'jobType'); - var jobTitle = blaver.name.jobTitle(); + const jobTitle = blaver.name.jobTitle(); assert.ok(typeof jobTitle === 'string'); assert.ok(blaver.random.arrayElement.calledThrice); @@ -230,18 +230,18 @@ describe("name.js", function () { }) it("returns male prefix", function () { - var prefix = blaver.name.prefix(0); + const prefix = blaver.name.prefix(0); assert.strictEqual(prefix, 'Mp') }); it("returns female prefix", function () { - var prefix = blaver.name.prefix(1); + const prefix = blaver.name.prefix(1); assert.strictEqual(prefix, 'Fp'); }); it("returns either prefix", function () { - var prefix = blaver.name.prefix(); + const prefix = blaver.name.prefix(); assert(['Mp', 'Fp'].indexOf(prefix) >= 0) }); @@ -265,7 +265,7 @@ describe("name.js", function () { }) it("returns a prefix", function () { - var prefix = blaver.name.prefix(); + const prefix = blaver.name.prefix(); assert.strictEqual(prefix, 'P'); }); diff --git a/test/phone_number.unit.js b/test/phone_number.unit.js index 62fa3f95..e4bbb29f 100644 --- a/test/phone_number.unit.js +++ b/test/phone_number.unit.js @@ -8,7 +8,7 @@ describe("phone_number.js", function () { describe("phoneNumber()", function () { it("returns a random phoneNumber with a random format", function () { sinon.spy(blaver.helpers, 'replaceSymbolWithNumber'); - var phone_number = blaver.phone.phoneNumber(); + const phone_number = blaver.phone.phoneNumber(); assert.ok(phone_number.match(/\d/)); assert.ok(blaver.helpers.replaceSymbolWithNumber.called); @@ -20,16 +20,16 @@ describe("phone_number.js", function () { describe("phoneNumberFormat()", function () { it("returns phone number with requested format (Array index)", function () { blaver.locale = "en"; - for (var i = 0; i < 10; i++) { - var phone_number = blaver.phone.phoneNumberFormat(1); + for (let i = 0; i < 10; i++) { + const phone_number = blaver.phone.phoneNumberFormat(1); assert.ok(phone_number.match(/\(\d\d\d\) \d\d\d-\d\d\d\d/)); } }); it("returns phone number with proper format US (Array index)", function () { blaver.locale = "en"; - for (var i = 0; i < 25; i++) { - var phone_number = blaver.phone.phoneNumberFormat(1); + for (let i = 0; i < 25; i++) { + const phone_number = blaver.phone.phoneNumberFormat(1); console.log(phone_number) assert.ok(phone_number.match(/\([2-9]\d\d\) [2-9]\d\d-\d\d\d\d/)); } @@ -37,8 +37,8 @@ describe("phone_number.js", function () { it("returns phone number with proper format CA (Array index)", function () { blaver.locale = "en_CA"; - for (var i = 0; i < 25; i++) { - var phone_number = blaver.phone.phoneNumberFormat(1); + for (let i = 0; i < 25; i++) { + const phone_number = blaver.phone.phoneNumberFormat(1); assert.ok(phone_number.match(/\([2-9]\d\d\)[2-9]\d\d-\d\d\d\d/)); } }); diff --git a/test/random.unit.js b/test/random.unit.js index 88aa5a27..208311a6 100644 --- a/test/random.unit.js +++ b/test/random.unit.js @@ -1,7 +1,6 @@ if (typeof module !== 'undefined') { var assert = require('assert'); var sinon = require('sinon'); - var _ = require('lodash'); var blaver = require('../index'); var mersenne = new (require('../lib/mersenne')); } @@ -21,25 +20,25 @@ describe("random.js", function () { it('should return deterministic results when seeded with integer', function() { blaver.seed(100); - var name = blaver.name.findName(); + const name = blaver.name.findName(); assert.strictEqual(name, 'Eva Jenkins'); }); it('should return deterministic results when seeded with 0', function() { blaver.seed(0); - var name = blaver.name.findName(); + const name = blaver.name.findName(); assert.strictEqual(name, 'Lola Sporer'); }); it('should return deterministic results when seeded with array - one element', function() { blaver.seed([10]); - var name = blaver.name.findName(); + const name = blaver.name.findName(); assert.strictEqual(name, 'Duane Kshlerin'); }); it('should return deterministic results when seeded with array - multiple elements', function() { blaver.seed([10, 100, 1000]); - var name = blaver.name.findName(); + const name = blaver.name.findName(); assert.strictEqual(name, 'Alma Shanahan'); }); }); @@ -58,20 +57,20 @@ describe("random.js", function () { describe('arrayElement', function() { it('returns a random element in the array', function() { - var testArray = ['hello', 'to', 'you', 'my', 'friend']; + const testArray = ['hello', 'to', 'you', 'my', 'friend']; assert.ok(testArray.indexOf(blaver.random.arrayElement(testArray)) > -1); }); it('returns a random element in the array when there is only 1', function() { - var testArray = ['hello']; + const testArray = ['hello']; assert.ok(testArray.indexOf(blaver.random.arrayElement(testArray)) > -1); }); }); describe('arrayElements', function() { it('returns a subset with random elements in the array', function() { - var testArray = ['hello', 'to', 'you', 'my', 'friend']; - var subset = blaver.random.arrayElements(testArray); + const testArray = ['hello', 'to', 'you', 'my', 'friend']; + const subset = blaver.random.arrayElements(testArray); // Check length assert.ok(subset.length >= 1 && subset.length <= testArray.length); @@ -89,8 +88,8 @@ describe("random.js", function () { }); it('returns a subset of fixed length with random elements in the array', function() { - var testArray = ['hello', 'to', 'you', 'my', 'friend']; - var subset = blaver.random.arrayElements(testArray, 3); + const testArray = ['hello', 'to', 'you', 'my', 'friend']; + const subset = blaver.random.arrayElements(testArray, 3); // Check length assert.ok(subset.length === 3); @@ -133,7 +132,7 @@ describe("random.js", function () { }); describe('semver', function() { - var semver = blaver.system.semver(); + const semver = blaver.system.semver(); it('should generate a string', function() { assert.ok(typeof semver === 'string'); @@ -145,7 +144,7 @@ describe("random.js", function () { }); describe('alpha', function() { - var alpha = blaver.random.alpha; + const alpha = blaver.random.alpha; it('should return single letter when no count provided', function() { assert.ok(alpha().length === 1); @@ -164,19 +163,19 @@ describe("random.js", function () { }); it('should be able to ban some characters', function() { - var alphaText = alpha(5,{bannedChars:['a', 'p']}); + const alphaText = alpha(5,{bannedChars:['a', 'p']}); assert.ok(alphaText.length === 5); assert.ok(alphaText.match(/[b-oq-z]/)); }); it('should be able handle mistake in banned characters array', function() { - var alphaText = alpha(5,{bannedChars:['a', 'a', 'p']}); + const alphaText = alpha(5,{bannedChars:['a', 'a', 'p']}); assert.ok(alphaText.length === 5); assert.ok(alphaText.match(/[b-oq-z]/)); }); }); describe('alphaNumeric', function() { - var alphaNumeric = blaver.random.alphaNumeric; + const alphaNumeric = blaver.random.alphaNumeric; it('should generate single character when no additional argument was provided', function() { assert.ok(alphaNumeric().length === 1); @@ -187,12 +186,12 @@ describe("random.js", function () { }); it('should be able to ban some characters', function() { - var alphaText = alphaNumeric(5,{bannedChars:['a','p']}); + const alphaText = alphaNumeric(5,{bannedChars:['a','p']}); assert.ok(alphaText.length === 5); assert.ok(alphaText.match(/[b-oq-z]/)); }); it('should be able handle mistake in banned characters array', function() { - var alphaText = alphaNumeric(5,{bannedChars:['a','p','a']}); + const alphaText = alphaNumeric(5,{bannedChars:['a','p','a']}); assert.ok(alphaText.length === 5); assert.ok(alphaText.match(/[b-oq-z]/)); }); @@ -212,8 +211,7 @@ describe("random.js", function () { describe("mersenne twister", function() { it("returns a random number without given min / max arguments", function() { - var max = 10; - var randomNumber = mersenne.rand(); + const randomNumber = mersenne.rand(); assert.ok(typeof randomNumber === 'number'); }); diff --git a/test/run.js b/test/run.js index 16fcbbba..b27ad379 100755 --- a/test/run.js +++ b/test/run.js @@ -1,12 +1,12 @@ #!/usr/bin/env node process.env.NODE_ENV = 'test'; -var fs = require('fs'); -var Mocha = require('mocha'); -var optimist = require('optimist'); -var walk_dir = require('./support/walk_dir'); +const fs = require('fs'); +const Mocha = require('mocha'); +const optimist = require('optimist'); +const walk_dir = require('./support/walk_dir'); -var argv = optimist +const argv = optimist .usage("Usage: $0 -t [types] --reporter [reporter] --timeout [timeout]") .default({types: 'unit,functional', reporter: 'spec', timeout: 6000}) .describe('types', 'The types of tests to run, separated by commas. E.g., unit,functional,acceptance') @@ -19,11 +19,11 @@ var argv = optimist .alias('help', 'h') .argv; -var mocha = new Mocha({timeout: argv.timeout, reporter: argv.reporter, ui: 'bdd'}); +const mocha = new Mocha({timeout: argv.timeout, reporter: argv.reporter, ui: 'bdd'}); -var valid_test_types = ['unit', 'functional', 'acceptance', 'integration']; -var requested_types = argv.types.split(','); -var types_to_use = []; +const valid_test_types = ['unit', 'functional', 'acceptance', 'integration']; +const requested_types = argv.types.split(','); +const types_to_use = []; valid_test_types.forEach(function (valid_test_type) { if (requested_types.indexOf(valid_test_type) !== -1) { @@ -36,10 +36,10 @@ if (argv.help || types_to_use.length === 0) { process.exit(); } -var is_valid_file = function (file) { - for (var i = 0; i < types_to_use.length; i++) { - var test_type = types_to_use[i]; - var ext = test_type + ".js"; +const is_valid_file = function (file) { + for (let i = 0; i < types_to_use.length; i++) { + const test_type = types_to_use[i]; + const ext = test_type + ".js"; if (file.indexOf(ext) !== -1) { return true; diff --git a/test/support/chai.js b/test/support/chai.js index 412d7361..21bf591e 100644 --- a/test/support/chai.js +++ b/test/support/chai.js @@ -9,7 +9,7 @@ // CommonJS require() function require(p) { - var path = require.resolve(p), + const path = require.resolve(p), mod = require.modules[path]; if (!mod) {throw new Error('failed to require "' + p + '"');} if (!mod.exports) { @@ -22,7 +22,7 @@ require.modules = {}; require.resolve = function (path) { - var orig = path, + const orig = path, reg = path + ".js", index = path + "/index.js"; return ( @@ -38,12 +38,12 @@ return function (p) { if ("." != p[0]) {return require(p);} - var path = parent.split("/"), + const path = parent.split("/"), segs = p.split("/"); path.pop(); - for (var i = 0; i < segs.length; i++) { - var seg = segs[i]; + for (let i = 0; i < segs.length; i++) { + const seg = segs[i]; if (".." == seg) {path.pop();} else if ("." != seg) {path.push(seg);} } @@ -64,7 +64,7 @@ * Module dependencies. */ - var AssertionError = require("./browser/error"), + const AssertionError = require("./browser/error"), toString = Object.prototype.toString, util = require("./utils"), flag = util.flag; @@ -144,7 +144,7 @@ expected, _actual ) { - var msg = util.getMessage(this, arguments), + const msg = util.getMessage(this, arguments), actual = util.getActual(this, arguments), ok = util.test(this, arguments); @@ -276,7 +276,7 @@ */ function an(type) { - var obj = flag(this, "object"), + const obj = flag(this, "object"), klassStart = type.charAt(0).toUpperCase(), klass = klassStart + type.slice(1), article = ~["A", "E", "I", "O", "U"].indexOf(klassStart) ? "an " : "a "; @@ -316,7 +316,7 @@ } function include(val) { - var obj = flag(this, "object"); + const obj = flag(this, "object"); this.assert( ~obj.indexOf(val), "expected #{this} to include " + util.inspect(val), @@ -464,7 +464,7 @@ * * Asserts that the target is neither `null` nor `undefined`. * - * var foo = 'hi' + * const foo = 'hi' * , bar = null * , baz; * @@ -506,7 +506,7 @@ Object.defineProperty(Assertion.prototype, "empty", { get: function () { - var obj = flag(this, "object"), + const obj = flag(this, "object"), expected = obj; if (Array.isArray(obj) || "string" === typeof object) { @@ -541,7 +541,7 @@ */ function checkArguments() { - var obj = flag(this, "object"), + const obj = flag(this, "object"), type = Object.prototype.toString.call(obj); this.assert( "[object Arguments]" === type, @@ -572,7 +572,7 @@ */ Assertion.prototype.equal = function (val) { - var obj = flag(this, "object"); + const obj = flag(this, "object"); if (flag(this, "deep")) { return this.eql(val); } else { @@ -671,7 +671,7 @@ */ Assertion.prototype.within = function (start, finish) { - var obj = flag(this, "object"), + const obj = flag(this, "object"), range = start + ".." + finish; this.assert( @@ -688,7 +688,7 @@ * * Asserts that the target is an instance of `constructor`. * - * var Tea = function (name) { this.name = name; } + * const Tea = function (name) { this.name = name; } * , Chai = new Tea('chai'); * * expect(Chai).to.be.an.instanceof(Tea); @@ -701,7 +701,7 @@ */ Assertion.prototype.instanceOf = function (constructor) { - var name = util.getName(constructor); + const name = util.getName(constructor); this.assert( flag(this, "object") instanceof constructor, "expected #{this} to be an instance of " + name, @@ -720,13 +720,13 @@ * references into objects and arrays. * * // simple referencing - * var obj = { foo: 'bar' }; + * const obj = { foo: 'bar' }; * expect(obj).to.have.property('foo'); * expect(obj).to.have.property('foo', 'bar'); * expect(obj).to.have.property('foo').to.be.a('string'); * * // deep referencing - * var deepObj = { + * const deepObj = { * green: { tea: 'matcha' } * , teas: [ 'chai', 'matcha', { tea: 'konacha' } ] * }; @@ -743,7 +743,7 @@ */ Assertion.prototype.property = function (name, val) { - var obj = flag(this, "object"), + const obj = flag(this, "object"), value = flag(this, "deep") ? util.getPathValue(name, obj) : obj[name], descriptor = flag(this, "deep") ? "deep property " : "property ", negate = flag(this, "negate"); @@ -796,7 +796,7 @@ */ Assertion.prototype.ownProperty = function (name) { - var obj = flag(this, "object"); + const obj = flag(this, "object"); this.assert( obj.hasOwnProperty(name), "expected #{this} to have own property " + util.inspect(name), @@ -820,9 +820,9 @@ */ Assertion.prototype.length = function (n) { - var obj = flag(this, "object"); + const obj = flag(this, "object"); new Assertion(obj).to.have.property("length"); - var len = obj.length; + const len = obj.length; this.assert( len == n, @@ -848,7 +848,7 @@ */ Assertion.prototype.match = function (re) { - var obj = flag(this, "object"); + const obj = flag(this, "object"); this.assert( re.exec(obj), "expected #{this} to match " + re, @@ -871,7 +871,7 @@ */ Assertion.prototype.string = function (str) { - var obj = flag(this, "object"); + const obj = flag(this, "object"); new Assertion(obj).is.a("string"); this.assert( @@ -900,7 +900,7 @@ */ Assertion.prototype.keys = function (keys) { - var obj = flag(this, "object"), + const obj = flag(this, "object"), str, ok = true; @@ -909,7 +909,7 @@ if (!keys.length) {throw new Error("keys required");} - var actual = Object.keys(obj), + const actual = Object.keys(obj), len = keys.length; // Inclusion @@ -927,7 +927,7 @@ keys = keys.map(function (key) { return util.inspect(key); }); - var last = keys.pop(); + const last = keys.pop(); str = keys.join(", ") + ", and " + last; } else { str = util.inspect(keys[0]); @@ -958,8 +958,8 @@ * (as determined using `instanceof`), optionally with a RegExp or string inclusion test * for the error's message. * - * var err = new ReferenceError('This is a bad function.'); - * var fn = function () { throw err; } + * const err = new ReferenceError('This is a bad function.'); + * const fn = function () { throw err; } * expect(fn).to.throw(ReferenceError); * expect(fn).to.throw(Error); * expect(fn).to.throw(/bad function/); @@ -985,10 +985,10 @@ */ Assertion.prototype.Throw = function (constructor, msg) { - var obj = flag(this, "object"); + const obj = flag(this, "object"); new Assertion(obj).is.a("function"); - var thrown = false, + const thrown = false, desiredError = null, name = null; @@ -1065,7 +1065,7 @@ } } - var expectedThrown = name + const expectedThrown = name ? name : desiredError ? util.inspect(desiredError) @@ -1101,7 +1101,7 @@ */ Assertion.prototype.respondTo = function (method) { - var obj = flag(this, "object"), + const obj = flag(this, "object"), itself = flag(this, "itself"), context = "function" === typeof obj && !itself @@ -1155,7 +1155,7 @@ */ Assertion.prototype.satisfy = function (matcher) { - var obj = flag(this, "object"); + const obj = flag(this, "object"); this.assert( matcher(obj), "expected #{this} to satisfy " + util.inspect(matcher), @@ -1181,7 +1181,7 @@ */ Assertion.prototype.closeTo = function (expected, delta) { - var obj = flag(this, "object"); + const obj = flag(this, "object"); this.assert( obj - delta === expected || obj + delta === expected, "expected #{this} to be close to " + expected + " +/- " + delta, @@ -1224,7 +1224,7 @@ this.operator = options.operator; if (options.stackStartFunction && Error.captureStackTrace) { - var stackStartFunction = options.stackStartFunction; + const stackStartFunction = options.stackStartFunction; Error.captureStackTrace(this, stackStartFunction); } } @@ -1245,7 +1245,7 @@ * MIT Licensed */ - var used = [], + const used = [], exports = (module.exports = {}); /*! @@ -1270,7 +1270,7 @@ * Utils for plugins (not exported) */ - var util = require("./utils"); + const util = require("./utils"); /** * # .use(function) @@ -1295,21 +1295,21 @@ * Expect interface */ - var expect = require("./interface/expect"); + const expect = require("./interface/expect"); exports.use(expect); /*! * Should interface */ - var should = require("./interface/should"); + const should = require("./interface/should"); exports.use(should); /*! * Assert interface */ - var assert = require("./interface/assert"); + const assert = require("./interface/assert"); exports.use(assert); }); // module: chai.js @@ -1325,7 +1325,7 @@ * Chai dependencies. */ - var Assertion = chai.Assertion, + const Assertion = chai.Assertion, flag = util.flag; /*! @@ -1346,8 +1346,8 @@ * @api public */ - var assert = (chai.assert = function (express, errmsg) { - var test = new Assertion(null); + const assert = (chai.assert = function (express, errmsg) { + const test = new Assertion(null); test.assert(express, errmsg, "[ negation message unavailable ]"); }); @@ -1407,7 +1407,7 @@ */ assert.equal = function (act, exp, msg) { - var test = new Assertion(act, msg); + const test = new Assertion(act, msg); test.assert( exp == flag(test, "object"), @@ -1433,7 +1433,7 @@ */ assert.notEqual = function (act, exp, msg) { - var test = new Assertion(act, msg); + const test = new Assertion(act, msg); test.assert( exp != flag(test, "object"), @@ -1521,7 +1521,7 @@ * * Asserts that `value` is true. * - * var teaServed = true; + * const teaServed = true; * assert.isTrue(teaServed, 'the tea has been served'); * * @name isTrue @@ -1539,7 +1539,7 @@ * * Asserts that `value` is false. * - * var teaServed = false; + * const teaServed = false; * assert.isFalse(teaServed, 'no tea yet? hmm...'); * * @name isFalse @@ -1574,7 +1574,7 @@ * * Asserts that `value` is not null. * - * var tea = 'tasty chai'; + * const tea = 'tasty chai'; * assert.isNotNull(tea, 'great, time for tea!'); * * @name isNotNull @@ -1592,7 +1592,7 @@ * * Asserts that `value` is `undefined`. * - * var tea; + * const tea; * assert.isUndefined(tea, 'no tea defined'); * * @name isUndefined @@ -1610,7 +1610,7 @@ * * Asserts that `value` is not `undefined`. * - * var tea = 'cup of chai'; + * const tea = 'cup of chai'; * assert.isDefined(tea, 'tea has been defined'); * * @name isUndefined @@ -1646,7 +1646,7 @@ * * Asserts that `value` is _not_ a function. * - * var serveTea = [ 'heat', 'pour', 'sip' ]; + * const serveTea = [ 'heat', 'pour', 'sip' ]; * assert.isNotFunction(serveTea, 'great, we have listed the steps'); * * @name isNotFunction @@ -1665,7 +1665,7 @@ * Asserts that `value` is an object (as revealed by * `Object.prototype.toString`). * - * var selection = { name: 'Chai', serve: 'with spices' }; + * const selection = { name: 'Chai', serve: 'with spices' }; * assert.isObject(selection, 'tea selection is an object'); * * @name isObject @@ -1683,7 +1683,7 @@ * * Asserts that `value` is _not_ an object. * - * var selection = 'chai' + * const selection = 'chai' * assert.isObject(selection, 'tea selection is not an object'); * assert.isObject(null, 'null is not an object'); * @@ -1702,7 +1702,7 @@ * * Asserts that `value` is an array. * - * var menu = [ 'green', 'chai', 'oolong' ]; + * const menu = [ 'green', 'chai', 'oolong' ]; * assert.isArray(menu, 'what kind of tea do we want?'); * * @name isArray @@ -1720,7 +1720,7 @@ * * Asserts that `value` is _not_ an array. * - * var menu = 'green|chai|oolong'; + * const menu = 'green|chai|oolong'; * assert.isNotArray(menu, 'what kind of tea do we want?'); * * @name isNotArray @@ -1738,7 +1738,7 @@ * * Asserts that `value` is a string. * - * var teaOrder = 'chai'; + * const teaOrder = 'chai'; * assert.isString(teaOrder, 'order placed'); * * @name isString @@ -1756,7 +1756,7 @@ * * Asserts that `value` is _not_ a string. * - * var teaOrder = 4; + * const teaOrder = 4; * assert.isNotString(teaOrder, 'order placed'); * * @name isNotString @@ -1774,7 +1774,7 @@ * * Asserts that `value` is a number. * - * var cups = 2; + * const cups = 2; * assert.isNumber(cups, 'how many cups'); * * @name isNumber @@ -1792,7 +1792,7 @@ * * Asserts that `value` is _not_ a number. * - * var cups = '2 cups please'; + * const cups = '2 cups please'; * assert.isNotNumber(cups, 'how many cups'); * * @name isNotNumber @@ -1810,7 +1810,7 @@ * * Asserts that `value` is a boolean. * - * var teaReady = true + * const teaReady = true * , teaServed = false; * * assert.isBoolean(teaReady, 'is the tea ready'); @@ -1831,7 +1831,7 @@ * * Asserts that `value` is _not_ a boolean. * - * var teaReady = 'yep' + * const teaReady = 'yep' * , teaServed = 'nope'; * * assert.isNotBoolean(teaReady, 'is the tea ready'); @@ -1895,7 +1895,7 @@ * * Asserts that `value` is an instance of `constructor`. * - * var Tea = function (name) { this.name = name; } + * const Tea = function (name) { this.name = name; } * , chai = new Tea('chai'); * * assert.instanceOf(chai, Tea, 'chai is an instance of tea'); @@ -1916,7 +1916,7 @@ * * Asserts `value` is not an instance of `constructor`. * - * var Tea = function (name) { this.name = name; } + * const Tea = function (name) { this.name = name; } * , chai = new String('chai'); * * assert.notInstanceOf(chai, Tea, 'chai is not an instance of tea'); @@ -1949,7 +1949,7 @@ */ assert.include = function (exp, inc, msg) { - var obj = new Assertion(exp, msg); + const obj = new Assertion(exp, msg); if (Array.isArray(exp)) { obj.to.include(inc); @@ -2247,7 +2247,7 @@ ) { throw new Error('Invalid operator "' + operator + '"'); } - var test = new Assertion(eval(val + operator + val2), msg); + const test = new Assertion(eval(val + operator + val2), msg); test.assert( true === flag(test, "object"), "expected " + @@ -2306,7 +2306,7 @@ */ module.exports = function (chai, util) { - var Assertion = chai.Assertion; + const Assertion = chai.Assertion; function loadShould() { // modify Object.prototype to have `should` @@ -2323,7 +2323,7 @@ configurable: true, }); - var should = {}; + const should = {}; should.equal = function (val1, val2) { new Assertion(val1).to.equal(val2); @@ -2376,7 +2376,7 @@ * Module dependencies */ - var transferFlags = require("./transferFlags"); + const transferFlags = require("./transferFlags"); /** * ### addChainableMethod (ctx, name, method, chainingBehavior) @@ -2384,7 +2384,7 @@ * Adds a method to an object, such that the method can also be chained. * * utils.addChainableMethod(chai.Assertion.prototype, 'foo', function (str) { - * var obj = utils.flag(this, 'object'); + * const obj = utils.flag(this, 'object'); * new chai.Assertion(obj).to.be.equal(str); * }); * @@ -2414,15 +2414,15 @@ get: function () { chainingBehavior.call(this); - var assert = function () { - var result = method.apply(this, arguments); + const assert = function () { + const result = method.apply(this, arguments); return result === undefined ? this : result; }; // Re-enumerate every time to better accomodate plugins. - var asserterNames = Object.getOwnPropertyNames(ctx); + const asserterNames = Object.getOwnPropertyNames(ctx); asserterNames.forEach(function (asserterName) { - var pd = Object.getOwnPropertyDescriptor(ctx, asserterName), + const pd = Object.getOwnPropertyDescriptor(ctx, asserterName), functionProtoPD = Object.getOwnPropertyDescriptor( Function.prototype, asserterName @@ -2455,7 +2455,7 @@ * Adds a method to the prototype of an object. * * utils.addMethod(chai.Assertion.prototype, 'foo', function (str) { - * var obj = utils.flag(this, 'object'); + * const obj = utils.flag(this, 'object'); * new chai.Assertion(obj).to.be.equal(str); * }); * @@ -2476,7 +2476,7 @@ module.exports = function (ctx, name, method) { ctx[name] = function () { - var result = method.apply(this, arguments); + const result = method.apply(this, arguments); return result === undefined ? this : result; }; }; @@ -2495,7 +2495,7 @@ * Adds a property to the prototype of an object. * * utils.addProperty(chai.Assertion.prototype, 'foo', function () { - * var obj = utils.flag(this, 'object'); + * const obj = utils.flag(this, 'object'); * new chai.Assertion(obj).to.be.instanceof(Foo); * }); * @@ -2517,7 +2517,7 @@ module.exports = function (ctx, name, getter) { Object.defineProperty(ctx, name, { get: function () { - var result = getter.call(this); + const result = getter.call(this); return result === undefined ? this : result; }, configurable: true, @@ -2533,7 +2533,7 @@ // For browser implementation if (!Buffer) { - var Buffer = { + const Buffer = { isBuffer: function () { return false; }, @@ -2547,7 +2547,7 @@ } else if (Buffer.isBuffer(actual) && Buffer.isBuffer(expected)) { if (actual.length != expected.length) {return false;} - for (var i = 0; i < actual.length; i++) { + for (let i = 0; i < actual.length; i++) { if (actual[i] !== expected[i]) {return false;} } @@ -2597,7 +2597,7 @@ return _deepEqual(a, b); } try { - var ka = Object.keys(a), + const ka = Object.keys(a), kb = Object.keys(b), key, i; @@ -2651,7 +2651,7 @@ */ module.exports = function (obj, key, value) { - var flags = obj.__flags || (obj.__flags = Object.create(null)); + const flags = obj.__flags || (obj.__flags = Object.create(null)); if (arguments.length === 3) { flags[key] = value; } else { @@ -2677,7 +2677,7 @@ */ module.exports = function (obj, args) { - var actual = args[4]; + const actual = args[4]; return "undefined" !== actual ? actual : obj.obj; }; }); // module: utils/getActual.js @@ -2693,7 +2693,7 @@ * Module dependencies */ - var flag = require("./flag"), + const flag = require("./flag"), getActual = require("./getActual"), inspect = require("./inspect"); @@ -2714,7 +2714,7 @@ */ module.exports = function (obj, args) { - var negate = flag(obj, "negate"), + const negate = flag(obj, "negate"), val = flag(obj, "object"), expected = args[3], actual = getActual(obj, args), @@ -2749,7 +2749,7 @@ module.exports = function (func) { if (func.name) {return func.name;} - var match = /^\s?function ([^(]*)\(/.exec(func); + const match = /^\s?function ([^(]*)\(/.exec(func); return match && match[1] ? match[1] : ""; }; }); // module: utils/getName.js @@ -2770,7 +2770,7 @@ * This allows the retrieval of values in an * object given a string path. * - * var obj = { + * const obj = { * prop1: { * arr: ['a', 'b', 'c'] * , str: 'Hello' @@ -2794,8 +2794,8 @@ * @api public */ - var getPathValue = (module.exports = function (path, obj) { - var parsed = parsePath(path); + const getPathValue = (module.exports = function (path, obj) { + const parsed = parsePath(path); return _getPathValue(parsed, obj); }); @@ -2805,7 +2805,7 @@ * Helper function used to parse string object * paths. Use in conjunction with `_getPathValue`. * - * var parsed = parsePath('myobject.property.subprop'); + * const parsed = parsePath('myobject.property.subprop'); * * ### Paths: * @@ -2818,9 +2818,9 @@ */ function parsePath(path) { - var parts = path.split(".").filter(Boolean); + const parts = path.split(".").filter(Boolean); return parts.map(function (value) { - var re = /([A-Za-z0-9]+)\[(\d+)\]$/, + const re = /([A-Za-z0-9]+)\[(\d+)\]$/, mArr = re.exec(value), val; if (mArr) {val = { p: mArr[1], i: parseFloat(mArr[2]) };} @@ -2834,7 +2834,7 @@ * Helper companion function for `.parsePath` that returns * the value located at the parsed address. * - * var value = getPathValue(parsed, obj); + * const value = getPathValue(parsed, obj); * * @param {Object} parsed definition from `parsePath`. * @param {Object} object to search against @@ -2843,10 +2843,10 @@ */ function _getPathValue(parsed, obj) { - var tmp = obj, + const tmp = obj, res; - for (var i = 0, l = parsed.length; i < l; i++) { - var part = parsed[i]; + for (let i = 0, l = parsed.length; i < l; i++) { + const part = parsed[i]; if (tmp) { if ("object" === typeof part && tmp[part.p]) { tmp = tmp[part.p][part.i]; @@ -2874,7 +2874,7 @@ * Main exports */ - var exports = (module.exports = {}); + const exports = (module.exports = {}); /*! * test utility @@ -2965,7 +2965,7 @@ // This is (almost) directly from Node.js utils // https://github.com/joyent/node/blob/f8c335d0caf47f16d31413f89aa28eda3878e3aa/lib/util.js - var getName = require("./getName"); + const getName = require("./getName"); module.exports = inspect; @@ -2981,7 +2981,7 @@ * output. Default is false (no coloring). */ function inspect(obj, showHidden, depth, colors) { - var ctx = { + const ctx = { showHidden: showHidden, seen: [], stylize: function (str) { @@ -3006,14 +3006,14 @@ } // Primitive types cannot have properties - var primitive = formatPrimitive(ctx, value); + const primitive = formatPrimitive(ctx, value); if (primitive) { return primitive; } // Look up the keys of the object. - var visibleKeys = Object.keys(value); - var keys = ctx.showHidden + const visibleKeys = Object.keys(value); + const keys = ctx.showHidden ? Object.getOwnPropertyNames(value) : visibleKeys; @@ -3029,8 +3029,8 @@ keys[1] === "stack"))) ) { if (typeof value === "function") { - var name = getName(value); - var nameSuffix = name ? ": " + name : ""; + const name = getName(value); + const nameSuffix = name ? ": " + name : ""; return ctx.stylize("[Function" + nameSuffix + "]", "special"); } if (isRegExp(value)) { @@ -3044,7 +3044,7 @@ } } - var base = "", + const base = "", array = false, braces = ["{", "}"]; @@ -3056,7 +3056,7 @@ // Make functions say that they are functions if (typeof value === "function") { - var n = value.name ? ": " + value.name : ""; + const n = value.name ? ": " + value.name : ""; base = " [Function" + n + "]"; } @@ -3089,7 +3089,7 @@ ctx.seen.push(value); - var output; + const output; if (array) { output = formatArray(ctx, value, recurseTimes, visibleKeys, keys); } else { @@ -3116,7 +3116,7 @@ return ctx.stylize("undefined", "undefined"); case "string": - var simple = + const simple = "'" + JSON.stringify(value) .replace(/^"|"$/g, "") @@ -3142,8 +3142,8 @@ } function formatArray(ctx, value, recurseTimes, visibleKeys, keys) { - var output = []; - for (var i = 0, l = value.length; i < l; ++i) { + const output = []; + for (let i = 0, l = value.length; i < l; ++i) { if (Object.prototype.hasOwnProperty.call(value, String(i))) { output.push( formatProperty( @@ -3170,7 +3170,7 @@ } function formatProperty(ctx, value, recurseTimes, visibleKeys, key, array) { - var name, str; + const name, str; if (value.__lookupGetter__) { if (value.__lookupGetter__(key)) { if (value.__lookupSetter__(key)) { @@ -3239,8 +3239,8 @@ } function reduceToSingleString(output, base, braces) { - var numLinesEst = 0; - var length = output.reduce(function (prev, cur) { + const numLinesEst = 0; + const length = output.reduce(function (prev, cur) { numLinesEst++; if (cur.indexOf("\n") >= 0) {numLinesEst++;} return prev + cur.length + 1; @@ -3302,7 +3302,7 @@ * * utils.overwriteMethod(chai.Assertion.prototype, 'equal', function (_super) { * return function (str) { - * var obj = utils.flag(this, 'object'); + * const obj = utils.flag(this, 'object'); * if (obj instanceof Foo) { * new chai.Assertion(obj.value).to.equal(str); * } else { @@ -3327,7 +3327,7 @@ */ module.exports = function (ctx, name, method) { - var _method = ctx[name], + const _method = ctx[name], _super = function () { return this; }; @@ -3335,7 +3335,7 @@ if (_method && "function" === typeof _method) {_super = _method;} ctx[name] = function () { - var result = method(_super).apply(this, arguments); + const result = method(_super).apply(this, arguments); return result === undefined ? this : result; }; }; @@ -3359,7 +3359,7 @@ * * utils.overwriteProperty(chai.Assertion.prototype, 'ok', function (_super) { * return function () { - * var obj = utils.flag(this, 'object'); + * const obj = utils.flag(this, 'object'); * if (obj instanceof Foo) { * new chai.Assertion(obj.name).to.equal('bar'); * } else { @@ -3385,14 +3385,14 @@ */ module.exports = function (ctx, name, getter) { - var _get = Object.getOwnPropertyDescriptor(ctx, name), + const _get = Object.getOwnPropertyDescriptor(ctx, name), _super = function () {}; if (_get && "function" === typeof _get.get) {_super = _get.get;} Object.defineProperty(ctx, name, { get: function () { - var result = getter(_super).call(this); + const result = getter(_super).call(this); return result === undefined ? this : result; }, configurable: true, @@ -3412,7 +3412,7 @@ * Module dependencies */ - var flag = require("./flag"); + const flag = require("./flag"); /** * # test(object, expression) @@ -3424,7 +3424,7 @@ */ module.exports = function (obj, args) { - var negate = flag(obj, "negate"), + const negate = flag(obj, "negate"), expr = args[0]; return negate ? !expr : expr; }; @@ -3448,10 +3448,10 @@ * will not be transferred. * * - * var newAssertion = new Assertion(); + * const newAssertion = new Assertion(); * utils.transferFlags(assertion, newAssertion); * - * var anotherAssertion = new Assertion(myObj); + * const anotherAssertion = new Assertion(myObj); * utils.transferFlags(assertion, anotherAssertion, false); * * @param {Assertion} assertion the assertion to transfer the flags from @@ -3462,7 +3462,7 @@ */ module.exports = function (assertion, object, includeAll) { - var flags = + const flags = assertion.__flags || (assertion.__flags = Object.create(null)); if (!object.__flags) { @@ -3471,7 +3471,7 @@ includeAll = arguments.length === 3 ? includeAll : true; - for (var flag in flags) { + for (let flag in flags) { if ( includeAll || (flag !== "object" && flag !== "ssfi" && flag != "message") diff --git a/test/support/function-helpers.js b/test/support/function-helpers.js index 3611a0e0..6c07fb79 100644 --- a/test/support/function-helpers.js +++ b/test/support/function-helpers.js @@ -1,16 +1,14 @@ if (typeof module !== 'undefined') { - var assert = require('assert'); - var sinon = require('sinon'); var blaver = require('../../index'); } -var functionHelpers = {}; +const functionHelpers = {}; module.exports = functionHelpers; -var IGNORED_MODULES = ['locales', 'locale', 'localeFallback', 'definitions', 'fake', 'helpers', 'mersenne']; -var IGNORED_METHODS = { +const IGNORED_MODULES = ['locales', 'locale', 'localeFallback', 'definitions', 'fake', 'helpers', 'mersenne']; +const IGNORED_METHODS = { system: ['directoryPath', 'filePath'] // these are TODOs }; @@ -39,7 +37,7 @@ function both(pred1, pred2) { // Basic smoke tests to make sure each method is at least implemented and returns a value. functionHelpers.modulesList = function modulesList () { - var modules = Object.keys(blaver) + const modules = Object.keys(blaver) .filter(isTestableModule) .reduce(function(result, mod) { result[mod] = Object.keys(blaver[mod]).filter(both(isMethodOf(mod), isTestableMethod(mod))); diff --git a/test/support/luhnCheck.js b/test/support/luhnCheck.js index 93e6030e..11c84383 100644 --- a/test/support/luhnCheck.js +++ b/test/support/luhnCheck.js @@ -1,10 +1,10 @@ module.exports = function (number) { number = number.replace(/\D/g, ""); - var split = number.split(""); + let split = number.split(""); split = split.map(function (num) { return parseInt(num); }); - var check = split.pop(); + const check = split.pop(); split.reverse(); split = split.map(function (num, index) { if (index % 2 === 0) { @@ -15,7 +15,7 @@ module.exports = function (number) { } return num; }); - var sum = split.reduce(function (prev, curr) { + const sum = split.reduce(function (prev, curr) { return prev + curr; }); return sum % 10 === check; diff --git a/test/support/sinon-1.5.2.js b/test/support/sinon-1.5.2.js index 250a13e5..417be99e 100644 --- a/test/support/sinon-1.5.2.js +++ b/test/support/sinon-1.5.2.js @@ -36,27 +36,27 @@ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -var sinon = function () { +const sinon = function () { "use strict"; - var buster = (function (setTimeout, B) { - var isNode = typeof require == "function" && typeof module == "object"; - var div = typeof document != "undefined" && document.createElement("div"); - var F = function () {}; + const buster = (function (setTimeout, B) { + const isNode = typeof require == "function" && typeof module == "object"; + const div = typeof document != "undefined" && document.createElement("div"); + const F = function () {}; - var buster = { + const buster = { bind: function bind(obj, methOrProp) { - var method = + const method = typeof methOrProp == "string" ? obj[methOrProp] : methOrProp; - var args = Array.prototype.slice.call(arguments, 2); + const args = Array.prototype.slice.call(arguments, 2); return function () { - var allArgs = args.concat(Array.prototype.slice.call(arguments)); + const allArgs = args.concat(Array.prototype.slice.call(arguments)); return method.apply(obj, allArgs); }; }, partial: function partial(fn) { - var args = [].slice.call(arguments, 1); + const args = [].slice.call(arguments, 1); return function () { return fn.apply(this, args.concat([].slice.call(arguments))); }; @@ -71,7 +71,7 @@ var sinon = function () { if (!target) { return; } - for (var i = 1, l = arguments.length, prop; i < l; ++i) { + for (let i = 1, l = arguments.length, prop; i < l; ++i) { for (prop in arguments[i]) { target[prop] = arguments[i][prop]; } @@ -90,7 +90,7 @@ var sinon = function () { if (!func) {return "";} if (func.displayName) {return func.displayName;} if (func.name) {return func.name;} - var matches = func.toString().match(/function\s+([^\(]+)/m); + const matches = func.toString().match(/function\s+([^\(]+)/m); return (matches && matches[1]) || ""; }, @@ -114,9 +114,9 @@ var sinon = function () { }, flatten: function flatten(arr) { - var result = [], + const result = [], arr = arr || []; - for (var i = 0, l = arr.length; i < l; ++i) { + for (let i = 0, l = arr.length; i < l; ++i) { result = result.concat( buster.isArray(arr[i]) ? flatten(arr[i]) : arr[i] ); @@ -125,14 +125,14 @@ var sinon = function () { }, each: function each(arr, callback) { - for (var i = 0, l = arr.length; i < l; ++i) { + for (let i = 0, l = arr.length; i < l; ++i) { callback(arr[i]); } }, map: function map(arr, callback) { - var results = []; - for (var i = 0, l = arr.length; i < l; ++i) { + const results = []; + for (let i = 0, l = arr.length; i < l; ++i) { results.push(callback(arr[i])); } return results; @@ -148,7 +148,7 @@ var sinon = function () { if (fns.length == 0) { return cb(null, []); } - var remaining = fns.length, + const remaining = fns.length, results = []; function makeDone(num) { return function done(err, result) { @@ -161,7 +161,7 @@ var sinon = function () { } }; } - for (var i = 0, l = fns.length; i < l; ++i) { + for (let i = 0, l = fns.length; i < l; ++i) { fns[i](makeDone(i)); } }, @@ -172,11 +172,11 @@ var sinon = function () { callback(err, res); } } - var remaining = fns.slice(); - var results = []; + const remaining = fns.slice(); + const results = []; function callNext() { if (remaining.length == 0) {return cb(null, results);} - var promise = remaining.shift()(next); + const promise = remaining.shift()(next); if (promise && typeof promise.then == "function") { promise.then(buster.partial(next, null), next); } @@ -201,13 +201,13 @@ var sinon = function () { typeof require === "function" && typeof module === "object" ) { - var crypto = require("crypto"); - var path = require("path"); + const crypto = require("crypto"); + const path = require("path"); buster.tmpFile = function (fileName) { - var hashed = crypto.createHash("sha1"); + const hashed = crypto.createHash("sha1"); hashed.update(fileName); - var tmpfileName = hashed.digest("hex"); + const tmpfileName = hashed.digest("hex"); if (process.platform == "win32") { return path.join(process.env["TEMP"], tmpfileName); @@ -228,12 +228,12 @@ var sinon = function () { throw new TypeError(); } arr = Object(arr); - var len = arr.length >>> 0; + const len = arr.length >>> 0; if (typeof fun !== "function") { throw new TypeError(); } - for (var i = 0; i < len; i++) { + for (let i = 0; i < len; i++) { if (arr.hasOwnProperty(i) && fun.call(thisp, arr[i], i, arr)) { return true; } @@ -254,16 +254,16 @@ var sinon = function () { throw new TypeError(); } - var t = Object(this); - var len = t.length >>> 0; + const t = Object(this); + const len = t.length >>> 0; if (typeof fn != "function") { throw new TypeError(); } - var res = []; - for (var i = 0; i < len; i++) { + const res = []; + for (let i = 0; i < len; i++) { if (i in t) { - var val = t[i]; // in case fun mutates this + const val = t[i]; // in case fun mutates this if (fn.call(thisp, val, i, t)) { res.push(val); } @@ -287,7 +287,7 @@ var sinon = function () { return buster.extend(B || {}, buster); })(setTimeout, buster); if (typeof buster === "undefined") { - var buster = {}; + const buster = {}; } if (typeof module === "object" && typeof require === "function") { @@ -299,9 +299,9 @@ var sinon = function () { buster.format.quoteStrings = true; buster.format.ascii = (function () { - var hasOwn = Object.prototype.hasOwnProperty; + const hasOwn = Object.prototype.hasOwnProperty; - var specialObjects = []; + const specialObjects = []; if (typeof global != "undefined") { specialObjects.push({ obj: global, value: "[object global]" }); } @@ -313,10 +313,10 @@ var sinon = function () { } function keys(object) { - var k = (Object.keys && Object.keys(object)) || []; + const k = (Object.keys && Object.keys(object)) || []; if (k.length == 0) { - for (var prop in object) { + for (let prop in object) { if (hasOwn.call(object, prop)) { k.push(prop); } @@ -331,7 +331,7 @@ var sinon = function () { return false; } - for (var i = 0, l = objects.length; i < l; ++i) { + for (let i = 0, l = objects.length; i < l; ++i) { if (objects[i] === object) { return true; } @@ -342,7 +342,7 @@ var sinon = function () { function ascii(object, processed, indent) { if (typeof object == "string") { - var quote = typeof this.quoteStrings != "boolean" || this.quoteStrings; + const quote = typeof this.quoteStrings != "boolean" || this.quoteStrings; return processed || quote ? '"' + object + '"' : object; } @@ -375,7 +375,7 @@ var sinon = function () { return object.toString(); } - for (var i = 0, l = specialObjects.length; i < l; i++) { + for (let i = 0, l = specialObjects.length; i < l; i++) { if (object === specialObjects[i].obj) { return specialObjects[i].value; } @@ -391,9 +391,9 @@ var sinon = function () { ascii.array = function (array, processed) { processed = processed || []; processed.push(array); - var pieces = []; + const pieces = []; - for (var i = 0, l = array.length; i < l; ++i) { + for (let i = 0, l = array.length; i < l; ++i) { pieces.push(ascii.call(this, array[i], processed)); } @@ -404,15 +404,15 @@ var sinon = function () { processed = processed || []; processed.push(object); indent = indent || 0; - var pieces = [], + const pieces = [], properties = keys(object), prop, str, obj; - var is = ""; - var length = 3; + const is = ""; + const length = 3; - for (var i = 0, l = indent; i < l; ++i) { + for (let i = 0, l = indent; i < l; ++i) { is += " "; } @@ -431,8 +431,8 @@ var sinon = function () { pieces.push(str); } - var cons = ascii.constructorName.call(this, object); - var prefix = cons ? "[" + cons + "] " : ""; + const cons = ascii.constructorName.call(this, object); + const prefix = cons ? "[" + cons + "] " : ""; return length + indent > 80 ? prefix + "{\n " + is + pieces.join(",\n " + is) + "\n" + is + "}" @@ -440,13 +440,13 @@ var sinon = function () { }; ascii.element = function (element) { - var tagName = element.tagName.toLowerCase(); - var attrs = element.attributes, + const tagName = element.tagName.toLowerCase(); + const attrs = element.attributes, attribute, pairs = [], attrName; - for (var i = 0, l = attrs.length; i < l; ++i) { + for (let i = 0, l = attrs.length; i < l; ++i) { attribute = attrs.item(i); attrName = attribute.nodeName.toLowerCase().replace("html:", ""); @@ -459,25 +459,25 @@ var sinon = function () { } } - var formatted = "<" + tagName + (pairs.length > 0 ? " " : ""); - var content = element.innerHTML; + const formatted = "<" + tagName + (pairs.length > 0 ? " " : ""); + const content = element.innerHTML; if (content.length > 20) { content = content.substr(0, 20) + "[...]"; } - var res = + const res = formatted + pairs.join(" ") + ">" + content + ""; return res.replace(/ contentEditable="inherit"/, ""); }; ascii.constructorName = function (object) { - var name = buster.functionName(object && object.constructor); - var excludes = + const name = buster.functionName(object && object.constructor); + const excludes = this.excludeConstructors || buster.format.excludeConstructors || []; - for (var i = 0, l = excludes.length; i < l; ++i) { + for (let i = 0, l = excludes.length; i < l; ++i) { if (typeof excludes[i] == "string" && excludes[i] == name) { return ""; } else if (excludes[i].test && excludes[i].test(name)) { @@ -494,7 +494,7 @@ var sinon = function () { if (typeof module != "undefined") { module.exports = buster.format; } - /*jslint eqeqeq: false, onevar: false, forin: true, nomen: false, regexp: false, plusplus: false*/ + /*jslint eqeqeq: false, oneconst: false, forin: true, nomen: false, regexp: false, plusplus: false*/ /*global module, require, __dirname, document*/ /** * Sinon core utilities. For internal use only. @@ -505,12 +505,12 @@ var sinon = function () { * Copyright (c) 2010-2011 Christian Johansen */ - var sinon = (function (buster) { - var div = typeof document != "undefined" && document.createElement("div"); - var hasOwn = Object.prototype.hasOwnProperty; + const sinon = (function (buster) { + const div = typeof document != "undefined" && document.createElement("div"); + const hasOwn = Object.prototype.hasOwnProperty; function isDOMNode(obj) { - var success = false; + const success = false; try { obj.appendChild(div); @@ -540,14 +540,14 @@ var sinon = function () { } function mirrorProperties(target, source) { - for (var prop in source) { + for (let prop in source) { if (!hasOwn.call(target, prop)) { target[prop] = source[prop]; } } } - var sinon = { + const sinon = { wrapMethod: function wrapMethod(object, property, method) { if (!object) { throw new TypeError("Should wrap property of object"); @@ -557,7 +557,7 @@ var sinon = function () { throw new TypeError("Method wrapper should be function"); } - var wrappedMethod = object[property]; + const wrappedMethod = object[property]; if (!isFunction(wrappedMethod)) { throw new TypeError( @@ -576,14 +576,14 @@ var sinon = function () { } if (wrappedMethod.calledBefore) { - var verb = !!wrappedMethod.returns ? "stubbed" : "spied on"; + const verb = !!wrappedMethod.returns ? "stubbed" : "spied on"; throw new TypeError( "Attempted to wrap " + property + " which is already " + verb ); } // IE 8 does not support hasOwnProperty on the window object. - var owned = hasOwn.call(object, property); + const owned = hasOwn.call(object, property); object[property] = method; method.displayName = property; @@ -606,8 +606,8 @@ var sinon = function () { }, extend: function extend(target) { - for (var i = 1, l = arguments.length; i < l; i += 1) { - for (var prop in arguments[i]) { + for (let i = 1, l = arguments.length; i < l; i += 1) { + for (let prop in arguments[i]) { if (arguments[i].hasOwnProperty(prop)) { target[prop] = arguments[i][prop]; } @@ -626,7 +626,7 @@ var sinon = function () { }, create: function create(proto) { - var F = function () {}; + const F = function () {}; F.prototype = proto; return new F(); }, @@ -651,7 +651,7 @@ var sinon = function () { return false; } - var aString = Object.prototype.toString.call(a); + const aString = Object.prototype.toString.call(a); if (aString != Object.prototype.toString.call(b)) { return false; } @@ -661,7 +661,7 @@ var sinon = function () { return false; } - for (var i = 0, l = a.length; i < l; i += 1) { + for (let i = 0, l = a.length; i < l; i += 1) { if (!deepEqual(a[i], b[i])) { return false; } @@ -670,7 +670,7 @@ var sinon = function () { return true; } - var prop, + const prop, aLength = 0, bLength = 0; @@ -694,14 +694,14 @@ var sinon = function () { }, functionName: function functionName(func) { - var name = func.displayName || func.name; + const name = func.displayName || func.name; // Use function decomposition as a last resort to get function // name. Does not rely on function decomposition to work - if it // doesn't debugging will be slightly less informative // (i.e. toString will say 'spy' rather than 'myFunc'). if (!name) { - var matches = func.toString().match(/function ([^\s\(]+)/); + const matches = func.toString().match(/function ([^\s\(]+)/); name = matches && matches[1]; } @@ -710,7 +710,7 @@ var sinon = function () { functionToString: function toString() { if (this.getCall && this.callCount) { - var thisValue, + const thisValue, prop, i = this.callCount; @@ -729,11 +729,11 @@ var sinon = function () { }, getConfig: function (custom) { - var config = {}; + const config = {}; custom = custom || {}; - var defaults = sinon.defaultConfig; + const defaults = sinon.defaultConfig; - for (var prop in defaults) { + for (let prop in defaults) { if (defaults.hasOwnProperty(prop)) { config[prop] = custom.hasOwnProperty(prop) ? custom[prop] @@ -766,7 +766,7 @@ var sinon = function () { }, calledInOrder: function (spies) { - for (var i = 1, l = spies.length; i < l; i++) { + for (let i = 1, l = spies.length; i < l; i++) { if (!spies[i - 1].calledBefore(spies[i])) { return false; } @@ -778,10 +778,10 @@ var sinon = function () { orderByFirstCall: function (spies) { return spies.sort(function (a, b) { // uuid, won't ever be equal - var aCall = a.getCall(0); - var bCall = b.getCall(0); - var aId = (aCall && aCall.callId) || -1; - var bId = (bCall && bCall.callId) || -1; + const aCall = a.getCall(0); + const bCall = b.getCall(0); + const aId = (aCall && aCall.callId) || -1; + const bId = (bCall && bCall.callId) || -1; return aId < bId ? -1 : 1; }); @@ -790,7 +790,7 @@ var sinon = function () { log: function () {}, logError: function (label, err) { - var msg = label + " threw exception: "; + const msg = label + " threw exception: "; sinon.log(msg + "[" + err.name + "] " + err.message); if (err.stack) { sinon.log(err.stack); @@ -808,12 +808,12 @@ var sinon = function () { } else if (value === undefined) { return "undefined"; } - var string = Object.prototype.toString.call(value); + const string = Object.prototype.toString.call(value); return string.substring(8, string.length - 1).toLowerCase(); }, }; - var isNode = typeof module == "object" && typeof require == "function"; + const isNode = typeof module == "object" && typeof require == "function"; if (isNode) { try { @@ -833,14 +833,14 @@ var sinon = function () { } if (buster) { - var formatter = sinon.create(buster.format); + const formatter = sinon.create(buster.format); formatter.quoteStrings = false; sinon.format = function () { return formatter.ascii.apply(formatter, arguments); }; } else if (isNode) { try { - var util = require("util"); + const util = require("util"); sinon.format = function (value) { return typeof value == "object" && value.toString === Object.prototype.toString @@ -857,7 +857,7 @@ var sinon = function () { })(typeof buster == "object" && buster); /* @depend ../sinon.js */ - /*jslint eqeqeq: false, onevar: false, plusplus: false*/ + /*jslint eqeqeq: false, oneconst: false, plusplus: false*/ /*global module, require, sinon*/ /** * Match functions @@ -869,7 +869,7 @@ var sinon = function () { */ (function (sinon) { - var commonJSModule = + const commonJSModule = typeof module == "object" && typeof require == "function"; if (!sinon && commonJSModule) { @@ -881,7 +881,7 @@ var sinon = function () { } function assertType(value, type, name) { - var actual = sinon.typeOf(value); + const actual = sinon.typeOf(value); if (actual !== type) { throw new TypeError( "Expected type of " + name + " to be " + type + ", but was " + actual @@ -889,7 +889,7 @@ var sinon = function () { } } - var matcher = { + const matcher = { toString: function () { return this.message; }, @@ -903,10 +903,10 @@ var sinon = function () { if (actual === null || actual === undefined) { return false; } - for (var key in expectation) { + for (let key in expectation) { if (expectation.hasOwnProperty(key)) { - var exp = expectation[key]; - var act = actual[key]; + const exp = expectation[key]; + const act = actual[key]; if (match.isMatcher(exp)) { if (!exp.test(act)) { return false; @@ -927,8 +927,8 @@ var sinon = function () { if (!isMatcher(m2)) { throw new TypeError("Matcher expected"); } - var m1 = this; - var or = sinon.create(matcher); + const m1 = this; + const or = sinon.create(matcher); or.test = function (actual) { return m1.test(actual) || m2.test(actual); }; @@ -940,8 +940,8 @@ var sinon = function () { if (!isMatcher(m2)) { throw new TypeError("Matcher expected"); } - var m1 = this; - var and = sinon.create(matcher); + const m1 = this; + const and = sinon.create(matcher); and.test = function (actual) { return m1.test(actual) && m2.test(actual); }; @@ -949,9 +949,9 @@ var sinon = function () { return and; }; - var match = function (expectation, message) { - var m = sinon.create(matcher); - var type = sinon.typeOf(expectation); + const match = function (expectation, message) { + const m = sinon.create(matcher); + const type = sinon.typeOf(expectation); switch (type) { case "object": if (typeof expectation.test === "function") { @@ -961,8 +961,8 @@ var sinon = function () { m.message = "match(" + sinon.functionName(expectation.test) + ")"; return m; } - var str = []; - for (var key in expectation) { + const str = []; + for (let key in expectation) { if (expectation.hasOwnProperty(key)) { str.push(key + ": " + expectation[key]); } @@ -1054,8 +1054,8 @@ var sinon = function () { function createPropertyMatcher(propertyTest, messagePrefix) { return function (property, value) { assertType(property, "string", "property"); - var onlyProperty = arguments.length === 1; - var message = messagePrefix + '("' + property + '"'; + const onlyProperty = arguments.length === 1; + const message = messagePrefix + '("' + property + '"'; if (!onlyProperty) { message += ", " + value; } @@ -1104,7 +1104,7 @@ var sinon = function () { * @depend ../sinon.js * @depend match.js */ - /*jslint eqeqeq: false, onevar: false, plusplus: false*/ + /*jslint eqeqeq: false, oneconst: false, plusplus: false*/ /*global module, require, sinon*/ /** * Spy functions @@ -1116,12 +1116,12 @@ var sinon = function () { */ (function (sinon) { - var commonJSModule = + const commonJSModule = typeof module == "object" && typeof require == "function"; - var spyCall; - var callId = 0; - var push = [].push; - var slice = Array.prototype.slice; + const spyCall; + const callId = 0; + const push = [].push; + const slice = Array.prototype.slice; if (!sinon && commonJSModule) { sinon = require("../sinon"); @@ -1140,7 +1140,7 @@ var sinon = function () { return spy.create(function () {}); } - var method = object[property]; + const method = object[property]; return sinon.wrapMethod(object, property, spy.create(method)); } @@ -1156,10 +1156,10 @@ var sinon = function () { return false; } - var currentCall; - var matches = 0; + const currentCall; + const matches = 0; - for (var i = 0, l = this.callCount; i < l; i += 1) { + for (let i = 0, l = this.callCount; i < l; i += 1) { currentCall = this.getCall(i); if (currentCall[actual || method].apply(currentCall, arguments)) { @@ -1180,9 +1180,9 @@ var sinon = function () { return; } - var alen = args.length; + const alen = args.length; - for (var i = 0, l = fakes.length; i < l; i++) { + for (let i = 0, l = fakes.length; i < l; i++) { if (fakes[i].matches(args, strict)) { return fakes[i]; } @@ -1205,14 +1205,14 @@ var sinon = function () { this.lastCall = this.getCall(this.callCount - 1); } - var vars = "a,b,c,d,e,f,g,h,i,j,k,l"; + const consts = "a,b,c,d,e,f,g,h,i,j,k,l"; function createProxy(func) { // Retain the function length: - var p; + const p; if (func.length) { eval( "p = (function proxy(" + - vars.substring(0, func.length * 2 - 1) + + consts.substring(0, func.length * 2 - 1) + ") { return p.invoke(func, this, slice.call(arguments)); });" ); } else { @@ -1223,10 +1223,10 @@ var sinon = function () { return p; } - var uuid = 0; + const uuid = 0; // Public API - var spyApi = { + const spyApi = { reset: function () { this.called = false; this.notCalled = true; @@ -1244,14 +1244,14 @@ var sinon = function () { this.exceptions = []; this.callIds = []; if (this.fakes) { - for (var i = 0; i < this.fakes.length; i++) { + for (let i = 0; i < this.fakes.length; i++) { this.fakes[i].reset(); } } }, create: function create(func) { - var name; + const name; if (typeof func != "function") { func = function () {}; @@ -1259,7 +1259,7 @@ var sinon = function () { name = sinon.functionName(func); } - var proxy = createProxy(func); + const proxy = createProxy(func); sinon.extend(proxy, spy); delete proxy.create; @@ -1276,8 +1276,8 @@ var sinon = function () { }, invoke: function invoke(func, thisValue, args) { - var matching = matchingFake(this.fakes, args); - var exception, returnValue; + const matching = matchingFake(this.fakes, args); + const exception, returnValue; incrementCallCount.call(this); push.call(this.thisValues, thisValue); @@ -1344,10 +1344,10 @@ var sinon = function () { }, withArgs: function () { - var args = slice.call(arguments); + const args = slice.call(arguments); if (this.fakes) { - var match = matchingFake(this.fakes, args, true); + const match = matchingFake(this.fakes, args, true); if (match) { return match; @@ -1356,8 +1356,8 @@ var sinon = function () { this.fakes = []; } - var original = this; - var fake = this._create(); + const original = this; + const fake = this._create(); fake.matchingAguments = args; push.call(this.fakes, fake); @@ -1365,7 +1365,7 @@ var sinon = function () { return original.withArgs.apply(original, arguments); }; - for (var i = 0; i < this.args.length; i++) { + for (let i = 0; i < this.args.length; i++) { if (fake.matches(this.args[i])) { incrementCallCount.call(fake); push.call(fake.thisValues, this.thisValues[i]); @@ -1381,7 +1381,7 @@ var sinon = function () { }, matches: function (args, strict) { - var margs = this.matchingAguments; + const margs = this.matchingAguments; if ( margs.length <= args.length && @@ -1392,9 +1392,9 @@ var sinon = function () { }, printf: function (format) { - var spy = this; - var args = slice.call(arguments, 1); - var formatter; + const spy = this; + const args = slice.call(arguments, 1); + const formatter; return (format || "").replace(/%(.)/g, function (match, specifyer) { formatter = spyApi.formatters[specifyer]; @@ -1490,9 +1490,9 @@ var sinon = function () { }, C: function (spy) { - var calls = []; + const calls = []; - for (var i = 0, l = spy.callCount; i < l; ++i) { + for (let i = 0, l = spy.callCount; i < l; ++i) { push.call(calls, " " + spy.getCall(i).toString()); } @@ -1500,9 +1500,9 @@ var sinon = function () { }, t: function (spy) { - var objects = []; + const objects = []; - for (var i = 0, l = spy.callCount; i < l; ++i) { + for (let i = 0, l = spy.callCount; i < l; ++i) { push.call(objects, sinon.format(spy.thisValues[i])); } @@ -1510,9 +1510,9 @@ var sinon = function () { }, "*": function (spy, args) { - var formatted = []; + const formatted = []; - for (var i = 0, l = args.length; i < l; ++i) { + for (let i = 0, l = args.length; i < l; ++i) { push.call(formatted, sinon.format(args[i])); } @@ -1526,14 +1526,14 @@ var sinon = function () { spyCall = (function () { function throwYieldError(proxy, text, args) { - var msg = sinon.functionName(proxy) + text; + const msg = sinon.functionName(proxy) + text; if (args.length) { msg += " Received [" + slice.call(args).join(", ") + "]"; } throw new Error(msg); } - var callApi = { + const callApi = { create: function create( spy, thisValue, @@ -1542,7 +1542,7 @@ var sinon = function () { exception, id ) { - var proxyCall = sinon.create(spyCall); + const proxyCall = sinon.create(spyCall); delete proxyCall.create; proxyCall.proxy = spy; proxyCall.thisValue = thisValue; @@ -1562,7 +1562,7 @@ var sinon = function () { }, calledWith: function calledWith() { - for (var i = 0, l = arguments.length; i < l; i += 1) { + for (let i = 0, l = arguments.length; i < l; i += 1) { if (!sinon.deepEqual(arguments[i], this.args[i])) { return false; } @@ -1572,9 +1572,9 @@ var sinon = function () { }, calledWithMatch: function calledWithMatch() { - for (var i = 0, l = arguments.length; i < l; i += 1) { - var actual = this.args[i]; - var expectation = arguments[i]; + for (let i = 0, l = arguments.length; i < l; i += 1) { + const actual = this.args[i]; + const expectation = arguments[i]; if (!sinon.match || !sinon.match(expectation).test(actual)) { return false; } @@ -1630,13 +1630,13 @@ var sinon = function () { }, callArgWith: function (pos) { - var args = slice.call(arguments, 1); + const args = slice.call(arguments, 1); this.args[pos].apply(null, args); }, yield: function () { - var args = this.args; - for (var i = 0, l = args.length; i < l; ++i) { + const args = this.args; + for (let i = 0, l = args.length; i < l; ++i) { if (typeof args[i] === "function") { args[i].apply(null, slice.call(arguments)); return; @@ -1650,8 +1650,8 @@ var sinon = function () { }, yieldTo: function (prop) { - var args = this.args; - for (var i = 0, l = args.length; i < l; ++i) { + const args = this.args; + for (let i = 0, l = args.length; i < l; ++i) { if (args[i] && typeof args[i][prop] === "function") { args[i][prop].apply(null, slice.call(arguments, 1)); return; @@ -1665,10 +1665,10 @@ var sinon = function () { }, toString: function () { - var callStr = this.proxy.toString() + "("; - var args = []; + const callStr = this.proxy.toString() + "("; + const args = []; - for (var i = 0, l = this.args.length; i < l; ++i) { + for (let i = 0, l = this.args.length; i < l; ++i) { push.call(args, sinon.format(this.args[i])); } @@ -1709,7 +1709,7 @@ var sinon = function () { * @depend ../sinon.js * @depend spy.js */ - /*jslint eqeqeq: false, onevar: false*/ + /*jslint eqeqeq: false, oneconst: false*/ /*global module, require, sinon*/ /** * Stub functions @@ -1721,7 +1721,7 @@ var sinon = function () { */ (function (sinon) { - var commonJSModule = + const commonJSModule = typeof module == "object" && typeof require == "function"; if (!sinon && commonJSModule) { @@ -1737,7 +1737,7 @@ var sinon = function () { throw new TypeError("Custom stub should be function"); } - var wrapper; + const wrapper; if (func) { wrapper = sinon.spy && sinon.spy.create ? sinon.spy.create(func) : func; @@ -1750,7 +1750,7 @@ var sinon = function () { } if (!property && !!object && typeof object == "object") { - for (var prop in object) { + for (let prop in object) { if (typeof object[prop] === "function") { stub(object, prop); } @@ -1763,8 +1763,8 @@ var sinon = function () { } function getChangingValue(stub, property) { - var index = stub.callCount - 1; - var prop = + const index = stub.callCount - 1; + const prop = index in stub[property] ? stub[property][index] : stub[property + "Last"]; @@ -1774,12 +1774,12 @@ var sinon = function () { } function getCallback(stub, args) { - var callArgAt = getChangingValue(stub, "callArgAts"); + const callArgAt = getChangingValue(stub, "callArgAts"); if (callArgAt < 0) { - var callArgProp = getChangingValue(stub, "callArgProps"); + const callArgProp = getChangingValue(stub, "callArgProps"); - for (var i = 0, l = args.length; i < l; ++i) { + for (let i = 0, l = args.length; i < l; ++i) { if (!callArgProp && typeof args[i] == "function") { return args[i]; } @@ -1799,11 +1799,11 @@ var sinon = function () { return args[callArgAt]; } - var join = Array.prototype.join; + const join = Array.prototype.join; function getCallbackError(stub, func, args) { if (stub.callArgAtsLast < 0) { - var msg; + const msg; if (stub.callArgPropsLast) { msg = @@ -1832,7 +1832,7 @@ var sinon = function () { ); } - var nextTick = (function () { + const nextTick = (function () { if ( typeof process === "object" && typeof process.nextTick === "function" @@ -1851,16 +1851,16 @@ var sinon = function () { function callCallback(stub, args) { if (stub.callArgAts.length > 0) { - var func = getCallback(stub, args); + const func = getCallback(stub, args); if (typeof func != "function") { throw new TypeError(getCallbackError(stub, func, args)); } - var index = stub.callCount - 1; + const index = stub.callCount - 1; - var callbackArguments = getChangingValue(stub, "callbackArguments"); - var callbackContext = getChangingValue(stub, "callbackContexts"); + const callbackArguments = getChangingValue(stub, "callbackArguments"); + const callbackContext = getChangingValue(stub, "callbackContexts"); if (stub.callbackAsync) { nextTick(function () { @@ -1872,12 +1872,12 @@ var sinon = function () { } } - var uuid = 0; + const uuid = 0; sinon.extend( stub, (function () { - var slice = Array.prototype.slice, + const slice = Array.prototype.slice, proto; function throwsException(error, message) { @@ -1895,7 +1895,7 @@ var sinon = function () { proto = { create: function create() { - var functionStub = function () { + const functionStub = function () { callCallback(functionStub, arguments); if (functionStub.exception) { @@ -1909,7 +1909,7 @@ var sinon = function () { }; functionStub.id = "stub#" + uuid++; - var orig = functionStub; + const orig = functionStub; functionStub = sinon.spy.create(functionStub); functionStub.func = orig; @@ -2055,7 +2055,7 @@ var sinon = function () { }; // create asynchronous versions of callsArg* and yields* methods - for (var method in proto) { + for (let method in proto) { // need to avoid creating anotherasync versions of the newly added async methods if ( proto.hasOwnProperty(method) && @@ -2086,7 +2086,7 @@ var sinon = function () { * @depend ../sinon.js * @depend stub.js */ - /*jslint eqeqeq: false, onevar: false, nomen: false*/ + /*jslint eqeqeq: false, oneconst: false, nomen: false*/ /*global module, require, sinon*/ /** * Mock functions. @@ -2098,9 +2098,9 @@ var sinon = function () { */ (function (sinon) { - var commonJSModule = + const commonJSModule = typeof module == "object" && typeof require == "function"; - var push = [].push; + const push = [].push; if (!sinon && commonJSModule) { sinon = require("../sinon"); @@ -2128,7 +2128,7 @@ var sinon = function () { return; } - for (var i = 0, l = collection.length; i < l; i += 1) { + for (let i = 0, l = collection.length; i < l; i += 1) { callback(collection[i]); } } @@ -2139,7 +2139,7 @@ var sinon = function () { throw new TypeError("object is null"); } - var mockObject = sinon.extend({}, mock); + const mockObject = sinon.extend({}, mock); mockObject.object = object; delete mockObject.create; @@ -2158,7 +2158,7 @@ var sinon = function () { if (!this.expectations[method]) { this.expectations[method] = []; - var mockObject = this; + const mockObject = this; sinon.wrapMethod(this.object, method, function () { return mockObject.invokeMethod(method, this, arguments); @@ -2167,14 +2167,14 @@ var sinon = function () { push.call(this.proxies, method); } - var expectation = sinon.expectation.create(method); + const expectation = sinon.expectation.create(method); push.call(this.expectations[method], expectation); return expectation; }, restore: function restore() { - var object = this.object; + const object = this.object; each(this.proxies, function (proxy) { if (typeof object[proxy].restore == "function") { @@ -2184,8 +2184,8 @@ var sinon = function () { }, verify: function verify() { - var expectations = this.expectations || {}; - var messages = [], + const expectations = this.expectations || {}; + const messages = [], met = []; each(this.proxies, function (proxy) { @@ -2210,8 +2210,8 @@ var sinon = function () { }, invokeMethod: function invokeMethod(method, thisValue, args) { - var expectations = this.expectations && this.expectations[method]; - var length = (expectations && expectations.length) || 0, + const expectations = this.expectations && this.expectations[method]; + const length = (expectations && expectations.length) || 0, i; for (i = 0; i < length; i += 1) { @@ -2223,7 +2223,7 @@ var sinon = function () { } } - var messages = [], + const messages = [], available, exhausted = 0; @@ -2254,11 +2254,11 @@ var sinon = function () { })() ); - var times = sinon.timesInWords; + const times = sinon.timesInWords; sinon.expectation = (function () { - var slice = Array.prototype.slice; - var _invoke = sinon.spy.invoke; + const slice = Array.prototype.slice; + const _invoke = sinon.spy.invoke; function callCountInWords(callCount) { if (callCount == 0) { @@ -2269,11 +2269,11 @@ var sinon = function () { } function expectedCallCountInWords(expectation) { - var min = expectation.minCalls; - var max = expectation.maxCalls; + const min = expectation.minCalls; + const max = expectation.maxCalls; if (typeof min == "number" && typeof max == "number") { - var str = times(min); + const str = times(min); if (min != max) { str = "at least " + str + " and at most " + times(max); @@ -2290,7 +2290,7 @@ var sinon = function () { } function receivedMinCalls(expectation) { - var hasMinLimit = typeof expectation.minCalls == "number"; + const hasMinLimit = typeof expectation.minCalls == "number"; return !hasMinLimit || expectation.callCount >= expectation.minCalls; } @@ -2307,7 +2307,7 @@ var sinon = function () { maxCalls: 1, create: function create(methodName) { - var expectation = sinon.extend( + const expectation = sinon.extend( sinon.stub.create(), sinon.expectation ); @@ -2435,7 +2435,7 @@ var sinon = function () { ); } - for (var i = 0, l = this.expectedArguments.length; i < l; i += 1) { + for (let i = 0, l = this.expectedArguments.length; i < l; i += 1) { if (!sinon.deepEqual(this.expectedArguments[i], args[i])) { sinon.expectation.fail( this.method + @@ -2474,7 +2474,7 @@ var sinon = function () { return false; } - for (var i = 0, l = this.expectedArguments.length; i < l; i += 1) { + for (let i = 0, l = this.expectedArguments.length; i < l; i += 1) { if (!sinon.deepEqual(this.expectedArguments[i], args[i])) { return false; } @@ -2500,18 +2500,18 @@ var sinon = function () { }, toString: function () { - var args = (this.expectedArguments || []).slice(); + const args = (this.expectedArguments || []).slice(); if (!this.expectsExactArgCount) { push.call(args, "[...]"); } - var callStr = sinon.spyCall.toString.call({ + const callStr = sinon.spyCall.toString.call({ proxy: this.method, args: args, }); - var message = + const message = callStr.replace(", [...", "[, ...") + " " + expectedCallCountInWords(this); @@ -2543,7 +2543,7 @@ var sinon = function () { sinon.assert.pass(message); }, fail: function (message) { - var exception = new Error(message); + const exception = new Error(message); exception.name = "ExpectationError"; throw exception; @@ -2563,7 +2563,7 @@ var sinon = function () { * @depend stub.js * @depend mock.js */ - /*jslint eqeqeq: false, onevar: false, forin: true*/ + /*jslint eqeqeq: false, oneconst: false, forin: true*/ /*global module, require, sinon*/ /** * Collections of stubs, spies and mocks. @@ -2575,10 +2575,10 @@ var sinon = function () { */ (function (sinon) { - var commonJSModule = + const commonJSModule = typeof module == "object" && typeof require == "function"; - var push = [].push; - var hasOwnProperty = Object.prototype.hasOwnProperty; + const push = [].push; + const hasOwnProperty = Object.prototype.hasOwnProperty; if (!sinon && commonJSModule) { sinon = require("../sinon"); @@ -2597,9 +2597,9 @@ var sinon = function () { } function each(fakeCollection, method) { - var fakes = getFakes(fakeCollection); + const fakes = getFakes(fakeCollection); - for (var i = 0, l = fakes.length; i < l; i += 1) { + for (let i = 0, l = fakes.length; i < l; i += 1) { if (typeof fakes[i][method] == "function") { fakes[i][method](); } @@ -2607,14 +2607,14 @@ var sinon = function () { } function compact(fakeCollection) { - var fakes = getFakes(fakeCollection); - var i = 0; + const fakes = getFakes(fakeCollection); + const i = 0; while (i < fakes.length) { fakes.splice(i, 1); } } - var collection = { + const collection = { verify: function resolve() { each(this, "verify"); }, @@ -2625,7 +2625,7 @@ var sinon = function () { }, verifyAndRestore: function verifyAndRestore() { - var exception; + const exception; try { this.verify(); @@ -2651,7 +2651,7 @@ var sinon = function () { stub: function stub(object, property, value) { if (property) { - var original = object[property]; + const original = object[property]; if (typeof original != "function") { if (!hasOwnProperty.call(object, property)) { @@ -2670,9 +2670,9 @@ var sinon = function () { } } if (!property && !!object && typeof object == "object") { - var stubbedObj = sinon.stub.apply(sinon, arguments); + const stubbedObj = sinon.stub.apply(sinon, arguments); - for (var prop in stubbedObj) { + for (let prop in stubbedObj) { if (typeof stubbedObj[prop] === "function") { this.add(stubbedObj[prop]); } @@ -2689,7 +2689,7 @@ var sinon = function () { }, inject: function inject(obj) { - var col = this; + const col = this; obj.spy = function () { return col.spy.apply(col, arguments); @@ -2714,7 +2714,7 @@ var sinon = function () { } })((typeof sinon == "object" && sinon) || null); - /*jslint eqeqeq: false, plusplus: false, evil: true, onevar: false, browser: true, forin: false*/ + /*jslint eqeqeq: false, plusplus: false, evil: true, oneconst: false, browser: true, forin: false*/ /*global module, require, window*/ /** * Fake timer API @@ -2735,19 +2735,19 @@ var sinon = function () { */ if (typeof sinon == "undefined") { - var sinon = {}; + const sinon = {}; } (function (global) { - var id = 1; + const id = 1; function addTimer(args, recurring) { if (args.length === 0) { throw new Error("Function requires at least 1 parameter"); } - var toId = id++; - var delay = args[1] || 0; + const toId = id++; + const delay = args[1] || 0; if (!this.timeouts) { this.timeouts = {}; @@ -2772,10 +2772,10 @@ var sinon = function () { return 0; } - var strings = str.split(":"); - var l = strings.length, + const strings = str.split(":"); + const l = strings.length, i = l; - var ms = 0, + const ms = 0, parsed; if (l > 3 || !/^(\d\d:){0,2}\d\d?$/.test(str)) { @@ -2796,12 +2796,12 @@ var sinon = function () { } function createObject(object) { - var newObject; + const newObject; if (Object.create) { newObject = Object.create(object); } else { - var F = function () {}; + const F = function () {}; F.prototype = object; newObject = new F(); } @@ -2814,7 +2814,7 @@ var sinon = function () { now: 0, create: function create(now) { - var clock = createObject(this); + const clock = createObject(this); if (typeof now == "number") { clock.now = now; @@ -2851,12 +2851,12 @@ var sinon = function () { tick: function tick(ms) { ms = typeof ms == "number" ? ms : parseTime(ms); - var tickFrom = this.now, + const tickFrom = this.now, tickTo = this.now + ms, previous = this.now; - var timer = this.firstTimerInRange(tickFrom, tickTo); + const timer = this.firstTimerInRange(tickFrom, tickTo); - var firstException; + const firstException; while (timer && tickFrom <= tickTo) { if (this.timeouts[timer.id]) { tickFrom = this.now = timer.callAt; @@ -2879,9 +2879,9 @@ var sinon = function () { }, firstTimerInRange: function (from, to) { - var timer, smallest, originalTimer; + const timer, smallest, originalTimer; - for (var id in this.timeouts) { + for (let id in this.timeouts) { if (this.timeouts.hasOwnProperty(id)) { if ( this.timeouts[id].callAt < from || @@ -2922,7 +2922,7 @@ var sinon = function () { eval(timer.func); } } catch (e) { - var exception = e; + const exception = e; } if (!this.timeouts[timer.id]) { @@ -2942,7 +2942,7 @@ var sinon = function () { }, Date: (function () { - var NativeDate = Date; + const NativeDate = Date; function ClockDate(year, month, date, hour, minute, second, ms) { // Defensive and verbose to avoid potential harm in passing @@ -3007,7 +3007,7 @@ var sinon = function () { return target; } - var methods = [ + const methods = [ "Date", "setTimeout", "setInterval", @@ -3016,9 +3016,9 @@ var sinon = function () { ]; function restore() { - var method; + const method; - for (var i = 0, l = this.methods.length; i < l; i++) { + for (let i = 0, l = this.methods.length; i < l; i++) { method = this.methods[i]; if (global[method].hadOwnProperty) { global[method] = this["_" + method]; @@ -3039,14 +3039,14 @@ var sinon = function () { clock["_" + method] = global[method]; if (method == "Date") { - var date = mirrorDateProperties(clock[method], global[method]); + const date = mirrorDateProperties(clock[method], global[method]); global[method] = date; } else { global[method] = function () { return clock[method].apply(clock, arguments); }; - for (var prop in clock[method]) { + for (let prop in clock[method]) { if (clock[method].hasOwnProperty(prop)) { global[method][prop] = clock[method][prop]; } @@ -3057,7 +3057,7 @@ var sinon = function () { } sinon.useFakeTimers = function useFakeTimers(now) { - var clock = sinon.clock.create(now); + const clock = sinon.clock.create(now); clock.restore = restore; clock.methods = Array.prototype.slice.call( arguments, @@ -3068,7 +3068,7 @@ var sinon = function () { clock.methods = methods; } - for (var i = 0, l = clock.methods.length; i < l; i++) { + for (let i = 0, l = clock.methods.length; i < l; i++) { stubGlobal(clock.methods[i], clock); } @@ -3090,7 +3090,7 @@ var sinon = function () { module.exports = sinon; } - /*jslint eqeqeq: false, onevar: false*/ + /*jslint eqeqeq: false, oneconst: false*/ /*global sinon, module, require, ActiveXObject, XMLHttpRequest, DOMParser*/ /** * Minimal Event interface implementation @@ -3110,7 +3110,7 @@ var sinon = function () { } (function () { - var push = [].push; + const push = [].push; sinon.Event = function Event(type, bubbles, cancelable) { this.initEvent(type, bubbles, cancelable); @@ -3142,10 +3142,10 @@ var sinon = function () { listener, useCapture ) { - var listeners = + const listeners = (this.eventListeners && this.eventListeners[event]) || []; - for (var i = 0, l = listeners.length; i < l; ++i) { + for (let i = 0, l = listeners.length; i < l; ++i) { if (listeners[i] == listener) { return listeners.splice(i, 1); } @@ -3153,11 +3153,11 @@ var sinon = function () { }, dispatchEvent: function dispatchEvent(event) { - var type = event.type; - var listeners = + const type = event.type; + const listeners = (this.eventListeners && this.eventListeners[type]) || []; - for (var i = 0; i < listeners.length; i++) { + for (let i = 0; i < listeners.length; i++) { if (typeof listeners[i] == "function") { listeners[i].call(this, event); } else { @@ -3174,7 +3174,7 @@ var sinon = function () { * @depend ../../sinon.js * @depend event.js */ - /*jslint eqeqeq: false, onevar: false*/ + /*jslint eqeqeq: false, oneconst: false*/ /*global sinon, module, require, ActiveXObject, XMLHttpRequest, DOMParser*/ /** * Fake XMLHttpRequest object @@ -3192,7 +3192,7 @@ var sinon = function () { // wrapper for global (function (global) { - var xhr = sinon.xhr; + const xhr = sinon.xhr; xhr.GlobalXMLHttpRequest = global.XMLHttpRequest; xhr.GlobalActiveXObject = global.ActiveXObject; xhr.supportsActiveX = typeof xhr.GlobalActiveXObject != "undefined"; @@ -3206,7 +3206,7 @@ var sinon = function () { : false; /*jsl:ignore*/ - var unsafeHeaders = { + const unsafeHeaders = { "Accept-Charset": true, "Accept-Encoding": true, Connection: true, @@ -3254,18 +3254,18 @@ var sinon = function () { // where whitelisted requests are passed through to real XHR function each(collection, callback) { if (!collection) {return;} - for (var i = 0, l = collection.length; i < l; i += 1) { + for (let i = 0, l = collection.length; i < l; i += 1) { callback(collection[i]); } } function some(collection, callback) { - for (var index = 0; index < collection.length; index++) { + for (let index = 0; index < collection.length; index++) { if (callback(collection[index]) === true) {return true;} } return false; } // largest arity in XHR is 5 - XHR#open - var apply = function (obj, method, args) { + const apply = function (obj, method, args) { switch (args.length) { case 0: return obj[method](); @@ -3286,9 +3286,9 @@ var sinon = function () { FakeXMLHttpRequest.addFilter = function (fn) { this.filters.push(fn); }; - var IE6Re = /MSIE 6/; + const IE6Re = /MSIE 6/; FakeXMLHttpRequest.defake = function (fakeXhr, xhrArgs) { - var xhr = new sinon.xhr.workingXHR(); + const xhr = new sinon.xhr.workingXHR(); each( [ "open", @@ -3308,7 +3308,7 @@ var sinon = function () { } ); - var copyAttrs = function (args) { + const copyAttrs = function (args) { each(args, function (attr) { try { fakeXhr[attr] = xhr[attr]; @@ -3318,7 +3318,7 @@ var sinon = function () { }); }; - var stateChange = function () { + const stateChange = function () { fakeXhr.readyState = xhr.readyState; if (xhr.readyState >= FakeXMLHttpRequest.HEADERS_RECEIVED) { copyAttrs(["status", "statusText"]); @@ -3333,7 +3333,7 @@ var sinon = function () { {fakeXhr.onreadystatechange.call(fakeXhr);} }; if (xhr.addEventListener) { - for (var event in fakeXhr.eventListeners) { + for (let event in fakeXhr.eventListeners) { if (fakeXhr.eventListeners.hasOwnProperty(event)) { each(fakeXhr.eventListeners[event], function (handler) { xhr.addEventListener(event, handler); @@ -3362,7 +3362,7 @@ var sinon = function () { function verifyResponseBodyType(body) { if (typeof body != "string") { - var error = new Error( + const error = new Error( "Attempted to respond to fake XMLHttpRequest with " + body + ", which is not a string." @@ -3386,8 +3386,8 @@ var sinon = function () { this.requestHeaders = {}; this.sendFlag = false; if (sinon.FakeXMLHttpRequest.useFilters === true) { - var xhrArgs = arguments; - var defake = some(FakeXMLHttpRequest.filters, function (filter) { + const xhrArgs = arguments; + const defake = some(FakeXMLHttpRequest.filters, function (filter) { return filter.apply(this, xhrArgs); }); if (defake) { @@ -3429,7 +3429,7 @@ var sinon = function () { setResponseHeaders: function setResponseHeaders(headers) { this.responseHeaders = {}; - for (var header in headers) { + for (let header in headers) { if (headers.hasOwnProperty(header)) { this.responseHeaders[header] = headers[header]; } @@ -3446,7 +3446,7 @@ var sinon = function () { if (!/^(get|head)$/i.test(this.method)) { if (this.requestHeaders["Content-Type"]) { - var value = this.requestHeaders["Content-Type"].split(";"); + const value = this.requestHeaders["Content-Type"].split(";"); this.requestHeaders["Content-Type"] = value[0] + ";charset=utf-8"; } else { this.requestHeaders["Content-Type"] = "text/plain;charset=utf-8"; @@ -3492,7 +3492,7 @@ var sinon = function () { header = header.toLowerCase(); - for (var h in this.responseHeaders) { + for (let h in this.responseHeaders) { if (h.toLowerCase() == header) { return this.responseHeaders[h]; } @@ -3506,9 +3506,9 @@ var sinon = function () { return ""; } - var headers = ""; + const headers = ""; - for (var header in this.responseHeaders) { + for (let header in this.responseHeaders) { if ( this.responseHeaders.hasOwnProperty(header) && !/^Set-Cookie2?$/i.test(header) @@ -3525,8 +3525,8 @@ var sinon = function () { verifyHeadersReceived(this); verifyResponseBodyType(body); - var chunkSize = this.chunkSize || 10; - var index = 0; + const chunkSize = this.chunkSize || 10; + const index = 0; this.responseText = ""; do { @@ -3538,7 +3538,7 @@ var sinon = function () { index += chunkSize; } while (index < body.length); - var type = this.getResponseHeader("Content-Type"); + const type = this.getResponseHeader("Content-Type"); if ( this.responseText && @@ -3576,10 +3576,10 @@ var sinon = function () { // Borrowed from JSpec FakeXMLHttpRequest.parseXML = function parseXML(text) { - var xmlDoc; + const xmlDoc; if (typeof DOMParser != "undefined") { - var parser = new DOMParser(); + const parser = new DOMParser(); xmlDoc = parser.parseFromString(text, "text/xml"); } else { xmlDoc = new ActiveXObject("Microsoft.XMLDOM"); @@ -3677,7 +3677,7 @@ var sinon = function () { /** * @depend fake_xml_http_request.js */ - /*jslint eqeqeq: false, onevar: false, regexp: false, plusplus: false*/ + /*jslint eqeqeq: false, oneconst: false, regexp: false, plusplus: false*/ /*global module, require, window*/ /** * The Sinon "server" mimics a web server that receives requests from @@ -3692,11 +3692,11 @@ var sinon = function () { */ if (typeof sinon == "undefined") { - var sinon = {}; + const sinon = {}; } sinon.fakeServer = (function () { - var push = [].push; + const push = [].push; function F() {} function create(proto) { @@ -3705,7 +3705,7 @@ var sinon = function () { } function responseArray(handler) { - var response = handler; + const response = handler; if (Object.prototype.toString.call(handler) != "[object Array]") { response = [200, {}, handler]; @@ -3721,15 +3721,15 @@ var sinon = function () { return response; } - var wloc = typeof window !== "undefined" ? window.location : {}; - var rCurrLoc = new RegExp("^" + wloc.protocol + "//" + wloc.host); + const wloc = typeof window !== "undefined" ? window.location : {}; + const rCurrLoc = new RegExp("^" + wloc.protocol + "//" + wloc.host); function matchOne(response, reqMethod, reqUrl) { - var rmeth = response.method; - var matchMethod = + const rmeth = response.method; + const matchMethod = !rmeth || rmeth.toLowerCase() == reqMethod.toLowerCase(); - var url = response.url; - var matchUrl = + const url = response.url; + const matchUrl = !url || url == reqUrl || (typeof url.test == "function" && url.test(reqUrl)); @@ -3738,8 +3738,8 @@ var sinon = function () { } function match(response, request) { - var requestMethod = this.getHTTPMethod(request); - var requestUrl = request.url; + const requestMethod = this.getHTTPMethod(request); + const requestUrl = request.url; if (!/^https?:\/\//.test(requestUrl) || rCurrLoc.test(requestUrl)) { requestUrl = requestUrl.replace(rCurrLoc, ""); @@ -3747,8 +3747,8 @@ var sinon = function () { if (matchOne(response, this.getHTTPMethod(request), requestUrl)) { if (typeof response.response == "function") { - var ru = response.url; - var args = [request].concat(!ru ? [] : requestUrl.match(ru).slice(1)); + const ru = response.url; + const args = [request].concat(!ru ? [] : requestUrl.match(ru).slice(1)); return response.response.apply(response, args); } @@ -3760,7 +3760,7 @@ var sinon = function () { return { create: function () { - var server = create(this); + const server = create(this); this.xhr = sinon.useFakeXMLHttpRequest(); server.requests = []; @@ -3772,7 +3772,7 @@ var sinon = function () { }, addRequest: function addRequest(xhrObj) { - var server = this; + const server = this; push.call(this.requests, xhrObj); xhrObj.onSend = function () { @@ -3791,7 +3791,7 @@ var sinon = function () { getHTTPMethod: function getHTTPMethod(request) { if (this.fakeHTTPMethods && /post/i.test(request.method)) { - var matches = (request.requestBody || "").match(/_method=([^\b;]+)/); + const matches = (request.requestBody || "").match(/_method=([^\b;]+)/); return !!matches ? matches[1] : request.method; } @@ -3840,8 +3840,8 @@ var sinon = function () { respond: function respond() { if (arguments.length > 0) {this.respondWith.apply(this, arguments);} - var queue = this.queue || []; - var request; + const queue = this.queue || []; + const request; while ((request = queue.shift())) { this.processRequest(request); @@ -3854,10 +3854,10 @@ var sinon = function () { return; } - var response = this.response || [404, {}, ""]; + const response = this.response || [404, {}, ""]; if (this.responses) { - for (var i = 0, l = this.responses.length; i < l; i++) { + for (let i = 0, l = this.responses.length; i < l; i++) { if (match.call(this, this.responses[i], request)) { response = this.responses[i].response; break; @@ -3887,7 +3887,7 @@ var sinon = function () { * @depend fake_server.js * @depend fake_timers.js */ - /*jslint browser: true, eqeqeq: false, onevar: false*/ + /*jslint browser: true, eqeqeq: false, oneconst: false*/ /*global sinon*/ /** * Add-on for sinon.fakeServer that automatically handles a fake timer along with @@ -3920,9 +3920,9 @@ var sinon = function () { } if (!this.longestTimeout) { - var clockSetTimeout = this.clock.setTimeout; - var clockSetInterval = this.clock.setInterval; - var server = this; + const clockSetTimeout = this.clock.setTimeout; + const clockSetInterval = this.clock.setInterval; + const server = this; this.clock.setTimeout = function (fn, timeout) { server.longestTimeout = Math.max( @@ -3948,7 +3948,7 @@ var sinon = function () { }; sinon.fakeServerWithClock.respond = function respond() { - var returnVal = sinon.fakeServer.respond.apply(this, arguments); + const returnVal = sinon.fakeServer.respond.apply(this, arguments); if (this.clock) { this.clock.tick(this.longestTimeout || 0); @@ -3978,7 +3978,7 @@ var sinon = function () { * @depend util/fake_timers.js * @depend util/fake_server_with_clock.js */ - /*jslint eqeqeq: false, onevar: false, plusplus: false*/ + /*jslint eqeqeq: false, oneconst: false, plusplus: false*/ /*global require, module*/ /** * Manages fake collections as well as fake utilities such as Sinon's @@ -3991,12 +3991,12 @@ var sinon = function () { */ if (typeof module == "object" && typeof require == "function") { - var sinon = require("../sinon"); + const sinon = require("../sinon"); sinon.extend(sinon, require("./util/fake_timers")); } (function () { - var push = [].push; + const push = [].push; function exposeValue(sandbox, config, key, value) { if (!value) { @@ -4011,7 +4011,7 @@ var sinon = function () { } function prepareSandboxFromConfig(config) { - var sandbox = sinon.create(sinon.sandbox); + const sandbox = sinon.create(sinon.sandbox); if (config.useFakeServer) { if (typeof config.useFakeServer == "object") { @@ -4042,7 +4042,7 @@ var sinon = function () { serverPrototype: sinon.fakeServer, useFakeServer: function useFakeServer() { - var proto = this.serverPrototype || sinon.fakeServer; + const proto = this.serverPrototype || sinon.fakeServer; if (!proto || !proto.create) { return null; @@ -4072,14 +4072,14 @@ var sinon = function () { return sinon.create(sinon.sandbox); } - var sandbox = prepareSandboxFromConfig(config); + const sandbox = prepareSandboxFromConfig(config); sandbox.args = sandbox.args || []; - var prop, + const prop, value, exposed = sandbox.inject({}); if (config.properties) { - for (var i = 0, l = config.properties.length; i < l; i++) { + for (let i = 0, l = config.properties.length; i < l; i++) { prop = config.properties[i]; value = exposed[prop] || (prop == "sandbox" && sandbox); exposeValue(sandbox, config, prop, value); @@ -4105,7 +4105,7 @@ var sinon = function () { * @depend mock.js * @depend sandbox.js */ - /*jslint eqeqeq: false, onevar: false, forin: true, plusplus: false*/ + /*jslint eqeqeq: false, oneconst: false, forin: true, plusplus: false*/ /*global module, require, sinon*/ /** * Test function, sandboxes fakes @@ -4117,7 +4117,7 @@ var sinon = function () { */ (function (sinon) { - var commonJSModule = + const commonJSModule = typeof module == "object" && typeof require == "function"; if (!sinon && commonJSModule) { @@ -4129,7 +4129,7 @@ var sinon = function () { } function test(callback) { - var type = typeof callback; + const type = typeof callback; if (type != "function") { throw new TypeError( @@ -4138,12 +4138,12 @@ var sinon = function () { } return function () { - var config = sinon.getConfig(sinon.config); + const config = sinon.getConfig(sinon.config); config.injectInto = (config.injectIntoThis && this) || config.injectInto; - var sandbox = sinon.sandbox.create(config); - var exception, result; - var args = Array.prototype.slice.call(arguments).concat(sandbox.args); + const sandbox = sinon.sandbox.create(config); + const exception, result; + const args = Array.prototype.slice.call(arguments).concat(sandbox.args); try { result = callback.apply(this, args); @@ -4181,7 +4181,7 @@ var sinon = function () { * @depend ../sinon.js * @depend test.js */ - /*jslint eqeqeq: false, onevar: false, eqeqeq: false*/ + /*jslint eqeqeq: false, oneconst: false, eqeqeq: false*/ /*global module, require, sinon*/ /** * Test case, sandboxes all test functions @@ -4193,7 +4193,7 @@ var sinon = function () { */ (function (sinon) { - var commonJSModule = + const commonJSModule = typeof module == "object" && typeof require == "function"; if (!sinon && commonJSModule) { @@ -4210,7 +4210,7 @@ var sinon = function () { setUp.apply(this, arguments); } - var exception, result; + const exception, result; try { result = property.apply(this, arguments); @@ -4240,13 +4240,13 @@ var sinon = function () { /*jsl:end*/ prefix = prefix || "test"; - var rPrefix = new RegExp("^" + prefix); - var methods = {}, + const rPrefix = new RegExp("^" + prefix); + const methods = {}, testName, property, method; - var setUp = tests.setUp; - var tearDown = tests.tearDown; + const setUp = tests.setUp; + const tearDown = tests.tearDown; for (testName in tests) { if (tests.hasOwnProperty(testName)) { @@ -4284,7 +4284,7 @@ var sinon = function () { * @depend ../sinon.js * @depend stub.js */ - /*jslint eqeqeq: false, onevar: false, nomen: false, plusplus: false*/ + /*jslint eqeqeq: false, oneconst: false, nomen: false, plusplus: false*/ /*global module, require, sinon*/ /** * Assertions matching the test spy retrieval interface. @@ -4296,10 +4296,10 @@ var sinon = function () { */ (function (sinon, global) { - var commonJSModule = + const commonJSModule = typeof module == "object" && typeof require == "function"; - var slice = Array.prototype.slice; - var assert; + const slice = Array.prototype.slice; + const assert; if (!sinon && commonJSModule) { sinon = require("../sinon"); @@ -4310,9 +4310,9 @@ var sinon = function () { } function verifyIsStub() { - var method; + const method; - for (var i = 0, l = arguments.length; i < l; ++i) { + for (let i = 0, l = arguments.length; i < l; ++i) { method = arguments[i]; if (!method) { @@ -4331,7 +4331,7 @@ var sinon = function () { function failAssertion(object, msg) { object = object || global; - var failMethod = object.fail || assert.fail; + const failMethod = object.fail || assert.fail; failMethod.call(object, msg); } @@ -4344,8 +4344,8 @@ var sinon = function () { assert[name] = function (fake) { verifyIsStub(fake); - var args = slice.call(arguments, 1); - var failed = false; + const args = slice.call(arguments, 1); + const failed = false; if (typeof method == "function") { failed = !method(fake); @@ -4374,7 +4374,7 @@ var sinon = function () { failException: "AssertError", fail: function fail(message) { - var error = new Error(message); + const error = new Error(message); error.name = this.failException || assert.failException; throw error; @@ -4384,7 +4384,7 @@ var sinon = function () { callOrder: function assertCallOrder() { verifyIsStub.apply(null, arguments); - var expected = "", + const expected = "", actual = ""; if (!sinon.calledInOrder(arguments)) { @@ -4412,7 +4412,7 @@ var sinon = function () { verifyIsStub(method); if (method.callCount != count) { - var msg = + const msg = "expected %n to be called " + sinon.timesInWords(count) + " but was called %c%C"; @@ -4427,12 +4427,12 @@ var sinon = function () { throw new TypeError("target is null or undefined"); } - var o = options || {}; - var prefix = (typeof o.prefix == "undefined" && "assert") || o.prefix; - var includeFail = + const o = options || {}; + const prefix = (typeof o.prefix == "undefined" && "assert") || o.prefix; + const includeFail = typeof o.includeFail == "undefined" || !!o.includeFail; - for (var method in this) { + for (let method in this) { if (method != "export" && (includeFail || !/^(fail)/.test(method))) { target[exposedName(prefix, method)] = this[method]; } diff --git a/test/support/walk_dir.js b/test/support/walk_dir.js index d6074db0..0ae454b2 100644 --- a/test/support/walk_dir.js +++ b/test/support/walk_dir.js @@ -1,19 +1,19 @@ -var fs = require("fs"); +const fs = require("fs"); -var methods = { +const methods = { walk: function (dir, validation_function, cb) { if (arguments.length === 2) { cb = validation_function; validation_function = null; } - var results = []; + const results = []; fs.readdir(dir, function (err, list) { if (err) { return cb(err); } - var pending = list.length; + const pending = list.length; if (!pending) { return cb(null, results); diff --git a/test/system.unit.js b/test/system.unit.js index d9cf68dd..897fde82 100644 --- a/test/system.unit.js +++ b/test/system.unit.js @@ -8,7 +8,7 @@ describe("system.js", function () { describe("directoryPath()", function () { it("returns unix fs directory full path", function () { sinon.stub(blaver.random, 'words').returns('24/7'); - var directoryPath = blaver.system.directoryPath(); + const directoryPath = blaver.system.directoryPath(); assert.strictEqual(directoryPath.indexOf('/'), 0, 'generated directoryPath should start with /'); blaver.random.words.restore(); @@ -18,7 +18,7 @@ describe("system.js", function () { describe("filePath()", function () { it("returns unix fs file full path", function () { sinon.stub(blaver.random, 'words').returns('24/7'); - var filePath = blaver.system.filePath(); + const filePath = blaver.system.filePath(); assert.strictEqual(filePath.indexOf('/'), 0, 'generated filePath should start with /'); blaver.random.words.restore(); @@ -28,7 +28,7 @@ describe("system.js", function () { describe("fileName()", function () { it("returns filenames without system path separators", function () { sinon.stub(blaver.random, 'words').returns('24/7'); - var fileName = blaver.system.fileName(); + const fileName = blaver.system.fileName(); assert.strictEqual(fileName.indexOf('/'), -1, 'generated fileNames should not have path separators'); blaver.random.words.restore(); @@ -38,7 +38,7 @@ describe("system.js", function () { describe("commonFileName()", function () { it("returns filenames without system path separators", function () { sinon.stub(blaver.random, 'words').returns('24/7'); - var fileName = blaver.system.commonFileName(); + const fileName = blaver.system.commonFileName(); assert.strictEqual(fileName.indexOf('/'), -1, 'generated commonFileNames should not have path separators'); blaver.random.words.restore(); diff --git a/test/time.unit.js b/test/time.unit.js index 95e9a93d..ebff7fbc 100644 --- a/test/time.unit.js +++ b/test/time.unit.js @@ -1,6 +1,5 @@ if (typeof module !== 'undefined') { var assert = require('assert'); - var sinon = require('sinon'); var blaver = require('../index'); } @@ -9,19 +8,19 @@ blaver.seed(1234); describe("time.js", function () { describe("recent()", function () { it("returns the recent timestamp in Unix time format", function () { - var date = blaver.time.recent(); + const date = blaver.time.recent(); assert.ok(typeof date === 'number'); // assert.ok(date == new Date().getTime()); }); it("returns the recent timestamp in full time string format", function () { - var date = blaver.time.recent('wide'); + const date = blaver.time.recent('wide'); assert.ok(typeof date === 'string'); // assert.ok(date == new Date().toTimeString()); }); it("returns the recent timestamp in abbreviated string format", function () { - var date = blaver.time.recent('abbr'); + const date = blaver.time.recent('abbr'); assert.ok(typeof date === 'string'); // assert.ok(date == new Date().toLocaleTimeString()); }); diff --git a/test/unique.unit.js b/test/unique.unit.js index e1d4223f..0b110fb9 100644 --- a/test/unique.unit.js +++ b/test/unique.unit.js @@ -8,27 +8,27 @@ describe("unique.js", function () { describe("unique()", function () { it("is able to call a function with no arguments and return a result", function () { - var result = blaver.unique(blaver.internet.email); + const result = blaver.unique(blaver.internet.email); assert.strictEqual(typeof result, 'string'); }); it("is able to call a function with arguments and return a result", function () { - var result = blaver.unique(blaver.internet.email, ['a', 'b', 'c']); // third argument is provider, or domain for email + const result = blaver.unique(blaver.internet.email, ['a', 'b', 'c']); // third argument is provider, or domain for email assert.ok(result.match(/\@c/)); }); it("is able to call same function with arguments and return a result", function () { - var result = blaver.unique(blaver.internet.email, ['a', 'b', 'c']); // third argument is provider, or domain for email + const result = blaver.unique(blaver.internet.email, ['a', 'b', 'c']); // third argument is provider, or domain for email assert.ok(result.match(/\@c/)); }); it("is able to exclude results as array", function () { - var result = blaver.unique(blaver.internet.protocol, [], { exclude: ['https'] }); + const result = blaver.unique(blaver.internet.protocol, [], { exclude: ['https'] }); assert.strictEqual(result, 'http'); }); it("is able to limit unique call by maxTime in ms", function () { - var result; + let result; try { result = blaver.unique(blaver.internet.protocol, [], { maxTime: 1, maxRetries: 9999, exclude: ['https', 'http'] }); } catch (err) { @@ -37,7 +37,7 @@ describe("unique.js", function () { }); it("is able to limit unique call by maxRetries", function () { - var result; + let result; try { result = blaver.unique(blaver.internet.protocol, [], { maxTime: 5000, maxRetries: 5, exclude: ['https', 'http'] }); } catch (err) { @@ -46,7 +46,7 @@ describe("unique.js", function () { }); it("is able to call last function with arguments and return a result", function () { - var result = blaver.unique(blaver.internet.email, ['a', 'b', 'c']); // third argument is provider, or domain for email + const result = blaver.unique(blaver.internet.email, ['a', 'b', 'c']); // third argument is provider, or domain for email assert.ok(result.match(/\@c/)); }); diff --git a/test/vehicle.unit.js b/test/vehicle.unit.js index 5ec4c010..dcf00a26 100644 --- a/test/vehicle.unit.js +++ b/test/vehicle.unit.js @@ -8,7 +8,7 @@ describe("vehicle.js", function () { describe("vehicle()", function () { it("returns a random vehicle", function () { sinon.stub(blaver.vehicle, 'vehicle').returns('Ford Explorer'); - var vehicle = blaver.vehicle.vehicle(); + const vehicle = blaver.vehicle.vehicle(); assert.strictEqual(vehicle, 'Ford Explorer'); blaver.vehicle.vehicle.restore(); @@ -18,7 +18,7 @@ describe("vehicle.js", function () { describe("manufacturer()", function () { it("returns random manufacturer", function () { sinon.stub(blaver.vehicle, 'manufacturer').returns('Porsche'); - var manufacturer = blaver.vehicle.manufacturer(); + const manufacturer = blaver.vehicle.manufacturer(); assert.strictEqual(manufacturer, 'Porsche'); blaver.vehicle.manufacturer.restore(); @@ -28,7 +28,7 @@ describe("vehicle.js", function () { describe("type()", function () { it("returns random vehicle type", function () { sinon.stub(blaver.vehicle, 'type').returns('Minivan'); - var type = blaver.vehicle.type(); + const type = blaver.vehicle.type(); assert.strictEqual(type, 'Minivan'); blaver.vehicle.type.restore(); @@ -38,7 +38,7 @@ describe("vehicle.js", function () { describe("fuel()", function () { it("returns a fuel type", function () { sinon.stub(blaver.vehicle, 'fuel').returns('Hybrid'); - var fuel = blaver.vehicle.fuel(); + const fuel = blaver.vehicle.fuel(); assert.strictEqual(fuel, 'Hybrid'); blaver.vehicle.fuel.restore(); @@ -47,7 +47,7 @@ describe("vehicle.js", function () { describe("vin()", function () { it("returns valid vin number", function () { - var vin = blaver.vehicle.vin(); + const vin = blaver.vehicle.vin(); assert.ok(vin.match(/^([A-HJ-NPR-Z0-9]{10}[A-HJ-NPR-Z0-9]{1}[A-HJ-NPR-Z0-9]{1}\d{5})$/)); }); }); @@ -55,7 +55,7 @@ describe("vehicle.js", function () { describe("color()", function () { it("returns a random color", function () { sinon.stub(blaver.vehicle, 'color').returns('black'); - var color = blaver.vehicle.color(); + const color = blaver.vehicle.color(); assert.strictEqual(color, 'black'); blaver.vehicle.color.restore(); @@ -65,7 +65,7 @@ describe("vehicle.js", function () { describe("vrm()", function () { it("returns a random vrm", function () { sinon.stub(blaver.vehicle, 'vrm').returns('MF59EEW'); - var vrm = blaver.vehicle.vrm(); + const vrm = blaver.vehicle.vrm(); assert.equal(vrm, 'MF59EEW'); blaver.vehicle.vrm.restore(); @@ -75,7 +75,7 @@ describe("vehicle.js", function () { describe("bicycle()", function () { it("returns a random type of bicycle", function () { sinon.stub(blaver.vehicle, 'bicycle').returns('Adventure Road Bicycle'); - var bicycle = blaver.vehicle.bicycle(); + const bicycle = blaver.vehicle.bicycle(); assert.equal(bicycle, 'Adventure Road Bicycle'); blaver.vehicle.bicycle.restore(); diff --git a/test/word.unit.js b/test/word.unit.js index f99d0858..a4f23f28 100644 --- a/test/word.unit.js +++ b/test/word.unit.js @@ -4,7 +4,7 @@ if (typeof module !== "undefined") { } describe("word.js", function () { - var methods = [ + const methods = [ "adjective", "adverb", "conjunction", @@ -17,18 +17,18 @@ describe("word.js", function () { methods.forEach(function (method) { describe(method + "()", function () { it("returns random value from " + method + " array", function () { - var word = blaver.word[method](); + const word = blaver.word[method](); assert.ok(blaver.definitions.word[method].includes(word)); }); it("optional length parameter returns expected result", function () { - var wordLength = 5; - var word = blaver.word[method](wordLength); + const wordLength = 5; + const word = blaver.word[method](wordLength); assert.ok(blaver.definitions.word[method].includes(word)); assert.ok(word.length == wordLength); }); it("unresolvable optional length returns random " + method, function () { - var wordLength = 1000; - var word = blaver.word[method](wordLength); + const wordLength = 1000; + const word = blaver.word[method](wordLength); assert.ok(blaver.definitions.word[method].includes(word)); }); }); From 87d5fb751fce8da185b65f279808dcee24f4b2a3 Mon Sep 17 00:00:00 2001 From: Priyansh <30593201+luciferreeves@users.noreply.github.com> Date: Fri, 7 Jan 2022 17:11:49 -0500 Subject: [PATCH 03/11] Update to run Build workflow on all branches --- .github/workflows/main.yml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 54512726..83b52a2b 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -2,14 +2,10 @@ name: Build 'on': push: branches: - - master - - dev - - coverage-test + '**' pull_request: branches: - - master - - dev - - coverage-test + '**' jobs: Build: runs-on: '${{ matrix.os }}' From 9224f5dceb3b58ffdd541ee6fbeb5b34ac609927 Mon Sep 17 00:00:00 2001 From: angus Date: Fri, 7 Jan 2022 23:32:53 +0000 Subject: [PATCH 04/11] Exporting modules Replaced all instances of module["exports"] with module.exports --- index.js | 2 +- lib/animal.js | 2 +- lib/commerce.js | 2 +- lib/company.js | 2 +- lib/database.js | 2 +- lib/datatype.js | 2 +- lib/date.js | 2 +- lib/fake.js | 2 +- lib/finance.js | 2 +- lib/git.js | 2 +- lib/hacker.js | 2 +- lib/helpers.js | 2 +- lib/iban.js | 2 +- lib/image.js | 2 +- lib/image_providers/lorempicsum.js | 2 +- lib/image_providers/lorempixel.js | 2 +- lib/image_providers/unsplash.js | 2 +- lib/index.js | 2 +- lib/internet.js | 2 +- lib/locales/af_ZA/address/default_country.js | 2 +- lib/locales/af_ZA/address/postcode.js | 2 +- lib/locales/af_ZA/cell_phone/formats.js | 2 +- lib/locales/af_ZA/company/suffix.js | 2 +- lib/locales/af_ZA/internet/domain_suffix.js | 2 +- lib/locales/af_ZA/name/female_first_name.js | 2 +- lib/locales/af_ZA/name/first_name.js | 2 +- lib/locales/af_ZA/name/last_name.js | 2 +- lib/locales/af_ZA/name/male_first_name.js | 2 +- lib/locales/af_ZA/phone_number/formats.js | 2 +- lib/locales/ar/address/building_number.js | 2 +- lib/locales/ar/address/city.js | 2 +- lib/locales/ar/address/city_name.js | 2 +- lib/locales/ar/address/country.js | 2 +- lib/locales/ar/address/default_country.js | 2 +- lib/locales/ar/address/postcode.js | 2 +- lib/locales/ar/address/postcode_by_state.js | 2 +- lib/locales/ar/address/secondary_address.js | 2 +- lib/locales/ar/address/state.js | 2 +- lib/locales/ar/address/street_address.js | 2 +- lib/locales/ar/address/street_name.js | 2 +- lib/locales/ar/address/street_prefix.js | 2 +- lib/locales/ar/cell_phone/formats.js | 2 +- lib/locales/ar/commerce/color.js | 2 +- lib/locales/ar/commerce/department.js | 2 +- lib/locales/ar/commerce/index.js | 4 +- lib/locales/ar/commerce/product_name.js | 2 +- lib/locales/ar/date/index.js | 4 +- lib/locales/ar/date/month.js | 2 +- lib/locales/ar/date/weekday.js | 2 +- lib/locales/ar/index.js | 4 +- lib/locales/ar/name/first_name.js | 2 +- lib/locales/ar/name/last_name.js | 2 +- lib/locales/ar/name/name.js | 2 +- lib/locales/ar/name/prefix.js | 2 +- lib/locales/ar/name/title.js | 2 +- lib/locales/ar/phone_number/formats.js | 2 +- lib/locales/ar/team/creature.js | 2 +- lib/locales/ar/team/name.js | 2 +- lib/locales/ar/vehicle/fuel.js | 2 +- lib/locales/ar/vehicle/index.js | 2 +- lib/locales/ar/vehicle/manufacturer.js | 2 +- lib/locales/ar/vehicle/model.js | 2 +- lib/locales/ar/vehicle/vehicle_type.js | 2 +- lib/locales/az/address/building_number.js | 2 +- lib/locales/az/address/city.js | 2 +- lib/locales/az/address/city_name.js | 2 +- lib/locales/az/address/country.js | 2 +- lib/locales/az/address/default_country.js | 2 +- lib/locales/az/address/postcode.js | 2 +- lib/locales/az/address/secondary_address.js | 2 +- lib/locales/az/address/state.js | 2 +- lib/locales/az/address/street_address.js | 2 +- lib/locales/az/address/street_name.js | 2 +- lib/locales/az/address/street_suffix.js | 2 +- lib/locales/az/address/street_title.js | 2 +- lib/locales/az/commerce/color.js | 2 +- lib/locales/az/commerce/department.js | 2 +- lib/locales/az/commerce/product_name.js | 2 +- lib/locales/az/company/name.js | 2 +- lib/locales/az/company/prefix.js | 2 +- lib/locales/az/company/suffix.js | 2 +- lib/locales/az/date/index.js | 4 +- lib/locales/az/date/month.js | 2 +- lib/locales/az/date/weekday.js | 2 +- lib/locales/az/internet/domain_suffix.js | 2 +- lib/locales/az/internet/free_email.js | 2 +- lib/locales/az/name/female_first_name.js | 2 +- lib/locales/az/name/female_last_name.js | 2 +- lib/locales/az/name/male_first_name.js | 2 +- lib/locales/az/name/male_last_name.js | 2 +- lib/locales/az/name/name.js | 2 +- lib/locales/az/name/prefix.js | 2 +- lib/locales/az/name/suffix.js | 2 +- lib/locales/az/phone_number/formats.js | 2 +- lib/locales/cz/address/building_number.js | 2 +- lib/locales/cz/address/city.js | 2 +- lib/locales/cz/address/city_name.js | 2 +- lib/locales/cz/address/country.js | 2 +- lib/locales/cz/address/default_country.js | 2 +- lib/locales/cz/address/postcode.js | 2 +- lib/locales/cz/address/secondary_address.js | 2 +- lib/locales/cz/address/state.js | 2 +- lib/locales/cz/address/state_abbr.js | 2 +- lib/locales/cz/address/street.js | 2 +- lib/locales/cz/address/street_address.js | 2 +- lib/locales/cz/address/street_name.js | 2 +- lib/locales/cz/company/adjective.js | 2 +- lib/locales/cz/company/bs_noun.js | 2 +- lib/locales/cz/company/bs_verb.js | 2 +- lib/locales/cz/company/descriptor.js | 2 +- lib/locales/cz/company/name.js | 2 +- lib/locales/cz/company/noun.js | 2 +- lib/locales/cz/company/suffix.js | 2 +- lib/locales/cz/date/index.js | 4 +- lib/locales/cz/date/month.js | 2 +- lib/locales/cz/date/weekday.js | 2 +- lib/locales/cz/internet/domain_suffix.js | 2 +- lib/locales/cz/internet/free_email.js | 2 +- lib/locales/cz/lorem/words.js | 2 +- lib/locales/cz/name/female_first_name.js | 2 +- lib/locales/cz/name/female_last_name.js | 2 +- lib/locales/cz/name/male_first_name.js | 2 +- lib/locales/cz/name/male_last_name.js | 2 +- lib/locales/cz/name/name.js | 2 +- lib/locales/cz/name/prefix.js | 2 +- lib/locales/cz/name/suffix.js | 2 +- lib/locales/cz/name/title.js | 2 +- lib/locales/cz/phone_number/formats.js | 2 +- lib/locales/de/address/building_number.js | 2 +- lib/locales/de/address/city.js | 2 +- lib/locales/de/address/city_prefix.js | 2 +- lib/locales/de/address/city_suffix.js | 2 +- lib/locales/de/address/country.js | 2 +- lib/locales/de/address/default_country.js | 2 +- lib/locales/de/address/postcode.js | 2 +- lib/locales/de/address/secondary_address.js | 2 +- lib/locales/de/address/state.js | 2 +- lib/locales/de/address/state_abbr.js | 2 +- lib/locales/de/address/street_address.js | 2 +- lib/locales/de/address/street_name.js | 2 +- lib/locales/de/address/street_root.js | 2 +- lib/locales/de/cell_phone/formats.js | 2 +- lib/locales/de/company/legal_form.js | 2 +- lib/locales/de/company/name.js | 2 +- lib/locales/de/company/suffix.js | 2 +- lib/locales/de/date/index.js | 4 +- lib/locales/de/date/weekday.js | 2 +- lib/locales/de/internet/domain_suffix.js | 2 +- lib/locales/de/internet/free_email.js | 2 +- lib/locales/de/lorem/words.js | 2 +- lib/locales/de/name/female_first_name.js | 2 +- lib/locales/de/name/first_name.js | 2 +- lib/locales/de/name/last_name.js | 2 +- lib/locales/de/name/male_first_name.js | 2 +- lib/locales/de/name/name.js | 2 +- lib/locales/de/name/nobility_title_prefix.js | 2 +- lib/locales/de/name/prefix.js | 2 +- lib/locales/de/phone_number/formats.js | 2 +- lib/locales/de_AT/address/building_number.js | 2 +- lib/locales/de_AT/address/city.js | 2 +- lib/locales/de_AT/address/city_name.js | 2 +- lib/locales/de_AT/address/country.js | 2 +- lib/locales/de_AT/address/default_country.js | 2 +- lib/locales/de_AT/address/postcode.js | 2 +- .../de_AT/address/secondary_address.js | 2 +- lib/locales/de_AT/address/state.js | 2 +- lib/locales/de_AT/address/state_abbr.js | 2 +- lib/locales/de_AT/address/street_address.js | 2 +- lib/locales/de_AT/address/street_name.js | 2 +- lib/locales/de_AT/address/street_root.js | 2 +- lib/locales/de_AT/cell_phone/formats.js | 2 +- lib/locales/de_AT/company/legal_form.js | 2 +- lib/locales/de_AT/company/name.js | 2 +- lib/locales/de_AT/company/suffix.js | 2 +- lib/locales/de_AT/internet/domain_suffix.js | 2 +- lib/locales/de_AT/internet/free_email.js | 2 +- lib/locales/de_AT/name/first_name.js | 2 +- lib/locales/de_AT/name/last_name.js | 2 +- lib/locales/de_AT/name/name.js | 2 +- .../de_AT/name/nobility_title_prefix.js | 2 +- lib/locales/de_AT/name/prefix.js | 2 +- lib/locales/de_AT/phone_number/formats.js | 2 +- lib/locales/de_CH/address/city.js | 2 +- lib/locales/de_CH/address/city_name.js | 2 +- lib/locales/de_CH/address/country_code.js | 2 +- lib/locales/de_CH/address/default_country.js | 2 +- lib/locales/de_CH/address/postcode.js | 2 +- lib/locales/de_CH/address/state.js | 2 +- lib/locales/de_CH/address/state_abbr.js | 2 +- lib/locales/de_CH/company/name.js | 2 +- lib/locales/de_CH/company/suffix.js | 2 +- lib/locales/de_CH/internet/domain_suffix.js | 2 +- lib/locales/de_CH/name/first_name.js | 2 +- lib/locales/de_CH/name/last_name.js | 2 +- lib/locales/de_CH/name/name.js | 2 +- lib/locales/de_CH/name/prefix.js | 2 +- lib/locales/de_CH/phone_number/formats.js | 2 +- lib/locales/el/address/county.js | 2 +- lib/locales/el/address/default_country.js | 2 +- lib/locales/el/app/author.js | 2 +- lib/locales/el/app/name.js | 2 +- lib/locales/el/app/version.js | 2 +- .../el/business/credit_card_expiry_dates.js | 2 +- .../el/business/credit_card_numbers.js | 2 +- lib/locales/el/business/credit_card_types.js | 2 +- lib/locales/el/cell_phone/formats.js | 2 +- lib/locales/el/commerce/color.js | 2 +- lib/locales/el/commerce/department.js | 2 +- lib/locales/el/commerce/product_name.js | 2 +- lib/locales/el/company/adjective.js | 2 +- lib/locales/el/company/bs_adjective.js | 2 +- lib/locales/el/company/bs_noun.js | 2 +- lib/locales/el/company/bs_verb.js | 2 +- lib/locales/el/company/descriptor.js | 2 +- lib/locales/el/company/name.js | 2 +- lib/locales/el/company/noun.js | 2 +- lib/locales/el/company/suffix.js | 2 +- .../el/credit_card/american_express.js | 2 +- lib/locales/el/credit_card/discover.js | 2 +- lib/locales/el/credit_card/maestro.js | 2 +- lib/locales/el/credit_card/mastercard.js | 2 +- lib/locales/el/credit_card/visa.js | 2 +- lib/locales/el/finance/account_type.js | 2 +- lib/locales/el/finance/currency.js | 2 +- lib/locales/el/finance/transaction_type.js | 2 +- lib/locales/el/hacker/abbreviation.js | 2 +- lib/locales/el/hacker/adjective.js | 2 +- lib/locales/el/hacker/noun.js | 2 +- lib/locales/el/hacker/verb.js | 2 +- lib/locales/el/internet/domain_suffix.js | 2 +- lib/locales/el/internet/free_email.js | 2 +- lib/locales/el/lorem/words.js | 2 +- lib/locales/el/name/first_name.js | 2 +- lib/locales/el/name/last_name.js | 2 +- lib/locales/el/name/name.js | 2 +- lib/locales/el/name/prefix.js | 2 +- lib/locales/el/name/title.js | 2 +- lib/locales/el/phone_number/formats.js | 2 +- lib/locales/el/team/creature.js | 2 +- lib/locales/el/team/name.js | 2 +- lib/locales/en/address/building_number.js | 2 +- lib/locales/en/address/city.js | 2 +- lib/locales/en/address/city_prefix.js | 2 +- lib/locales/en/address/city_suffix.js | 2 +- lib/locales/en/address/country.js | 2 +- lib/locales/en/address/country_code.js | 2 +- .../en/address/country_code_alpha_3.js | 2 +- lib/locales/en/address/county.js | 2 +- lib/locales/en/address/default_country.js | 2 +- lib/locales/en/address/direction.js | 2 +- lib/locales/en/address/direction_abbr.js | 2 +- lib/locales/en/address/postcode.js | 2 +- lib/locales/en/address/postcode_by_state.js | 2 +- lib/locales/en/address/secondary_address.js | 2 +- lib/locales/en/address/state.js | 2 +- lib/locales/en/address/state_abbr.js | 2 +- lib/locales/en/address/street_address.js | 2 +- lib/locales/en/address/street_name.js | 2 +- lib/locales/en/address/street_suffix.js | 2 +- lib/locales/en/address/time_zone.js | 2 +- lib/locales/en/animal/bear.js | 2 +- lib/locales/en/animal/bird.js | 2 +- lib/locales/en/animal/cat.js | 2 +- lib/locales/en/animal/cetacean.js | 2 +- lib/locales/en/animal/cow.js | 2 +- lib/locales/en/animal/crocodilia.js | 2 +- lib/locales/en/animal/dog.js | 2 +- lib/locales/en/animal/fish.js | 2 +- lib/locales/en/animal/horse.js | 2 +- lib/locales/en/animal/insect.js | 2 +- lib/locales/en/animal/lion.js | 2 +- lib/locales/en/animal/rabbit.js | 2 +- lib/locales/en/animal/snake.js | 2 +- lib/locales/en/animal/type.js | 2 +- lib/locales/en/app/author.js | 2 +- lib/locales/en/app/name.js | 2 +- lib/locales/en/app/version.js | 2 +- .../en/business/credit_card_expiry_dates.js | 2 +- .../en/business/credit_card_numbers.js | 2 +- lib/locales/en/business/credit_card_types.js | 2 +- lib/locales/en/cell_phone/formats.js | 2 +- lib/locales/en/commerce/color.js | 2 +- lib/locales/en/commerce/department.js | 2 +- .../en/commerce/product_description.js | 2 +- lib/locales/en/commerce/product_name.js | 2 +- lib/locales/en/company/adjective.js | 2 +- lib/locales/en/company/bs_adjective.js | 2 +- lib/locales/en/company/bs_noun.js | 2 +- lib/locales/en/company/bs_verb.js | 2 +- lib/locales/en/company/descriptor.js | 2 +- lib/locales/en/company/name.js | 2 +- lib/locales/en/company/noun.js | 2 +- lib/locales/en/company/suffix.js | 2 +- lib/locales/en/database/collation.js | 2 +- lib/locales/en/database/column.js | 2 +- lib/locales/en/database/engine.js | 2 +- lib/locales/en/database/type.js | 2 +- lib/locales/en/date/index.js | 4 +- lib/locales/en/date/month.js | 2 +- lib/locales/en/date/weekday.js | 2 +- lib/locales/en/finance/account_type.js | 2 +- .../finance/credit_card/american_express.js | 2 +- .../en/finance/credit_card/diners_club.js | 2 +- .../en/finance/credit_card/discover.js | 2 +- .../en/finance/credit_card/instapayment.js | 2 +- lib/locales/en/finance/credit_card/jcb.js | 2 +- lib/locales/en/finance/credit_card/laser.js | 2 +- lib/locales/en/finance/credit_card/maestro.js | 2 +- .../en/finance/credit_card/mastercard.js | 2 +- lib/locales/en/finance/credit_card/solo.js | 2 +- lib/locales/en/finance/credit_card/switch.js | 2 +- lib/locales/en/finance/credit_card/visa.js | 2 +- lib/locales/en/finance/currency.js | 2 +- lib/locales/en/finance/transaction_type.js | 2 +- lib/locales/en/hacker/abbreviation.js | 2 +- lib/locales/en/hacker/adjective.js | 2 +- lib/locales/en/hacker/ingverb.js | 2 +- lib/locales/en/hacker/noun.js | 2 +- lib/locales/en/hacker/phrase.js | 2 +- lib/locales/en/hacker/verb.js | 2 +- lib/locales/en/internet/avatar_uri.js | 2 +- lib/locales/en/internet/domain_suffix.js | 2 +- lib/locales/en/internet/example_email.js | 2 +- lib/locales/en/internet/free_email.js | 2 +- lib/locales/en/lorem/supplemental.js | 2 +- lib/locales/en/lorem/words.js | 2 +- lib/locales/en/music/genre.js | 2 +- lib/locales/en/name/binary_gender.js | 2 +- lib/locales/en/name/female_first_name.js | 2 +- lib/locales/en/name/first_name.js | 2 +- lib/locales/en/name/gender.js | 2 +- lib/locales/en/name/last_name.js | 2 +- lib/locales/en/name/male_first_name.js | 2 +- lib/locales/en/name/name.js | 2 +- lib/locales/en/name/prefix.js | 2 +- lib/locales/en/name/suffix.js | 2 +- lib/locales/en/name/title.js | 2 +- lib/locales/en/phone_number/formats.js | 2 +- lib/locales/en/team/creature.js | 2 +- lib/locales/en/team/name.js | 2 +- lib/locales/en/vehicle/bicycle.js | 2 +- lib/locales/en/vehicle/fuel.js | 2 +- lib/locales/en/vehicle/index.js | 4 +- lib/locales/en/vehicle/manufacturer.js | 2 +- lib/locales/en/vehicle/model.js | 2 +- lib/locales/en/vehicle/vehicle_type.js | 2 +- lib/locales/en/word/adjective.js | 2 +- lib/locales/en/word/adverb.js | 2 +- lib/locales/en/word/conjunction.js | 2 +- lib/locales/en/word/index.js | 4 +- lib/locales/en/word/interjection.js | 2 +- lib/locales/en/word/noun.js | 2 +- lib/locales/en/word/preposition.js | 2 +- lib/locales/en/word/verb.js | 2 +- lib/locales/en_AU/address/building_number.js | 2 +- lib/locales/en_AU/address/default_country.js | 2 +- lib/locales/en_AU/address/postcode.js | 2 +- lib/locales/en_AU/address/state.js | 2 +- lib/locales/en_AU/address/state_abbr.js | 2 +- lib/locales/en_AU/address/street_suffix.js | 2 +- lib/locales/en_AU/company/suffix.js | 2 +- lib/locales/en_AU/internet/domain_suffix.js | 2 +- lib/locales/en_AU/name/first_name.js | 2 +- lib/locales/en_AU/name/last_name.js | 2 +- lib/locales/en_AU/phone_number/formats.js | 2 +- .../en_AU_ocker/address/building_number.js | 2 +- lib/locales/en_AU_ocker/address/city.js | 2 +- .../en_AU_ocker/address/city_prefix.js | 2 +- .../en_AU_ocker/address/default_country.js | 2 +- lib/locales/en_AU_ocker/address/postcode.js | 2 +- lib/locales/en_AU_ocker/address/region.js | 2 +- lib/locales/en_AU_ocker/address/state.js | 2 +- lib/locales/en_AU_ocker/address/state_abbr.js | 2 +- .../en_AU_ocker/address/street_name.js | 2 +- .../en_AU_ocker/address/street_root.js | 2 +- .../en_AU_ocker/address/street_suffix.js | 2 +- lib/locales/en_AU_ocker/company/suffix.js | 2 +- .../en_AU_ocker/internet/domain_suffix.js | 2 +- lib/locales/en_AU_ocker/name/first_name.js | 2 +- lib/locales/en_AU_ocker/name/last_name.js | 2 +- .../en_AU_ocker/name/ocker_first_name.js | 2 +- .../en_AU_ocker/phone_number/formats.js | 2 +- lib/locales/en_BORK/lorem/words.js | 2 +- lib/locales/en_CA/address/default_country.js | 2 +- lib/locales/en_CA/address/postcode.js | 2 +- lib/locales/en_CA/address/state.js | 2 +- lib/locales/en_CA/address/state_abbr.js | 2 +- lib/locales/en_CA/internet/domain_suffix.js | 2 +- lib/locales/en_CA/internet/free_email.js | 2 +- lib/locales/en_CA/phone_number/formats.js | 2 +- lib/locales/en_GB/address/county.js | 2 +- lib/locales/en_GB/address/default_country.js | 2 +- lib/locales/en_GB/address/postcode.js | 2 +- lib/locales/en_GB/address/uk_country.js | 2 +- lib/locales/en_GB/cell_phone/formats.js | 2 +- lib/locales/en_GB/internet/domain_suffix.js | 2 +- lib/locales/en_GB/phone_number/formats.js | 2 +- lib/locales/en_GH/address/building_number.js | 2 +- lib/locales/en_GH/address/city.js | 2 +- lib/locales/en_GH/address/city_name.js | 2 +- lib/locales/en_GH/address/default_country.js | 2 +- lib/locales/en_GH/address/postcode.js | 2 +- lib/locales/en_GH/address/state.js | 2 +- lib/locales/en_GH/address/street_address.js | 2 +- lib/locales/en_GH/address/street_name.js | 2 +- lib/locales/en_GH/address/street_prefix.js | 2 +- lib/locales/en_GH/address/street_suffix.js | 2 +- lib/locales/en_GH/company/name.js | 2 +- lib/locales/en_GH/company/suffix.js | 2 +- lib/locales/en_GH/internet/domain_suffix.js | 2 +- lib/locales/en_GH/name/female_first_name.js | 2 +- lib/locales/en_GH/name/first_name.js | 2 +- lib/locales/en_GH/name/last_name.js | 2 +- lib/locales/en_GH/name/male_first_name.js | 2 +- lib/locales/en_GH/name/name.js | 2 +- lib/locales/en_GH/phone_number/formats.js | 2 +- lib/locales/en_IE/address/county.js | 2 +- lib/locales/en_IE/address/default_country.js | 2 +- lib/locales/en_IE/cell_phone/formats.js | 2 +- lib/locales/en_IE/internet/domain_suffix.js | 2 +- lib/locales/en_IE/phone_number/formats.js | 2 +- lib/locales/en_IND/address/city.js | 2 +- lib/locales/en_IND/address/city_name.js | 2 +- lib/locales/en_IND/address/default_country.js | 2 +- lib/locales/en_IND/address/index.js | 4 +- lib/locales/en_IND/address/postcode.js | 2 +- lib/locales/en_IND/address/state.js | 2 +- lib/locales/en_IND/address/state_abbr.js | 2 +- lib/locales/en_IND/company/suffix.js | 2 +- lib/locales/en_IND/internet/domain_suffix.js | 2 +- lib/locales/en_IND/internet/free_email.js | 2 +- lib/locales/en_IND/name/first_name.js | 2 +- lib/locales/en_IND/name/last_name.js | 2 +- lib/locales/en_IND/phone_number/formats.js | 2 +- lib/locales/en_NG/address/city.js | 2 +- lib/locales/en_NG/address/city_prefix.js | 2 +- lib/locales/en_NG/address/default_country.js | 2 +- lib/locales/en_NG/address/postcode.js | 2 +- lib/locales/en_NG/address/state.js | 2 +- lib/locales/en_NG/company/suffix.js | 2 +- lib/locales/en_NG/internet/domain_suffix.js | 2 +- lib/locales/en_NG/name/female_first_name.js | 2 +- lib/locales/en_NG/name/first_name.js | 2 +- lib/locales/en_NG/name/last_name.js | 2 +- lib/locales/en_NG/name/male_first_name.js | 2 +- lib/locales/en_NG/name/name.js | 2 +- lib/locales/en_NG/phone_number/formats.js | 2 +- lib/locales/en_US/address/default_country.js | 2 +- .../en_US/address/postcode_by_state.js | 2 +- lib/locales/en_US/internet/domain_suffix.js | 2 +- lib/locales/en_US/phone_number/area_code.js | 2 +- .../en_US/phone_number/exchange_code.js | 2 +- lib/locales/en_ZA/address/city.js | 2 +- lib/locales/en_ZA/address/city_prefix.js | 2 +- lib/locales/en_ZA/address/default_country.js | 2 +- lib/locales/en_ZA/address/postcode.js | 2 +- lib/locales/en_ZA/address/state.js | 2 +- lib/locales/en_ZA/cell_phone/formats.js | 2 +- lib/locales/en_ZA/company/suffix.js | 2 +- lib/locales/en_ZA/internet/domain_suffix.js | 2 +- lib/locales/en_ZA/name/female_first_name.js | 2 +- lib/locales/en_ZA/name/first_name.js | 2 +- lib/locales/en_ZA/name/last_name.js | 2 +- lib/locales/en_ZA/name/male_first_name.js | 2 +- lib/locales/en_ZA/name/name.js | 2 +- lib/locales/en_ZA/phone_number/area_code.js | 2 +- .../en_ZA/phone_number/exchange_code.js | 2 +- lib/locales/en_ZA/phone_number/formats.js | 2 +- lib/locales/es/address/building_number.js | 2 +- lib/locales/es/address/city.js | 2 +- lib/locales/es/address/city_prefix.js | 2 +- lib/locales/es/address/country.js | 2 +- lib/locales/es/address/default_country.js | 2 +- lib/locales/es/address/postcode.js | 2 +- lib/locales/es/address/province.js | 2 +- lib/locales/es/address/secondary_address.js | 2 +- lib/locales/es/address/state.js | 2 +- lib/locales/es/address/state_abbr.js | 2 +- lib/locales/es/address/street_address.js | 2 +- lib/locales/es/address/street_name.js | 2 +- lib/locales/es/address/street_suffix.js | 2 +- lib/locales/es/address/time_zone.js | 2 +- lib/locales/es/cell_phone/formats.js | 2 +- lib/locales/es/commerce/color.js | 2 +- lib/locales/es/commerce/department.js | 2 +- lib/locales/es/commerce/index.js | 4 +- lib/locales/es/commerce/product_name.js | 2 +- lib/locales/es/company/adjective.js | 2 +- lib/locales/es/company/descriptor.js | 2 +- lib/locales/es/company/name.js | 2 +- lib/locales/es/company/noun.js | 2 +- lib/locales/es/company/suffix.js | 2 +- lib/locales/es/internet/domain_suffix.js | 2 +- lib/locales/es/internet/free_email.js | 2 +- lib/locales/es/name/female_first_name.js | 2 +- lib/locales/es/name/first_name.js | 2 +- lib/locales/es/name/last_name.js | 2 +- lib/locales/es/name/male_first_name.js | 2 +- lib/locales/es/name/name.js | 2 +- lib/locales/es/name/prefix.js | 2 +- lib/locales/es/name/suffix.js | 2 +- lib/locales/es/name/title.js | 2 +- lib/locales/es/phone_number/formats.js | 2 +- lib/locales/es_MX/address/building_number.js | 2 +- lib/locales/es_MX/address/city.js | 2 +- lib/locales/es_MX/address/city_prefix.js | 2 +- lib/locales/es_MX/address/city_suffix.js | 2 +- lib/locales/es_MX/address/country.js | 2 +- lib/locales/es_MX/address/default_country.js | 2 +- lib/locales/es_MX/address/postcode.js | 2 +- .../es_MX/address/secondary_address.js | 2 +- lib/locales/es_MX/address/state.js | 2 +- lib/locales/es_MX/address/state_abbr.js | 2 +- lib/locales/es_MX/address/street.js | 2 +- lib/locales/es_MX/address/street_address.js | 2 +- lib/locales/es_MX/address/street_name.js | 2 +- lib/locales/es_MX/address/street_suffix.js | 2 +- lib/locales/es_MX/address/time_zone.js | 2 +- lib/locales/es_MX/cell_phone/formats.js | 2 +- lib/locales/es_MX/commerce/color.js | 2 +- lib/locales/es_MX/commerce/department.js | 2 +- lib/locales/es_MX/commerce/product_name.js | 2 +- lib/locales/es_MX/company/adjective.js | 2 +- lib/locales/es_MX/company/bs_adjective.js | 2 +- lib/locales/es_MX/company/bs_noun.js | 2 +- lib/locales/es_MX/company/bs_verb.js | 2 +- lib/locales/es_MX/company/descriptor.js | 2 +- lib/locales/es_MX/company/name.js | 2 +- lib/locales/es_MX/company/noun.js | 2 +- lib/locales/es_MX/company/suffix.js | 2 +- lib/locales/es_MX/internet/domain_suffix.js | 2 +- lib/locales/es_MX/internet/free_email.js | 2 +- lib/locales/es_MX/lorem/words.js | 2 +- lib/locales/es_MX/name/first_name.js | 2 +- lib/locales/es_MX/name/last_name.js | 2 +- lib/locales/es_MX/name/name.js | 2 +- lib/locales/es_MX/name/prefix.js | 2 +- lib/locales/es_MX/name/suffix.js | 2 +- lib/locales/es_MX/name/title.js | 2 +- lib/locales/es_MX/phone_number/formats.js | 2 +- lib/locales/es_MX/team/creature.js | 2 +- lib/locales/es_MX/team/name.js | 2 +- lib/locales/fa/address/building_number.js | 2 +- lib/locales/fa/address/city.js | 2 +- lib/locales/fa/address/city_name.js | 2 +- lib/locales/fa/address/city_prefix.js | 2 +- lib/locales/fa/address/city_suffix.js | 2 +- lib/locales/fa/address/country.js | 2 +- lib/locales/fa/address/country_code.js | 2 +- lib/locales/fa/address/default_country.js | 2 +- lib/locales/fa/address/direction.js | 2 +- lib/locales/fa/address/postcode.js | 2 +- lib/locales/fa/address/secondary_address.js | 2 +- lib/locales/fa/address/state.js | 2 +- lib/locales/fa/address/street_address.js | 2 +- lib/locales/fa/address/street_name.js | 2 +- lib/locales/fa/address/street_prefix.js | 2 +- lib/locales/fa/address/street_suffix.js | 2 +- lib/locales/fa/cell_phone/formats.js | 2 +- lib/locales/fa/commerce/color.js | 2 +- lib/locales/fa/commerce/department.js | 2 +- lib/locales/fa/commerce/product_name.js | 2 +- lib/locales/fa/company/adjective.js | 2 +- lib/locales/fa/company/bs_adjective.js | 2 +- lib/locales/fa/company/bs_noun.js | 2 +- lib/locales/fa/company/bs_verb.js | 2 +- lib/locales/fa/company/descriptor.js | 2 +- lib/locales/fa/company/name.js | 2 +- lib/locales/fa/company/noun.js | 2 +- lib/locales/fa/company/suffix.js | 2 +- lib/locales/fa/date/index.js | 4 +- lib/locales/fa/date/month.js | 2 +- lib/locales/fa/date/weekday.js | 2 +- lib/locales/fa/finance/account_type.js | 2 +- .../fa/finance/credit_card/mastercard.js | 2 +- lib/locales/fa/finance/credit_card/visa.js | 2 +- lib/locales/fa/finance/currency.js | 2 +- lib/locales/fa/finance/transaction_type.js | 2 +- lib/locales/fa/internet/domain_suffix.js | 2 +- lib/locales/fa/internet/example_email.js | 2 +- lib/locales/fa/internet/free_email.js | 2 +- lib/locales/fa/lorem/words.js | 2 +- lib/locales/fa/name/female_first_name.js | 2 +- lib/locales/fa/name/first_name.js | 2 +- lib/locales/fa/name/last_name.js | 2 +- lib/locales/fa/name/male_first_name.js | 2 +- lib/locales/fa/name/name.js | 2 +- lib/locales/fa/name/prefix.js | 2 +- lib/locales/fa/name/title.js | 2 +- lib/locales/fa/phone_number/formats.js | 2 +- lib/locales/fa/vehicle/fuel.js | 2 +- lib/locales/fa/vehicle/index.js | 4 +- lib/locales/fa/vehicle/manufacturer.js | 2 +- lib/locales/fa/vehicle/model.js | 2 +- lib/locales/fa/vehicle/vehicle_type.js | 2 +- lib/locales/fi/name/female_first_name.js | 2 +- lib/locales/fi/name/first_name.js | 2 +- lib/locales/fi/name/last_name.js | 2 +- lib/locales/fi/name/male_first_name.js | 2 +- lib/locales/fi/name/name.js | 2 +- lib/locales/fr/address/building_number.js | 2 +- lib/locales/fr/address/city.js | 2 +- lib/locales/fr/address/city_name.js | 2 +- lib/locales/fr/address/country.js | 2 +- lib/locales/fr/address/default_country.js | 2 +- lib/locales/fr/address/postcode.js | 2 +- lib/locales/fr/address/secondary_address.js | 2 +- lib/locales/fr/address/state.js | 2 +- lib/locales/fr/address/street_address.js | 2 +- lib/locales/fr/address/street_name.js | 2 +- lib/locales/fr/address/street_prefix.js | 2 +- lib/locales/fr/address/street_suffix.js | 2 +- lib/locales/fr/company/adjective.js | 2 +- lib/locales/fr/company/bs_adjective.js | 2 +- lib/locales/fr/company/bs_noun.js | 2 +- lib/locales/fr/company/bs_verb.js | 2 +- lib/locales/fr/company/descriptor.js | 2 +- lib/locales/fr/company/name.js | 2 +- lib/locales/fr/company/noun.js | 2 +- lib/locales/fr/company/suffix.js | 2 +- lib/locales/fr/date/index.js | 4 +- lib/locales/fr/date/weekday.js | 2 +- lib/locales/fr/internet/domain_suffix.js | 2 +- lib/locales/fr/internet/free_email.js | 2 +- lib/locales/fr/lorem/words.js | 2 +- lib/locales/fr/name/last_name.js | 2 +- lib/locales/fr/name/name.js | 2 +- lib/locales/fr/name/prefix.js | 2 +- lib/locales/fr/name/title.js | 2 +- lib/locales/fr/phone_number/formats.js | 2 +- lib/locales/fr_BE/adresses/building_number.js | 2 +- lib/locales/fr_BE/adresses/city.js | 2 +- lib/locales/fr_BE/adresses/city_prefix.js | 2 +- lib/locales/fr_BE/adresses/city_suffix.js | 2 +- lib/locales/fr_BE/adresses/default_country.js | 2 +- lib/locales/fr_BE/adresses/postcode.js | 2 +- lib/locales/fr_BE/adresses/state.js | 2 +- lib/locales/fr_BE/adresses/state_abbr.js | 2 +- lib/locales/fr_BE/adresses/street_address.js | 2 +- lib/locales/fr_BE/adresses/street_name.js | 2 +- lib/locales/fr_BE/adresses/street_prefix.js | 2 +- lib/locales/fr_BE/adresses/street_suffix.js | 2 +- lib/locales/fr_BE/cell_phone/formats.js | 2 +- lib/locales/fr_BE/internet/domain_suffix.js | 2 +- lib/locales/fr_BE/internet/free_email.js | 2 +- lib/locales/fr_BE/name/first_name.js | 2 +- lib/locales/fr_BE/name/first_name_female.js | 2 +- lib/locales/fr_BE/name/first_name_male.js | 2 +- lib/locales/fr_BE/name/gender.js | 2 +- lib/locales/fr_BE/name/last_name.js | 2 +- lib/locales/fr_BE/name/name.js | 2 +- lib/locales/fr_BE/name/prefix.js | 2 +- lib/locales/fr_BE/name/suffix.js | 2 +- lib/locales/fr_BE/name/title.js | 2 +- lib/locales/fr_BE/phone_number/formats.js | 2 +- lib/locales/fr_CA/address/default_country.js | 2 +- lib/locales/fr_CA/address/postcode.js | 2 +- lib/locales/fr_CA/address/state.js | 2 +- lib/locales/fr_CA/address/state_abbr.js | 2 +- lib/locales/fr_CA/internet/domain_suffix.js | 2 +- lib/locales/fr_CA/internet/free_email.js | 2 +- lib/locales/fr_CA/phone_number/formats.js | 2 +- lib/locales/fr_CH/address/city.js | 2 +- lib/locales/fr_CH/address/city_name.js | 2 +- lib/locales/fr_CH/address/country_code.js | 2 +- lib/locales/fr_CH/address/default_country.js | 2 +- lib/locales/fr_CH/address/postcode.js | 2 +- lib/locales/fr_CH/address/state.js | 2 +- lib/locales/fr_CH/internet/domain_suffix.js | 2 +- lib/locales/fr_CH/phone_number/formats.js | 2 +- lib/locales/ge/address/building_number.js | 2 +- lib/locales/ge/address/city.js | 2 +- lib/locales/ge/address/city_name.js | 2 +- lib/locales/ge/address/city_prefix.js | 2 +- lib/locales/ge/address/city_suffix.js | 2 +- lib/locales/ge/address/country.js | 2 +- lib/locales/ge/address/default_country.js | 2 +- lib/locales/ge/address/postcode.js | 2 +- lib/locales/ge/address/secondary_address.js | 2 +- lib/locales/ge/address/street_address.js | 2 +- lib/locales/ge/address/street_name.js | 2 +- lib/locales/ge/address/street_suffix.js | 2 +- lib/locales/ge/address/street_title.js | 2 +- lib/locales/ge/cell_phone/formats.js | 2 +- lib/locales/ge/company/name.js | 2 +- lib/locales/ge/company/prefix.js | 2 +- lib/locales/ge/company/suffix.js | 2 +- lib/locales/ge/internet/domain_suffix.js | 2 +- lib/locales/ge/internet/free_email.js | 2 +- lib/locales/ge/name/first_name.js | 2 +- lib/locales/ge/name/last_name.js | 2 +- lib/locales/ge/name/name.js | 2 +- lib/locales/ge/name/prefix.js | 2 +- lib/locales/ge/name/title.js | 2 +- lib/locales/ge/phone_number/formats.js | 2 +- lib/locales/he/address/building_number.js | 2 +- lib/locales/he/address/city.js | 2 +- lib/locales/he/address/city_prefix.js | 2 +- lib/locales/he/address/city_suffix.js | 2 +- lib/locales/he/address/country.js | 2 +- lib/locales/he/address/country_code.js | 2 +- .../he/address/country_code_alpha_3.js | 2 +- lib/locales/he/address/county.js | 2 +- lib/locales/he/address/default_country.js | 2 +- lib/locales/he/address/direction.js | 2 +- lib/locales/he/address/direction_abbr.js | 2 +- lib/locales/he/address/postcode.js | 2 +- lib/locales/he/address/postcode_by_state.js | 2 +- lib/locales/he/address/secondary_address.js | 2 +- lib/locales/he/address/state.js | 2 +- lib/locales/he/address/state_abbr.js | 2 +- lib/locales/he/address/street_address.js | 2 +- lib/locales/he/address/street_name.js | 2 +- lib/locales/he/address/street_suffix.js | 2 +- lib/locales/he/address/time_zone.js | 2 +- lib/locales/he/cell_phone/formats.js | 2 +- lib/locales/he/commerce/color.js | 2 +- lib/locales/he/commerce/department.js | 2 +- .../he/commerce/product_description.js | 2 +- lib/locales/he/commerce/product_name.js | 2 +- lib/locales/he/date/index.js | 4 +- lib/locales/he/date/month.js | 2 +- lib/locales/he/date/weekday.js | 2 +- lib/locales/he/lorem/supplemental.js | 2 +- lib/locales/he/lorem/words.js | 2 +- lib/locales/he/music/genre.js | 2 +- lib/locales/he/name/female_first_name.js | 2 +- lib/locales/he/name/first_name.js | 2 +- lib/locales/he/name/gender.js | 2 +- lib/locales/he/name/last_name.js | 2 +- lib/locales/he/name/male_first_name.js | 2 +- lib/locales/he/name/name.js | 2 +- lib/locales/he/name/prefix.js | 2 +- lib/locales/he/name/suffix.js | 2 +- lib/locales/he/name/title.js | 2 +- lib/locales/he/phone_number/formats.js | 2 +- lib/locales/hr/address/building_number.js | 2 +- lib/locales/hr/address/city.js | 2 +- lib/locales/hr/address/country.js | 2 +- lib/locales/hr/address/default_country.js | 2 +- lib/locales/hr/address/postcode.js | 2 +- lib/locales/hr/address/secondary_address.js | 2 +- lib/locales/hr/address/street.js | 2 +- lib/locales/hr/address/street_address.js | 2 +- lib/locales/hr/address/street_name.js | 2 +- lib/locales/hr/address/time_zone.js | 2 +- lib/locales/hr/cell_phone/formats.js | 2 +- lib/locales/hr/date/index.js | 4 +- lib/locales/hr/date/month.js | 2 +- lib/locales/hr/date/weekday.js | 2 +- lib/locales/hr/internet/domain_suffix.js | 2 +- lib/locales/hr/internet/free_email.js | 2 +- lib/locales/hr/name/female_first_name.js | 2 +- lib/locales/hr/name/first_name.js | 2 +- lib/locales/hr/name/last_name.js | 2 +- lib/locales/hr/name/male_first_name.js | 2 +- lib/locales/hr/name/name.js | 2 +- lib/locales/hr/name/prefix.js | 2 +- lib/locales/hr/name/suffix.js | 2 +- lib/locales/hr/name/title.js | 2 +- lib/locales/hr/phone_number/formats.js | 2 +- lib/locales/hy/address/building_number.js | 2 +- lib/locales/hy/address/city.js | 2 +- lib/locales/hy/address/city_prefix.js | 2 +- lib/locales/hy/address/city_suffix.js | 2 +- lib/locales/hy/address/country.js | 2 +- lib/locales/hy/address/default_country.js | 2 +- lib/locales/hy/address/direction.js | 2 +- lib/locales/hy/address/secondary_address.js | 2 +- lib/locales/hy/address/state.js | 2 +- lib/locales/hy/address/street_address.js | 2 +- lib/locales/hy/address/street_name.js | 2 +- lib/locales/hy/address/street_suffix.js | 2 +- lib/locales/hy/commerce/color.js | 2 +- lib/locales/hy/date/index.js | 4 +- lib/locales/hy/date/month.js | 2 +- lib/locales/hy/date/weekday.js | 2 +- lib/locales/hy/internet/domain_suffix.js | 2 +- lib/locales/hy/lorem/words.js | 2 +- lib/locales/hy/name/female_first_name.js | 2 +- lib/locales/hy/name/first_name.js | 2 +- lib/locales/hy/name/last_name.js | 2 +- lib/locales/hy/name/male_first_name.js | 2 +- lib/locales/hy/name/name.js | 2 +- lib/locales/hy/phone_number/formats.js | 2 +- lib/locales/id_ID/address/building_number.js | 2 +- lib/locales/id_ID/address/city.js | 2 +- lib/locales/id_ID/address/city_name.js | 2 +- lib/locales/id_ID/address/default_country.js | 2 +- lib/locales/id_ID/address/postcode.js | 2 +- lib/locales/id_ID/address/state.js | 2 +- lib/locales/id_ID/address/street_address.js | 2 +- lib/locales/id_ID/address/street_name.js | 2 +- lib/locales/id_ID/address/street_prefix.js | 2 +- lib/locales/id_ID/company/name.js | 2 +- lib/locales/id_ID/company/prefix.js | 2 +- lib/locales/id_ID/company/suffix.js | 2 +- lib/locales/id_ID/date/index.js | 4 +- lib/locales/id_ID/date/month.js | 2 +- lib/locales/id_ID/date/weekday.js | 2 +- lib/locales/id_ID/internet/domain_suffix.js | 2 +- lib/locales/id_ID/internet/free_email.js | 2 +- lib/locales/id_ID/name/female_first_name.js | 2 +- lib/locales/id_ID/name/female_last_name.js | 2 +- lib/locales/id_ID/name/female_title.js | 2 +- lib/locales/id_ID/name/male_first_name.js | 2 +- lib/locales/id_ID/name/male_last_name.js | 2 +- lib/locales/id_ID/name/male_title.js | 2 +- lib/locales/id_ID/name/name.js | 2 +- lib/locales/id_ID/name/prefix.js | 2 +- lib/locales/id_ID/name/suffix.js | 2 +- lib/locales/id_ID/phone_number/formats.js | 2 +- lib/locales/it/address/building_number.js | 2 +- lib/locales/it/address/city.js | 2 +- lib/locales/it/address/city_prefix.js | 2 +- lib/locales/it/address/city_suffix.js | 2 +- lib/locales/it/address/country.js | 2 +- lib/locales/it/address/default_country.js | 2 +- lib/locales/it/address/postcode.js | 2 +- lib/locales/it/address/secondary_address.js | 2 +- lib/locales/it/address/state.js | 2 +- lib/locales/it/address/state_abbr.js | 2 +- lib/locales/it/address/street_address.js | 2 +- lib/locales/it/address/street_name.js | 2 +- lib/locales/it/address/street_suffix.js | 2 +- lib/locales/it/company/adjective.js | 2 +- lib/locales/it/company/bs_adjective.js | 2 +- lib/locales/it/company/bs_noun.js | 2 +- lib/locales/it/company/bs_verb.js | 2 +- lib/locales/it/company/descriptor.js | 2 +- lib/locales/it/company/name.js | 2 +- lib/locales/it/company/noun.js | 2 +- lib/locales/it/company/suffix.js | 2 +- lib/locales/it/internet/domain_suffix.js | 2 +- lib/locales/it/internet/free_email.js | 2 +- lib/locales/it/name/first_name.js | 14 +- lib/locales/it/name/name.js | 2 +- lib/locales/it/name/prefix.js | 2 +- lib/locales/it/name/suffix.js | 2 +- lib/locales/it/phone_number/formats.js | 2 +- lib/locales/ja/address/city.js | 2 +- lib/locales/ja/address/city_prefix.js | 2 +- lib/locales/ja/address/city_suffix.js | 2 +- lib/locales/ja/address/country.js | 2 +- lib/locales/ja/address/postcode.js | 2 +- lib/locales/ja/address/state.js | 2 +- lib/locales/ja/address/state_abbr.js | 2 +- lib/locales/ja/address/street_name.js | 2 +- lib/locales/ja/cell_phone/formats.js | 2 +- lib/locales/ja/index.js | 4 +- lib/locales/ja/lorem/index.js | 4 +- lib/locales/ja/lorem/supplemental.js | 2 +- lib/locales/ja/lorem/words.js | 2 +- lib/locales/ja/name/first_name.js | 2 +- lib/locales/ja/name/last_name.js | 2 +- lib/locales/ja/name/name.js | 2 +- lib/locales/ja/phone_number/formats.js | 2 +- lib/locales/ko/address/city.js | 2 +- lib/locales/ko/address/city_name.js | 2 +- lib/locales/ko/address/city_suffix.js | 2 +- lib/locales/ko/address/postcode.js | 2 +- lib/locales/ko/address/state.js | 2 +- lib/locales/ko/address/state_abbr.js | 2 +- lib/locales/ko/address/street_name.js | 2 +- lib/locales/ko/address/street_root.js | 2 +- lib/locales/ko/address/street_suffix.js | 2 +- lib/locales/ko/company/name.js | 2 +- lib/locales/ko/company/prefix.js | 2 +- lib/locales/ko/company/suffix.js | 2 +- lib/locales/ko/internet/domain_suffix.js | 2 +- lib/locales/ko/internet/free_email.js | 2 +- lib/locales/ko/lorem/words.js | 2 +- lib/locales/ko/name/first_name.js | 2 +- lib/locales/ko/name/last_name.js | 2 +- lib/locales/ko/name/name.js | 2 +- lib/locales/ko/phone_number/formats.js | 2 +- lib/locales/lv/address/building_number.js | 2 +- lib/locales/lv/address/city.js | 2 +- lib/locales/lv/address/city_name.js | 2 +- lib/locales/lv/address/country.js | 2 +- lib/locales/lv/address/default_country.js | 2 +- lib/locales/lv/address/postcode.js | 2 +- lib/locales/lv/address/secondary_address.js | 2 +- lib/locales/lv/address/state.js | 2 +- lib/locales/lv/address/street_address.js | 2 +- lib/locales/lv/address/street_name.js | 2 +- lib/locales/lv/address/street_suffix.js | 2 +- lib/locales/lv/address/street_title.js | 2 +- lib/locales/lv/cell_phone/formats.js | 2 +- lib/locales/lv/commerce/color.js | 2 +- lib/locales/lv/commerce/department.js | 2 +- lib/locales/lv/commerce/product_name.js | 2 +- lib/locales/lv/company/name.js | 2 +- lib/locales/lv/company/prefix.js | 2 +- lib/locales/lv/company/suffix.js | 2 +- lib/locales/lv/date/index.js | 4 +- lib/locales/lv/date/month.js | 2 +- lib/locales/lv/date/weekday.js | 2 +- lib/locales/lv/internet/domain_suffix.js | 2 +- lib/locales/lv/internet/free_email.js | 2 +- lib/locales/lv/lorem/supplemental.js | 2 +- lib/locales/lv/lorem/words.js | 2 +- lib/locales/lv/name/female_first_name.js | 2 +- lib/locales/lv/name/female_last_name.js | 2 +- lib/locales/lv/name/male_first_name.js | 2 +- lib/locales/lv/name/male_last_name.js | 2 +- lib/locales/lv/name/name.js | 2 +- lib/locales/lv/name/prefix.js | 2 +- lib/locales/lv/name/suffix.js | 2 +- lib/locales/lv/name/title.js | 2 +- lib/locales/lv/phone_number/formats.js | 2 +- lib/locales/mk/address/building_number.js | 2 +- lib/locales/mk/address/city.js | 2 +- lib/locales/mk/address/country.js | 2 +- lib/locales/mk/address/default_country.js | 2 +- lib/locales/mk/address/postcode.js | 2 +- lib/locales/mk/address/secondary_address.js | 2 +- lib/locales/mk/address/street.js | 2 +- lib/locales/mk/address/street_address.js | 2 +- lib/locales/mk/address/street_name.js | 2 +- lib/locales/mk/cell_phone/formats.js | 2 +- lib/locales/mk/company/name.js | 2 +- lib/locales/mk/company/suffix.js | 2 +- lib/locales/mk/date/index.js | 4 +- lib/locales/mk/date/month.js | 2 +- lib/locales/mk/date/weekday.js | 2 +- lib/locales/mk/internet/domain_suffix.js | 2 +- lib/locales/mk/internet/free_email.js | 2 +- lib/locales/mk/name/female_first_name.js | 2 +- lib/locales/mk/name/female_last_name.js | 2 +- lib/locales/mk/name/female_prefix.js | 2 +- lib/locales/mk/name/male_first_name.js | 2 +- lib/locales/mk/name/male_last_name.js | 2 +- lib/locales/mk/name/male_prefix.js | 2 +- lib/locales/mk/name/name.js | 2 +- lib/locales/mk/name/prefix.js | 2 +- lib/locales/mk/name/suffix.js | 2 +- lib/locales/mk/name/title.js | 2 +- lib/locales/mk/phone_number/formats.js | 2 +- lib/locales/nb_NO/address/building_number.js | 2 +- lib/locales/nb_NO/address/city.js | 2 +- lib/locales/nb_NO/address/city_root.js | 2 +- lib/locales/nb_NO/address/city_suffix.js | 2 +- .../nb_NO/address/common_street_suffix.js | 2 +- lib/locales/nb_NO/address/default_country.js | 2 +- lib/locales/nb_NO/address/postcode.js | 2 +- .../nb_NO/address/secondary_address.js | 2 +- lib/locales/nb_NO/address/state.js | 2 +- lib/locales/nb_NO/address/street_address.js | 2 +- lib/locales/nb_NO/address/street_name.js | 2 +- lib/locales/nb_NO/address/street_prefix.js | 2 +- lib/locales/nb_NO/address/street_root.js | 2 +- lib/locales/nb_NO/address/street_suffix.js | 2 +- lib/locales/nb_NO/company/name.js | 2 +- lib/locales/nb_NO/company/suffix.js | 2 +- lib/locales/nb_NO/internet/domain_suffix.js | 2 +- lib/locales/nb_NO/name/feminine_name.js | 2 +- lib/locales/nb_NO/name/first_name.js | 2 +- lib/locales/nb_NO/name/last_name.js | 2 +- lib/locales/nb_NO/name/masculine_name.js | 2 +- lib/locales/nb_NO/name/name.js | 2 +- lib/locales/nb_NO/name/prefix.js | 2 +- lib/locales/nb_NO/name/suffix.js | 2 +- lib/locales/nb_NO/phone_number/formats.js | 2 +- lib/locales/ne/address/city.js | 2 +- lib/locales/ne/address/default_country.js | 2 +- lib/locales/ne/address/postcode.js | 2 +- lib/locales/ne/address/state.js | 2 +- lib/locales/ne/company/suffix.js | 2 +- lib/locales/ne/internet/domain_suffix.js | 2 +- lib/locales/ne/internet/free_email.js | 2 +- lib/locales/ne/name/first_name.js | 2 +- lib/locales/ne/name/last_name.js | 2 +- lib/locales/ne/phone_number/formats.js | 2 +- lib/locales/nl/address/building_number.js | 2 +- lib/locales/nl/address/city.js | 2 +- lib/locales/nl/address/city_prefix.js | 2 +- lib/locales/nl/address/city_suffix.js | 2 +- lib/locales/nl/address/country.js | 2 +- lib/locales/nl/address/default_country.js | 2 +- lib/locales/nl/address/postcode.js | 2 +- lib/locales/nl/address/secondary_address.js | 2 +- lib/locales/nl/address/state.js | 2 +- lib/locales/nl/address/street_address.js | 2 +- lib/locales/nl/address/street_name.js | 2 +- lib/locales/nl/address/street_suffix.js | 2 +- lib/locales/nl/commerce/color.js | 2 +- lib/locales/nl/commerce/department.js | 2 +- lib/locales/nl/commerce/product_name.js | 2 +- lib/locales/nl/company/suffix.js | 2 +- lib/locales/nl/date/index.js | 4 +- lib/locales/nl/date/month.js | 2 +- lib/locales/nl/date/weekday.js | 2 +- lib/locales/nl/hacker/adjective.js | 2 +- lib/locales/nl/hacker/noun.js | 2 +- lib/locales/nl/hacker/phrase.js | 2 +- lib/locales/nl/hacker/verb.js | 2 +- lib/locales/nl/internet/domain_suffix.js | 2 +- lib/locales/nl/internet/free_email.js | 2 +- lib/locales/nl/lorem/words.js | 2 +- lib/locales/nl/name/female_first_name.js | 2 +- lib/locales/nl/name/first_name.js | 2 +- lib/locales/nl/name/last_name.js | 2 +- lib/locales/nl/name/male_first_name.js | 2 +- lib/locales/nl/name/name.js | 2 +- lib/locales/nl/name/prefix.js | 2 +- lib/locales/nl/name/suffix.js | 2 +- lib/locales/nl/name/tussenvoegsel.js | 2 +- lib/locales/nl/phone_number/formats.js | 2 +- lib/locales/nl_BE/address/building_number.js | 2 +- lib/locales/nl_BE/address/city.js | 2 +- lib/locales/nl_BE/address/city_prefix.js | 2 +- lib/locales/nl_BE/address/city_suffix.js | 2 +- lib/locales/nl_BE/address/default_country.js | 2 +- lib/locales/nl_BE/address/postcode.js | 2 +- .../nl_BE/address/secondary_address.js | 2 +- lib/locales/nl_BE/address/state.js | 2 +- lib/locales/nl_BE/address/state_abbr.js | 2 +- lib/locales/nl_BE/address/street_address.js | 2 +- lib/locales/nl_BE/address/street_name.js | 2 +- lib/locales/nl_BE/address/street_suffix.js | 2 +- lib/locales/nl_BE/company/suffix.js | 2 +- lib/locales/nl_BE/internet/domain_suffix.js | 2 +- lib/locales/nl_BE/internet/free_email.js | 2 +- lib/locales/nl_BE/name/first_name.js | 2 +- lib/locales/nl_BE/name/last_name.js | 2 +- lib/locales/nl_BE/name/name.js | 2 +- lib/locales/nl_BE/name/prefix.js | 2 +- lib/locales/nl_BE/name/suffix.js | 2 +- lib/locales/nl_BE/phone_number/formats.js | 2 +- lib/locales/pl/address/building_number.js | 2 +- lib/locales/pl/address/city.js | 2 +- lib/locales/pl/address/city_name.js | 2 +- lib/locales/pl/address/country.js | 2 +- lib/locales/pl/address/default_country.js | 2 +- lib/locales/pl/address/postcode.js | 2 +- lib/locales/pl/address/secondary_address.js | 2 +- lib/locales/pl/address/state.js | 2 +- lib/locales/pl/address/state_abbr.js | 2 +- lib/locales/pl/address/street_address.js | 2 +- lib/locales/pl/address/street_name.js | 2 +- lib/locales/pl/address/street_prefix.js | 2 +- lib/locales/pl/cell_phone/formats.js | 2 +- lib/locales/pl/company/adjetive.js | 2 +- lib/locales/pl/company/bs_adjective.js | 2 +- lib/locales/pl/company/bs_noun.js | 2 +- lib/locales/pl/company/bs_verb.js | 2 +- lib/locales/pl/company/descriptor.js | 2 +- lib/locales/pl/company/name.js | 2 +- lib/locales/pl/company/noun.js | 2 +- lib/locales/pl/company/suffix.js | 2 +- lib/locales/pl/internet/domain_suffix.js | 2 +- lib/locales/pl/internet/free_email.js | 2 +- lib/locales/pl/lorem/words.js | 2 +- lib/locales/pl/name/last_name.js | 2 +- lib/locales/pl/name/name.js | 2 +- lib/locales/pl/name/prefix.js | 2 +- lib/locales/pl/name/title.js | 2 +- lib/locales/pl/phone_number/formats.js | 2 +- lib/locales/pt_BR/address/building_number.js | 2 +- lib/locales/pt_BR/address/city_prefix.js | 2 +- lib/locales/pt_BR/address/city_suffix.js | 2 +- lib/locales/pt_BR/address/country.js | 2 +- lib/locales/pt_BR/address/default_country.js | 2 +- lib/locales/pt_BR/address/postcode.js | 2 +- .../pt_BR/address/secondary_address.js | 2 +- lib/locales/pt_BR/address/state.js | 2 +- lib/locales/pt_BR/address/state_abbr.js | 2 +- lib/locales/pt_BR/address/street_suffix.js | 2 +- lib/locales/pt_BR/commerce/color.js | 2 +- lib/locales/pt_BR/commerce/department.js | 2 +- lib/locales/pt_BR/commerce/product_name.js | 2 +- lib/locales/pt_BR/company/name.js | 2 +- lib/locales/pt_BR/company/suffix.js | 2 +- lib/locales/pt_BR/date/index.js | 4 +- lib/locales/pt_BR/date/month.js | 2 +- lib/locales/pt_BR/date/weekday.js | 2 +- lib/locales/pt_BR/internet/domain_suffix.js | 2 +- lib/locales/pt_BR/internet/free_email.js | 2 +- lib/locales/pt_BR/lorem/words.js | 2 +- lib/locales/pt_BR/name/binary_gender.js | 2 +- lib/locales/pt_BR/name/female_first_name.js | 2 +- lib/locales/pt_BR/name/first_name.js | 2 +- lib/locales/pt_BR/name/last_name.js | 2 +- lib/locales/pt_BR/name/male_first_name.js | 2 +- lib/locales/pt_BR/name/name.js | 2 +- lib/locales/pt_BR/name/prefix.js | 2 +- lib/locales/pt_BR/name/suffix.js | 2 +- lib/locales/pt_BR/name/title.js | 2 +- lib/locales/pt_BR/phone_number/formats.js | 2 +- lib/locales/pt_PT/address/building_number.js | 2 +- lib/locales/pt_PT/address/city.js | 2 +- lib/locales/pt_PT/address/city_name.js | 2 +- lib/locales/pt_PT/address/city_prefix.js | 2 +- lib/locales/pt_PT/address/city_suffix.js | 2 +- lib/locales/pt_PT/address/country.js | 2 +- lib/locales/pt_PT/address/default_country.js | 2 +- lib/locales/pt_PT/address/direction.js | 2 +- lib/locales/pt_PT/address/postcode.js | 2 +- lib/locales/pt_PT/address/street_address.js | 2 +- lib/locales/pt_PT/address/street_name.js | 2 +- lib/locales/pt_PT/address/street_prefix.js | 2 +- lib/locales/pt_PT/cell_phone/formats.js | 2 +- lib/locales/pt_PT/commerce/color.js | 2 +- lib/locales/pt_PT/commerce/department.js | 2 +- lib/locales/pt_PT/commerce/product_name.js | 2 +- lib/locales/pt_PT/date/index.js | 4 +- lib/locales/pt_PT/date/month.js | 2 +- lib/locales/pt_PT/date/weekday.js | 2 +- lib/locales/pt_PT/internet/domain_suffix.js | 2 +- lib/locales/pt_PT/internet/free_email.js | 2 +- lib/locales/pt_PT/name/female_first_name.js | 2 +- lib/locales/pt_PT/name/female_prefix.js | 2 +- lib/locales/pt_PT/name/first_name.js | 2 +- lib/locales/pt_PT/name/last_name.js | 2 +- lib/locales/pt_PT/name/male_first_name.js | 2 +- lib/locales/pt_PT/name/male_prefix.js | 2 +- lib/locales/pt_PT/name/name.js | 2 +- lib/locales/pt_PT/name/prefix.js | 2 +- lib/locales/pt_PT/name/suffix.js | 2 +- lib/locales/pt_PT/phone_number/formats.js | 2 +- lib/locales/ro/address/building_number.js | 2 +- lib/locales/ro/address/city.js | 2 +- lib/locales/ro/address/county.js | 2 +- lib/locales/ro/address/default_country.js | 2 +- lib/locales/ro/address/postcode.js | 2 +- lib/locales/ro/address/secondary_address.js | 2 +- lib/locales/ro/address/state.js | 2 +- lib/locales/ro/address/state_abbr.js | 2 +- lib/locales/ro/address/street_address.js | 2 +- lib/locales/ro/address/street_name.js | 2 +- lib/locales/ro/address/street_suffix.js | 2 +- lib/locales/ro/address/streets.js | 2 +- lib/locales/ro/cell_phone/formats.js | 2 +- lib/locales/ro/date/index.js | 4 +- lib/locales/ro/date/month.js | 2 +- lib/locales/ro/date/weekday.js | 2 +- lib/locales/ro/internet/domain_suffix.js | 2 +- lib/locales/ro/internet/free_email.js | 2 +- lib/locales/ro/name/female_first_name.js | 2 +- lib/locales/ro/name/last_name.js | 2 +- lib/locales/ro/name/male_first_name.js | 2 +- lib/locales/ro/name/name.js | 2 +- lib/locales/ro/name/prefix.js | 2 +- lib/locales/ro/name/suffix.js | 2 +- lib/locales/ro/phone_number/formats.js | 2 +- lib/locales/ru/address/building_number.js | 2 +- lib/locales/ru/address/city.js | 2 +- lib/locales/ru/address/city_name.js | 2 +- lib/locales/ru/address/country.js | 2 +- lib/locales/ru/address/default_country.js | 2 +- lib/locales/ru/address/postcode.js | 2 +- lib/locales/ru/address/secondary_address.js | 2 +- lib/locales/ru/address/state.js | 2 +- lib/locales/ru/address/street_address.js | 2 +- lib/locales/ru/address/street_name.js | 2 +- lib/locales/ru/address/street_suffix.js | 2 +- lib/locales/ru/address/street_title.js | 2 +- lib/locales/ru/commerce/color.js | 2 +- lib/locales/ru/commerce/department.js | 2 +- lib/locales/ru/commerce/product_name.js | 2 +- lib/locales/ru/company/name.js | 2 +- lib/locales/ru/company/prefix.js | 2 +- lib/locales/ru/company/suffix.js | 2 +- lib/locales/ru/date/index.js | 4 +- lib/locales/ru/date/month.js | 2 +- lib/locales/ru/date/weekday.js | 2 +- lib/locales/ru/hacker/abbreviation.js | 2 +- lib/locales/ru/hacker/adjective.js | 2 +- lib/locales/ru/hacker/ingverb.js | 2 +- lib/locales/ru/hacker/noun.js | 2 +- lib/locales/ru/hacker/phrase.js | 2 +- lib/locales/ru/hacker/verb.js | 2 +- lib/locales/ru/internet/domain_suffix.js | 2 +- lib/locales/ru/internet/free_email.js | 2 +- lib/locales/ru/lorem/index.js | 4 +- lib/locales/ru/lorem/words.js | 2 +- lib/locales/ru/name/female_first_name.js | 2 +- lib/locales/ru/name/female_last_name.js | 2 +- lib/locales/ru/name/female_middle_name.js | 2 +- lib/locales/ru/name/male_first_name.js | 2 +- lib/locales/ru/name/male_last_name.js | 2 +- lib/locales/ru/name/male_middle_name.js | 2 +- lib/locales/ru/name/name.js | 2 +- lib/locales/ru/name/prefix.js | 2 +- lib/locales/ru/name/suffix.js | 2 +- lib/locales/ru/name/title.js | 2 +- lib/locales/ru/phone_number/formats.js | 2 +- lib/locales/sk/address/building_number.js | 2 +- lib/locales/sk/address/city.js | 2 +- lib/locales/sk/address/city_name.js | 2 +- lib/locales/sk/address/city_prefix.js | 2 +- lib/locales/sk/address/city_suffix.js | 2 +- lib/locales/sk/address/country.js | 2 +- lib/locales/sk/address/default_country.js | 2 +- lib/locales/sk/address/postcode.js | 2 +- lib/locales/sk/address/secondary_address.js | 2 +- lib/locales/sk/address/state.js | 2 +- lib/locales/sk/address/state_abbr.js | 2 +- lib/locales/sk/address/street.js | 2 +- lib/locales/sk/address/street_address.js | 2 +- lib/locales/sk/address/street_name.js | 2 +- lib/locales/sk/company/adjective.js | 2 +- lib/locales/sk/company/bs_noun.js | 2 +- lib/locales/sk/company/bs_verb.js | 2 +- lib/locales/sk/company/descriptor.js | 2 +- lib/locales/sk/company/name.js | 2 +- lib/locales/sk/company/noun.js | 2 +- lib/locales/sk/company/suffix.js | 2 +- lib/locales/sk/internet/domain_suffix.js | 2 +- lib/locales/sk/internet/free_email.js | 2 +- lib/locales/sk/lorem/words.js | 2 +- lib/locales/sk/name/female_first_name.js | 2 +- lib/locales/sk/name/female_last_name.js | 2 +- lib/locales/sk/name/male_first_name.js | 2 +- lib/locales/sk/name/male_last_name.js | 2 +- lib/locales/sk/name/name.js | 2 +- lib/locales/sk/name/prefix.js | 2 +- lib/locales/sk/name/suffix.js | 2 +- lib/locales/sk/name/title.js | 2 +- lib/locales/sk/phone_number/formats.js | 2 +- lib/locales/sv/address/building_number.js | 2 +- lib/locales/sv/address/city.js | 2 +- lib/locales/sv/address/city_prefix.js | 2 +- lib/locales/sv/address/city_suffix.js | 2 +- .../sv/address/common_street_suffix.js | 2 +- lib/locales/sv/address/country.js | 2 +- lib/locales/sv/address/default_country.js | 2 +- lib/locales/sv/address/postcode.js | 2 +- lib/locales/sv/address/secondary_address.js | 2 +- lib/locales/sv/address/state.js | 2 +- lib/locales/sv/address/street_address.js | 2 +- lib/locales/sv/address/street_name.js | 2 +- lib/locales/sv/address/street_prefix.js | 2 +- lib/locales/sv/address/street_root.js | 2 +- lib/locales/sv/address/street_suffix.js | 2 +- .../sv/cell_phone/common_cell_prefix.js | 2 +- lib/locales/sv/cell_phone/formats.js | 2 +- lib/locales/sv/commerce/color.js | 2 +- lib/locales/sv/commerce/department.js | 2 +- lib/locales/sv/commerce/product_name.js | 2 +- lib/locales/sv/company/name.js | 2 +- lib/locales/sv/company/suffix.js | 2 +- lib/locales/sv/date/index.js | 4 +- lib/locales/sv/date/month.js | 2 +- lib/locales/sv/date/weekday.js | 2 +- lib/locales/sv/internet/domain_suffix.js | 2 +- lib/locales/sv/name/female_first_name.js | 2 +- lib/locales/sv/name/first_name.js | 2 +- lib/locales/sv/name/last_name.js | 2 +- lib/locales/sv/name/male_first_name.js | 2 +- lib/locales/sv/name/name.js | 2 +- lib/locales/sv/name/prefix.js | 2 +- lib/locales/sv/name/title.js | 2 +- lib/locales/sv/phone_number/formats.js | 2 +- lib/locales/sv/team/name.js | 2 +- lib/locales/sv/team/suffix.js | 2 +- lib/locales/tr/address/building_number.js | 2 +- lib/locales/tr/address/city.js | 2 +- lib/locales/tr/address/country.js | 2 +- lib/locales/tr/address/default_country.js | 2 +- lib/locales/tr/address/postcode.js | 2 +- lib/locales/tr/address/street_address.js | 2 +- lib/locales/tr/address/street_name.js | 2 +- lib/locales/tr/address/street_root.js | 2 +- lib/locales/tr/cell_phone/formats.js | 2 +- lib/locales/tr/commerce/color.js | 2 +- lib/locales/tr/commerce/department.js | 2 +- .../tr/commerce/product_description.js | 2 +- lib/locales/tr/commerce/product_name.js | 2 +- lib/locales/tr/internet/domain_suffix.js | 2 +- lib/locales/tr/lorem/words.js | 2 +- lib/locales/tr/name/female_first_name.js | 2 +- lib/locales/tr/name/first_name.js | 2 +- lib/locales/tr/name/last_name.js | 2 +- lib/locales/tr/name/male_first_name.js | 2 +- lib/locales/tr/name/name.js | 2 +- lib/locales/tr/name/prefix.js | 2 +- lib/locales/tr/phone_number/area_code.js | 2 +- lib/locales/tr/phone_number/formats.js | 2 +- lib/locales/uk/address/building_number.js | 2 +- lib/locales/uk/address/city.js | 2 +- lib/locales/uk/address/city_name.js | 2 +- lib/locales/uk/address/city_prefix.js | 2 +- lib/locales/uk/address/city_suffix.js | 2 +- lib/locales/uk/address/country.js | 2 +- lib/locales/uk/address/default_country.js | 2 +- lib/locales/uk/address/postcode.js | 2 +- lib/locales/uk/address/secondary_address.js | 2 +- lib/locales/uk/address/state.js | 2 +- lib/locales/uk/address/street_address.js | 2 +- lib/locales/uk/address/street_name.js | 2 +- lib/locales/uk/address/street_prefix.js | 2 +- lib/locales/uk/address/street_suffix.js | 2 +- lib/locales/uk/address/street_title.js | 2 +- lib/locales/uk/company/name.js | 2 +- lib/locales/uk/company/prefix.js | 2 +- lib/locales/uk/company/suffix.js | 2 +- lib/locales/uk/internet/domain_suffix.js | 2 +- lib/locales/uk/internet/free_email.js | 2 +- lib/locales/uk/name/female_first_name.js | 2 +- lib/locales/uk/name/female_last_name.js | 2 +- lib/locales/uk/name/female_middle_name.js | 2 +- lib/locales/uk/name/male_first_name.js | 2 +- lib/locales/uk/name/male_last_name.js | 2 +- lib/locales/uk/name/male_middle_name.js | 2 +- lib/locales/uk/name/name.js | 2 +- lib/locales/uk/name/prefix.js | 2 +- lib/locales/uk/name/suffix.js | 2 +- lib/locales/uk/name/title.js | 2 +- lib/locales/uk/phone_number/formats.js | 2 +- lib/locales/ur/date/index.js | 4 +- lib/locales/ur/finance/account_type.js | 2 +- lib/locales/ur/finance/transaction_type.js | 2 +- lib/locales/ur/lorem/supplemental.js | 1226 ++++++++--------- lib/locales/ur/lorem/words.js | 362 ++--- lib/locales/ur/music/genre.js | 20 +- lib/locales/ur/name/binary_gender.js | 2 +- lib/locales/ur/name/index.js | 4 +- lib/locales/ur/name/prefix.js | 2 +- lib/locales/ur/team/name.js | 2 +- lib/locales/ur/vehicle/bicycle.js | 2 +- lib/locales/ur/vehicle/fuel.js | 2 +- lib/locales/ur/vehicle/index.js | 4 +- lib/locales/ur/vehicle/model.js | 2 +- lib/locales/vi/address/city.js | 2 +- lib/locales/vi/address/city_root.js | 2 +- lib/locales/vi/address/country.js | 2 +- lib/locales/vi/address/default_country.js | 2 +- lib/locales/vi/address/postcode.js | 2 +- lib/locales/vi/cell_phone/formats.js | 2 +- lib/locales/vi/company/name.js | 2 +- lib/locales/vi/company/prefix.js | 2 +- lib/locales/vi/date/index.js | 4 +- lib/locales/vi/date/month.js | 2 +- lib/locales/vi/date/weekday.js | 2 +- lib/locales/vi/internet/domain_suffix.js | 2 +- lib/locales/vi/lorem/words.js | 2 +- lib/locales/vi/name/last_name.js | 2 +- lib/locales/vi/name/name.js | 2 +- lib/locales/vi/phone_number/formats.js | 2 +- lib/locales/zh_CN/address/building_number.js | 2 +- lib/locales/zh_CN/address/city.js | 2 +- lib/locales/zh_CN/address/city_prefix.js | 2 +- lib/locales/zh_CN/address/city_suffix.js | 2 +- lib/locales/zh_CN/address/default_country.js | 2 +- lib/locales/zh_CN/address/postcode.js | 2 +- lib/locales/zh_CN/address/state.js | 2 +- lib/locales/zh_CN/address/state_abbr.js | 2 +- lib/locales/zh_CN/address/street_address.js | 2 +- lib/locales/zh_CN/address/street_name.js | 2 +- lib/locales/zh_CN/address/street_suffix.js | 2 +- lib/locales/zh_CN/name/first_name.js | 2 +- lib/locales/zh_CN/name/last_name.js | 2 +- lib/locales/zh_CN/name/name.js | 2 +- lib/locales/zh_CN/phone_number/formats.js | 2 +- lib/locales/zh_TW/address/building_number.js | 2 +- lib/locales/zh_TW/address/city.js | 2 +- lib/locales/zh_TW/address/city_prefix.js | 2 +- lib/locales/zh_TW/address/city_suffix.js | 2 +- lib/locales/zh_TW/address/default_country.js | 2 +- lib/locales/zh_TW/address/postcode.js | 2 +- lib/locales/zh_TW/address/state.js | 2 +- lib/locales/zh_TW/address/state_abbr.js | 2 +- lib/locales/zh_TW/address/street_address.js | 2 +- lib/locales/zh_TW/address/street_name.js | 2 +- lib/locales/zh_TW/address/street_suffix.js | 2 +- lib/locales/zh_TW/name/first_name.js | 2 +- lib/locales/zh_TW/name/last_name.js | 2 +- lib/locales/zh_TW/name/name.js | 2 +- lib/locales/zh_TW/phone_number/formats.js | 2 +- lib/locales/zu_ZA/address/default_country.js | 2 +- lib/locales/zu_ZA/address/postcode.js | 2 +- lib/locales/zu_ZA/cell_phone/formats.js | 2 +- lib/locales/zu_ZA/company/suffix.js | 2 +- lib/locales/zu_ZA/internet/domain_suffix.js | 2 +- lib/locales/zu_ZA/name/female_first_name.js | 2 +- lib/locales/zu_ZA/name/first_name.js | 2 +- lib/locales/zu_ZA/name/last_name.js | 2 +- lib/locales/zu_ZA/name/male_first_name.js | 2 +- lib/locales/zu_ZA/phone_number/formats.js | 2 +- lib/lorem.js | 2 +- lib/music.js | 2 +- lib/name.js | 2 +- lib/phone_number.js | 2 +- lib/random.js | 2 +- lib/system.js | 2 +- lib/time.js | 2 +- lib/unique.js | 2 +- lib/vehicle.js | 2 +- lib/word.js | 2 +- locale/af_ZA.js | 2 +- locale/ar.js | 2 +- locale/az.js | 2 +- locale/cz.js | 2 +- locale/de.js | 2 +- locale/de_AT.js | 2 +- locale/de_CH.js | 2 +- locale/el.js | 2 +- locale/en.js | 2 +- locale/en_AU.js | 2 +- locale/en_AU_ocker.js | 2 +- locale/en_BORK.js | 2 +- locale/en_CA.js | 2 +- locale/en_GB.js | 2 +- locale/en_GH.js | 2 +- locale/en_IE.js | 2 +- locale/en_IND.js | 2 +- locale/en_NG.js | 2 +- locale/en_US.js | 2 +- locale/en_ZA.js | 2 +- locale/es.js | 2 +- locale/es_MX.js | 2 +- locale/fa.js | 2 +- locale/fi.js | 2 +- locale/fr.js | 2 +- locale/fr_CA.js | 2 +- locale/fr_CH.js | 2 +- locale/ge.js | 2 +- locale/he.js | 2 +- locale/hr.js | 2 +- locale/hy.js | 2 +- locale/id_ID.js | 2 +- locale/it.js | 2 +- locale/ja.js | 2 +- locale/ko.js | 2 +- locale/nb_NO.js | 2 +- locale/ne.js | 2 +- locale/nl.js | 2 +- locale/nl_BE.js | 2 +- locale/pl.js | 2 +- locale/pt_BR.js | 2 +- locale/pt_PT.js | 2 +- locale/ro.js | 2 +- locale/ru.js | 2 +- locale/sk.js | 2 +- locale/sv.js | 2 +- locale/tr.js | 2 +- locale/uk.js | 2 +- locale/vi.js | 2 +- locale/zh_CN.js | 2 +- locale/zh_TW.js | 2 +- locale/zu_ZA.js | 2 +- 1443 files changed, 2283 insertions(+), 2283 deletions(-) diff --git a/index.js b/index.js index fe0e36ff..c1225d35 100644 --- a/index.js +++ b/index.js @@ -1,4 +1,4 @@ // since we are requiring the top level of blaver, load all locales by default var Blaver = require("./lib"); var blaver = new Blaver({ locales: require("./lib/locales") }); -module["exports"] = blaver; +module.exports = blaver; diff --git a/lib/animal.js b/lib/animal.js index fb4e13c8..37e9bc63 100644 --- a/lib/animal.js +++ b/lib/animal.js @@ -133,4 +133,4 @@ const Animal = function (blaver) { return self; }; -module["exports"] = Animal; +module.exports = Animal; diff --git a/lib/commerce.js b/lib/commerce.js index 4670aa73..7ea332d2 100644 --- a/lib/commerce.js +++ b/lib/commerce.js @@ -146,4 +146,4 @@ const Commerce = function (blaver) { return self; }; -module["exports"] = Commerce; +module.exports = Commerce; diff --git a/lib/company.js b/lib/company.js index c43f897b..0dce8a0b 100644 --- a/lib/company.js +++ b/lib/company.js @@ -132,4 +132,4 @@ const Company = function (blaver) { }; }; -module["exports"] = Company; +module.exports = Company; diff --git a/lib/database.js b/lib/database.js index 8c29df0b..fa65b64b 100644 --- a/lib/database.js +++ b/lib/database.js @@ -69,4 +69,4 @@ const Database = function (blaver) { }; }; -module["exports"] = Database; +module.exports = Database; diff --git a/lib/datatype.js b/lib/datatype.js index 482a6d4b..5ba5632d 100644 --- a/lib/datatype.js +++ b/lib/datatype.js @@ -261,4 +261,4 @@ function Datatype(blaver, seed) { return this; } -module["exports"] = Datatype; +module.exports = Datatype; diff --git a/lib/date.js b/lib/date.js index 86d88b58..5b14a082 100644 --- a/lib/date.js +++ b/lib/date.js @@ -198,4 +198,4 @@ const _Date = function (blaver) { return self; }; -module["exports"] = _Date; +module.exports = _Date; diff --git a/lib/fake.js b/lib/fake.js index 6b1a2285..7a835804 100644 --- a/lib/fake.js +++ b/lib/fake.js @@ -101,4 +101,4 @@ function Fake(blaver) { return this; } -module["exports"] = Fake; +module.exports = Fake; diff --git a/lib/finance.js b/lib/finance.js index d249952a..d4c83d9e 100644 --- a/lib/finance.js +++ b/lib/finance.js @@ -383,4 +383,4 @@ const Finance = function (blaver) { }; }; -module["exports"] = Finance; +module.exports = Finance; diff --git a/lib/git.js b/lib/git.js index 57d4ef35..e47a1f51 100644 --- a/lib/git.js +++ b/lib/git.js @@ -105,4 +105,4 @@ const Git = function (blaver) { return self; }; -module["exports"] = Git; +module.exports = Git; diff --git a/lib/hacker.js b/lib/hacker.js index efd24064..4be6b007 100644 --- a/lib/hacker.js +++ b/lib/hacker.js @@ -79,4 +79,4 @@ const Hacker = function (blaver) { return self; }; -module["exports"] = Hacker; +module.exports = Hacker; diff --git a/lib/helpers.js b/lib/helpers.js index bbfca893..2e6f3bfd 100644 --- a/lib/helpers.js +++ b/lib/helpers.js @@ -462,4 +462,4 @@ String.prototype.capitalize = function () { //v1.0 }; */ -module["exports"] = Helpers; +module.exports = Helpers; diff --git a/lib/iban.js b/lib/iban.js index 02e5f395..bd6c570d 100644 --- a/lib/iban.js +++ b/lib/iban.js @@ -1,4 +1,4 @@ -module["exports"] = { +module.exports = { alpha: [ "A", "B", diff --git a/lib/image.js b/lib/image.js index 32a5b463..c551d0ad 100644 --- a/lib/image.js +++ b/lib/image.js @@ -258,4 +258,4 @@ const Image = function (blaver) { // How to set default as unsplash? should be image.default? }; -module["exports"] = Image; +module.exports = Image; diff --git a/lib/image_providers/lorempicsum.js b/lib/image_providers/lorempicsum.js index 4bc7377f..9dd5086f 100644 --- a/lib/image_providers/lorempicsum.js +++ b/lib/image_providers/lorempicsum.js @@ -104,4 +104,4 @@ const LoremPicsum = function (bluffmaster) { }; } -module["exports"] = LoremPicsum; +module.exports = LoremPicsum; diff --git a/lib/image_providers/lorempixel.js b/lib/image_providers/lorempixel.js index 190b3fa2..ca101f14 100644 --- a/lib/image_providers/lorempixel.js +++ b/lib/image_providers/lorempixel.js @@ -196,4 +196,4 @@ const Lorempixel = function (blaver) { } } -module["exports"] = Lorempixel; +module.exports = Lorempixel; diff --git a/lib/image_providers/unsplash.js b/lib/image_providers/unsplash.js index 24e60b99..1866070d 100644 --- a/lib/image_providers/unsplash.js +++ b/lib/image_providers/unsplash.js @@ -126,4 +126,4 @@ const Unsplash = function (blaver) { }; } -module["exports"] = Unsplash; +module.exports = Unsplash; diff --git a/lib/index.js b/lib/index.js index c3b0f010..c69f831a 100644 --- a/lib/index.js +++ b/lib/index.js @@ -267,4 +267,4 @@ Blaver.prototype.seed = function (value) { this.random = new Random(this, this.seedValue); this.datatype = new Datatype(this, this.seedValue); }; -module["exports"] = Blaver; +module.exports = Blaver diff --git a/lib/internet.js b/lib/internet.js index a536ff13..698e09f2 100644 --- a/lib/internet.js +++ b/lib/internet.js @@ -510,4 +510,4 @@ const Internet = function (blaver) { }; }; -module["exports"] = Internet; +module.exports = Internet; diff --git a/lib/locales/af_ZA/address/default_country.js b/lib/locales/af_ZA/address/default_country.js index a31d7565..463d817b 100644 --- a/lib/locales/af_ZA/address/default_country.js +++ b/lib/locales/af_ZA/address/default_country.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "South Africa" ]; diff --git a/lib/locales/af_ZA/address/postcode.js b/lib/locales/af_ZA/address/postcode.js index a437640e..f6b61f85 100644 --- a/lib/locales/af_ZA/address/postcode.js +++ b/lib/locales/af_ZA/address/postcode.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "#####", "####" ]; diff --git a/lib/locales/af_ZA/cell_phone/formats.js b/lib/locales/af_ZA/cell_phone/formats.js index f0f561fd..64d18210 100644 --- a/lib/locales/af_ZA/cell_phone/formats.js +++ b/lib/locales/af_ZA/cell_phone/formats.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "082 ### ####", "084 ### ####", "083 ### ####", diff --git a/lib/locales/af_ZA/company/suffix.js b/lib/locales/af_ZA/company/suffix.js index f7163b89..932b5f9d 100644 --- a/lib/locales/af_ZA/company/suffix.js +++ b/lib/locales/af_ZA/company/suffix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Pty Ltd", "Ltd", "CC" diff --git a/lib/locales/af_ZA/internet/domain_suffix.js b/lib/locales/af_ZA/internet/domain_suffix.js index 66ac6364..5fc34aba 100644 --- a/lib/locales/af_ZA/internet/domain_suffix.js +++ b/lib/locales/af_ZA/internet/domain_suffix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "co.za", "com", "org.za", diff --git a/lib/locales/af_ZA/name/female_first_name.js b/lib/locales/af_ZA/name/female_first_name.js index 369aa106..01482b8e 100644 --- a/lib/locales/af_ZA/name/female_first_name.js +++ b/lib/locales/af_ZA/name/female_first_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Susan", "Monica", "Linda", diff --git a/lib/locales/af_ZA/name/first_name.js b/lib/locales/af_ZA/name/first_name.js index c8dbfe4e..f3b341c4 100644 --- a/lib/locales/af_ZA/name/first_name.js +++ b/lib/locales/af_ZA/name/first_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Susan", "Monica", "Linda", diff --git a/lib/locales/af_ZA/name/last_name.js b/lib/locales/af_ZA/name/last_name.js index 27c13929..dbb83830 100644 --- a/lib/locales/af_ZA/name/last_name.js +++ b/lib/locales/af_ZA/name/last_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "van de Merwe", "Schoeman", "Barnard", diff --git a/lib/locales/af_ZA/name/male_first_name.js b/lib/locales/af_ZA/name/male_first_name.js index a8bd1ac3..a55dcf7d 100644 --- a/lib/locales/af_ZA/name/male_first_name.js +++ b/lib/locales/af_ZA/name/male_first_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Johan", "Robert", "Michael", diff --git a/lib/locales/af_ZA/phone_number/formats.js b/lib/locales/af_ZA/phone_number/formats.js index e33e5cbc..702d1617 100644 --- a/lib/locales/af_ZA/phone_number/formats.js +++ b/lib/locales/af_ZA/phone_number/formats.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "01# ### #####", "02# ### #####", "03# ### #####", diff --git a/lib/locales/ar/address/building_number.js b/lib/locales/ar/address/building_number.js index 76d63929..01aae8ac 100644 --- a/lib/locales/ar/address/building_number.js +++ b/lib/locales/ar/address/building_number.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "#####", "####", "###" diff --git a/lib/locales/ar/address/city.js b/lib/locales/ar/address/city.js index d62eafb1..14b927cb 100644 --- a/lib/locales/ar/address/city.js +++ b/lib/locales/ar/address/city.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "#{city_name}" ]; diff --git a/lib/locales/ar/address/city_name.js b/lib/locales/ar/address/city_name.js index b096cdde..d7749cdf 100644 --- a/lib/locales/ar/address/city_name.js +++ b/lib/locales/ar/address/city_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "مكة", "المدينة", "القاهرة", diff --git a/lib/locales/ar/address/country.js b/lib/locales/ar/address/country.js index 6bf360be..b6be9e95 100644 --- a/lib/locales/ar/address/country.js +++ b/lib/locales/ar/address/country.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "أفغانستان", "ألبانيا", "الجزائر", diff --git a/lib/locales/ar/address/default_country.js b/lib/locales/ar/address/default_country.js index bdd19df6..f621881f 100644 --- a/lib/locales/ar/address/default_country.js +++ b/lib/locales/ar/address/default_country.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "المملكة العربية السعودية" ]; diff --git a/lib/locales/ar/address/postcode.js b/lib/locales/ar/address/postcode.js index f233d46c..f048d024 100644 --- a/lib/locales/ar/address/postcode.js +++ b/lib/locales/ar/address/postcode.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "#####", "#####-####" ]; diff --git a/lib/locales/ar/address/postcode_by_state.js b/lib/locales/ar/address/postcode_by_state.js index f233d46c..f048d024 100644 --- a/lib/locales/ar/address/postcode_by_state.js +++ b/lib/locales/ar/address/postcode_by_state.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "#####", "#####-####" ]; diff --git a/lib/locales/ar/address/secondary_address.js b/lib/locales/ar/address/secondary_address.js index 1d021366..b50a4696 100644 --- a/lib/locales/ar/address/secondary_address.js +++ b/lib/locales/ar/address/secondary_address.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "### عمارة", "### طابق", "### شقة", diff --git a/lib/locales/ar/address/state.js b/lib/locales/ar/address/state.js index 8488a648..016b6282 100644 --- a/lib/locales/ar/address/state.js +++ b/lib/locales/ar/address/state.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "القدس", "تل الربيع", "صفد", diff --git a/lib/locales/ar/address/street_address.js b/lib/locales/ar/address/street_address.js index 289216e7..d1d25330 100644 --- a/lib/locales/ar/address/street_address.js +++ b/lib/locales/ar/address/street_address.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "#{building_number} #{street_name}" ]; diff --git a/lib/locales/ar/address/street_name.js b/lib/locales/ar/address/street_name.js index 7f5b95c6..d298c063 100644 --- a/lib/locales/ar/address/street_name.js +++ b/lib/locales/ar/address/street_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "#{street_prefix} #{Name.first_name}", "#{street_prefix} #{Name.last_name}" ]; diff --git a/lib/locales/ar/address/street_prefix.js b/lib/locales/ar/address/street_prefix.js index 0a1b7352..7f788009 100644 --- a/lib/locales/ar/address/street_prefix.js +++ b/lib/locales/ar/address/street_prefix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "درب، طريق", "شارع", "سبيل", diff --git a/lib/locales/ar/cell_phone/formats.js b/lib/locales/ar/cell_phone/formats.js index 09a6d2a5..4d69db3b 100644 --- a/lib/locales/ar/cell_phone/formats.js +++ b/lib/locales/ar/cell_phone/formats.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "###-###-####", "(###) ###-####", "1-###-###-####", diff --git a/lib/locales/ar/commerce/color.js b/lib/locales/ar/commerce/color.js index 6a6d05a2..1a44fdc0 100644 --- a/lib/locales/ar/commerce/color.js +++ b/lib/locales/ar/commerce/color.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "أحمر", "أحمر غامق", "أحمر فاتح", diff --git a/lib/locales/ar/commerce/department.js b/lib/locales/ar/commerce/department.js index 5ab78116..51b65ba2 100644 --- a/lib/locales/ar/commerce/department.js +++ b/lib/locales/ar/commerce/department.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "كتب", "ألعاب", "إلكترونيات", diff --git a/lib/locales/ar/commerce/index.js b/lib/locales/ar/commerce/index.js index f4306eba..b40e35b0 100644 --- a/lib/locales/ar/commerce/index.js +++ b/lib/locales/ar/commerce/index.js @@ -1,5 +1,5 @@ -const commerce = {}; -module["exports"] = commerce; +var commerce = {}; +module.exports = commerce; commerce.color = require("./color"); commerce.department = require("./department"); commerce.product_name = require("./product_name"); diff --git a/lib/locales/ar/commerce/product_name.js b/lib/locales/ar/commerce/product_name.js index ac9127f5..90466180 100644 --- a/lib/locales/ar/commerce/product_name.js +++ b/lib/locales/ar/commerce/product_name.js @@ -1,4 +1,4 @@ -module["exports"] = { +module.exports = { "adjective": [ "صغير", "مريح", diff --git a/lib/locales/ar/date/index.js b/lib/locales/ar/date/index.js index e53e73ee..f95b1507 100644 --- a/lib/locales/ar/date/index.js +++ b/lib/locales/ar/date/index.js @@ -1,4 +1,4 @@ -const date = {}; -module["exports"] = date; +var date = {}; +module.exports = date; date.month = require("./month"); date.weekday = require("./weekday"); diff --git a/lib/locales/ar/date/month.js b/lib/locales/ar/date/month.js index b7808708..5c440f1b 100644 --- a/lib/locales/ar/date/month.js +++ b/lib/locales/ar/date/month.js @@ -1,5 +1,5 @@ // Source: http://unicode.org/cldr/trac/browser/tags/release-27/common/main/en.xml#L1799 -module["exports"] = { +module.exports = { wide: [ "كَانُون ٱلثَّانِي", "شُبَاط", diff --git a/lib/locales/ar/date/weekday.js b/lib/locales/ar/date/weekday.js index 3bbdfd27..14e9dd77 100644 --- a/lib/locales/ar/date/weekday.js +++ b/lib/locales/ar/date/weekday.js @@ -1,5 +1,5 @@ // Source: http://unicode.org/cldr/trac/browser/tags/release-27/common/main/en.xml#L1847 -module["exports"] = { +module.exports = { wide: [ "الأحَد", "الإثنين", diff --git a/lib/locales/ar/index.js b/lib/locales/ar/index.js index 2c28b037..12efc8d7 100644 --- a/lib/locales/ar/index.js +++ b/lib/locales/ar/index.js @@ -1,5 +1,5 @@ -const ar = {}; -module["exports"] = ar; +var ar = {}; +module.exports = ar; ar.title = "Arabic"; ar.separator = " & "; ar.address = require("./address"); diff --git a/lib/locales/ar/name/first_name.js b/lib/locales/ar/name/first_name.js index 146823e9..893c8c21 100644 --- a/lib/locales/ar/name/first_name.js +++ b/lib/locales/ar/name/first_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "محمد", "أحمد", "آسر", diff --git a/lib/locales/ar/name/last_name.js b/lib/locales/ar/name/last_name.js index 71f397f0..b19eef26 100644 --- a/lib/locales/ar/name/last_name.js +++ b/lib/locales/ar/name/last_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "يافع", "هذيل", "همدان", diff --git a/lib/locales/ar/name/name.js b/lib/locales/ar/name/name.js index 7e684a3c..d5854253 100644 --- a/lib/locales/ar/name/name.js +++ b/lib/locales/ar/name/name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "#{prefix} #{first_name} #{last_name}", "#{first_name} #{last_name}", "#{last_name} #{first_name}" diff --git a/lib/locales/ar/name/prefix.js b/lib/locales/ar/name/prefix.js index 23c4b6ad..819a0b08 100644 --- a/lib/locales/ar/name/prefix.js +++ b/lib/locales/ar/name/prefix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "سيد", "سيدة", "آنسة", diff --git a/lib/locales/ar/name/title.js b/lib/locales/ar/name/title.js index 15323535..f2069033 100644 --- a/lib/locales/ar/name/title.js +++ b/lib/locales/ar/name/title.js @@ -1,4 +1,4 @@ -module["exports"] = { +module.exports = { "job": [ "مشرف", "تنفيذي", diff --git a/lib/locales/ar/phone_number/formats.js b/lib/locales/ar/phone_number/formats.js index ad3b2a47..3bab6f3e 100644 --- a/lib/locales/ar/phone_number/formats.js +++ b/lib/locales/ar/phone_number/formats.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "###-###-####", "(###) ###-####", "1-###-###-####", diff --git a/lib/locales/ar/team/creature.js b/lib/locales/ar/team/creature.js index 5ddd7313..a7bf2eef 100644 --- a/lib/locales/ar/team/creature.js +++ b/lib/locales/ar/team/creature.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "النمل", "الخفافيش", "تتحمل", diff --git a/lib/locales/ar/team/name.js b/lib/locales/ar/team/name.js index bded21a9..80da3c5f 100644 --- a/lib/locales/ar/team/name.js +++ b/lib/locales/ar/team/name.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "#{Address.state} #{creature}" ]; diff --git a/lib/locales/ar/vehicle/fuel.js b/lib/locales/ar/vehicle/fuel.js index 666e22cb..5ce06719 100644 --- a/lib/locales/ar/vehicle/fuel.js +++ b/lib/locales/ar/vehicle/fuel.js @@ -1 +1 @@ -module["exports"] = ["ديزل", "كهربائي", "بنزين", "هجين"]; +module.exports = ["ديزل", "كهربائي", "بنزين", "هجين"]; diff --git a/lib/locales/ar/vehicle/index.js b/lib/locales/ar/vehicle/index.js index f0991321..4db094fd 100644 --- a/lib/locales/ar/vehicle/index.js +++ b/lib/locales/ar/vehicle/index.js @@ -1,6 +1,6 @@ const vehicle = {}; -module["exports"] = vehicle; +module.exports = vehicle; vehicle.fuel = require("./fuel"); vehicle.manufacturer = require("./manufacturer"); vehicle.module = require("./model"); diff --git a/lib/locales/ar/vehicle/manufacturer.js b/lib/locales/ar/vehicle/manufacturer.js index ba514dc6..3228d94a 100644 --- a/lib/locales/ar/vehicle/manufacturer.js +++ b/lib/locales/ar/vehicle/manufacturer.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "شيفروليه", "كاديلاك", "فورد", diff --git a/lib/locales/ar/vehicle/model.js b/lib/locales/ar/vehicle/model.js index 2800de4e..79a0bafc 100644 --- a/lib/locales/ar/vehicle/model.js +++ b/lib/locales/ar/vehicle/model.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "فييستا", "التركيز", "الثور", diff --git a/lib/locales/ar/vehicle/vehicle_type.js b/lib/locales/ar/vehicle/vehicle_type.js index dede35d0..8e6bbd30 100644 --- a/lib/locales/ar/vehicle/vehicle_type.js +++ b/lib/locales/ar/vehicle/vehicle_type.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "كارغو فان", "مكشوفة", "كوبيه", diff --git a/lib/locales/az/address/building_number.js b/lib/locales/az/address/building_number.js index 401fa206..6688cbcc 100644 --- a/lib/locales/az/address/building_number.js +++ b/lib/locales/az/address/building_number.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "###" ]; diff --git a/lib/locales/az/address/city.js b/lib/locales/az/address/city.js index 841b37dc..bcff035d 100644 --- a/lib/locales/az/address/city.js +++ b/lib/locales/az/address/city.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "#{Address.city_name}" ]; diff --git a/lib/locales/az/address/city_name.js b/lib/locales/az/address/city_name.js index 26df6a2e..1ca1fc4d 100644 --- a/lib/locales/az/address/city_name.js +++ b/lib/locales/az/address/city_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Ağcabədi", "Ağdam", "Ağdaş", diff --git a/lib/locales/az/address/country.js b/lib/locales/az/address/country.js index 08908316..d36cec58 100644 --- a/lib/locales/az/address/country.js +++ b/lib/locales/az/address/country.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Akrotiri və Dekeliya", "Aland adaları", "Albaniya", diff --git a/lib/locales/az/address/default_country.js b/lib/locales/az/address/default_country.js index 25857898..23100919 100644 --- a/lib/locales/az/address/default_country.js +++ b/lib/locales/az/address/default_country.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "Azərbaycan" ]; diff --git a/lib/locales/az/address/postcode.js b/lib/locales/az/address/postcode.js index 1b57b699..19c67ac7 100644 --- a/lib/locales/az/address/postcode.js +++ b/lib/locales/az/address/postcode.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "AZ####" ]; diff --git a/lib/locales/az/address/secondary_address.js b/lib/locales/az/address/secondary_address.js index 862bf14f..c89f64da 100644 --- a/lib/locales/az/address/secondary_address.js +++ b/lib/locales/az/address/secondary_address.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "m. ###" ]; diff --git a/lib/locales/az/address/state.js b/lib/locales/az/address/state.js index 4b06d3fa..fb46b687 100644 --- a/lib/locales/az/address/state.js +++ b/lib/locales/az/address/state.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ ]; diff --git a/lib/locales/az/address/street_address.js b/lib/locales/az/address/street_address.js index 5b311286..af50699c 100644 --- a/lib/locales/az/address/street_address.js +++ b/lib/locales/az/address/street_address.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "#{street_name}, #{building_number}" ]; diff --git a/lib/locales/az/address/street_name.js b/lib/locales/az/address/street_name.js index 6e8ceb6d..a070c6e8 100644 --- a/lib/locales/az/address/street_name.js +++ b/lib/locales/az/address/street_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "#{street_suffix} #{Address.street_title}", "#{Address.street_title} #{street_suffix}" ]; diff --git a/lib/locales/az/address/street_suffix.js b/lib/locales/az/address/street_suffix.js index f9da8102..61c08b76 100644 --- a/lib/locales/az/address/street_suffix.js +++ b/lib/locales/az/address/street_suffix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "küç.", "küçəsi", "prospekti", diff --git a/lib/locales/az/address/street_title.js b/lib/locales/az/address/street_title.js index a0a8349c..59207cda 100644 --- a/lib/locales/az/address/street_title.js +++ b/lib/locales/az/address/street_title.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Abbas Fətullayev", "Abbas Mirzə Şərifzadə", "Abbas Səhhət", diff --git a/lib/locales/az/commerce/color.js b/lib/locales/az/commerce/color.js index 3cd306d9..8fe63c2a 100644 --- a/lib/locales/az/commerce/color.js +++ b/lib/locales/az/commerce/color.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "ala", "açıq bənövşəyi", "ağ", diff --git a/lib/locales/az/commerce/department.js b/lib/locales/az/commerce/department.js index 67b0e18b..23997dbe 100644 --- a/lib/locales/az/commerce/department.js +++ b/lib/locales/az/commerce/department.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Kitablar", "Filmlər", "musiqi", diff --git a/lib/locales/az/commerce/product_name.js b/lib/locales/az/commerce/product_name.js index 4eac4e31..c2171645 100644 --- a/lib/locales/az/commerce/product_name.js +++ b/lib/locales/az/commerce/product_name.js @@ -1,4 +1,4 @@ -module["exports"] = { +module.exports = { "adjective": [ "Balaca", "Ergonomik", diff --git a/lib/locales/az/company/name.js b/lib/locales/az/company/name.js index 6ebeeebb..8c60b344 100644 --- a/lib/locales/az/company/name.js +++ b/lib/locales/az/company/name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "#{prefix} #{Name.female_first_name}", "#{prefix} #{Name.male_first_name}", "#{prefix} #{Name.male_last_name}", diff --git a/lib/locales/az/company/prefix.js b/lib/locales/az/company/prefix.js index 89fc5b99..853540bb 100644 --- a/lib/locales/az/company/prefix.js +++ b/lib/locales/az/company/prefix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "ASC", "MMC", "QSC", diff --git a/lib/locales/az/company/suffix.js b/lib/locales/az/company/suffix.js index 4b06d3fa..fb46b687 100644 --- a/lib/locales/az/company/suffix.js +++ b/lib/locales/az/company/suffix.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ ]; diff --git a/lib/locales/az/date/index.js b/lib/locales/az/date/index.js index e53e73ee..f95b1507 100644 --- a/lib/locales/az/date/index.js +++ b/lib/locales/az/date/index.js @@ -1,4 +1,4 @@ -const date = {}; -module["exports"] = date; +var date = {}; +module.exports = date; date.month = require("./month"); date.weekday = require("./weekday"); diff --git a/lib/locales/az/date/month.js b/lib/locales/az/date/month.js index 00d3d271..7ea2b0fd 100644 --- a/lib/locales/az/date/month.js +++ b/lib/locales/az/date/month.js @@ -1,5 +1,5 @@ // source: http://unicode.org/cldr/trac/browser/tags/release-27/common/main/ru.xml#L1734 -module["exports"] = { +module.exports = { wide: [ "yanvar", "fevral", diff --git a/lib/locales/az/date/weekday.js b/lib/locales/az/date/weekday.js index e8ad8bec..391dabcd 100644 --- a/lib/locales/az/date/weekday.js +++ b/lib/locales/az/date/weekday.js @@ -1,5 +1,5 @@ // source: http://unicode.org/cldr/trac/browser/tags/release-27/common/main/ru.xml#L1825 -module["exports"] = { +module.exports = { wide: [ "Bazar", "Bazar ertəsi", diff --git a/lib/locales/az/internet/domain_suffix.js b/lib/locales/az/internet/domain_suffix.js index f3749b6b..1b29a960 100644 --- a/lib/locales/az/internet/domain_suffix.js +++ b/lib/locales/az/internet/domain_suffix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "com", "az", "com.az", diff --git a/lib/locales/az/internet/free_email.js b/lib/locales/az/internet/free_email.js index b5f920af..52d84a35 100644 --- a/lib/locales/az/internet/free_email.js +++ b/lib/locales/az/internet/free_email.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "box.az", "mail.az", "gmail.com", diff --git a/lib/locales/az/name/female_first_name.js b/lib/locales/az/name/female_first_name.js index 99a65531..1394a8fa 100644 --- a/lib/locales/az/name/female_first_name.js +++ b/lib/locales/az/name/female_first_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Anna", "Adeliya", "Afaq", diff --git a/lib/locales/az/name/female_last_name.js b/lib/locales/az/name/female_last_name.js index 848263cd..ecf76b78 100644 --- a/lib/locales/az/name/female_last_name.js +++ b/lib/locales/az/name/female_last_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Qasımova", "Əfəndiyeva", "Soltanova", diff --git a/lib/locales/az/name/male_first_name.js b/lib/locales/az/name/male_first_name.js index 6a7c8830..9039c2b3 100644 --- a/lib/locales/az/name/male_first_name.js +++ b/lib/locales/az/name/male_first_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Anar", "Amid", "Afəl", diff --git a/lib/locales/az/name/male_last_name.js b/lib/locales/az/name/male_last_name.js index d4d5186e..ce7ff0bf 100644 --- a/lib/locales/az/name/male_last_name.js +++ b/lib/locales/az/name/male_last_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Əhmədov", "Ələkbərov", "Əliyev", diff --git a/lib/locales/az/name/name.js b/lib/locales/az/name/name.js index 4c17361d..828fd4ba 100644 --- a/lib/locales/az/name/name.js +++ b/lib/locales/az/name/name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "#{male_first_name}", "#{male_last_name} #{male_first_name}", "#{male_first_name} #{male_last_name}", diff --git a/lib/locales/az/name/prefix.js b/lib/locales/az/name/prefix.js index 688be216..e0a30c5d 100644 --- a/lib/locales/az/name/prefix.js +++ b/lib/locales/az/name/prefix.js @@ -1 +1 @@ -module["exports"] = []; +module.exports = []; diff --git a/lib/locales/az/name/suffix.js b/lib/locales/az/name/suffix.js index 688be216..e0a30c5d 100644 --- a/lib/locales/az/name/suffix.js +++ b/lib/locales/az/name/suffix.js @@ -1 +1 @@ -module["exports"] = []; +module.exports = []; diff --git a/lib/locales/az/phone_number/formats.js b/lib/locales/az/phone_number/formats.js index ffdb56d8..1708a5a8 100644 --- a/lib/locales/az/phone_number/formats.js +++ b/lib/locales/az/phone_number/formats.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "(9##)###-##-##" ]; diff --git a/lib/locales/cz/address/building_number.js b/lib/locales/cz/address/building_number.js index 23fc733d..d6c35519 100644 --- a/lib/locales/cz/address/building_number.js +++ b/lib/locales/cz/address/building_number.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "#", "##", "###" diff --git a/lib/locales/cz/address/city.js b/lib/locales/cz/address/city.js index d62eafb1..14b927cb 100644 --- a/lib/locales/cz/address/city.js +++ b/lib/locales/cz/address/city.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "#{city_name}" ]; diff --git a/lib/locales/cz/address/city_name.js b/lib/locales/cz/address/city_name.js index 875fcc31..8857b4f1 100644 --- a/lib/locales/cz/address/city_name.js +++ b/lib/locales/cz/address/city_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Abertamy", "Adamov", "Andělská Hora", diff --git a/lib/locales/cz/address/country.js b/lib/locales/cz/address/country.js index 24be318f..0bcd967b 100644 --- a/lib/locales/cz/address/country.js +++ b/lib/locales/cz/address/country.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Afghánistán", "Albánie", "Alžírsko", diff --git a/lib/locales/cz/address/default_country.js b/lib/locales/cz/address/default_country.js index 0cb5b9a8..76cd2245 100644 --- a/lib/locales/cz/address/default_country.js +++ b/lib/locales/cz/address/default_country.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "Česká republika" ]; diff --git a/lib/locales/cz/address/postcode.js b/lib/locales/cz/address/postcode.js index beffe14d..0c4c9d35 100644 --- a/lib/locales/cz/address/postcode.js +++ b/lib/locales/cz/address/postcode.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "#####", "### ##", "###-##" diff --git a/lib/locales/cz/address/secondary_address.js b/lib/locales/cz/address/secondary_address.js index cbd6d754..14e12c13 100644 --- a/lib/locales/cz/address/secondary_address.js +++ b/lib/locales/cz/address/secondary_address.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Apt. ###", "Suite ###" ]; diff --git a/lib/locales/cz/address/state.js b/lib/locales/cz/address/state.js index 688be216..e0a30c5d 100644 --- a/lib/locales/cz/address/state.js +++ b/lib/locales/cz/address/state.js @@ -1 +1 @@ -module["exports"] = []; +module.exports = []; diff --git a/lib/locales/cz/address/state_abbr.js b/lib/locales/cz/address/state_abbr.js index 688be216..e0a30c5d 100644 --- a/lib/locales/cz/address/state_abbr.js +++ b/lib/locales/cz/address/state_abbr.js @@ -1 +1 @@ -module["exports"] = []; +module.exports = []; diff --git a/lib/locales/cz/address/street.js b/lib/locales/cz/address/street.js index ec83bca0..ef2c0d98 100644 --- a/lib/locales/cz/address/street.js +++ b/lib/locales/cz/address/street.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "17. Listopadu", "17. Listopadu", "28. Pluku", diff --git a/lib/locales/cz/address/street_address.js b/lib/locales/cz/address/street_address.js index 74209742..4ae3b6ee 100644 --- a/lib/locales/cz/address/street_address.js +++ b/lib/locales/cz/address/street_address.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "#{street_name} #{building_number}" ]; diff --git a/lib/locales/cz/address/street_name.js b/lib/locales/cz/address/street_name.js index 5485164f..2d37b64a 100644 --- a/lib/locales/cz/address/street_name.js +++ b/lib/locales/cz/address/street_name.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "#{street}" ]; diff --git a/lib/locales/cz/company/adjective.js b/lib/locales/cz/company/adjective.js index bcfd8abe..486ef4e4 100644 --- a/lib/locales/cz/company/adjective.js +++ b/lib/locales/cz/company/adjective.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Adaptive", "Advanced", "Ameliorated", diff --git a/lib/locales/cz/company/bs_noun.js b/lib/locales/cz/company/bs_noun.js index f95f3c40..48a09841 100644 --- a/lib/locales/cz/company/bs_noun.js +++ b/lib/locales/cz/company/bs_noun.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "clicks-and-mortar", "value-added", "vertical", diff --git a/lib/locales/cz/company/bs_verb.js b/lib/locales/cz/company/bs_verb.js index 42e47b27..cebff65a 100644 --- a/lib/locales/cz/company/bs_verb.js +++ b/lib/locales/cz/company/bs_verb.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "implement", "utilize", "integrate", diff --git a/lib/locales/cz/company/descriptor.js b/lib/locales/cz/company/descriptor.js index 0746db82..e2abae1c 100644 --- a/lib/locales/cz/company/descriptor.js +++ b/lib/locales/cz/company/descriptor.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "24 hour", "24/7", "3rd generation", diff --git a/lib/locales/cz/company/name.js b/lib/locales/cz/company/name.js index ff4da555..0a3d79b0 100644 --- a/lib/locales/cz/company/name.js +++ b/lib/locales/cz/company/name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "#{Name.last_name} #{suffix}", "#{Name.last_name} #{suffix}", "#{Name.man_last_name} a #{Name.man_last_name} #{suffix}" diff --git a/lib/locales/cz/company/noun.js b/lib/locales/cz/company/noun.js index 0a27b357..8a09a145 100644 --- a/lib/locales/cz/company/noun.js +++ b/lib/locales/cz/company/noun.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "ability", "access", "adapter", diff --git a/lib/locales/cz/company/suffix.js b/lib/locales/cz/company/suffix.js index 81e23d2e..a0e537a5 100644 --- a/lib/locales/cz/company/suffix.js +++ b/lib/locales/cz/company/suffix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "s.r.o.", "a.s.", "v.o.s." diff --git a/lib/locales/cz/date/index.js b/lib/locales/cz/date/index.js index e53e73ee..f95b1507 100644 --- a/lib/locales/cz/date/index.js +++ b/lib/locales/cz/date/index.js @@ -1,4 +1,4 @@ -const date = {}; -module["exports"] = date; +var date = {}; +module.exports = date; date.month = require("./month"); date.weekday = require("./weekday"); diff --git a/lib/locales/cz/date/month.js b/lib/locales/cz/date/month.js index 1b4723b3..09797c8e 100644 --- a/lib/locales/cz/date/month.js +++ b/lib/locales/cz/date/month.js @@ -1,5 +1,5 @@ // Source: http://unicode.org/cldr/trac/browser/tags/release-27/common/main/en.xml#L1799 -module["exports"] = { +module.exports = { wide: [ "Leden", "Únor", diff --git a/lib/locales/cz/date/weekday.js b/lib/locales/cz/date/weekday.js index fcad33ab..0274819f 100644 --- a/lib/locales/cz/date/weekday.js +++ b/lib/locales/cz/date/weekday.js @@ -1,5 +1,5 @@ // Source: http://unicode.org/cldr/trac/browser/tags/release-27/common/main/en.xml#L1847 -module["exports"] = { +module.exports = { wide: [ "Pondělí", "Úterý", diff --git a/lib/locales/cz/internet/domain_suffix.js b/lib/locales/cz/internet/domain_suffix.js index 7edfa5fd..125fefc1 100644 --- a/lib/locales/cz/internet/domain_suffix.js +++ b/lib/locales/cz/internet/domain_suffix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "cz", "com", "net", diff --git a/lib/locales/cz/internet/free_email.js b/lib/locales/cz/internet/free_email.js index 25256379..51138f01 100644 --- a/lib/locales/cz/internet/free_email.js +++ b/lib/locales/cz/internet/free_email.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "gmail.com", "seznam.cz", "centrum.cz", diff --git a/lib/locales/cz/lorem/words.js b/lib/locales/cz/lorem/words.js index e8c9f7bb..68d1c09c 100644 --- a/lib/locales/cz/lorem/words.js +++ b/lib/locales/cz/lorem/words.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "alias", "consequatur", "aut", diff --git a/lib/locales/cz/name/female_first_name.js b/lib/locales/cz/name/female_first_name.js index 728b846c..f8692620 100644 --- a/lib/locales/cz/name/female_first_name.js +++ b/lib/locales/cz/name/female_first_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Abigail", "Ada", "Adalberta", diff --git a/lib/locales/cz/name/female_last_name.js b/lib/locales/cz/name/female_last_name.js index 717ffa42..16205255 100644 --- a/lib/locales/cz/name/female_last_name.js +++ b/lib/locales/cz/name/female_last_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Adamová", "Adamcová", "Adámková", diff --git a/lib/locales/cz/name/male_first_name.js b/lib/locales/cz/name/male_first_name.js index d4036105..563a50f8 100644 --- a/lib/locales/cz/name/male_first_name.js +++ b/lib/locales/cz/name/male_first_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Abadon", "Abdon", "Ábel", diff --git a/lib/locales/cz/name/male_last_name.js b/lib/locales/cz/name/male_last_name.js index 5e1c43d9..be4bc6d9 100644 --- a/lib/locales/cz/name/male_last_name.js +++ b/lib/locales/cz/name/male_last_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Adam", "Adamec", "Adámek", diff --git a/lib/locales/cz/name/name.js b/lib/locales/cz/name/name.js index b1e852c5..37d25df2 100644 --- a/lib/locales/cz/name/name.js +++ b/lib/locales/cz/name/name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "#{prefix} #{male_first_name} #{male_last_name}", "#{prefix} #{female_first_name} #{female_last_name}", "#{male_first_name} #{male_last_name} #{suffix}", diff --git a/lib/locales/cz/name/prefix.js b/lib/locales/cz/name/prefix.js index b26d4452..fd545c87 100644 --- a/lib/locales/cz/name/prefix.js +++ b/lib/locales/cz/name/prefix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Ing.", "Mgr.", "JUDr.", diff --git a/lib/locales/cz/name/suffix.js b/lib/locales/cz/name/suffix.js index e7eb5867..2f48e58c 100644 --- a/lib/locales/cz/name/suffix.js +++ b/lib/locales/cz/name/suffix.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "Phd." ]; diff --git a/lib/locales/cz/name/title.js b/lib/locales/cz/name/title.js index 9567a316..fa94daf2 100644 --- a/lib/locales/cz/name/title.js +++ b/lib/locales/cz/name/title.js @@ -1,4 +1,4 @@ -module["exports"] = { +module.exports = { "descriptor": [ "Lead", "Senior", diff --git a/lib/locales/cz/phone_number/formats.js b/lib/locales/cz/phone_number/formats.js index 24057c77..e95fdb3e 100644 --- a/lib/locales/cz/phone_number/formats.js +++ b/lib/locales/cz/phone_number/formats.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "601 ### ###", "737 ### ###", "736 ### ###", diff --git a/lib/locales/de/address/building_number.js b/lib/locales/de/address/building_number.js index 7bd586e1..a7e352c8 100644 --- a/lib/locales/de/address/building_number.js +++ b/lib/locales/de/address/building_number.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "###", "##", "#", diff --git a/lib/locales/de/address/city.js b/lib/locales/de/address/city.js index db482b14..11378bc6 100644 --- a/lib/locales/de/address/city.js +++ b/lib/locales/de/address/city.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "#{city_prefix} #{Name.first_name}#{city_suffix}", "#{city_prefix} #{Name.first_name}", "#{Name.first_name}#{city_suffix}", diff --git a/lib/locales/de/address/city_prefix.js b/lib/locales/de/address/city_prefix.js index 63d9b69f..7a35e665 100644 --- a/lib/locales/de/address/city_prefix.js +++ b/lib/locales/de/address/city_prefix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Nord", "Ost", "West", diff --git a/lib/locales/de/address/city_suffix.js b/lib/locales/de/address/city_suffix.js index 952b44bb..bf68c916 100644 --- a/lib/locales/de/address/city_suffix.js +++ b/lib/locales/de/address/city_suffix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "stadt", "dorf", "land", diff --git a/lib/locales/de/address/country.js b/lib/locales/de/address/country.js index 1a8303a4..451bb8d9 100644 --- a/lib/locales/de/address/country.js +++ b/lib/locales/de/address/country.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Ägypten", "Äquatorialguinea", "Äthiopien", diff --git a/lib/locales/de/address/default_country.js b/lib/locales/de/address/default_country.js index 2447ec6d..a8d1d39c 100644 --- a/lib/locales/de/address/default_country.js +++ b/lib/locales/de/address/default_country.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "Deutschland" ]; diff --git a/lib/locales/de/address/postcode.js b/lib/locales/de/address/postcode.js index d572b877..2538fa13 100644 --- a/lib/locales/de/address/postcode.js +++ b/lib/locales/de/address/postcode.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "#####", "#####" ]; diff --git a/lib/locales/de/address/secondary_address.js b/lib/locales/de/address/secondary_address.js index 7042058b..eb47a122 100644 --- a/lib/locales/de/address/secondary_address.js +++ b/lib/locales/de/address/secondary_address.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Apt. ###", "Zimmer ###", "# OG" diff --git a/lib/locales/de/address/state.js b/lib/locales/de/address/state.js index ee17ec68..9d4dc666 100644 --- a/lib/locales/de/address/state.js +++ b/lib/locales/de/address/state.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Baden-Württemberg", "Bayern", "Berlin", diff --git a/lib/locales/de/address/state_abbr.js b/lib/locales/de/address/state_abbr.js index 6aa1cae6..78e9a0e9 100644 --- a/lib/locales/de/address/state_abbr.js +++ b/lib/locales/de/address/state_abbr.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "BW", "BY", "BE", diff --git a/lib/locales/de/address/street_address.js b/lib/locales/de/address/street_address.js index 74209742..4ae3b6ee 100644 --- a/lib/locales/de/address/street_address.js +++ b/lib/locales/de/address/street_address.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "#{street_name} #{building_number}" ]; diff --git a/lib/locales/de/address/street_name.js b/lib/locales/de/address/street_name.js index 7debe2ae..a6b5ac1d 100644 --- a/lib/locales/de/address/street_name.js +++ b/lib/locales/de/address/street_name.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "#{street_root}" ]; diff --git a/lib/locales/de/address/street_root.js b/lib/locales/de/address/street_root.js index ae13c339..7c09a9b0 100644 --- a/lib/locales/de/address/street_root.js +++ b/lib/locales/de/address/street_root.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Ackerweg", "Adalbert-Stifter-Str.", "Adalbertstr.", diff --git a/lib/locales/de/cell_phone/formats.js b/lib/locales/de/cell_phone/formats.js index 81aabf37..634d63a8 100644 --- a/lib/locales/de/cell_phone/formats.js +++ b/lib/locales/de/cell_phone/formats.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "+49-1##-#######", "+49-1###-########" ]; diff --git a/lib/locales/de/company/legal_form.js b/lib/locales/de/company/legal_form.js index 1a588679..0604fd53 100644 --- a/lib/locales/de/company/legal_form.js +++ b/lib/locales/de/company/legal_form.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "GmbH", "AG", "Gruppe", diff --git a/lib/locales/de/company/name.js b/lib/locales/de/company/name.js index e1e8ae96..36d135f4 100644 --- a/lib/locales/de/company/name.js +++ b/lib/locales/de/company/name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "#{Name.last_name} #{suffix}", "#{Name.last_name}-#{Name.last_name}", "#{Name.last_name}, #{Name.last_name} und #{Name.last_name}" diff --git a/lib/locales/de/company/suffix.js b/lib/locales/de/company/suffix.js index 1a588679..0604fd53 100644 --- a/lib/locales/de/company/suffix.js +++ b/lib/locales/de/company/suffix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "GmbH", "AG", "Gruppe", diff --git a/lib/locales/de/date/index.js b/lib/locales/de/date/index.js index e53e73ee..f95b1507 100644 --- a/lib/locales/de/date/index.js +++ b/lib/locales/de/date/index.js @@ -1,4 +1,4 @@ -const date = {}; -module["exports"] = date; +var date = {}; +module.exports = date; date.month = require("./month"); date.weekday = require("./weekday"); diff --git a/lib/locales/de/date/weekday.js b/lib/locales/de/date/weekday.js index 03754a26..185031b4 100644 --- a/lib/locales/de/date/weekday.js +++ b/lib/locales/de/date/weekday.js @@ -1,5 +1,5 @@ // Source: http://unicode.org/cldr/trac/browser/tags/release-27/common/main/en.xml#L1847 -module["exports"] = { +module.exports = { wide: [ "Sonntag", "Montag", diff --git a/lib/locales/de/internet/domain_suffix.js b/lib/locales/de/internet/domain_suffix.js index fab7449c..57133fd6 100644 --- a/lib/locales/de/internet/domain_suffix.js +++ b/lib/locales/de/internet/domain_suffix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "com", "info", "name", diff --git a/lib/locales/de/internet/free_email.js b/lib/locales/de/internet/free_email.js index d6393294..b425345d 100644 --- a/lib/locales/de/internet/free_email.js +++ b/lib/locales/de/internet/free_email.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "gmail.com", "yahoo.com", "hotmail.com" diff --git a/lib/locales/de/lorem/words.js b/lib/locales/de/lorem/words.js index e8c9f7bb..68d1c09c 100644 --- a/lib/locales/de/lorem/words.js +++ b/lib/locales/de/lorem/words.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "alias", "consequatur", "aut", diff --git a/lib/locales/de/name/female_first_name.js b/lib/locales/de/name/female_first_name.js index 0c973e2b..4b465816 100644 --- a/lib/locales/de/name/female_first_name.js +++ b/lib/locales/de/name/female_first_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Aaliyah", "Abby", "Abigail", diff --git a/lib/locales/de/name/first_name.js b/lib/locales/de/name/first_name.js index ba17eaf6..660bca58 100644 --- a/lib/locales/de/name/first_name.js +++ b/lib/locales/de/name/first_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Aaron", "Abdul", "Abdullah", diff --git a/lib/locales/de/name/last_name.js b/lib/locales/de/name/last_name.js index ba89ff43..1d71092e 100644 --- a/lib/locales/de/name/last_name.js +++ b/lib/locales/de/name/last_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Abel", "Abicht", "Abraham", diff --git a/lib/locales/de/name/male_first_name.js b/lib/locales/de/name/male_first_name.js index d31bbe8d..a1392841 100644 --- a/lib/locales/de/name/male_first_name.js +++ b/lib/locales/de/name/male_first_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Aaron", "Abdul", "Abdullah", diff --git a/lib/locales/de/name/name.js b/lib/locales/de/name/name.js index edc8330c..366d8c5c 100644 --- a/lib/locales/de/name/name.js +++ b/lib/locales/de/name/name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "#{prefix} #{first_name} #{last_name}", "#{first_name} #{nobility_title_prefix} #{last_name}", "#{first_name} #{last_name}", diff --git a/lib/locales/de/name/nobility_title_prefix.js b/lib/locales/de/name/nobility_title_prefix.js index b7fbe6d0..27e82b3d 100644 --- a/lib/locales/de/name/nobility_title_prefix.js +++ b/lib/locales/de/name/nobility_title_prefix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "zu", "von", "vom", diff --git a/lib/locales/de/name/prefix.js b/lib/locales/de/name/prefix.js index b8702391..639e3772 100644 --- a/lib/locales/de/name/prefix.js +++ b/lib/locales/de/name/prefix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Hr.", "Fr.", "Dr.", diff --git a/lib/locales/de/phone_number/formats.js b/lib/locales/de/phone_number/formats.js index be1193fe..9163a052 100644 --- a/lib/locales/de/phone_number/formats.js +++ b/lib/locales/de/phone_number/formats.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "(0###) #########", "(0####) #######", "+49-###-#######", diff --git a/lib/locales/de_AT/address/building_number.js b/lib/locales/de_AT/address/building_number.js index 7bd586e1..a7e352c8 100644 --- a/lib/locales/de_AT/address/building_number.js +++ b/lib/locales/de_AT/address/building_number.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "###", "##", "#", diff --git a/lib/locales/de_AT/address/city.js b/lib/locales/de_AT/address/city.js index d62eafb1..14b927cb 100644 --- a/lib/locales/de_AT/address/city.js +++ b/lib/locales/de_AT/address/city.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "#{city_name}" ]; diff --git a/lib/locales/de_AT/address/city_name.js b/lib/locales/de_AT/address/city_name.js index e69b1e4b..aa43b36e 100644 --- a/lib/locales/de_AT/address/city_name.js +++ b/lib/locales/de_AT/address/city_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Aigen im Mühlkreis", "Allerheiligen bei Wildon", "Altenfelden", diff --git a/lib/locales/de_AT/address/country.js b/lib/locales/de_AT/address/country.js index 1a8303a4..451bb8d9 100644 --- a/lib/locales/de_AT/address/country.js +++ b/lib/locales/de_AT/address/country.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Ägypten", "Äquatorialguinea", "Äthiopien", diff --git a/lib/locales/de_AT/address/default_country.js b/lib/locales/de_AT/address/default_country.js index 47635f31..0f42d2ae 100644 --- a/lib/locales/de_AT/address/default_country.js +++ b/lib/locales/de_AT/address/default_country.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "Österreich" ]; diff --git a/lib/locales/de_AT/address/postcode.js b/lib/locales/de_AT/address/postcode.js index 5053d539..ec2bc226 100644 --- a/lib/locales/de_AT/address/postcode.js +++ b/lib/locales/de_AT/address/postcode.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "####" ]; diff --git a/lib/locales/de_AT/address/secondary_address.js b/lib/locales/de_AT/address/secondary_address.js index 7042058b..eb47a122 100644 --- a/lib/locales/de_AT/address/secondary_address.js +++ b/lib/locales/de_AT/address/secondary_address.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Apt. ###", "Zimmer ###", "# OG" diff --git a/lib/locales/de_AT/address/state.js b/lib/locales/de_AT/address/state.js index dada69f5..9d12b7d2 100644 --- a/lib/locales/de_AT/address/state.js +++ b/lib/locales/de_AT/address/state.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Burgenland", "Kärnten", "Niederösterreich", diff --git a/lib/locales/de_AT/address/state_abbr.js b/lib/locales/de_AT/address/state_abbr.js index 7ba123ee..332c8c1d 100644 --- a/lib/locales/de_AT/address/state_abbr.js +++ b/lib/locales/de_AT/address/state_abbr.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Bgld.", "Ktn.", "NÖ", diff --git a/lib/locales/de_AT/address/street_address.js b/lib/locales/de_AT/address/street_address.js index 74209742..4ae3b6ee 100644 --- a/lib/locales/de_AT/address/street_address.js +++ b/lib/locales/de_AT/address/street_address.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "#{street_name} #{building_number}" ]; diff --git a/lib/locales/de_AT/address/street_name.js b/lib/locales/de_AT/address/street_name.js index 7debe2ae..a6b5ac1d 100644 --- a/lib/locales/de_AT/address/street_name.js +++ b/lib/locales/de_AT/address/street_name.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "#{street_root}" ]; diff --git a/lib/locales/de_AT/address/street_root.js b/lib/locales/de_AT/address/street_root.js index 1245e0c5..aa3d5c3c 100644 --- a/lib/locales/de_AT/address/street_root.js +++ b/lib/locales/de_AT/address/street_root.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Ahorn", "Ahorngasse (St. Andrä)", "Alleestraße (Poysbrunn)", diff --git a/lib/locales/de_AT/cell_phone/formats.js b/lib/locales/de_AT/cell_phone/formats.js index 9122ca4f..7877b654 100644 --- a/lib/locales/de_AT/cell_phone/formats.js +++ b/lib/locales/de_AT/cell_phone/formats.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "+43-6##-#######", "06##-########", "+436#########", diff --git a/lib/locales/de_AT/company/legal_form.js b/lib/locales/de_AT/company/legal_form.js index 1a588679..0604fd53 100644 --- a/lib/locales/de_AT/company/legal_form.js +++ b/lib/locales/de_AT/company/legal_form.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "GmbH", "AG", "Gruppe", diff --git a/lib/locales/de_AT/company/name.js b/lib/locales/de_AT/company/name.js index e1e8ae96..36d135f4 100644 --- a/lib/locales/de_AT/company/name.js +++ b/lib/locales/de_AT/company/name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "#{Name.last_name} #{suffix}", "#{Name.last_name}-#{Name.last_name}", "#{Name.last_name}, #{Name.last_name} und #{Name.last_name}" diff --git a/lib/locales/de_AT/company/suffix.js b/lib/locales/de_AT/company/suffix.js index 1a588679..0604fd53 100644 --- a/lib/locales/de_AT/company/suffix.js +++ b/lib/locales/de_AT/company/suffix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "GmbH", "AG", "Gruppe", diff --git a/lib/locales/de_AT/internet/domain_suffix.js b/lib/locales/de_AT/internet/domain_suffix.js index d34a8a68..4b184741 100644 --- a/lib/locales/de_AT/internet/domain_suffix.js +++ b/lib/locales/de_AT/internet/domain_suffix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "com", "info", "name", diff --git a/lib/locales/de_AT/internet/free_email.js b/lib/locales/de_AT/internet/free_email.js index d6393294..b425345d 100644 --- a/lib/locales/de_AT/internet/free_email.js +++ b/lib/locales/de_AT/internet/free_email.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "gmail.com", "yahoo.com", "hotmail.com" diff --git a/lib/locales/de_AT/name/first_name.js b/lib/locales/de_AT/name/first_name.js index ba17eaf6..660bca58 100644 --- a/lib/locales/de_AT/name/first_name.js +++ b/lib/locales/de_AT/name/first_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Aaron", "Abdul", "Abdullah", diff --git a/lib/locales/de_AT/name/last_name.js b/lib/locales/de_AT/name/last_name.js index ba89ff43..1d71092e 100644 --- a/lib/locales/de_AT/name/last_name.js +++ b/lib/locales/de_AT/name/last_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Abel", "Abicht", "Abraham", diff --git a/lib/locales/de_AT/name/name.js b/lib/locales/de_AT/name/name.js index a75be6d4..13cf5366 100644 --- a/lib/locales/de_AT/name/name.js +++ b/lib/locales/de_AT/name/name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "#{prefix} #{first_name} #{last_name}", "#{first_name} #{nobility_title_prefix} #{last_name}", "#{first_name} #{last_name}", diff --git a/lib/locales/de_AT/name/nobility_title_prefix.js b/lib/locales/de_AT/name/nobility_title_prefix.js index b7fbe6d0..27e82b3d 100644 --- a/lib/locales/de_AT/name/nobility_title_prefix.js +++ b/lib/locales/de_AT/name/nobility_title_prefix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "zu", "von", "vom", diff --git a/lib/locales/de_AT/name/prefix.js b/lib/locales/de_AT/name/prefix.js index 947455e0..ae6713a0 100644 --- a/lib/locales/de_AT/name/prefix.js +++ b/lib/locales/de_AT/name/prefix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Dr.", "Prof. Dr." ]; diff --git a/lib/locales/de_AT/phone_number/formats.js b/lib/locales/de_AT/phone_number/formats.js index 5b6c33a4..ae1a063c 100644 --- a/lib/locales/de_AT/phone_number/formats.js +++ b/lib/locales/de_AT/phone_number/formats.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "01 #######", "01#######", "+43-1-#######", diff --git a/lib/locales/de_CH/address/city.js b/lib/locales/de_CH/address/city.js index d62eafb1..14b927cb 100644 --- a/lib/locales/de_CH/address/city.js +++ b/lib/locales/de_CH/address/city.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "#{city_name}" ]; diff --git a/lib/locales/de_CH/address/city_name.js b/lib/locales/de_CH/address/city_name.js index 9c74936a..810180bf 100644 --- a/lib/locales/de_CH/address/city_name.js +++ b/lib/locales/de_CH/address/city_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Aarau", "Adliswil", "Allschwil", diff --git a/lib/locales/de_CH/address/country_code.js b/lib/locales/de_CH/address/country_code.js index f1672e96..d7879c15 100644 --- a/lib/locales/de_CH/address/country_code.js +++ b/lib/locales/de_CH/address/country_code.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "CH", "CH", "CH", diff --git a/lib/locales/de_CH/address/default_country.js b/lib/locales/de_CH/address/default_country.js index 172109f5..8c1a2dfe 100644 --- a/lib/locales/de_CH/address/default_country.js +++ b/lib/locales/de_CH/address/default_country.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "Schweiz" ]; diff --git a/lib/locales/de_CH/address/postcode.js b/lib/locales/de_CH/address/postcode.js index cb94e7a7..5c7d2fc9 100644 --- a/lib/locales/de_CH/address/postcode.js +++ b/lib/locales/de_CH/address/postcode.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "1###", "2###", "3###", diff --git a/lib/locales/de_CH/address/state.js b/lib/locales/de_CH/address/state.js index 0f620508..ce1082e8 100644 --- a/lib/locales/de_CH/address/state.js +++ b/lib/locales/de_CH/address/state.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Aargau", "Appenzell Ausserrhoden", "Appenzell Innerrhoden", diff --git a/lib/locales/de_CH/address/state_abbr.js b/lib/locales/de_CH/address/state_abbr.js index 69f7fc10..b157344c 100644 --- a/lib/locales/de_CH/address/state_abbr.js +++ b/lib/locales/de_CH/address/state_abbr.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "AG", "AR", "AI", diff --git a/lib/locales/de_CH/company/name.js b/lib/locales/de_CH/company/name.js index e1e8ae96..36d135f4 100644 --- a/lib/locales/de_CH/company/name.js +++ b/lib/locales/de_CH/company/name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "#{Name.last_name} #{suffix}", "#{Name.last_name}-#{Name.last_name}", "#{Name.last_name}, #{Name.last_name} und #{Name.last_name}" diff --git a/lib/locales/de_CH/company/suffix.js b/lib/locales/de_CH/company/suffix.js index 72c4effd..99893906 100644 --- a/lib/locales/de_CH/company/suffix.js +++ b/lib/locales/de_CH/company/suffix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "AG", "GmbH", "und Söhne", diff --git a/lib/locales/de_CH/internet/domain_suffix.js b/lib/locales/de_CH/internet/domain_suffix.js index fc6717c3..bdfecedf 100644 --- a/lib/locales/de_CH/internet/domain_suffix.js +++ b/lib/locales/de_CH/internet/domain_suffix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "com", "net", "biz", diff --git a/lib/locales/de_CH/name/first_name.js b/lib/locales/de_CH/name/first_name.js index 0f1c932f..c3bf0133 100644 --- a/lib/locales/de_CH/name/first_name.js +++ b/lib/locales/de_CH/name/first_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Adolf", "Adrian", "Agnes", diff --git a/lib/locales/de_CH/name/last_name.js b/lib/locales/de_CH/name/last_name.js index b39b0488..196a32be 100644 --- a/lib/locales/de_CH/name/last_name.js +++ b/lib/locales/de_CH/name/last_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Ackermann", "Aebi", "Albrecht", diff --git a/lib/locales/de_CH/name/name.js b/lib/locales/de_CH/name/name.js index 7bbf77b1..2f2d1c7c 100644 --- a/lib/locales/de_CH/name/name.js +++ b/lib/locales/de_CH/name/name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "#{first_name} #{last_name}", "#{first_name} #{last_name}", "#{first_name} #{last_name}", diff --git a/lib/locales/de_CH/name/prefix.js b/lib/locales/de_CH/name/prefix.js index 49ecd58b..f81044e7 100644 --- a/lib/locales/de_CH/name/prefix.js +++ b/lib/locales/de_CH/name/prefix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Hr.", "Fr.", "Dr." diff --git a/lib/locales/de_CH/phone_number/formats.js b/lib/locales/de_CH/phone_number/formats.js index 9e25b6ab..c5452023 100644 --- a/lib/locales/de_CH/phone_number/formats.js +++ b/lib/locales/de_CH/phone_number/formats.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "0800 ### ###", "0800 ## ## ##", "0## ### ## ##", diff --git a/lib/locales/el/address/county.js b/lib/locales/el/address/county.js index 179c8d0a..53fe91ec 100644 --- a/lib/locales/el/address/county.js +++ b/lib/locales/el/address/county.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Αθήνα", "Θεσσαλονίκη", "Πειραιάς", diff --git a/lib/locales/el/address/default_country.js b/lib/locales/el/address/default_country.js index 15512419..0db9b1eb 100644 --- a/lib/locales/el/address/default_country.js +++ b/lib/locales/el/address/default_country.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "Ελλάδα" ]; diff --git a/lib/locales/el/app/author.js b/lib/locales/el/app/author.js index 5c9d0a7a..b61662c8 100644 --- a/lib/locales/el/app/author.js +++ b/lib/locales/el/app/author.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "#{Name.name}", "#{Company.name}" ]; diff --git a/lib/locales/el/app/name.js b/lib/locales/el/app/name.js index caafa041..53d560b8 100644 --- a/lib/locales/el/app/name.js +++ b/lib/locales/el/app/name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "ΤΡΑΠΕΖΑ ΤΗΣ ΕΛΛΑΔΟΣ", "ΕΜΠΟΡΙΚΗ ΤΡΑΠΕΖΑ ΤΗΣ ΕΛΛΑΔΟΣ Α.Ε.", "Η ΕΘΝΙΚΗ (ΕΛΛ. ΕΤΑΙΡΙΑ ΓΕΝ. ΑΣΦΑΛΕΙΩΝ)", diff --git a/lib/locales/el/app/version.js b/lib/locales/el/app/version.js index f8879995..24dc3ac2 100644 --- a/lib/locales/el/app/version.js +++ b/lib/locales/el/app/version.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "0.#.#", "0.##", "#.##", diff --git a/lib/locales/el/business/credit_card_expiry_dates.js b/lib/locales/el/business/credit_card_expiry_dates.js index 4667b5f7..39771608 100644 --- a/lib/locales/el/business/credit_card_expiry_dates.js +++ b/lib/locales/el/business/credit_card_expiry_dates.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "2011-10-12", "2012-11-12", "2015-11-11", diff --git a/lib/locales/el/business/credit_card_numbers.js b/lib/locales/el/business/credit_card_numbers.js index 1b27b4f4..2cb17eaa 100644 --- a/lib/locales/el/business/credit_card_numbers.js +++ b/lib/locales/el/business/credit_card_numbers.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "1234-2121-1221-1211", "1212-1221-1121-1234", "1211-1221-1234-2201", diff --git a/lib/locales/el/business/credit_card_types.js b/lib/locales/el/business/credit_card_types.js index 8042844a..59070922 100644 --- a/lib/locales/el/business/credit_card_types.js +++ b/lib/locales/el/business/credit_card_types.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "visa", "mastercard", "americanexpress", diff --git a/lib/locales/el/cell_phone/formats.js b/lib/locales/el/cell_phone/formats.js index 8701d073..d9be825d 100644 --- a/lib/locales/el/cell_phone/formats.js +++ b/lib/locales/el/cell_phone/formats.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "697## ######", "698## ######", "699## ######", diff --git a/lib/locales/el/commerce/color.js b/lib/locales/el/commerce/color.js index 89680168..2e67c840 100644 --- a/lib/locales/el/commerce/color.js +++ b/lib/locales/el/commerce/color.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "κοκκικο", "πράσινο", "μπλε", diff --git a/lib/locales/el/commerce/department.js b/lib/locales/el/commerce/department.js index f691d262..c43dc319 100644 --- a/lib/locales/el/commerce/department.js +++ b/lib/locales/el/commerce/department.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Βιβλία", "Ταινίες", "Μουσική", diff --git a/lib/locales/el/commerce/product_name.js b/lib/locales/el/commerce/product_name.js index 6714f7f2..c9eed42f 100644 --- a/lib/locales/el/commerce/product_name.js +++ b/lib/locales/el/commerce/product_name.js @@ -1,4 +1,4 @@ -module["exports"] = { +module.exports = { "adjective": [ "Μικρό", "Εργονομικό", diff --git a/lib/locales/el/company/adjective.js b/lib/locales/el/company/adjective.js index 1ca13e46..f7f455dc 100644 --- a/lib/locales/el/company/adjective.js +++ b/lib/locales/el/company/adjective.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Για προχωρημένους", "Αυτοματοποιημένη", "Ισορροπημένη", diff --git a/lib/locales/el/company/bs_adjective.js b/lib/locales/el/company/bs_adjective.js index aa43efe5..960f0aa1 100644 --- a/lib/locales/el/company/bs_adjective.js +++ b/lib/locales/el/company/bs_adjective.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Προστιθέμενη αξία", "Κάθετη", "Προληπτική", diff --git a/lib/locales/el/company/bs_noun.js b/lib/locales/el/company/bs_noun.js index e3d76798..3cca8f05 100644 --- a/lib/locales/el/company/bs_noun.js +++ b/lib/locales/el/company/bs_noun.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "συνέργειες", "παραδείγματα", "αγορές", diff --git a/lib/locales/el/company/bs_verb.js b/lib/locales/el/company/bs_verb.js index d71b0d8a..95042e7d 100644 --- a/lib/locales/el/company/bs_verb.js +++ b/lib/locales/el/company/bs_verb.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "χρησιμοποιούν", "ενσωμάτωση", "βελτιστοποιήσουν", diff --git a/lib/locales/el/company/descriptor.js b/lib/locales/el/company/descriptor.js index 514ebd14..8fb8319d 100644 --- a/lib/locales/el/company/descriptor.js +++ b/lib/locales/el/company/descriptor.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "24 ώρες το 24ώρο", "24/7", "3η γενιά", diff --git a/lib/locales/el/company/name.js b/lib/locales/el/company/name.js index f3cb17c8..9e7685ad 100644 --- a/lib/locales/el/company/name.js +++ b/lib/locales/el/company/name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "#{Name.last_name} #{suffix}", "#{Name.last_name}-#{Name.last_name}", "#{Name.last_name}, #{Name.last_name} and #{Name.last_name}" diff --git a/lib/locales/el/company/noun.js b/lib/locales/el/company/noun.js index 36896032..7837daee 100644 --- a/lib/locales/el/company/noun.js +++ b/lib/locales/el/company/noun.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "ικανότητα", "πρόσβαση", "αλγόριθμος", diff --git a/lib/locales/el/company/suffix.js b/lib/locales/el/company/suffix.js index ad55c79c..16688c1c 100644 --- a/lib/locales/el/company/suffix.js +++ b/lib/locales/el/company/suffix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Ε.Π.Ε.", "Α.Ε.", "και Υιοί", diff --git a/lib/locales/el/credit_card/american_express.js b/lib/locales/el/credit_card/american_express.js index 2a3d782b..34ded1bf 100644 --- a/lib/locales/el/credit_card/american_express.js +++ b/lib/locales/el/credit_card/american_express.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "/34##-######-####L/", "/37##-######-####L/" ]; diff --git a/lib/locales/el/credit_card/discover.js b/lib/locales/el/credit_card/discover.js index d51aa159..5d1cfce6 100644 --- a/lib/locales/el/credit_card/discover.js +++ b/lib/locales/el/credit_card/discover.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "/6011-####-####-###L/", "/65##-####-####-###L/", "/64[4-9]#-####-####-###L/", diff --git a/lib/locales/el/credit_card/maestro.js b/lib/locales/el/credit_card/maestro.js index da575f88..5c96e842 100644 --- a/lib/locales/el/credit_card/maestro.js +++ b/lib/locales/el/credit_card/maestro.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "/50#{9,16}L/", "/5[6-8]#{9,16}L/", "/56##{9,16}L/" diff --git a/lib/locales/el/credit_card/mastercard.js b/lib/locales/el/credit_card/mastercard.js index f6525eb8..51e78e22 100644 --- a/lib/locales/el/credit_card/mastercard.js +++ b/lib/locales/el/credit_card/mastercard.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "/5[1-5]##-####-####-###L/", "/6771-89##-####-###L/" ]; diff --git a/lib/locales/el/credit_card/visa.js b/lib/locales/el/credit_card/visa.js index 972eba8f..dd1ff5b9 100644 --- a/lib/locales/el/credit_card/visa.js +++ b/lib/locales/el/credit_card/visa.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "/4###########L/", "/4###-####-####-###L/" ]; diff --git a/lib/locales/el/finance/account_type.js b/lib/locales/el/finance/account_type.js index c3863e55..6fc0024d 100644 --- a/lib/locales/el/finance/account_type.js +++ b/lib/locales/el/finance/account_type.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Καταθετικός", "Μισθοδοσίας", "Δανειακός" diff --git a/lib/locales/el/finance/currency.js b/lib/locales/el/finance/currency.js index 5f6d3977..da849766 100644 --- a/lib/locales/el/finance/currency.js +++ b/lib/locales/el/finance/currency.js @@ -1,4 +1,4 @@ -module["exports"] = { +module.exports = { "Ευρώ": { "code": "EUR", "symbol": "€" diff --git a/lib/locales/el/finance/transaction_type.js b/lib/locales/el/finance/transaction_type.js index fc294cb8..c3d68b0b 100644 --- a/lib/locales/el/finance/transaction_type.js +++ b/lib/locales/el/finance/transaction_type.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "κατάθεση", "ανάληψη", "πληρωμή", diff --git a/lib/locales/el/hacker/abbreviation.js b/lib/locales/el/hacker/abbreviation.js index ca41f5a4..0ff2cc6b 100644 --- a/lib/locales/el/hacker/abbreviation.js +++ b/lib/locales/el/hacker/abbreviation.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "TCP", "HTTP", "SDD", diff --git a/lib/locales/el/hacker/adjective.js b/lib/locales/el/hacker/adjective.js index 439c44ef..09417894 100644 --- a/lib/locales/el/hacker/adjective.js +++ b/lib/locales/el/hacker/adjective.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "οδηγός", "πρωτογενής", "ψηφιακή", diff --git a/lib/locales/el/hacker/noun.js b/lib/locales/el/hacker/noun.js index f4c37dca..483d47ae 100644 --- a/lib/locales/el/hacker/noun.js +++ b/lib/locales/el/hacker/noun.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "οδηγός", "πρωτόκολο", "ταχύτητα", diff --git a/lib/locales/el/hacker/verb.js b/lib/locales/el/hacker/verb.js index 9952e15f..e8813b50 100644 --- a/lib/locales/el/hacker/verb.js +++ b/lib/locales/el/hacker/verb.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "back up", "bypass", "hack", diff --git a/lib/locales/el/internet/domain_suffix.js b/lib/locales/el/internet/domain_suffix.js index de97745e..8c0d2628 100644 --- a/lib/locales/el/internet/domain_suffix.js +++ b/lib/locales/el/internet/domain_suffix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "gr", "com", "biz", diff --git a/lib/locales/el/internet/free_email.js b/lib/locales/el/internet/free_email.js index d6393294..b425345d 100644 --- a/lib/locales/el/internet/free_email.js +++ b/lib/locales/el/internet/free_email.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "gmail.com", "yahoo.com", "hotmail.com" diff --git a/lib/locales/el/lorem/words.js b/lib/locales/el/lorem/words.js index e8c9f7bb..68d1c09c 100644 --- a/lib/locales/el/lorem/words.js +++ b/lib/locales/el/lorem/words.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "alias", "consequatur", "aut", diff --git a/lib/locales/el/name/first_name.js b/lib/locales/el/name/first_name.js index e856a1e0..6ddb5157 100644 --- a/lib/locales/el/name/first_name.js +++ b/lib/locales/el/name/first_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Γεώργιος", "Ιωάννης", "Κώστας", diff --git a/lib/locales/el/name/last_name.js b/lib/locales/el/name/last_name.js index aba45d20..27fe42bd 100644 --- a/lib/locales/el/name/last_name.js +++ b/lib/locales/el/name/last_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Αβραμίδης", "Αγγελίδης", "Αγγελίδου", diff --git a/lib/locales/el/name/name.js b/lib/locales/el/name/name.js index dd4c0a65..0634ecce 100644 --- a/lib/locales/el/name/name.js +++ b/lib/locales/el/name/name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "#{prefix} #{first_name} #{last_name}", "#{first_name} #{last_name} #{suffix}", "#{first_name} #{last_name}", diff --git a/lib/locales/el/name/prefix.js b/lib/locales/el/name/prefix.js index 96d5d6cb..5abedfcc 100644 --- a/lib/locales/el/name/prefix.js +++ b/lib/locales/el/name/prefix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Κυρία", "Δυς", "Κύριος", diff --git a/lib/locales/el/name/title.js b/lib/locales/el/name/title.js index e94e39bc..7b2587dc 100644 --- a/lib/locales/el/name/title.js +++ b/lib/locales/el/name/title.js @@ -1,4 +1,4 @@ -module["exports"] = { +module.exports = { "descriptor": [ "Senior", "Εταιρείες", diff --git a/lib/locales/el/phone_number/formats.js b/lib/locales/el/phone_number/formats.js index 42a310dd..c29827fc 100644 --- a/lib/locales/el/phone_number/formats.js +++ b/lib/locales/el/phone_number/formats.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "2310# #####", "2312# #####", "2313# #####", diff --git a/lib/locales/el/team/creature.js b/lib/locales/el/team/creature.js index bd56299d..9fccfebe 100644 --- a/lib/locales/el/team/creature.js +++ b/lib/locales/el/team/creature.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "μυρμήγκια", "νυχτερίδες", "αρκούδες", diff --git a/lib/locales/el/team/name.js b/lib/locales/el/team/name.js index bded21a9..80da3c5f 100644 --- a/lib/locales/el/team/name.js +++ b/lib/locales/el/team/name.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "#{Address.state} #{creature}" ]; diff --git a/lib/locales/en/address/building_number.js b/lib/locales/en/address/building_number.js index 76d63929..01aae8ac 100644 --- a/lib/locales/en/address/building_number.js +++ b/lib/locales/en/address/building_number.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "#####", "####", "###" diff --git a/lib/locales/en/address/city.js b/lib/locales/en/address/city.js index db482b14..11378bc6 100644 --- a/lib/locales/en/address/city.js +++ b/lib/locales/en/address/city.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "#{city_prefix} #{Name.first_name}#{city_suffix}", "#{city_prefix} #{Name.first_name}", "#{Name.first_name}#{city_suffix}", diff --git a/lib/locales/en/address/city_prefix.js b/lib/locales/en/address/city_prefix.js index 67d65339..b07d9697 100644 --- a/lib/locales/en/address/city_prefix.js +++ b/lib/locales/en/address/city_prefix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "North", "East", "West", diff --git a/lib/locales/en/address/city_suffix.js b/lib/locales/en/address/city_suffix.js index 84344b1f..9e337200 100644 --- a/lib/locales/en/address/city_suffix.js +++ b/lib/locales/en/address/city_suffix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "town", "ton", "land", diff --git a/lib/locales/en/address/country.js b/lib/locales/en/address/country.js index 29915826..ffe44f7d 100644 --- a/lib/locales/en/address/country.js +++ b/lib/locales/en/address/country.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Afghanistan", "Albania", "Algeria", diff --git a/lib/locales/en/address/country_code.js b/lib/locales/en/address/country_code.js index 9639d7c2..fe74b756 100644 --- a/lib/locales/en/address/country_code.js +++ b/lib/locales/en/address/country_code.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "AD", "AE", "AF", diff --git a/lib/locales/en/address/country_code_alpha_3.js b/lib/locales/en/address/country_code_alpha_3.js index a993d5af..673f5a9e 100644 --- a/lib/locales/en/address/country_code_alpha_3.js +++ b/lib/locales/en/address/country_code_alpha_3.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "BGD", "BEL", "BFA", diff --git a/lib/locales/en/address/county.js b/lib/locales/en/address/county.js index 4d136129..e2263b34 100644 --- a/lib/locales/en/address/county.js +++ b/lib/locales/en/address/county.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Avon", "Bedfordshire", "Berkshire", diff --git a/lib/locales/en/address/default_country.js b/lib/locales/en/address/default_country.js index 238c0490..74abdc04 100644 --- a/lib/locales/en/address/default_country.js +++ b/lib/locales/en/address/default_country.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "United States of America" ]; diff --git a/lib/locales/en/address/direction.js b/lib/locales/en/address/direction.js index 3d7ff312..81447429 100644 --- a/lib/locales/en/address/direction.js +++ b/lib/locales/en/address/direction.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "North", "East", "South", diff --git a/lib/locales/en/address/direction_abbr.js b/lib/locales/en/address/direction_abbr.js index 775ab0ca..a6acafd4 100644 --- a/lib/locales/en/address/direction_abbr.js +++ b/lib/locales/en/address/direction_abbr.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "N", "E", "S", diff --git a/lib/locales/en/address/postcode.js b/lib/locales/en/address/postcode.js index f233d46c..f048d024 100644 --- a/lib/locales/en/address/postcode.js +++ b/lib/locales/en/address/postcode.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "#####", "#####-####" ]; diff --git a/lib/locales/en/address/postcode_by_state.js b/lib/locales/en/address/postcode_by_state.js index f233d46c..f048d024 100644 --- a/lib/locales/en/address/postcode_by_state.js +++ b/lib/locales/en/address/postcode_by_state.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "#####", "#####-####" ]; diff --git a/lib/locales/en/address/secondary_address.js b/lib/locales/en/address/secondary_address.js index cbd6d754..14e12c13 100644 --- a/lib/locales/en/address/secondary_address.js +++ b/lib/locales/en/address/secondary_address.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Apt. ###", "Suite ###" ]; diff --git a/lib/locales/en/address/state.js b/lib/locales/en/address/state.js index 7af9842b..e35bb29b 100644 --- a/lib/locales/en/address/state.js +++ b/lib/locales/en/address/state.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Alabama", "Alaska", "Arizona", diff --git a/lib/locales/en/address/state_abbr.js b/lib/locales/en/address/state_abbr.js index 464757a2..3066c15d 100644 --- a/lib/locales/en/address/state_abbr.js +++ b/lib/locales/en/address/state_abbr.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "AL", "AK", "AZ", diff --git a/lib/locales/en/address/street_address.js b/lib/locales/en/address/street_address.js index 289216e7..d1d25330 100644 --- a/lib/locales/en/address/street_address.js +++ b/lib/locales/en/address/street_address.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "#{building_number} #{street_name}" ]; diff --git a/lib/locales/en/address/street_name.js b/lib/locales/en/address/street_name.js index dfd85dfc..d6a31171 100644 --- a/lib/locales/en/address/street_name.js +++ b/lib/locales/en/address/street_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "#{Name.first_name} #{street_suffix}", "#{Name.last_name} #{street_suffix}" ]; diff --git a/lib/locales/en/address/street_suffix.js b/lib/locales/en/address/street_suffix.js index 45c6cd1a..e6a34d82 100644 --- a/lib/locales/en/address/street_suffix.js +++ b/lib/locales/en/address/street_suffix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Alley", "Avenue", "Branch", diff --git a/lib/locales/en/address/time_zone.js b/lib/locales/en/address/time_zone.js index bfa4d9cc..757cc428 100644 --- a/lib/locales/en/address/time_zone.js +++ b/lib/locales/en/address/time_zone.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Pacific/Midway", "Pacific/Pago_Pago", "Pacific/Honolulu", diff --git a/lib/locales/en/animal/bear.js b/lib/locales/en/animal/bear.js index e2eb5c6b..03d96b8a 100644 --- a/lib/locales/en/animal/bear.js +++ b/lib/locales/en/animal/bear.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Giant panda", "Spectacled bear", "Sun bear", diff --git a/lib/locales/en/animal/bird.js b/lib/locales/en/animal/bird.js index 3c3ea9ef..d189ffa8 100644 --- a/lib/locales/en/animal/bird.js +++ b/lib/locales/en/animal/bird.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Red-throated Loon", "Arctic Loon", "Pacific Loon", diff --git a/lib/locales/en/animal/cat.js b/lib/locales/en/animal/cat.js index c56e8050..3723c9e1 100644 --- a/lib/locales/en/animal/cat.js +++ b/lib/locales/en/animal/cat.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Abyssinian", "American Bobtail", "American Curl", diff --git a/lib/locales/en/animal/cetacean.js b/lib/locales/en/animal/cetacean.js index e8354c42..dc97b352 100644 --- a/lib/locales/en/animal/cetacean.js +++ b/lib/locales/en/animal/cetacean.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Blue Whale", "Fin Whale", "Sei Whale", diff --git a/lib/locales/en/animal/cow.js b/lib/locales/en/animal/cow.js index 80525fff..709a701a 100644 --- a/lib/locales/en/animal/cow.js +++ b/lib/locales/en/animal/cow.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Aberdeen Angus", "Abergele", "Abigar", diff --git a/lib/locales/en/animal/crocodilia.js b/lib/locales/en/animal/crocodilia.js index 2faab2e1..aff9fd91 100644 --- a/lib/locales/en/animal/crocodilia.js +++ b/lib/locales/en/animal/crocodilia.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Alligator mississippiensis", "Chinese Alligator", "Black Caiman", diff --git a/lib/locales/en/animal/dog.js b/lib/locales/en/animal/dog.js index 8427478b..7fcde961 100644 --- a/lib/locales/en/animal/dog.js +++ b/lib/locales/en/animal/dog.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Affenpinscher", "Afghan Hound", "Aidi", diff --git a/lib/locales/en/animal/fish.js b/lib/locales/en/animal/fish.js index 41fc7b17..d4d1177a 100644 --- a/lib/locales/en/animal/fish.js +++ b/lib/locales/en/animal/fish.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Grass carp", "Peruvian anchoveta", "Silver carp", diff --git a/lib/locales/en/animal/horse.js b/lib/locales/en/animal/horse.js index 6f4beac3..a3288227 100644 --- a/lib/locales/en/animal/horse.js +++ b/lib/locales/en/animal/horse.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "American Albino", "Abaco Barb", "Abtenauer", diff --git a/lib/locales/en/animal/insect.js b/lib/locales/en/animal/insect.js index 45b910ae..9766458e 100644 --- a/lib/locales/en/animal/insect.js +++ b/lib/locales/en/animal/insect.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Acacia-ants", "Acorn-plum gall", "Aerial yellowjacket", diff --git a/lib/locales/en/animal/lion.js b/lib/locales/en/animal/lion.js index ed12ffce..c41ec624 100644 --- a/lib/locales/en/animal/lion.js +++ b/lib/locales/en/animal/lion.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Asiatic Lion", "Barbary Lion", "West African Lion", diff --git a/lib/locales/en/animal/rabbit.js b/lib/locales/en/animal/rabbit.js index 35c0f99f..dfaa82bd 100644 --- a/lib/locales/en/animal/rabbit.js +++ b/lib/locales/en/animal/rabbit.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "American", "American Chinchilla", "American Fuzzy Lop", diff --git a/lib/locales/en/animal/snake.js b/lib/locales/en/animal/snake.js index 235c8cb5..753c7384 100644 --- a/lib/locales/en/animal/snake.js +++ b/lib/locales/en/animal/snake.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Viper Adder", "Common adder", "Death Adder", diff --git a/lib/locales/en/animal/type.js b/lib/locales/en/animal/type.js index 1bd02844..6f831af3 100644 --- a/lib/locales/en/animal/type.js +++ b/lib/locales/en/animal/type.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "dog", "cat", "snake", diff --git a/lib/locales/en/app/author.js b/lib/locales/en/app/author.js index 5c9d0a7a..b61662c8 100644 --- a/lib/locales/en/app/author.js +++ b/lib/locales/en/app/author.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "#{Name.name}", "#{Company.name}" ]; diff --git a/lib/locales/en/app/name.js b/lib/locales/en/app/name.js index d7dacdf5..6390221c 100644 --- a/lib/locales/en/app/name.js +++ b/lib/locales/en/app/name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Redhold", "Treeflex", "Trippledex", diff --git a/lib/locales/en/app/version.js b/lib/locales/en/app/version.js index f8879995..24dc3ac2 100644 --- a/lib/locales/en/app/version.js +++ b/lib/locales/en/app/version.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "0.#.#", "0.##", "#.##", diff --git a/lib/locales/en/business/credit_card_expiry_dates.js b/lib/locales/en/business/credit_card_expiry_dates.js index 4667b5f7..39771608 100644 --- a/lib/locales/en/business/credit_card_expiry_dates.js +++ b/lib/locales/en/business/credit_card_expiry_dates.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "2011-10-12", "2012-11-12", "2015-11-11", diff --git a/lib/locales/en/business/credit_card_numbers.js b/lib/locales/en/business/credit_card_numbers.js index 1b27b4f4..2cb17eaa 100644 --- a/lib/locales/en/business/credit_card_numbers.js +++ b/lib/locales/en/business/credit_card_numbers.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "1234-2121-1221-1211", "1212-1221-1121-1234", "1211-1221-1234-2201", diff --git a/lib/locales/en/business/credit_card_types.js b/lib/locales/en/business/credit_card_types.js index 8042844a..59070922 100644 --- a/lib/locales/en/business/credit_card_types.js +++ b/lib/locales/en/business/credit_card_types.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "visa", "mastercard", "americanexpress", diff --git a/lib/locales/en/cell_phone/formats.js b/lib/locales/en/cell_phone/formats.js index 09a6d2a5..4d69db3b 100644 --- a/lib/locales/en/cell_phone/formats.js +++ b/lib/locales/en/cell_phone/formats.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "###-###-####", "(###) ###-####", "1-###-###-####", diff --git a/lib/locales/en/commerce/color.js b/lib/locales/en/commerce/color.js index e32e7ac7..28cfc24e 100644 --- a/lib/locales/en/commerce/color.js +++ b/lib/locales/en/commerce/color.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "red", "green", "blue", diff --git a/lib/locales/en/commerce/department.js b/lib/locales/en/commerce/department.js index 45fbb0f4..df8e15a9 100644 --- a/lib/locales/en/commerce/department.js +++ b/lib/locales/en/commerce/department.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Books", "Movies", "Music", diff --git a/lib/locales/en/commerce/product_description.js b/lib/locales/en/commerce/product_description.js index 05ab517c..007e5c44 100644 --- a/lib/locales/en/commerce/product_description.js +++ b/lib/locales/en/commerce/product_description.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Ergonomic executive chair upholstered in bonded black leather and PVC padded seat and back for all-day comfort and support", "The automobile layout consists of a front-engine design, with transaxle-type transmissions mounted at the rear of the engine and four wheel drive", "New ABC 13 9370, 13.3, 5th Gen CoreA5-8250U, 8GB RAM, 256GB SSD, power UHD Graphics, OS 10 Home, OS Office A & J 2016", diff --git a/lib/locales/en/commerce/product_name.js b/lib/locales/en/commerce/product_name.js index 2bd1b2aa..cd0f37ad 100644 --- a/lib/locales/en/commerce/product_name.js +++ b/lib/locales/en/commerce/product_name.js @@ -1,4 +1,4 @@ -module["exports"] = { +module.exports = { "adjective": [ "Small", "Ergonomic", diff --git a/lib/locales/en/company/adjective.js b/lib/locales/en/company/adjective.js index bcfd8abe..486ef4e4 100644 --- a/lib/locales/en/company/adjective.js +++ b/lib/locales/en/company/adjective.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Adaptive", "Advanced", "Ameliorated", diff --git a/lib/locales/en/company/bs_adjective.js b/lib/locales/en/company/bs_adjective.js index 87bc9d39..08bafd47 100644 --- a/lib/locales/en/company/bs_adjective.js +++ b/lib/locales/en/company/bs_adjective.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "clicks-and-mortar", "value-added", "vertical", diff --git a/lib/locales/en/company/bs_noun.js b/lib/locales/en/company/bs_noun.js index 7b98ccc2..630d4bdb 100644 --- a/lib/locales/en/company/bs_noun.js +++ b/lib/locales/en/company/bs_noun.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "synergies", "web-readiness", "paradigms", diff --git a/lib/locales/en/company/bs_verb.js b/lib/locales/en/company/bs_verb.js index 42e47b27..cebff65a 100644 --- a/lib/locales/en/company/bs_verb.js +++ b/lib/locales/en/company/bs_verb.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "implement", "utilize", "integrate", diff --git a/lib/locales/en/company/descriptor.js b/lib/locales/en/company/descriptor.js index 0746db82..e2abae1c 100644 --- a/lib/locales/en/company/descriptor.js +++ b/lib/locales/en/company/descriptor.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "24 hour", "24/7", "3rd generation", diff --git a/lib/locales/en/company/name.js b/lib/locales/en/company/name.js index f3cb17c8..9e7685ad 100644 --- a/lib/locales/en/company/name.js +++ b/lib/locales/en/company/name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "#{Name.last_name} #{suffix}", "#{Name.last_name}-#{Name.last_name}", "#{Name.last_name}, #{Name.last_name} and #{Name.last_name}" diff --git a/lib/locales/en/company/noun.js b/lib/locales/en/company/noun.js index 0a27b357..8a09a145 100644 --- a/lib/locales/en/company/noun.js +++ b/lib/locales/en/company/noun.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "ability", "access", "adapter", diff --git a/lib/locales/en/company/suffix.js b/lib/locales/en/company/suffix.js index a5351dba..040cee5b 100644 --- a/lib/locales/en/company/suffix.js +++ b/lib/locales/en/company/suffix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Inc", "and Sons", "LLC", diff --git a/lib/locales/en/database/collation.js b/lib/locales/en/database/collation.js index fe597128..e273575c 100644 --- a/lib/locales/en/database/collation.js +++ b/lib/locales/en/database/collation.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "utf8_unicode_ci", "utf8_general_ci", "utf8_bin", diff --git a/lib/locales/en/database/column.js b/lib/locales/en/database/column.js index 1d0e5563..08250036 100644 --- a/lib/locales/en/database/column.js +++ b/lib/locales/en/database/column.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "id", "title", "name", diff --git a/lib/locales/en/database/engine.js b/lib/locales/en/database/engine.js index b75f493e..b0bf01a9 100644 --- a/lib/locales/en/database/engine.js +++ b/lib/locales/en/database/engine.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "InnoDB", "MyISAM", "MEMORY", diff --git a/lib/locales/en/database/type.js b/lib/locales/en/database/type.js index a6cdd08a..9a89e288 100644 --- a/lib/locales/en/database/type.js +++ b/lib/locales/en/database/type.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "int", "varchar", "text", diff --git a/lib/locales/en/date/index.js b/lib/locales/en/date/index.js index e53e73ee..f95b1507 100644 --- a/lib/locales/en/date/index.js +++ b/lib/locales/en/date/index.js @@ -1,4 +1,4 @@ -const date = {}; -module["exports"] = date; +var date = {}; +module.exports = date; date.month = require("./month"); date.weekday = require("./weekday"); diff --git a/lib/locales/en/date/month.js b/lib/locales/en/date/month.js index 14416723..cf21cd85 100644 --- a/lib/locales/en/date/month.js +++ b/lib/locales/en/date/month.js @@ -1,5 +1,5 @@ // Source: http://unicode.org/cldr/trac/browser/tags/release-27/common/main/en.xml#L1799 -module["exports"] = { +module.exports = { wide: [ "January", "February", diff --git a/lib/locales/en/date/weekday.js b/lib/locales/en/date/weekday.js index f16cb0bf..cb2e02fc 100644 --- a/lib/locales/en/date/weekday.js +++ b/lib/locales/en/date/weekday.js @@ -1,5 +1,5 @@ // Source: http://unicode.org/cldr/trac/browser/tags/release-27/common/main/en.xml#L1847 -module["exports"] = { +module.exports = { wide: [ "Sunday", "Monday", diff --git a/lib/locales/en/finance/account_type.js b/lib/locales/en/finance/account_type.js index 1f73c72c..e765dee9 100644 --- a/lib/locales/en/finance/account_type.js +++ b/lib/locales/en/finance/account_type.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Checking", "Savings", "Money Market", diff --git a/lib/locales/en/finance/credit_card/american_express.js b/lib/locales/en/finance/credit_card/american_express.js index c63363ab..8860c713 100644 --- a/lib/locales/en/finance/credit_card/american_express.js +++ b/lib/locales/en/finance/credit_card/american_express.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "34##-######-####L", "37##-######-####L" ]; diff --git a/lib/locales/en/finance/credit_card/diners_club.js b/lib/locales/en/finance/credit_card/diners_club.js index 4fb5d7ca..237a3742 100644 --- a/lib/locales/en/finance/credit_card/diners_club.js +++ b/lib/locales/en/finance/credit_card/diners_club.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "30[0-5]#-######-###L", "36##-######-###L", "54##-####-####-###L" diff --git a/lib/locales/en/finance/credit_card/discover.js b/lib/locales/en/finance/credit_card/discover.js index cd84e840..dea47d19 100644 --- a/lib/locales/en/finance/credit_card/discover.js +++ b/lib/locales/en/finance/credit_card/discover.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "6011-####-####-###L", "65##-####-####-###L", "64[4-9]#-####-####-###L", diff --git a/lib/locales/en/finance/credit_card/instapayment.js b/lib/locales/en/finance/credit_card/instapayment.js index 545c5380..04789bbb 100644 --- a/lib/locales/en/finance/credit_card/instapayment.js +++ b/lib/locales/en/finance/credit_card/instapayment.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "63[7-9]#-####-####-###L" ]; diff --git a/lib/locales/en/finance/credit_card/jcb.js b/lib/locales/en/finance/credit_card/jcb.js index da396ebd..a044a5ba 100644 --- a/lib/locales/en/finance/credit_card/jcb.js +++ b/lib/locales/en/finance/credit_card/jcb.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "3528-####-####-###L", "3529-####-####-###L", "35[3-8]#-####-####-###L" diff --git a/lib/locales/en/finance/credit_card/laser.js b/lib/locales/en/finance/credit_card/laser.js index 822c7b35..22e888a9 100644 --- a/lib/locales/en/finance/credit_card/laser.js +++ b/lib/locales/en/finance/credit_card/laser.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "6304###########L", "6706###########L", "6771###########L", diff --git a/lib/locales/en/finance/credit_card/maestro.js b/lib/locales/en/finance/credit_card/maestro.js index f652dd76..e60fb879 100644 --- a/lib/locales/en/finance/credit_card/maestro.js +++ b/lib/locales/en/finance/credit_card/maestro.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "5018-#{4}-#{4}-#{3}L", "5020-#{4}-#{4}-#{3}L", "5038-#{4}-#{4}-#{3}L", diff --git a/lib/locales/en/finance/credit_card/mastercard.js b/lib/locales/en/finance/credit_card/mastercard.js index 81502c01..c358c74a 100644 --- a/lib/locales/en/finance/credit_card/mastercard.js +++ b/lib/locales/en/finance/credit_card/mastercard.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "5[1-5]##-####-####-###L", "6771-89##-####-###L" ]; diff --git a/lib/locales/en/finance/credit_card/solo.js b/lib/locales/en/finance/credit_card/solo.js index 47d0d119..a8c73adc 100644 --- a/lib/locales/en/finance/credit_card/solo.js +++ b/lib/locales/en/finance/credit_card/solo.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "6767-####-####-###L", "6767-####-####-####-#L", "6767-####-####-####-##L" diff --git a/lib/locales/en/finance/credit_card/switch.js b/lib/locales/en/finance/credit_card/switch.js index 1bae8278..2efbfdc9 100644 --- a/lib/locales/en/finance/credit_card/switch.js +++ b/lib/locales/en/finance/credit_card/switch.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "6759-####-####-###L", "6759-####-####-####-#L", "6759-####-####-####-##L" diff --git a/lib/locales/en/finance/credit_card/visa.js b/lib/locales/en/finance/credit_card/visa.js index 760f921d..95f2aafb 100644 --- a/lib/locales/en/finance/credit_card/visa.js +++ b/lib/locales/en/finance/credit_card/visa.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "4###########L", "4###-####-####-###L" ]; diff --git a/lib/locales/en/finance/currency.js b/lib/locales/en/finance/currency.js index 3008758f..1f4529c8 100644 --- a/lib/locales/en/finance/currency.js +++ b/lib/locales/en/finance/currency.js @@ -1,4 +1,4 @@ -module["exports"] = { +module.exports = { "UAE Dirham": { "code": "AED", "symbol": "" diff --git a/lib/locales/en/finance/transaction_type.js b/lib/locales/en/finance/transaction_type.js index e3d74dbe..ba224cb1 100644 --- a/lib/locales/en/finance/transaction_type.js +++ b/lib/locales/en/finance/transaction_type.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "deposit", "withdrawal", "payment", diff --git a/lib/locales/en/hacker/abbreviation.js b/lib/locales/en/hacker/abbreviation.js index ca41f5a4..0ff2cc6b 100644 --- a/lib/locales/en/hacker/abbreviation.js +++ b/lib/locales/en/hacker/abbreviation.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "TCP", "HTTP", "SDD", diff --git a/lib/locales/en/hacker/adjective.js b/lib/locales/en/hacker/adjective.js index 17e3d444..9cee92ad 100644 --- a/lib/locales/en/hacker/adjective.js +++ b/lib/locales/en/hacker/adjective.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "auxiliary", "primary", "back-end", diff --git a/lib/locales/en/hacker/ingverb.js b/lib/locales/en/hacker/ingverb.js index 5723d50c..975d358e 100644 --- a/lib/locales/en/hacker/ingverb.js +++ b/lib/locales/en/hacker/ingverb.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "backing up", "bypassing", "hacking", diff --git a/lib/locales/en/hacker/noun.js b/lib/locales/en/hacker/noun.js index 141b794a..04246164 100644 --- a/lib/locales/en/hacker/noun.js +++ b/lib/locales/en/hacker/noun.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "driver", "protocol", "bandwidth", diff --git a/lib/locales/en/hacker/phrase.js b/lib/locales/en/hacker/phrase.js index 60599f4e..bc13c796 100644 --- a/lib/locales/en/hacker/phrase.js +++ b/lib/locales/en/hacker/phrase.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "If we {{verb}} the {{noun}}, we can get to the {{abbreviation}} {{noun}} through the {{adjective}} {{abbreviation}} {{noun}}!", "We need to {{verb}} the {{adjective}} {{abbreviation}} {{noun}}!", "Try to {{verb}} the {{abbreviation}} {{noun}}, maybe it will {{verb}} the {{adjective}} {{noun}}!", diff --git a/lib/locales/en/hacker/verb.js b/lib/locales/en/hacker/verb.js index e14b7e7d..17309958 100644 --- a/lib/locales/en/hacker/verb.js +++ b/lib/locales/en/hacker/verb.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "back up", "bypass", "hack", diff --git a/lib/locales/en/internet/avatar_uri.js b/lib/locales/en/internet/avatar_uri.js index 215f47de..7ec26f27 100644 --- a/lib/locales/en/internet/avatar_uri.js +++ b/lib/locales/en/internet/avatar_uri.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "0therplanet_128.jpg", "1markiz_128.jpg", "2fockus_128.jpg", diff --git a/lib/locales/en/internet/domain_suffix.js b/lib/locales/en/internet/domain_suffix.js index 05cbe161..ed7e049c 100644 --- a/lib/locales/en/internet/domain_suffix.js +++ b/lib/locales/en/internet/domain_suffix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "com", "biz", "info", diff --git a/lib/locales/en/internet/example_email.js b/lib/locales/en/internet/example_email.js index 464c6c0e..cdc37a2b 100644 --- a/lib/locales/en/internet/example_email.js +++ b/lib/locales/en/internet/example_email.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "example.org", "example.com", "example.net" diff --git a/lib/locales/en/internet/free_email.js b/lib/locales/en/internet/free_email.js index d6393294..b425345d 100644 --- a/lib/locales/en/internet/free_email.js +++ b/lib/locales/en/internet/free_email.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "gmail.com", "yahoo.com", "hotmail.com" diff --git a/lib/locales/en/lorem/supplemental.js b/lib/locales/en/lorem/supplemental.js index 8fdc2c3e..3fa3aa79 100644 --- a/lib/locales/en/lorem/supplemental.js +++ b/lib/locales/en/lorem/supplemental.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "abbas", "abduco", "abeo", diff --git a/lib/locales/en/lorem/words.js b/lib/locales/en/lorem/words.js index e8c9f7bb..68d1c09c 100644 --- a/lib/locales/en/lorem/words.js +++ b/lib/locales/en/lorem/words.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "alias", "consequatur", "aut", diff --git a/lib/locales/en/music/genre.js b/lib/locales/en/music/genre.js index ea0842e2..e76e2f56 100644 --- a/lib/locales/en/music/genre.js +++ b/lib/locales/en/music/genre.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Rock", "Metal", "Pop", diff --git a/lib/locales/en/name/binary_gender.js b/lib/locales/en/name/binary_gender.js index cc2b16d7..f5a2b068 100644 --- a/lib/locales/en/name/binary_gender.js +++ b/lib/locales/en/name/binary_gender.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Female", "Male" ]; \ No newline at end of file diff --git a/lib/locales/en/name/female_first_name.js b/lib/locales/en/name/female_first_name.js index e03c248f..b1283a6d 100644 --- a/lib/locales/en/name/female_first_name.js +++ b/lib/locales/en/name/female_first_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Mary", "Patricia", "Linda", diff --git a/lib/locales/en/name/first_name.js b/lib/locales/en/name/first_name.js index 75558894..1b893e75 100644 --- a/lib/locales/en/name/first_name.js +++ b/lib/locales/en/name/first_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Aaliyah", "Aaron", "Abagail", diff --git a/lib/locales/en/name/gender.js b/lib/locales/en/name/gender.js index 625960d3..34ff6c1f 100644 --- a/lib/locales/en/name/gender.js +++ b/lib/locales/en/name/gender.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Asexual", "Female to male trans man", "Female to male transgender man", diff --git a/lib/locales/en/name/last_name.js b/lib/locales/en/name/last_name.js index a7defc0c..5d0d5fcd 100644 --- a/lib/locales/en/name/last_name.js +++ b/lib/locales/en/name/last_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Abbott", "Abernathy", "Abshire", diff --git a/lib/locales/en/name/male_first_name.js b/lib/locales/en/name/male_first_name.js index 1174b0dc..30863904 100644 --- a/lib/locales/en/name/male_first_name.js +++ b/lib/locales/en/name/male_first_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "James", "John", "Robert", diff --git a/lib/locales/en/name/name.js b/lib/locales/en/name/name.js index 4d7f698d..37fb714d 100644 --- a/lib/locales/en/name/name.js +++ b/lib/locales/en/name/name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "#{prefix} #{first_name} #{last_name}", "#{first_name} #{last_name} #{suffix}", "#{first_name} #{last_name}", diff --git a/lib/locales/en/name/prefix.js b/lib/locales/en/name/prefix.js index 786eaee9..bfc7882b 100644 --- a/lib/locales/en/name/prefix.js +++ b/lib/locales/en/name/prefix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Mr.", "Mrs.", "Ms.", diff --git a/lib/locales/en/name/suffix.js b/lib/locales/en/name/suffix.js index 544572cb..b6d67399 100644 --- a/lib/locales/en/name/suffix.js +++ b/lib/locales/en/name/suffix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Jr.", "Sr.", "I", diff --git a/lib/locales/en/name/title.js b/lib/locales/en/name/title.js index df4228f3..132659de 100644 --- a/lib/locales/en/name/title.js +++ b/lib/locales/en/name/title.js @@ -1,4 +1,4 @@ -module["exports"] = { +module.exports = { "descriptor": [ "Lead", "Senior", diff --git a/lib/locales/en/phone_number/formats.js b/lib/locales/en/phone_number/formats.js index d3eec219..9722bb11 100644 --- a/lib/locales/en/phone_number/formats.js +++ b/lib/locales/en/phone_number/formats.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "!##-!##-####", "(!##) !##-####", "1-!##-!##-####", diff --git a/lib/locales/en/team/creature.js b/lib/locales/en/team/creature.js index 1c5f3137..f456e3d0 100644 --- a/lib/locales/en/team/creature.js +++ b/lib/locales/en/team/creature.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "ants", "bats", "bears", diff --git a/lib/locales/en/team/name.js b/lib/locales/en/team/name.js index bded21a9..80da3c5f 100644 --- a/lib/locales/en/team/name.js +++ b/lib/locales/en/team/name.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "#{Address.state} #{creature}" ]; diff --git a/lib/locales/en/vehicle/bicycle.js b/lib/locales/en/vehicle/bicycle.js index 519e3525..9c3cf0f0 100644 --- a/lib/locales/en/vehicle/bicycle.js +++ b/lib/locales/en/vehicle/bicycle.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Adventure Road Bicycle", "BMX Bicycle", "City Bicycle", diff --git a/lib/locales/en/vehicle/fuel.js b/lib/locales/en/vehicle/fuel.js index 05e89479..8f30ea33 100644 --- a/lib/locales/en/vehicle/fuel.js +++ b/lib/locales/en/vehicle/fuel.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Diesel", "Electric", "Gasoline", diff --git a/lib/locales/en/vehicle/index.js b/lib/locales/en/vehicle/index.js index cfe5b8a0..90bc7f1d 100644 --- a/lib/locales/en/vehicle/index.js +++ b/lib/locales/en/vehicle/index.js @@ -1,5 +1,5 @@ -const vehicle = {}; -module["exports"] = vehicle; +var vehicle = {}; +module.exports = vehicle; vehicle.manufacturer = require("./manufacturer"); vehicle.model = require("./model"); vehicle.type = require("./vehicle_type"); diff --git a/lib/locales/en/vehicle/manufacturer.js b/lib/locales/en/vehicle/manufacturer.js index d56d5389..f76b05ba 100644 --- a/lib/locales/en/vehicle/manufacturer.js +++ b/lib/locales/en/vehicle/manufacturer.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Aston Martin", "Audi", "Bentley", diff --git a/lib/locales/en/vehicle/model.js b/lib/locales/en/vehicle/model.js index 947d20d0..ee3f115c 100644 --- a/lib/locales/en/vehicle/model.js +++ b/lib/locales/en/vehicle/model.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Fiesta", "Focus", "Taurus", diff --git a/lib/locales/en/vehicle/vehicle_type.js b/lib/locales/en/vehicle/vehicle_type.js index 2472a65b..f6dfe8c6 100644 --- a/lib/locales/en/vehicle/vehicle_type.js +++ b/lib/locales/en/vehicle/vehicle_type.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Cargo Van", "Convertible", "Coupe", diff --git a/lib/locales/en/word/adjective.js b/lib/locales/en/word/adjective.js index dd31b328..5760d01e 100644 --- a/lib/locales/en/word/adjective.js +++ b/lib/locales/en/word/adjective.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "abandoned", "able", "absolute", diff --git a/lib/locales/en/word/adverb.js b/lib/locales/en/word/adverb.js index 742e273c..60a75d40 100644 --- a/lib/locales/en/word/adverb.js +++ b/lib/locales/en/word/adverb.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "abnormally", "absentmindedly", "accidentally", diff --git a/lib/locales/en/word/conjunction.js b/lib/locales/en/word/conjunction.js index eee3442b..e85f64ab 100644 --- a/lib/locales/en/word/conjunction.js +++ b/lib/locales/en/word/conjunction.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "after", "after all", "although", diff --git a/lib/locales/en/word/index.js b/lib/locales/en/word/index.js index 14b32fe5..e335ac86 100644 --- a/lib/locales/en/word/index.js +++ b/lib/locales/en/word/index.js @@ -1,5 +1,5 @@ -const word = {}; -module["exports"] = word; +var word = {}; +module.exports = word; word.adjective = require("./adjective"); word.adverb = require("./adverb"); word.conjunction = require("./conjunction"); diff --git a/lib/locales/en/word/interjection.js b/lib/locales/en/word/interjection.js index 0473101f..15c5a88a 100644 --- a/lib/locales/en/word/interjection.js +++ b/lib/locales/en/word/interjection.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "yuck", "oh", "phooey", diff --git a/lib/locales/en/word/noun.js b/lib/locales/en/word/noun.js index 9bb78abc..599708fb 100644 --- a/lib/locales/en/word/noun.js +++ b/lib/locales/en/word/noun.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "ATM", "CD", "SUV", diff --git a/lib/locales/en/word/preposition.js b/lib/locales/en/word/preposition.js index 9f44de1e..fb9f7165 100644 --- a/lib/locales/en/word/preposition.js +++ b/lib/locales/en/word/preposition.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "a", "abaft", "aboard", diff --git a/lib/locales/en/word/verb.js b/lib/locales/en/word/verb.js index 1dccb2bd..2107e27c 100644 --- a/lib/locales/en/word/verb.js +++ b/lib/locales/en/word/verb.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "abandon", "abase", "abate", diff --git a/lib/locales/en_AU/address/building_number.js b/lib/locales/en_AU/address/building_number.js index 64b7c4e5..97c9a88c 100644 --- a/lib/locales/en_AU/address/building_number.js +++ b/lib/locales/en_AU/address/building_number.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "####", "###", "##" diff --git a/lib/locales/en_AU/address/default_country.js b/lib/locales/en_AU/address/default_country.js index 807e44ac..932f8e9f 100644 --- a/lib/locales/en_AU/address/default_country.js +++ b/lib/locales/en_AU/address/default_country.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "Australia" ]; diff --git a/lib/locales/en_AU/address/postcode.js b/lib/locales/en_AU/address/postcode.js index 5053d539..ec2bc226 100644 --- a/lib/locales/en_AU/address/postcode.js +++ b/lib/locales/en_AU/address/postcode.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "####" ]; diff --git a/lib/locales/en_AU/address/state.js b/lib/locales/en_AU/address/state.js index e779165a..65c3fcd3 100644 --- a/lib/locales/en_AU/address/state.js +++ b/lib/locales/en_AU/address/state.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "New South Wales", "Queensland", "Northern Territory", diff --git a/lib/locales/en_AU/address/state_abbr.js b/lib/locales/en_AU/address/state_abbr.js index 3de0a30f..f9d8b8f2 100644 --- a/lib/locales/en_AU/address/state_abbr.js +++ b/lib/locales/en_AU/address/state_abbr.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "NSW", "QLD", "NT", diff --git a/lib/locales/en_AU/address/street_suffix.js b/lib/locales/en_AU/address/street_suffix.js index 1f9fa2e2..1d00004b 100644 --- a/lib/locales/en_AU/address/street_suffix.js +++ b/lib/locales/en_AU/address/street_suffix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Avenue", "Boulevard", "Circle", diff --git a/lib/locales/en_AU/company/suffix.js b/lib/locales/en_AU/company/suffix.js index 5a10566b..235ad43f 100644 --- a/lib/locales/en_AU/company/suffix.js +++ b/lib/locales/en_AU/company/suffix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Pty Ltd", "and Sons", "Corp", diff --git a/lib/locales/en_AU/internet/domain_suffix.js b/lib/locales/en_AU/internet/domain_suffix.js index 9cd2e22a..a2f49c34 100644 --- a/lib/locales/en_AU/internet/domain_suffix.js +++ b/lib/locales/en_AU/internet/domain_suffix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "com.au", "com", "net.au", diff --git a/lib/locales/en_AU/name/first_name.js b/lib/locales/en_AU/name/first_name.js index b9f575b1..e3f34b76 100644 --- a/lib/locales/en_AU/name/first_name.js +++ b/lib/locales/en_AU/name/first_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "William", "Jack", "Oliver", diff --git a/lib/locales/en_AU/name/last_name.js b/lib/locales/en_AU/name/last_name.js index 1b0d339c..3cc6844c 100644 --- a/lib/locales/en_AU/name/last_name.js +++ b/lib/locales/en_AU/name/last_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Smith", "Jones", "Williams", diff --git a/lib/locales/en_AU/phone_number/formats.js b/lib/locales/en_AU/phone_number/formats.js index 7b353239..aef274da 100644 --- a/lib/locales/en_AU/phone_number/formats.js +++ b/lib/locales/en_AU/phone_number/formats.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "0# #### ####", "+61 # #### ####", "04## ### ###", diff --git a/lib/locales/en_AU_ocker/address/building_number.js b/lib/locales/en_AU_ocker/address/building_number.js index 64b7c4e5..97c9a88c 100644 --- a/lib/locales/en_AU_ocker/address/building_number.js +++ b/lib/locales/en_AU_ocker/address/building_number.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "####", "###", "##" diff --git a/lib/locales/en_AU_ocker/address/city.js b/lib/locales/en_AU_ocker/address/city.js index f014e156..937dee17 100644 --- a/lib/locales/en_AU_ocker/address/city.js +++ b/lib/locales/en_AU_ocker/address/city.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "#{city_prefix}" ]; diff --git a/lib/locales/en_AU_ocker/address/city_prefix.js b/lib/locales/en_AU_ocker/address/city_prefix.js index c39eca19..371554fb 100644 --- a/lib/locales/en_AU_ocker/address/city_prefix.js +++ b/lib/locales/en_AU_ocker/address/city_prefix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Bondi", "Burleigh Heads", "Carlton", diff --git a/lib/locales/en_AU_ocker/address/default_country.js b/lib/locales/en_AU_ocker/address/default_country.js index 807e44ac..932f8e9f 100644 --- a/lib/locales/en_AU_ocker/address/default_country.js +++ b/lib/locales/en_AU_ocker/address/default_country.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "Australia" ]; diff --git a/lib/locales/en_AU_ocker/address/postcode.js b/lib/locales/en_AU_ocker/address/postcode.js index 548bbd8a..1383246f 100644 --- a/lib/locales/en_AU_ocker/address/postcode.js +++ b/lib/locales/en_AU_ocker/address/postcode.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "0###", "2###", "3###", diff --git a/lib/locales/en_AU_ocker/address/region.js b/lib/locales/en_AU_ocker/address/region.js index 22803f7b..13ae7ec5 100644 --- a/lib/locales/en_AU_ocker/address/region.js +++ b/lib/locales/en_AU_ocker/address/region.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "South East Queensland", "Wide Bay Burnett", "Margaret River", diff --git a/lib/locales/en_AU_ocker/address/state.js b/lib/locales/en_AU_ocker/address/state.js index e779165a..65c3fcd3 100644 --- a/lib/locales/en_AU_ocker/address/state.js +++ b/lib/locales/en_AU_ocker/address/state.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "New South Wales", "Queensland", "Northern Territory", diff --git a/lib/locales/en_AU_ocker/address/state_abbr.js b/lib/locales/en_AU_ocker/address/state_abbr.js index 3de0a30f..f9d8b8f2 100644 --- a/lib/locales/en_AU_ocker/address/state_abbr.js +++ b/lib/locales/en_AU_ocker/address/state_abbr.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "NSW", "QLD", "NT", diff --git a/lib/locales/en_AU_ocker/address/street_name.js b/lib/locales/en_AU_ocker/address/street_name.js index 7debe2ae..a6b5ac1d 100644 --- a/lib/locales/en_AU_ocker/address/street_name.js +++ b/lib/locales/en_AU_ocker/address/street_name.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "#{street_root}" ]; diff --git a/lib/locales/en_AU_ocker/address/street_root.js b/lib/locales/en_AU_ocker/address/street_root.js index 250b7358..1926cdf7 100644 --- a/lib/locales/en_AU_ocker/address/street_root.js +++ b/lib/locales/en_AU_ocker/address/street_root.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Ramsay Street", "Bonnie Doon", "Cavill Avenue", diff --git a/lib/locales/en_AU_ocker/address/street_suffix.js b/lib/locales/en_AU_ocker/address/street_suffix.js index 1f9fa2e2..1d00004b 100644 --- a/lib/locales/en_AU_ocker/address/street_suffix.js +++ b/lib/locales/en_AU_ocker/address/street_suffix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Avenue", "Boulevard", "Circle", diff --git a/lib/locales/en_AU_ocker/company/suffix.js b/lib/locales/en_AU_ocker/company/suffix.js index 5a10566b..235ad43f 100644 --- a/lib/locales/en_AU_ocker/company/suffix.js +++ b/lib/locales/en_AU_ocker/company/suffix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Pty Ltd", "and Sons", "Corp", diff --git a/lib/locales/en_AU_ocker/internet/domain_suffix.js b/lib/locales/en_AU_ocker/internet/domain_suffix.js index 9cd2e22a..a2f49c34 100644 --- a/lib/locales/en_AU_ocker/internet/domain_suffix.js +++ b/lib/locales/en_AU_ocker/internet/domain_suffix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "com.au", "com", "net.au", diff --git a/lib/locales/en_AU_ocker/name/first_name.js b/lib/locales/en_AU_ocker/name/first_name.js index a7e0a7ad..365de656 100644 --- a/lib/locales/en_AU_ocker/name/first_name.js +++ b/lib/locales/en_AU_ocker/name/first_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Charlotte", "Ava", "Chloe", diff --git a/lib/locales/en_AU_ocker/name/last_name.js b/lib/locales/en_AU_ocker/name/last_name.js index ded4d852..464fff30 100644 --- a/lib/locales/en_AU_ocker/name/last_name.js +++ b/lib/locales/en_AU_ocker/name/last_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Smith", "Jones", "Williams", diff --git a/lib/locales/en_AU_ocker/name/ocker_first_name.js b/lib/locales/en_AU_ocker/name/ocker_first_name.js index 7c964c8a..c84be698 100644 --- a/lib/locales/en_AU_ocker/name/ocker_first_name.js +++ b/lib/locales/en_AU_ocker/name/ocker_first_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Bazza", "Bluey", "Davo", diff --git a/lib/locales/en_AU_ocker/phone_number/formats.js b/lib/locales/en_AU_ocker/phone_number/formats.js index 7b353239..aef274da 100644 --- a/lib/locales/en_AU_ocker/phone_number/formats.js +++ b/lib/locales/en_AU_ocker/phone_number/formats.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "0# #### ####", "+61 # #### ####", "04## ### ###", diff --git a/lib/locales/en_BORK/lorem/words.js b/lib/locales/en_BORK/lorem/words.js index 648df02e..23f29379 100644 --- a/lib/locales/en_BORK/lorem/words.js +++ b/lib/locales/en_BORK/lorem/words.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Boot", "I", "Nu", diff --git a/lib/locales/en_CA/address/default_country.js b/lib/locales/en_CA/address/default_country.js index 468d1e3c..3bee5efe 100644 --- a/lib/locales/en_CA/address/default_country.js +++ b/lib/locales/en_CA/address/default_country.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "Canada" ]; diff --git a/lib/locales/en_CA/address/postcode.js b/lib/locales/en_CA/address/postcode.js index 0ea6945c..17774acb 100644 --- a/lib/locales/en_CA/address/postcode.js +++ b/lib/locales/en_CA/address/postcode.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "A#? #?#", "B#? #?#", "C#? #?#", diff --git a/lib/locales/en_CA/address/state.js b/lib/locales/en_CA/address/state.js index 0c20a6d0..e2019b08 100644 --- a/lib/locales/en_CA/address/state.js +++ b/lib/locales/en_CA/address/state.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Alberta", "British Columbia", "Manitoba", diff --git a/lib/locales/en_CA/address/state_abbr.js b/lib/locales/en_CA/address/state_abbr.js index c1bd6571..a319bda9 100644 --- a/lib/locales/en_CA/address/state_abbr.js +++ b/lib/locales/en_CA/address/state_abbr.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "AB", "BC", "MB", diff --git a/lib/locales/en_CA/internet/domain_suffix.js b/lib/locales/en_CA/internet/domain_suffix.js index 1d2b49c4..ba1257c8 100644 --- a/lib/locales/en_CA/internet/domain_suffix.js +++ b/lib/locales/en_CA/internet/domain_suffix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "ca", "com", "biz", diff --git a/lib/locales/en_CA/internet/free_email.js b/lib/locales/en_CA/internet/free_email.js index a2b6826c..17f53926 100644 --- a/lib/locales/en_CA/internet/free_email.js +++ b/lib/locales/en_CA/internet/free_email.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "gmail.com", "yahoo.ca", "hotmail.com" diff --git a/lib/locales/en_CA/phone_number/formats.js b/lib/locales/en_CA/phone_number/formats.js index c5b85ebe..de9539fd 100644 --- a/lib/locales/en_CA/phone_number/formats.js +++ b/lib/locales/en_CA/phone_number/formats.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "!##-!##-####", "(!##)!##-####", "!##.!##.####", diff --git a/lib/locales/en_GB/address/county.js b/lib/locales/en_GB/address/county.js index 10c6fb9e..27086013 100644 --- a/lib/locales/en_GB/address/county.js +++ b/lib/locales/en_GB/address/county.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Avon", "Bedfordshire", "Berkshire", diff --git a/lib/locales/en_GB/address/default_country.js b/lib/locales/en_GB/address/default_country.js index 0e42f326..bfe1894b 100644 --- a/lib/locales/en_GB/address/default_country.js +++ b/lib/locales/en_GB/address/default_country.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "England", "Scotland", "Wales", diff --git a/lib/locales/en_GB/address/postcode.js b/lib/locales/en_GB/address/postcode.js index 29ae3ee5..20459dba 100644 --- a/lib/locales/en_GB/address/postcode.js +++ b/lib/locales/en_GB/address/postcode.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "??# #??", "??## #??", ]; diff --git a/lib/locales/en_GB/address/uk_country.js b/lib/locales/en_GB/address/uk_country.js index 0e42f326..bfe1894b 100644 --- a/lib/locales/en_GB/address/uk_country.js +++ b/lib/locales/en_GB/address/uk_country.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "England", "Scotland", "Wales", diff --git a/lib/locales/en_GB/cell_phone/formats.js b/lib/locales/en_GB/cell_phone/formats.js index f0093f3d..c505aaa6 100644 --- a/lib/locales/en_GB/cell_phone/formats.js +++ b/lib/locales/en_GB/cell_phone/formats.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "074## ######", "075## ######", "076## ######", diff --git a/lib/locales/en_GB/internet/domain_suffix.js b/lib/locales/en_GB/internet/domain_suffix.js index 59a137aa..fb0f4aaa 100644 --- a/lib/locales/en_GB/internet/domain_suffix.js +++ b/lib/locales/en_GB/internet/domain_suffix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "co.uk", "com", "biz", diff --git a/lib/locales/en_GB/phone_number/formats.js b/lib/locales/en_GB/phone_number/formats.js index b8164833..d265f5ea 100644 --- a/lib/locales/en_GB/phone_number/formats.js +++ b/lib/locales/en_GB/phone_number/formats.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "01#### #####", "01### ######", "01#1 ### ####", diff --git a/lib/locales/en_GH/address/building_number.js b/lib/locales/en_GH/address/building_number.js index 8f67cb33..f98bf3de 100644 --- a/lib/locales/en_GH/address/building_number.js +++ b/lib/locales/en_GH/address/building_number.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "###", "##", "#" diff --git a/lib/locales/en_GH/address/city.js b/lib/locales/en_GH/address/city.js index d62eafb1..14b927cb 100644 --- a/lib/locales/en_GH/address/city.js +++ b/lib/locales/en_GH/address/city.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "#{city_name}" ]; diff --git a/lib/locales/en_GH/address/city_name.js b/lib/locales/en_GH/address/city_name.js index e1ee396b..eabb6499 100644 --- a/lib/locales/en_GH/address/city_name.js +++ b/lib/locales/en_GH/address/city_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Goaso", "Hwidiem", "Kenyasi", diff --git a/lib/locales/en_GH/address/default_country.js b/lib/locales/en_GH/address/default_country.js index e1f837a6..b3796bc3 100644 --- a/lib/locales/en_GH/address/default_country.js +++ b/lib/locales/en_GH/address/default_country.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "Ghana", ]; diff --git a/lib/locales/en_GH/address/postcode.js b/lib/locales/en_GH/address/postcode.js index 5755b00d..80680d40 100644 --- a/lib/locales/en_GH/address/postcode.js +++ b/lib/locales/en_GH/address/postcode.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "??-###-####", "??-####-####", ]; diff --git a/lib/locales/en_GH/address/state.js b/lib/locales/en_GH/address/state.js index e2aa5dfc..04cc7b3a 100644 --- a/lib/locales/en_GH/address/state.js +++ b/lib/locales/en_GH/address/state.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ 'Ashanti', 'Brong Ahafo', 'Bono East', diff --git a/lib/locales/en_GH/address/street_address.js b/lib/locales/en_GH/address/street_address.js index 289216e7..d1d25330 100644 --- a/lib/locales/en_GH/address/street_address.js +++ b/lib/locales/en_GH/address/street_address.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "#{building_number} #{street_name}" ]; diff --git a/lib/locales/en_GH/address/street_name.js b/lib/locales/en_GH/address/street_name.js index d1f83dee..46637384 100644 --- a/lib/locales/en_GH/address/street_name.js +++ b/lib/locales/en_GH/address/street_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "#{Name.last_name} #{street_suffix}", "#{street_prefix} #{street_suffix}", ]; diff --git a/lib/locales/en_GH/address/street_prefix.js b/lib/locales/en_GH/address/street_prefix.js index 2a15f328..77f0bf77 100644 --- a/lib/locales/en_GH/address/street_prefix.js +++ b/lib/locales/en_GH/address/street_prefix.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "Boame", ]; diff --git a/lib/locales/en_GH/address/street_suffix.js b/lib/locales/en_GH/address/street_suffix.js index a370fd62..73ce6be1 100644 --- a/lib/locales/en_GH/address/street_suffix.js +++ b/lib/locales/en_GH/address/street_suffix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ 'Link', 'Lane', 'Road', diff --git a/lib/locales/en_GH/company/name.js b/lib/locales/en_GH/company/name.js index cc1e6165..862a7992 100644 --- a/lib/locales/en_GH/company/name.js +++ b/lib/locales/en_GH/company/name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "#{Name.last_name} #{suffix}", "#{Name.last_name} and #{Name.last_name}" ]; diff --git a/lib/locales/en_GH/company/suffix.js b/lib/locales/en_GH/company/suffix.js index ad14114e..09163cb0 100644 --- a/lib/locales/en_GH/company/suffix.js +++ b/lib/locales/en_GH/company/suffix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Venture", "Ltd", ]; diff --git a/lib/locales/en_GH/internet/domain_suffix.js b/lib/locales/en_GH/internet/domain_suffix.js index d19b118f..ec47b7f3 100644 --- a/lib/locales/en_GH/internet/domain_suffix.js +++ b/lib/locales/en_GH/internet/domain_suffix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ 'com.gh', 'edu.gh', 'gov.gh', diff --git a/lib/locales/en_GH/name/female_first_name.js b/lib/locales/en_GH/name/female_first_name.js index fbc32fdd..7a31868e 100644 --- a/lib/locales/en_GH/name/female_first_name.js +++ b/lib/locales/en_GH/name/female_first_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ 'Aba', 'Abena', 'Abigail', diff --git a/lib/locales/en_GH/name/first_name.js b/lib/locales/en_GH/name/first_name.js index 756b4dc1..fdf9c70f 100644 --- a/lib/locales/en_GH/name/first_name.js +++ b/lib/locales/en_GH/name/first_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ '#{female_first_name}', '#{male_first_name}', ]; \ No newline at end of file diff --git a/lib/locales/en_GH/name/last_name.js b/lib/locales/en_GH/name/last_name.js index bd62c1d1..7d964d04 100644 --- a/lib/locales/en_GH/name/last_name.js +++ b/lib/locales/en_GH/name/last_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ 'Acheampong', 'Adadevoh', 'Adomah', diff --git a/lib/locales/en_GH/name/male_first_name.js b/lib/locales/en_GH/name/male_first_name.js index 75320fd0..14faf015 100644 --- a/lib/locales/en_GH/name/male_first_name.js +++ b/lib/locales/en_GH/name/male_first_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ 'Aaron', 'Abeiku', 'Adam', diff --git a/lib/locales/en_GH/name/name.js b/lib/locales/en_GH/name/name.js index 920d65fa..7134d00f 100644 --- a/lib/locales/en_GH/name/name.js +++ b/lib/locales/en_GH/name/name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "#{female_first_name} #{last_name}", "#{female_first_name} #{last_name}-#{last_name}", "#{male_first_name} #{last_name}", diff --git a/lib/locales/en_GH/phone_number/formats.js b/lib/locales/en_GH/phone_number/formats.js index 6d3be9ad..66ac07a9 100644 --- a/lib/locales/en_GH/phone_number/formats.js +++ b/lib/locales/en_GH/phone_number/formats.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ '020#######', '023#######', '024#######', diff --git a/lib/locales/en_IE/address/county.js b/lib/locales/en_IE/address/county.js index 59e32a26..1e802a99 100644 --- a/lib/locales/en_IE/address/county.js +++ b/lib/locales/en_IE/address/county.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Carlow", "Cavan", "Clare", diff --git a/lib/locales/en_IE/address/default_country.js b/lib/locales/en_IE/address/default_country.js index b7242104..b00360a7 100644 --- a/lib/locales/en_IE/address/default_country.js +++ b/lib/locales/en_IE/address/default_country.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "Ireland" ]; diff --git a/lib/locales/en_IE/cell_phone/formats.js b/lib/locales/en_IE/cell_phone/formats.js index bbb46a2e..dc6f6617 100644 --- a/lib/locales/en_IE/cell_phone/formats.js +++ b/lib/locales/en_IE/cell_phone/formats.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "082 ### ####", "083 ### ####", "085 ### ####", diff --git a/lib/locales/en_IE/internet/domain_suffix.js b/lib/locales/en_IE/internet/domain_suffix.js index 6fb07f98..ca3e58ae 100644 --- a/lib/locales/en_IE/internet/domain_suffix.js +++ b/lib/locales/en_IE/internet/domain_suffix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "ie", "com", "net", diff --git a/lib/locales/en_IE/phone_number/formats.js b/lib/locales/en_IE/phone_number/formats.js index 63884aac..c28dfa9c 100644 --- a/lib/locales/en_IE/phone_number/formats.js +++ b/lib/locales/en_IE/phone_number/formats.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "01 #######", "021 #######", "022 #######", diff --git a/lib/locales/en_IND/address/city.js b/lib/locales/en_IND/address/city.js index 61e86dda..f1383a76 100644 --- a/lib/locales/en_IND/address/city.js +++ b/lib/locales/en_IND/address/city.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "#{city_name}" ]; diff --git a/lib/locales/en_IND/address/city_name.js b/lib/locales/en_IND/address/city_name.js index b8a6362f..ece18df5 100644 --- a/lib/locales/en_IND/address/city_name.js +++ b/lib/locales/en_IND/address/city_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Achalpur", "Achhnera", "Adalaj", diff --git a/lib/locales/en_IND/address/default_country.js b/lib/locales/en_IND/address/default_country.js index ee99e366..17ed5916 100644 --- a/lib/locales/en_IND/address/default_country.js +++ b/lib/locales/en_IND/address/default_country.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "India", "Indian Republic", "Bharat", diff --git a/lib/locales/en_IND/address/index.js b/lib/locales/en_IND/address/index.js index e0e72b0a..52328f72 100644 --- a/lib/locales/en_IND/address/index.js +++ b/lib/locales/en_IND/address/index.js @@ -1,5 +1,5 @@ -const address = {}; -module["exports"] = address; +var address = {}; +module.exports = address; address.postcode = require("./postcode"); address.state = require("./state"); address.state_abbr = require("./state_abbr"); diff --git a/lib/locales/en_IND/address/postcode.js b/lib/locales/en_IND/address/postcode.js index 26b9b99f..38386fc7 100644 --- a/lib/locales/en_IND/address/postcode.js +++ b/lib/locales/en_IND/address/postcode.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "### ###" ]; diff --git a/lib/locales/en_IND/address/state.js b/lib/locales/en_IND/address/state.js index 8b2746a9..fbb0f079 100644 --- a/lib/locales/en_IND/address/state.js +++ b/lib/locales/en_IND/address/state.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Andaman and Nicobar Islands", "Andra Pradesh", "Arunachal Pradesh", diff --git a/lib/locales/en_IND/address/state_abbr.js b/lib/locales/en_IND/address/state_abbr.js index 3f46ea01..f70c9c2f 100644 --- a/lib/locales/en_IND/address/state_abbr.js +++ b/lib/locales/en_IND/address/state_abbr.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "AN", "AP", "AR", diff --git a/lib/locales/en_IND/company/suffix.js b/lib/locales/en_IND/company/suffix.js index 41700c9e..422574d5 100644 --- a/lib/locales/en_IND/company/suffix.js +++ b/lib/locales/en_IND/company/suffix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Pvt Ltd", "Limited", "Ltd", diff --git a/lib/locales/en_IND/internet/domain_suffix.js b/lib/locales/en_IND/internet/domain_suffix.js index d4c5dfe9..f6b19c71 100644 --- a/lib/locales/en_IND/internet/domain_suffix.js +++ b/lib/locales/en_IND/internet/domain_suffix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "in", "com", "biz", diff --git a/lib/locales/en_IND/internet/free_email.js b/lib/locales/en_IND/internet/free_email.js index e38c37b0..74049bd2 100644 --- a/lib/locales/en_IND/internet/free_email.js +++ b/lib/locales/en_IND/internet/free_email.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "gmail.com", "yahoo.co.in", "hotmail.com" diff --git a/lib/locales/en_IND/name/first_name.js b/lib/locales/en_IND/name/first_name.js index dca61d6a..496b6274 100644 --- a/lib/locales/en_IND/name/first_name.js +++ b/lib/locales/en_IND/name/first_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Aadrika", "Aanandinii", "Aaratrika", diff --git a/lib/locales/en_IND/name/last_name.js b/lib/locales/en_IND/name/last_name.js index 1af18c13..b414c908 100644 --- a/lib/locales/en_IND/name/last_name.js +++ b/lib/locales/en_IND/name/last_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Abbott", "Achari", "Acharya", diff --git a/lib/locales/en_IND/phone_number/formats.js b/lib/locales/en_IND/phone_number/formats.js index b00f9e03..806e1a40 100644 --- a/lib/locales/en_IND/phone_number/formats.js +++ b/lib/locales/en_IND/phone_number/formats.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "+919##-###-####", "+919#########", "+91-9##-#######", diff --git a/lib/locales/en_NG/address/city.js b/lib/locales/en_NG/address/city.js index f014e156..937dee17 100644 --- a/lib/locales/en_NG/address/city.js +++ b/lib/locales/en_NG/address/city.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "#{city_prefix}" ]; diff --git a/lib/locales/en_NG/address/city_prefix.js b/lib/locales/en_NG/address/city_prefix.js index 47d5e076..36cbe8d3 100644 --- a/lib/locales/en_NG/address/city_prefix.js +++ b/lib/locales/en_NG/address/city_prefix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Abala" , "Abalakiri" , "Bekirikiri" , diff --git a/lib/locales/en_NG/address/default_country.js b/lib/locales/en_NG/address/default_country.js index 711c6c65..0811916c 100644 --- a/lib/locales/en_NG/address/default_country.js +++ b/lib/locales/en_NG/address/default_country.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Nigeria", "Federal Republic of Nigeria", "NG", diff --git a/lib/locales/en_NG/address/postcode.js b/lib/locales/en_NG/address/postcode.js index a437640e..f6b61f85 100644 --- a/lib/locales/en_NG/address/postcode.js +++ b/lib/locales/en_NG/address/postcode.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "#####", "####" ]; diff --git a/lib/locales/en_NG/address/state.js b/lib/locales/en_NG/address/state.js index 87efaa4a..4d519cb0 100644 --- a/lib/locales/en_NG/address/state.js +++ b/lib/locales/en_NG/address/state.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ 'FCT', 'ABIA', 'ADAMAWA', diff --git a/lib/locales/en_NG/company/suffix.js b/lib/locales/en_NG/company/suffix.js index d0f5c80a..ce91dca1 100644 --- a/lib/locales/en_NG/company/suffix.js +++ b/lib/locales/en_NG/company/suffix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Venture", "Ltd", "Plc" diff --git a/lib/locales/en_NG/internet/domain_suffix.js b/lib/locales/en_NG/internet/domain_suffix.js index 35652385..53a4ee7d 100644 --- a/lib/locales/en_NG/internet/domain_suffix.js +++ b/lib/locales/en_NG/internet/domain_suffix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "com.ng", "com", "org.ng", diff --git a/lib/locales/en_NG/name/female_first_name.js b/lib/locales/en_NG/name/female_first_name.js index caa788de..ccf85558 100644 --- a/lib/locales/en_NG/name/female_first_name.js +++ b/lib/locales/en_NG/name/female_first_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ 'Adaugo', 'Akunna', 'Aminat', 'Aminu', 'Augustina', 'Ayebatari', 'Cherechi', 'Chiamaka', 'Chimamanda', 'Chinyere', 'Chizoba', 'Ebiere', 'Efe', diff --git a/lib/locales/en_NG/name/first_name.js b/lib/locales/en_NG/name/first_name.js index b49c9680..760f64c1 100644 --- a/lib/locales/en_NG/name/first_name.js +++ b/lib/locales/en_NG/name/first_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ 'Adaugo', 'Akunna', 'Aminat', 'Aminu', 'Augustina', 'Ayebatari', 'Cherechi', 'Chiamaka', 'Chimamanda', 'Chinyere', 'Chizoba', 'Ebiere', 'Efe', diff --git a/lib/locales/en_NG/name/last_name.js b/lib/locales/en_NG/name/last_name.js index 8e7eac80..49b68d8f 100644 --- a/lib/locales/en_NG/name/last_name.js +++ b/lib/locales/en_NG/name/last_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ 'Abiodun', 'Abiola', 'Abodunrin', 'Abosede', 'Adaobi', 'Adebayo', 'Adegboye', 'Adegoke', 'Ademayowa', 'Ademola', 'Adeniyan', 'Adeoluwa', 'Aderinsola', 'Aderonke', 'Adesina', 'Adewale', 'Adewale', 'Adewale', 'Adewunmi', 'Adewura', 'Adeyemo', 'Afolabi', 'Afunku', 'Agboola', 'Agboola', 'Agnes', 'Aigbiniode', 'Ajakaiye', 'Ajose-adeogun', 'Akeem-omosanya', 'Akerele', 'Akintade', 'Aligbe', 'Amaechi', 'Aminat', 'Aremu', 'Atanda', 'Ayisat', 'Ayobami', 'Ayomide', 'Ayomide', 'Babalola', 'Babatunde', 'Balogun', 'Bamisebi', 'Bello', 'Busari', 'Chibike', 'Chibuike', 'Chidinma', 'Chidozie', 'Christian', 'Clare', diff --git a/lib/locales/en_NG/name/male_first_name.js b/lib/locales/en_NG/name/male_first_name.js index a809fe6f..41527a36 100644 --- a/lib/locales/en_NG/name/male_first_name.js +++ b/lib/locales/en_NG/name/male_first_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ 'Abimbola','Abisola','Abisoye','Adeboye','Adedayo','Adegoke', 'Akande', 'Akanni', 'Alade', 'Ayinde', 'Azubuike', 'Banji', 'Bankole', 'Buchi', 'Bukola', 'Chinedu', 'Chisom', 'Chukwu', diff --git a/lib/locales/en_NG/name/name.js b/lib/locales/en_NG/name/name.js index 5734174b..b5b96a77 100644 --- a/lib/locales/en_NG/name/name.js +++ b/lib/locales/en_NG/name/name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "#{first_name} #{last_name}", "#{last_name} #{first_name}" ]; diff --git a/lib/locales/en_NG/phone_number/formats.js b/lib/locales/en_NG/phone_number/formats.js index 0b6895b7..ad02c918 100644 --- a/lib/locales/en_NG/phone_number/formats.js +++ b/lib/locales/en_NG/phone_number/formats.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ '0803 ### ####', '0703 ### ####', '234809 ### ####', diff --git a/lib/locales/en_US/address/default_country.js b/lib/locales/en_US/address/default_country.js index 4e716260..0129ff68 100644 --- a/lib/locales/en_US/address/default_country.js +++ b/lib/locales/en_US/address/default_country.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "United States", "United States of America", "USA" diff --git a/lib/locales/en_US/address/postcode_by_state.js b/lib/locales/en_US/address/postcode_by_state.js index 006fe605..4a02eb25 100644 --- a/lib/locales/en_US/address/postcode_by_state.js +++ b/lib/locales/en_US/address/postcode_by_state.js @@ -1,4 +1,4 @@ -module["exports"] = { +module.exports = { AK:{ min:99501, max:99950 diff --git a/lib/locales/en_US/internet/domain_suffix.js b/lib/locales/en_US/internet/domain_suffix.js index 29d45a89..12daab53 100644 --- a/lib/locales/en_US/internet/domain_suffix.js +++ b/lib/locales/en_US/internet/domain_suffix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "com", "us", "biz", diff --git a/lib/locales/en_US/phone_number/area_code.js b/lib/locales/en_US/phone_number/area_code.js index b201c79a..29b207bf 100644 --- a/lib/locales/en_US/phone_number/area_code.js +++ b/lib/locales/en_US/phone_number/area_code.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "201", "202", "203", diff --git a/lib/locales/en_US/phone_number/exchange_code.js b/lib/locales/en_US/phone_number/exchange_code.js index b201c79a..29b207bf 100644 --- a/lib/locales/en_US/phone_number/exchange_code.js +++ b/lib/locales/en_US/phone_number/exchange_code.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "201", "202", "203", diff --git a/lib/locales/en_ZA/address/city.js b/lib/locales/en_ZA/address/city.js index f014e156..937dee17 100644 --- a/lib/locales/en_ZA/address/city.js +++ b/lib/locales/en_ZA/address/city.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "#{city_prefix}" ]; diff --git a/lib/locales/en_ZA/address/city_prefix.js b/lib/locales/en_ZA/address/city_prefix.js index 63eaec8e..377db3e3 100644 --- a/lib/locales/en_ZA/address/city_prefix.js +++ b/lib/locales/en_ZA/address/city_prefix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Polokwane", "Johannesburg", "Pretoria", diff --git a/lib/locales/en_ZA/address/default_country.js b/lib/locales/en_ZA/address/default_country.js index eaf26a73..a5e892a4 100644 --- a/lib/locales/en_ZA/address/default_country.js +++ b/lib/locales/en_ZA/address/default_country.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "South Africa", "The Republic of South Africa", "SA", diff --git a/lib/locales/en_ZA/address/postcode.js b/lib/locales/en_ZA/address/postcode.js index a437640e..f6b61f85 100644 --- a/lib/locales/en_ZA/address/postcode.js +++ b/lib/locales/en_ZA/address/postcode.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "#####", "####" ]; diff --git a/lib/locales/en_ZA/address/state.js b/lib/locales/en_ZA/address/state.js index d4fb96af..4e17e145 100644 --- a/lib/locales/en_ZA/address/state.js +++ b/lib/locales/en_ZA/address/state.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Limpopo", "Gauteng", "Free State,", diff --git a/lib/locales/en_ZA/cell_phone/formats.js b/lib/locales/en_ZA/cell_phone/formats.js index 5f14bd8d..274c551a 100644 --- a/lib/locales/en_ZA/cell_phone/formats.js +++ b/lib/locales/en_ZA/cell_phone/formats.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "+2760 ### ####", "+2761 ### ####", "+2763 ### ####", diff --git a/lib/locales/en_ZA/company/suffix.js b/lib/locales/en_ZA/company/suffix.js index f7163b89..932b5f9d 100644 --- a/lib/locales/en_ZA/company/suffix.js +++ b/lib/locales/en_ZA/company/suffix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Pty Ltd", "Ltd", "CC" diff --git a/lib/locales/en_ZA/internet/domain_suffix.js b/lib/locales/en_ZA/internet/domain_suffix.js index 53b9bbc0..2e090686 100644 --- a/lib/locales/en_ZA/internet/domain_suffix.js +++ b/lib/locales/en_ZA/internet/domain_suffix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "co.za", "com", "org.za", diff --git a/lib/locales/en_ZA/name/female_first_name.js b/lib/locales/en_ZA/name/female_first_name.js index f1a83a09..ddd9cef1 100644 --- a/lib/locales/en_ZA/name/female_first_name.js +++ b/lib/locales/en_ZA/name/female_first_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Mary", "Patricia", "Linda", diff --git a/lib/locales/en_ZA/name/first_name.js b/lib/locales/en_ZA/name/first_name.js index a9871499..f086c012 100644 --- a/lib/locales/en_ZA/name/first_name.js +++ b/lib/locales/en_ZA/name/first_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Rapulane", "Nthabiseng", "Kopano", diff --git a/lib/locales/en_ZA/name/last_name.js b/lib/locales/en_ZA/name/last_name.js index b92c9a9c..227b2b98 100644 --- a/lib/locales/en_ZA/name/last_name.js +++ b/lib/locales/en_ZA/name/last_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Dlamini", "Zulu", "Mabunda", diff --git a/lib/locales/en_ZA/name/male_first_name.js b/lib/locales/en_ZA/name/male_first_name.js index f19addbd..02b74fe5 100644 --- a/lib/locales/en_ZA/name/male_first_name.js +++ b/lib/locales/en_ZA/name/male_first_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "James", "John", "Robert", diff --git a/lib/locales/en_ZA/name/name.js b/lib/locales/en_ZA/name/name.js index 5734174b..b5b96a77 100644 --- a/lib/locales/en_ZA/name/name.js +++ b/lib/locales/en_ZA/name/name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "#{first_name} #{last_name}", "#{last_name} #{first_name}" ]; diff --git a/lib/locales/en_ZA/phone_number/area_code.js b/lib/locales/en_ZA/phone_number/area_code.js index 0da149d1..16b71215 100644 --- a/lib/locales/en_ZA/phone_number/area_code.js +++ b/lib/locales/en_ZA/phone_number/area_code.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "10", "11", "12", diff --git a/lib/locales/en_ZA/phone_number/exchange_code.js b/lib/locales/en_ZA/phone_number/exchange_code.js index b201c79a..29b207bf 100644 --- a/lib/locales/en_ZA/phone_number/exchange_code.js +++ b/lib/locales/en_ZA/phone_number/exchange_code.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "201", "202", "203", diff --git a/lib/locales/en_ZA/phone_number/formats.js b/lib/locales/en_ZA/phone_number/formats.js index 00a824b9..abd9da79 100644 --- a/lib/locales/en_ZA/phone_number/formats.js +++ b/lib/locales/en_ZA/phone_number/formats.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "(0##) ### ####", "0## ### ####", "+27 ## ### ####", diff --git a/lib/locales/es/address/building_number.js b/lib/locales/es/address/building_number.js index 6768e26d..e4c655a8 100644 --- a/lib/locales/es/address/building_number.js +++ b/lib/locales/es/address/building_number.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ " s/n.", ", #", ", ##", diff --git a/lib/locales/es/address/city.js b/lib/locales/es/address/city.js index f014e156..937dee17 100644 --- a/lib/locales/es/address/city.js +++ b/lib/locales/es/address/city.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "#{city_prefix}" ]; diff --git a/lib/locales/es/address/city_prefix.js b/lib/locales/es/address/city_prefix.js index aa994ebc..c6938855 100644 --- a/lib/locales/es/address/city_prefix.js +++ b/lib/locales/es/address/city_prefix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Parla", "Telde", "Baracaldo", diff --git a/lib/locales/es/address/country.js b/lib/locales/es/address/country.js index 86102781..e4aa5e76 100644 --- a/lib/locales/es/address/country.js +++ b/lib/locales/es/address/country.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Afganistán", "Albania", "Argelia", diff --git a/lib/locales/es/address/default_country.js b/lib/locales/es/address/default_country.js index e9d9107c..989e2d18 100644 --- a/lib/locales/es/address/default_country.js +++ b/lib/locales/es/address/default_country.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "España" ]; diff --git a/lib/locales/es/address/postcode.js b/lib/locales/es/address/postcode.js index 3640af26..8091ecaa 100644 --- a/lib/locales/es/address/postcode.js +++ b/lib/locales/es/address/postcode.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "#####" ]; diff --git a/lib/locales/es/address/province.js b/lib/locales/es/address/province.js index 9ed93066..69715fb1 100644 --- a/lib/locales/es/address/province.js +++ b/lib/locales/es/address/province.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Álava", "Albacete", "Alicante", diff --git a/lib/locales/es/address/secondary_address.js b/lib/locales/es/address/secondary_address.js index 3ebed89b..23390ad1 100644 --- a/lib/locales/es/address/secondary_address.js +++ b/lib/locales/es/address/secondary_address.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Esc. ###", "Puerta ###" ]; diff --git a/lib/locales/es/address/state.js b/lib/locales/es/address/state.js index 5fb48e05..0cd6cfbf 100644 --- a/lib/locales/es/address/state.js +++ b/lib/locales/es/address/state.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Andalucía", "Aragón", "Principado de Asturias", diff --git a/lib/locales/es/address/state_abbr.js b/lib/locales/es/address/state_abbr.js index dd9f5b2a..2e8cb209 100644 --- a/lib/locales/es/address/state_abbr.js +++ b/lib/locales/es/address/state_abbr.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "And", "Ara", "Ast", diff --git a/lib/locales/es/address/street_address.js b/lib/locales/es/address/street_address.js index 21b26347..a8d1118e 100644 --- a/lib/locales/es/address/street_address.js +++ b/lib/locales/es/address/street_address.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "#{street_name}#{building_number}", "#{street_name}#{building_number} #{secondary_address}" ]; diff --git a/lib/locales/es/address/street_name.js b/lib/locales/es/address/street_name.js index 0eb52213..490cada1 100644 --- a/lib/locales/es/address/street_name.js +++ b/lib/locales/es/address/street_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "#{street_suffix} #{Name.first_name}", "#{street_suffix} #{Name.first_name} #{Name.last_name}" ]; diff --git a/lib/locales/es/address/street_suffix.js b/lib/locales/es/address/street_suffix.js index 658479ff..3154c2d0 100644 --- a/lib/locales/es/address/street_suffix.js +++ b/lib/locales/es/address/street_suffix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Aldea", "Apartamento", "Arrabal", diff --git a/lib/locales/es/address/time_zone.js b/lib/locales/es/address/time_zone.js index d532390d..b4d79ff6 100644 --- a/lib/locales/es/address/time_zone.js +++ b/lib/locales/es/address/time_zone.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Pacífico/Midway", "Pacífico/Pago_Pago", "Pacífico/Honolulu", diff --git a/lib/locales/es/cell_phone/formats.js b/lib/locales/es/cell_phone/formats.js index 3fda8026..17dc60a0 100644 --- a/lib/locales/es/cell_phone/formats.js +++ b/lib/locales/es/cell_phone/formats.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "6##-###-###", "6##.###.###", "6## ### ###", diff --git a/lib/locales/es/commerce/color.js b/lib/locales/es/commerce/color.js index e2b2e734..4759ffa8 100644 --- a/lib/locales/es/commerce/color.js +++ b/lib/locales/es/commerce/color.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Rojo", "Azul", "Negro", diff --git a/lib/locales/es/commerce/department.js b/lib/locales/es/commerce/department.js index 40ea495c..b4f00c69 100644 --- a/lib/locales/es/commerce/department.js +++ b/lib/locales/es/commerce/department.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Librería", "Deportes", "Videojuegos", diff --git a/lib/locales/es/commerce/index.js b/lib/locales/es/commerce/index.js index f4306eba..b40e35b0 100644 --- a/lib/locales/es/commerce/index.js +++ b/lib/locales/es/commerce/index.js @@ -1,5 +1,5 @@ -const commerce = {}; -module["exports"] = commerce; +var commerce = {}; +module.exports = commerce; commerce.color = require("./color"); commerce.department = require("./department"); commerce.product_name = require("./product_name"); diff --git a/lib/locales/es/commerce/product_name.js b/lib/locales/es/commerce/product_name.js index f95ba4d1..030c0bd0 100644 --- a/lib/locales/es/commerce/product_name.js +++ b/lib/locales/es/commerce/product_name.js @@ -1,4 +1,4 @@ -module["exports"] = { +module.exports = { "adjective": [ "Pequeño", "Ergonómico", diff --git a/lib/locales/es/company/adjective.js b/lib/locales/es/company/adjective.js index d25d73c8..ec848b06 100644 --- a/lib/locales/es/company/adjective.js +++ b/lib/locales/es/company/adjective.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Adaptativo", "Avanzado", "Asimilado", diff --git a/lib/locales/es/company/descriptor.js b/lib/locales/es/company/descriptor.js index a8cf70c3..21893e04 100644 --- a/lib/locales/es/company/descriptor.js +++ b/lib/locales/es/company/descriptor.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "24 horas", "24/7", "3rd generación", diff --git a/lib/locales/es/company/name.js b/lib/locales/es/company/name.js index 4b134b48..8b9190ca 100644 --- a/lib/locales/es/company/name.js +++ b/lib/locales/es/company/name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "#{Name.last_name} #{suffix}", "#{Name.last_name} y #{Name.last_name}", "#{Name.last_name} #{Name.last_name} #{suffix}", diff --git a/lib/locales/es/company/noun.js b/lib/locales/es/company/noun.js index ad200f12..997b2e16 100644 --- a/lib/locales/es/company/noun.js +++ b/lib/locales/es/company/noun.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "habilidad", "acceso", "adaptador", diff --git a/lib/locales/es/company/suffix.js b/lib/locales/es/company/suffix.js index 926563a8..bd651dba 100644 --- a/lib/locales/es/company/suffix.js +++ b/lib/locales/es/company/suffix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "S.L.", "e Hijos", "S.A.", diff --git a/lib/locales/es/internet/domain_suffix.js b/lib/locales/es/internet/domain_suffix.js index 05dfa4bb..c37316d0 100644 --- a/lib/locales/es/internet/domain_suffix.js +++ b/lib/locales/es/internet/domain_suffix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "com", "es", "info", diff --git a/lib/locales/es/internet/free_email.js b/lib/locales/es/internet/free_email.js index d6393294..b425345d 100644 --- a/lib/locales/es/internet/free_email.js +++ b/lib/locales/es/internet/free_email.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "gmail.com", "yahoo.com", "hotmail.com" diff --git a/lib/locales/es/name/female_first_name.js b/lib/locales/es/name/female_first_name.js index a385c712..56ce289d 100644 --- a/lib/locales/es/name/female_first_name.js +++ b/lib/locales/es/name/female_first_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Marta", "Andrea", "Ana", diff --git a/lib/locales/es/name/first_name.js b/lib/locales/es/name/first_name.js index 44aa44b6..fd29ccce 100644 --- a/lib/locales/es/name/first_name.js +++ b/lib/locales/es/name/first_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Adán", "Agustín", "Alberto", diff --git a/lib/locales/es/name/last_name.js b/lib/locales/es/name/last_name.js index b48e4e71..02e21381 100644 --- a/lib/locales/es/name/last_name.js +++ b/lib/locales/es/name/last_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Abeyta", "Abrego", "Abreu", diff --git a/lib/locales/es/name/male_first_name.js b/lib/locales/es/name/male_first_name.js index 2410fbbd..2c743028 100644 --- a/lib/locales/es/name/male_first_name.js +++ b/lib/locales/es/name/male_first_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Josep", "Ángel", "Daniel", diff --git a/lib/locales/es/name/name.js b/lib/locales/es/name/name.js index 3915cb1c..be5705b7 100644 --- a/lib/locales/es/name/name.js +++ b/lib/locales/es/name/name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "#{prefix} #{first_name} #{last_name} #{last_name}", "#{first_name} #{last_name} #{last_name}", "#{first_name} #{last_name} #{last_name}", diff --git a/lib/locales/es/name/prefix.js b/lib/locales/es/name/prefix.js index 547fa4a4..294d18e0 100644 --- a/lib/locales/es/name/prefix.js +++ b/lib/locales/es/name/prefix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Sr.", "Sra.", "Sta." diff --git a/lib/locales/es/name/suffix.js b/lib/locales/es/name/suffix.js index 544572cb..b6d67399 100644 --- a/lib/locales/es/name/suffix.js +++ b/lib/locales/es/name/suffix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Jr.", "Sr.", "I", diff --git a/lib/locales/es/name/title.js b/lib/locales/es/name/title.js index 7182e0cf..8a8c36f9 100644 --- a/lib/locales/es/name/title.js +++ b/lib/locales/es/name/title.js @@ -1,4 +1,4 @@ -module["exports"] = { +module.exports = { "descriptor": [ "Jefe", "Senior", diff --git a/lib/locales/es/phone_number/formats.js b/lib/locales/es/phone_number/formats.js index 64e509f4..be40288f 100644 --- a/lib/locales/es/phone_number/formats.js +++ b/lib/locales/es/phone_number/formats.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "9##-###-###", "9##.###.###", "9## ### ###", diff --git a/lib/locales/es_MX/address/building_number.js b/lib/locales/es_MX/address/building_number.js index da55739e..75c9373d 100644 --- a/lib/locales/es_MX/address/building_number.js +++ b/lib/locales/es_MX/address/building_number.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ " s/n.", ", #", ", ##", diff --git a/lib/locales/es_MX/address/city.js b/lib/locales/es_MX/address/city.js index f014e156..937dee17 100644 --- a/lib/locales/es_MX/address/city.js +++ b/lib/locales/es_MX/address/city.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "#{city_prefix}" ]; diff --git a/lib/locales/es_MX/address/city_prefix.js b/lib/locales/es_MX/address/city_prefix.js index a7587688..f2e6e9c6 100644 --- a/lib/locales/es_MX/address/city_prefix.js +++ b/lib/locales/es_MX/address/city_prefix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Aguascalientes", "Apodaca", "Buenavista", diff --git a/lib/locales/es_MX/address/city_suffix.js b/lib/locales/es_MX/address/city_suffix.js index 84344b1f..9e337200 100644 --- a/lib/locales/es_MX/address/city_suffix.js +++ b/lib/locales/es_MX/address/city_suffix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "town", "ton", "land", diff --git a/lib/locales/es_MX/address/country.js b/lib/locales/es_MX/address/country.js index 5dd6f074..c6f77862 100644 --- a/lib/locales/es_MX/address/country.js +++ b/lib/locales/es_MX/address/country.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Afganistán", "Albania", "Argelia", diff --git a/lib/locales/es_MX/address/default_country.js b/lib/locales/es_MX/address/default_country.js index 1d9d3cb6..be8f9379 100644 --- a/lib/locales/es_MX/address/default_country.js +++ b/lib/locales/es_MX/address/default_country.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "México" ]; diff --git a/lib/locales/es_MX/address/postcode.js b/lib/locales/es_MX/address/postcode.js index 3640af26..8091ecaa 100644 --- a/lib/locales/es_MX/address/postcode.js +++ b/lib/locales/es_MX/address/postcode.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "#####" ]; diff --git a/lib/locales/es_MX/address/secondary_address.js b/lib/locales/es_MX/address/secondary_address.js index 34f773d4..5910ba0c 100644 --- a/lib/locales/es_MX/address/secondary_address.js +++ b/lib/locales/es_MX/address/secondary_address.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Esc. ###", "Puerta ###", "Edificio #" diff --git a/lib/locales/es_MX/address/state.js b/lib/locales/es_MX/address/state.js index 87d5bfb4..4190cd0a 100644 --- a/lib/locales/es_MX/address/state.js +++ b/lib/locales/es_MX/address/state.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Aguascalientes", "Baja California Norte", "Baja California Sur", diff --git a/lib/locales/es_MX/address/state_abbr.js b/lib/locales/es_MX/address/state_abbr.js index 596688f9..00652b30 100644 --- a/lib/locales/es_MX/address/state_abbr.js +++ b/lib/locales/es_MX/address/state_abbr.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "AS", "BC", "BS", diff --git a/lib/locales/es_MX/address/street.js b/lib/locales/es_MX/address/street.js index c0d5fe6e..ab6ad4a9 100644 --- a/lib/locales/es_MX/address/street.js +++ b/lib/locales/es_MX/address/street.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "20 de Noviembre", "Cinco de Mayo", "Cuahutemoc", diff --git a/lib/locales/es_MX/address/street_address.js b/lib/locales/es_MX/address/street_address.js index 21b26347..a8d1118e 100644 --- a/lib/locales/es_MX/address/street_address.js +++ b/lib/locales/es_MX/address/street_address.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "#{street_name}#{building_number}", "#{street_name}#{building_number} #{secondary_address}" ]; diff --git a/lib/locales/es_MX/address/street_name.js b/lib/locales/es_MX/address/street_name.js index 278bb7a9..702c0292 100644 --- a/lib/locales/es_MX/address/street_name.js +++ b/lib/locales/es_MX/address/street_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "#{street_suffix} #{Name.first_name}", "#{street_suffix} #{Name.first_name} #{Name.last_name}", "#{street_suffix} #{street}", diff --git a/lib/locales/es_MX/address/street_suffix.js b/lib/locales/es_MX/address/street_suffix.js index 658479ff..3154c2d0 100644 --- a/lib/locales/es_MX/address/street_suffix.js +++ b/lib/locales/es_MX/address/street_suffix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Aldea", "Apartamento", "Arrabal", diff --git a/lib/locales/es_MX/address/time_zone.js b/lib/locales/es_MX/address/time_zone.js index 7edd6150..2a8718da 100644 --- a/lib/locales/es_MX/address/time_zone.js +++ b/lib/locales/es_MX/address/time_zone.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Pacífico/Midway", "Pacífico/Pago_Pago", "Pacífico/Honolulu", diff --git a/lib/locales/es_MX/cell_phone/formats.js b/lib/locales/es_MX/cell_phone/formats.js index 87e83151..93258ca7 100644 --- a/lib/locales/es_MX/cell_phone/formats.js +++ b/lib/locales/es_MX/cell_phone/formats.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "5##-###-###", "5##.###.###", "5## ### ###", diff --git a/lib/locales/es_MX/commerce/color.js b/lib/locales/es_MX/commerce/color.js index 53804775..336cf691 100644 --- a/lib/locales/es_MX/commerce/color.js +++ b/lib/locales/es_MX/commerce/color.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "rojo", "verde", "azul", diff --git a/lib/locales/es_MX/commerce/department.js b/lib/locales/es_MX/commerce/department.js index 4f23a4bd..f9d8e2ce 100644 --- a/lib/locales/es_MX/commerce/department.js +++ b/lib/locales/es_MX/commerce/department.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Libros", "Películas", "Música", diff --git a/lib/locales/es_MX/commerce/product_name.js b/lib/locales/es_MX/commerce/product_name.js index 4563a918..f40ec5b5 100644 --- a/lib/locales/es_MX/commerce/product_name.js +++ b/lib/locales/es_MX/commerce/product_name.js @@ -1,4 +1,4 @@ -module["exports"] = { +module.exports = { "adjective": [ "Pequeño", "Ergonómico", diff --git a/lib/locales/es_MX/company/adjective.js b/lib/locales/es_MX/company/adjective.js index b2487737..c4bffb37 100644 --- a/lib/locales/es_MX/company/adjective.js +++ b/lib/locales/es_MX/company/adjective.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Adaptativo", "Avanzado", "Asimilado", diff --git a/lib/locales/es_MX/company/bs_adjective.js b/lib/locales/es_MX/company/bs_adjective.js index b07979fd..4d652b7d 100644 --- a/lib/locales/es_MX/company/bs_adjective.js +++ b/lib/locales/es_MX/company/bs_adjective.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Clics y mortero", "Valor añadido", "Vertical", diff --git a/lib/locales/es_MX/company/bs_noun.js b/lib/locales/es_MX/company/bs_noun.js index 87ee7ea6..23248b1b 100644 --- a/lib/locales/es_MX/company/bs_noun.js +++ b/lib/locales/es_MX/company/bs_noun.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "sinergias", "web-readiness", "paradigmas", diff --git a/lib/locales/es_MX/company/bs_verb.js b/lib/locales/es_MX/company/bs_verb.js index 3750263b..a585dc5f 100644 --- a/lib/locales/es_MX/company/bs_verb.js +++ b/lib/locales/es_MX/company/bs_verb.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "poner en práctica", "utilizar", "integrar", diff --git a/lib/locales/es_MX/company/descriptor.js b/lib/locales/es_MX/company/descriptor.js index a8cf70c3..21893e04 100644 --- a/lib/locales/es_MX/company/descriptor.js +++ b/lib/locales/es_MX/company/descriptor.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "24 horas", "24/7", "3rd generación", diff --git a/lib/locales/es_MX/company/name.js b/lib/locales/es_MX/company/name.js index 4b134b48..8b9190ca 100644 --- a/lib/locales/es_MX/company/name.js +++ b/lib/locales/es_MX/company/name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "#{Name.last_name} #{suffix}", "#{Name.last_name} y #{Name.last_name}", "#{Name.last_name} #{Name.last_name} #{suffix}", diff --git a/lib/locales/es_MX/company/noun.js b/lib/locales/es_MX/company/noun.js index ad200f12..997b2e16 100644 --- a/lib/locales/es_MX/company/noun.js +++ b/lib/locales/es_MX/company/noun.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "habilidad", "acceso", "adaptador", diff --git a/lib/locales/es_MX/company/suffix.js b/lib/locales/es_MX/company/suffix.js index 926563a8..bd651dba 100644 --- a/lib/locales/es_MX/company/suffix.js +++ b/lib/locales/es_MX/company/suffix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "S.L.", "e Hijos", "S.A.", diff --git a/lib/locales/es_MX/internet/domain_suffix.js b/lib/locales/es_MX/internet/domain_suffix.js index 073ffd0f..757132b8 100644 --- a/lib/locales/es_MX/internet/domain_suffix.js +++ b/lib/locales/es_MX/internet/domain_suffix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "com", "mx", "info", diff --git a/lib/locales/es_MX/internet/free_email.js b/lib/locales/es_MX/internet/free_email.js index 1933530f..3a48cb1f 100644 --- a/lib/locales/es_MX/internet/free_email.js +++ b/lib/locales/es_MX/internet/free_email.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "gmail.com", "yahoo.com", "hotmail.com", diff --git a/lib/locales/es_MX/lorem/words.js b/lib/locales/es_MX/lorem/words.js index 2212face..b0897130 100644 --- a/lib/locales/es_MX/lorem/words.js +++ b/lib/locales/es_MX/lorem/words.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Abacalero", "Abacería", "Abacero", diff --git a/lib/locales/es_MX/name/first_name.js b/lib/locales/es_MX/name/first_name.js index b7039d93..d9ee81ee 100644 --- a/lib/locales/es_MX/name/first_name.js +++ b/lib/locales/es_MX/name/first_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Aarón", "Abraham", "Adán", diff --git a/lib/locales/es_MX/name/last_name.js b/lib/locales/es_MX/name/last_name.js index 1711a9e9..830c58dd 100644 --- a/lib/locales/es_MX/name/last_name.js +++ b/lib/locales/es_MX/name/last_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Abeyta", "Abrego", "Abreu", diff --git a/lib/locales/es_MX/name/name.js b/lib/locales/es_MX/name/name.js index 6daabb31..ba58c5e7 100644 --- a/lib/locales/es_MX/name/name.js +++ b/lib/locales/es_MX/name/name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "#{prefix} #{first_name} #{last_name} #{last_name}", "#{first_name} #{last_name} de #{last_name}", "#{suffix} #{first_name} #{last_name} #{last_name}", diff --git a/lib/locales/es_MX/name/prefix.js b/lib/locales/es_MX/name/prefix.js index 547fa4a4..294d18e0 100644 --- a/lib/locales/es_MX/name/prefix.js +++ b/lib/locales/es_MX/name/prefix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Sr.", "Sra.", "Sta." diff --git a/lib/locales/es_MX/name/suffix.js b/lib/locales/es_MX/name/suffix.js index 1866e0ac..3058f8c8 100644 --- a/lib/locales/es_MX/name/suffix.js +++ b/lib/locales/es_MX/name/suffix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Jr.", "Sr.", "I", diff --git a/lib/locales/es_MX/name/title.js b/lib/locales/es_MX/name/title.js index 7dc61f74..282a0378 100644 --- a/lib/locales/es_MX/name/title.js +++ b/lib/locales/es_MX/name/title.js @@ -1,4 +1,4 @@ -module["exports"] = { +module.exports = { "descriptor": [ "Jefe", "Senior", diff --git a/lib/locales/es_MX/phone_number/formats.js b/lib/locales/es_MX/phone_number/formats.js index 3c216f3d..8098d788 100644 --- a/lib/locales/es_MX/phone_number/formats.js +++ b/lib/locales/es_MX/phone_number/formats.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "5###-###-###", "5##.###.###", "5## ### ###", diff --git a/lib/locales/es_MX/team/creature.js b/lib/locales/es_MX/team/creature.js index 8c3b003c..79f4f609 100644 --- a/lib/locales/es_MX/team/creature.js +++ b/lib/locales/es_MX/team/creature.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "hormigas", "murciélagos", "osos", diff --git a/lib/locales/es_MX/team/name.js b/lib/locales/es_MX/team/name.js index bded21a9..80da3c5f 100644 --- a/lib/locales/es_MX/team/name.js +++ b/lib/locales/es_MX/team/name.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "#{Address.state} #{creature}" ]; diff --git a/lib/locales/fa/address/building_number.js b/lib/locales/fa/address/building_number.js index d0760c8d..b920acb0 100644 --- a/lib/locales/fa/address/building_number.js +++ b/lib/locales/fa/address/building_number.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "##", "#" ]; diff --git a/lib/locales/fa/address/city.js b/lib/locales/fa/address/city.js index d62eafb1..14b927cb 100644 --- a/lib/locales/fa/address/city.js +++ b/lib/locales/fa/address/city.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "#{city_name}" ]; diff --git a/lib/locales/fa/address/city_name.js b/lib/locales/fa/address/city_name.js index 6380787c..06a289fc 100644 --- a/lib/locales/fa/address/city_name.js +++ b/lib/locales/fa/address/city_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "تهران", "مشهد", "اصفهان", diff --git a/lib/locales/fa/address/city_prefix.js b/lib/locales/fa/address/city_prefix.js index 9fd06d64..d1c3c13a 100644 --- a/lib/locales/fa/address/city_prefix.js +++ b/lib/locales/fa/address/city_prefix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "شمال", "شرق", "غرب", diff --git a/lib/locales/fa/address/city_suffix.js b/lib/locales/fa/address/city_suffix.js index c223bfb8..13cf2f3f 100644 --- a/lib/locales/fa/address/city_suffix.js +++ b/lib/locales/fa/address/city_suffix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "روستا", "شهر", "دهکده", diff --git a/lib/locales/fa/address/country.js b/lib/locales/fa/address/country.js index bb08079b..5dfc884c 100644 --- a/lib/locales/fa/address/country.js +++ b/lib/locales/fa/address/country.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "چین", "هند", "ایالات متحده آمریکا", diff --git a/lib/locales/fa/address/country_code.js b/lib/locales/fa/address/country_code.js index 84b5bfe6..2df8a98c 100644 --- a/lib/locales/fa/address/country_code.js +++ b/lib/locales/fa/address/country_code.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "AD", "AE", "AF", diff --git a/lib/locales/fa/address/default_country.js b/lib/locales/fa/address/default_country.js index 52538355..524dbfea 100644 --- a/lib/locales/fa/address/default_country.js +++ b/lib/locales/fa/address/default_country.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "ایران" ]; diff --git a/lib/locales/fa/address/direction.js b/lib/locales/fa/address/direction.js index f6b3f24e..82cf323f 100644 --- a/lib/locales/fa/address/direction.js +++ b/lib/locales/fa/address/direction.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "شمال", "شرق", "جنوب", diff --git a/lib/locales/fa/address/postcode.js b/lib/locales/fa/address/postcode.js index edd25049..99faf573 100644 --- a/lib/locales/fa/address/postcode.js +++ b/lib/locales/fa/address/postcode.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "#####-#####" ]; diff --git a/lib/locales/fa/address/secondary_address.js b/lib/locales/fa/address/secondary_address.js index b48550d0..734b6a1b 100644 --- a/lib/locales/fa/address/secondary_address.js +++ b/lib/locales/fa/address/secondary_address.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "واحد #", "# طبقه" ]; diff --git a/lib/locales/fa/address/state.js b/lib/locales/fa/address/state.js index 9c4a5830..5f7c3a25 100644 --- a/lib/locales/fa/address/state.js +++ b/lib/locales/fa/address/state.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "آذربایجان شرقی", "آذربایجان غربی", "اردبیل", diff --git a/lib/locales/fa/address/street_address.js b/lib/locales/fa/address/street_address.js index b1e28598..7411b204 100644 --- a/lib/locales/fa/address/street_address.js +++ b/lib/locales/fa/address/street_address.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "#{street_name}, پلاک #{building_number}", "#{street_name}, #{street_name}, پلاک #{building_number}" ]; diff --git a/lib/locales/fa/address/street_name.js b/lib/locales/fa/address/street_name.js index 6c6f8793..ab54498b 100644 --- a/lib/locales/fa/address/street_name.js +++ b/lib/locales/fa/address/street_name.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "#{street_prefix} #{street_suffix}" ]; diff --git a/lib/locales/fa/address/street_prefix.js b/lib/locales/fa/address/street_prefix.js index 4e71986e..b419e461 100644 --- a/lib/locales/fa/address/street_prefix.js +++ b/lib/locales/fa/address/street_prefix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "خیابان", "کوچه", "بن بست", diff --git a/lib/locales/fa/address/street_suffix.js b/lib/locales/fa/address/street_suffix.js index cadee90c..5cd5b4b6 100644 --- a/lib/locales/fa/address/street_suffix.js +++ b/lib/locales/fa/address/street_suffix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "آزادی", "آفریقا", "آذربایجان", diff --git a/lib/locales/fa/cell_phone/formats.js b/lib/locales/fa/cell_phone/formats.js index 58381f12..bd900340 100644 --- a/lib/locales/fa/cell_phone/formats.js +++ b/lib/locales/fa/cell_phone/formats.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "0912 ### ####", "0911 ### ####", "0919 ### ####", diff --git a/lib/locales/fa/commerce/color.js b/lib/locales/fa/commerce/color.js index 5778d707..a2822d44 100644 --- a/lib/locales/fa/commerce/color.js +++ b/lib/locales/fa/commerce/color.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "قرمز", "سبز", "آبی", diff --git a/lib/locales/fa/commerce/department.js b/lib/locales/fa/commerce/department.js index de329c17..a440cd36 100644 --- a/lib/locales/fa/commerce/department.js +++ b/lib/locales/fa/commerce/department.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "کتاب ها", "فیلم ها", "موزیک", diff --git a/lib/locales/fa/commerce/product_name.js b/lib/locales/fa/commerce/product_name.js index fddf3666..a9173a83 100644 --- a/lib/locales/fa/commerce/product_name.js +++ b/lib/locales/fa/commerce/product_name.js @@ -1,4 +1,4 @@ -module["exports"] = { +module.exports = { "adjective": [ "کوچک", "ارگونومیک", diff --git a/lib/locales/fa/company/adjective.js b/lib/locales/fa/company/adjective.js index f9177397..9a015639 100644 --- a/lib/locales/fa/company/adjective.js +++ b/lib/locales/fa/company/adjective.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "انطباقی", "پیشرفته", "بهبود یافته", diff --git a/lib/locales/fa/company/bs_adjective.js b/lib/locales/fa/company/bs_adjective.js index 9b461c08..9f121186 100644 --- a/lib/locales/fa/company/bs_adjective.js +++ b/lib/locales/fa/company/bs_adjective.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "ارزش افزوده", "عمودی", "فعال", diff --git a/lib/locales/fa/company/bs_noun.js b/lib/locales/fa/company/bs_noun.js index bf067b2a..d8b3d39b 100644 --- a/lib/locales/fa/company/bs_noun.js +++ b/lib/locales/fa/company/bs_noun.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "هم افزایی", "بازارها", "شراکت", diff --git a/lib/locales/fa/company/bs_verb.js b/lib/locales/fa/company/bs_verb.js index b3e94a44..43142838 100644 --- a/lib/locales/fa/company/bs_verb.js +++ b/lib/locales/fa/company/bs_verb.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "پیاده سازی", "استفاده", "ادغام", diff --git a/lib/locales/fa/company/descriptor.js b/lib/locales/fa/company/descriptor.js index 94cd0d8b..5f768e04 100644 --- a/lib/locales/fa/company/descriptor.js +++ b/lib/locales/fa/company/descriptor.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "24 ساعت", "24/7", "نسل سوم", diff --git a/lib/locales/fa/company/name.js b/lib/locales/fa/company/name.js index 655ec8b1..5c49acb2 100644 --- a/lib/locales/fa/company/name.js +++ b/lib/locales/fa/company/name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "#{Name.last_name} #{suffix}", "#{Name.last_name}-#{Name.last_name}", "#{Name.last_name}, #{Name.last_name} و #{Name.last_name}" diff --git a/lib/locales/fa/company/noun.js b/lib/locales/fa/company/noun.js index 542ba8b8..40612ef8 100644 --- a/lib/locales/fa/company/noun.js +++ b/lib/locales/fa/company/noun.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "توانایی", "دسترسی", "آداپتور", diff --git a/lib/locales/fa/company/suffix.js b/lib/locales/fa/company/suffix.js index 5f2a9821..f96f2723 100644 --- a/lib/locales/fa/company/suffix.js +++ b/lib/locales/fa/company/suffix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "کارخانه", "و پسران", "شرکت با مسئولیت محدود", diff --git a/lib/locales/fa/date/index.js b/lib/locales/fa/date/index.js index e53e73ee..f95b1507 100644 --- a/lib/locales/fa/date/index.js +++ b/lib/locales/fa/date/index.js @@ -1,4 +1,4 @@ -const date = {}; -module["exports"] = date; +var date = {}; +module.exports = date; date.month = require("./month"); date.weekday = require("./weekday"); diff --git a/lib/locales/fa/date/month.js b/lib/locales/fa/date/month.js index 7a523f16..c4c3edd4 100644 --- a/lib/locales/fa/date/month.js +++ b/lib/locales/fa/date/month.js @@ -1,4 +1,4 @@ -module["exports"] = { +module.exports = { wide: [ "فروردین", "اردیبهشت", diff --git a/lib/locales/fa/date/weekday.js b/lib/locales/fa/date/weekday.js index 6d46bfd3..7f8ed3d8 100644 --- a/lib/locales/fa/date/weekday.js +++ b/lib/locales/fa/date/weekday.js @@ -1,5 +1,5 @@ // Source: http://unicode.org/cldr/trac/browser/tags/release-27/common/main/en.xml#L1847 -module["exports"] = { +module.exports = { wide: [ "شنبه", "یکشنبه", diff --git a/lib/locales/fa/finance/account_type.js b/lib/locales/fa/finance/account_type.js index ccea0f4b..222649d1 100644 --- a/lib/locales/fa/finance/account_type.js +++ b/lib/locales/fa/finance/account_type.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "پس انداز", "سرمایه گذاری", "وام مسکن", diff --git a/lib/locales/fa/finance/credit_card/mastercard.js b/lib/locales/fa/finance/credit_card/mastercard.js index 81502c01..c358c74a 100644 --- a/lib/locales/fa/finance/credit_card/mastercard.js +++ b/lib/locales/fa/finance/credit_card/mastercard.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "5[1-5]##-####-####-###L", "6771-89##-####-###L" ]; diff --git a/lib/locales/fa/finance/credit_card/visa.js b/lib/locales/fa/finance/credit_card/visa.js index 760f921d..95f2aafb 100644 --- a/lib/locales/fa/finance/credit_card/visa.js +++ b/lib/locales/fa/finance/credit_card/visa.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "4###########L", "4###-####-####-###L" ]; diff --git a/lib/locales/fa/finance/currency.js b/lib/locales/fa/finance/currency.js index 3a79cdb8..6818cfc9 100644 --- a/lib/locales/fa/finance/currency.js +++ b/lib/locales/fa/finance/currency.js @@ -1,4 +1,4 @@ -module["exports"] = { +module.exports = { "درهم امارات": { "code": "AED", "symbol": "" diff --git a/lib/locales/fa/finance/transaction_type.js b/lib/locales/fa/finance/transaction_type.js index 35350561..f851d8c1 100644 --- a/lib/locales/fa/finance/transaction_type.js +++ b/lib/locales/fa/finance/transaction_type.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "سپرده", "برداشت از حساب", "پرداخت", diff --git a/lib/locales/fa/internet/domain_suffix.js b/lib/locales/fa/internet/domain_suffix.js index 372f6aea..ffc5a29b 100644 --- a/lib/locales/fa/internet/domain_suffix.js +++ b/lib/locales/fa/internet/domain_suffix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "com", "ir", "info", diff --git a/lib/locales/fa/internet/example_email.js b/lib/locales/fa/internet/example_email.js index 464c6c0e..cdc37a2b 100644 --- a/lib/locales/fa/internet/example_email.js +++ b/lib/locales/fa/internet/example_email.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "example.org", "example.com", "example.net" diff --git a/lib/locales/fa/internet/free_email.js b/lib/locales/fa/internet/free_email.js index d6393294..b425345d 100644 --- a/lib/locales/fa/internet/free_email.js +++ b/lib/locales/fa/internet/free_email.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "gmail.com", "yahoo.com", "hotmail.com" diff --git a/lib/locales/fa/lorem/words.js b/lib/locales/fa/lorem/words.js index 32f1998e..649259f0 100644 --- a/lib/locales/fa/lorem/words.js +++ b/lib/locales/fa/lorem/words.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "لورم", "ایپسوم", "متن", diff --git a/lib/locales/fa/name/female_first_name.js b/lib/locales/fa/name/female_first_name.js index 91dcf901..0564f7e3 100644 --- a/lib/locales/fa/name/female_first_name.js +++ b/lib/locales/fa/name/female_first_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "مریم", "نازنین", "غزاله", diff --git a/lib/locales/fa/name/first_name.js b/lib/locales/fa/name/first_name.js index c3a9b15d..f14fa3c8 100644 --- a/lib/locales/fa/name/first_name.js +++ b/lib/locales/fa/name/first_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "آبان دخت", "آبتین", "آتوسا", diff --git a/lib/locales/fa/name/last_name.js b/lib/locales/fa/name/last_name.js index 9ac31d69..dbb7d90e 100644 --- a/lib/locales/fa/name/last_name.js +++ b/lib/locales/fa/name/last_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "عارف", "عاشوری", "عالی", diff --git a/lib/locales/fa/name/male_first_name.js b/lib/locales/fa/name/male_first_name.js index 1206eeb7..ff37f3f0 100644 --- a/lib/locales/fa/name/male_first_name.js +++ b/lib/locales/fa/name/male_first_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "علی", "حسن", "محمد", diff --git a/lib/locales/fa/name/name.js b/lib/locales/fa/name/name.js index bcb66545..bf923ecf 100644 --- a/lib/locales/fa/name/name.js +++ b/lib/locales/fa/name/name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "#{prefix} #{first_name} #{last_name}", "#{first_name} #{last_name}", "#{first_name} #{last_name}", diff --git a/lib/locales/fa/name/prefix.js b/lib/locales/fa/name/prefix.js index 35fc485f..f3a050d3 100644 --- a/lib/locales/fa/name/prefix.js +++ b/lib/locales/fa/name/prefix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "آقای", "خانم", "دکتر" diff --git a/lib/locales/fa/name/title.js b/lib/locales/fa/name/title.js index 6b9a6416..44321c79 100644 --- a/lib/locales/fa/name/title.js +++ b/lib/locales/fa/name/title.js @@ -1,4 +1,4 @@ -module["exports"] = { +module.exports = { "descriptor": [ "رهبر", "ارشد", diff --git a/lib/locales/fa/phone_number/formats.js b/lib/locales/fa/phone_number/formats.js index 0e617124..3c969791 100644 --- a/lib/locales/fa/phone_number/formats.js +++ b/lib/locales/fa/phone_number/formats.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "021 ### #####", "031 ### #####", "041 ### #####", diff --git a/lib/locales/fa/vehicle/fuel.js b/lib/locales/fa/vehicle/fuel.js index 45846888..1a32a7d0 100644 --- a/lib/locales/fa/vehicle/fuel.js +++ b/lib/locales/fa/vehicle/fuel.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "دیزل", "الکتریکی", "بنزین", diff --git a/lib/locales/fa/vehicle/index.js b/lib/locales/fa/vehicle/index.js index f22d6a88..a45fd7b9 100644 --- a/lib/locales/fa/vehicle/index.js +++ b/lib/locales/fa/vehicle/index.js @@ -1,5 +1,5 @@ -const vehicle = {}; -module["exports"] = vehicle; +var vehicle = {}; +module.exports = vehicle; vehicle.manufacturer = require("./manufacturer"); vehicle.model = require("./model"); vehicle.type = require("./vehicle_type"); diff --git a/lib/locales/fa/vehicle/manufacturer.js b/lib/locales/fa/vehicle/manufacturer.js index 53cfc7de..3aab6085 100644 --- a/lib/locales/fa/vehicle/manufacturer.js +++ b/lib/locales/fa/vehicle/manufacturer.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "شورولت", "کادیلاک", "فورد", diff --git a/lib/locales/fa/vehicle/model.js b/lib/locales/fa/vehicle/model.js index 956812a8..faf035b1 100644 --- a/lib/locales/fa/vehicle/model.js +++ b/lib/locales/fa/vehicle/model.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "فیستا", "فوکوس", "تاروس", diff --git a/lib/locales/fa/vehicle/vehicle_type.js b/lib/locales/fa/vehicle/vehicle_type.js index 9a1505fb..58a5ea10 100644 --- a/lib/locales/fa/vehicle/vehicle_type.js +++ b/lib/locales/fa/vehicle/vehicle_type.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "ون", "کوپه", "پیکاپ", diff --git a/lib/locales/fi/name/female_first_name.js b/lib/locales/fi/name/female_first_name.js index bb181df6..1c6ff5e4 100644 --- a/lib/locales/fi/name/female_first_name.js +++ b/lib/locales/fi/name/female_first_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Aino", "Anja", "Anna", diff --git a/lib/locales/fi/name/first_name.js b/lib/locales/fi/name/first_name.js index e4d255ef..20ba439e 100644 --- a/lib/locales/fi/name/first_name.js +++ b/lib/locales/fi/name/first_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Aleksi", "Antero", "Antti", diff --git a/lib/locales/fi/name/last_name.js b/lib/locales/fi/name/last_name.js index c33c2546..1e6085d7 100644 --- a/lib/locales/fi/name/last_name.js +++ b/lib/locales/fi/name/last_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Aaltonen", "Ahonen", "Anttila", diff --git a/lib/locales/fi/name/male_first_name.js b/lib/locales/fi/name/male_first_name.js index ff887b00..1cf3a6b8 100644 --- a/lib/locales/fi/name/male_first_name.js +++ b/lib/locales/fi/name/male_first_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Aleksi", "Antero", "Antti", diff --git a/lib/locales/fi/name/name.js b/lib/locales/fi/name/name.js index 3f42bf04..c880ab64 100644 --- a/lib/locales/fi/name/name.js +++ b/lib/locales/fi/name/name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "#{first_name} #{last_name}", "#{first_name} #{last_name}", "#{male_first_name} #{last_name}", diff --git a/lib/locales/fr/address/building_number.js b/lib/locales/fr/address/building_number.js index c4716c4d..d3b609f3 100644 --- a/lib/locales/fr/address/building_number.js +++ b/lib/locales/fr/address/building_number.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "####", "###", "##", diff --git a/lib/locales/fr/address/city.js b/lib/locales/fr/address/city.js index d62eafb1..14b927cb 100644 --- a/lib/locales/fr/address/city.js +++ b/lib/locales/fr/address/city.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "#{city_name}" ]; diff --git a/lib/locales/fr/address/city_name.js b/lib/locales/fr/address/city_name.js index b63c05aa..351f1ecf 100644 --- a/lib/locales/fr/address/city_name.js +++ b/lib/locales/fr/address/city_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Aix-en-Provence", "Ajaccio", "Amiens", diff --git a/lib/locales/fr/address/country.js b/lib/locales/fr/address/country.js index 99f0ca4d..6801ac78 100644 --- a/lib/locales/fr/address/country.js +++ b/lib/locales/fr/address/country.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Afghanistan", "Albanie", "Algérie", diff --git a/lib/locales/fr/address/default_country.js b/lib/locales/fr/address/default_country.js index 446f2da2..602b6663 100644 --- a/lib/locales/fr/address/default_country.js +++ b/lib/locales/fr/address/default_country.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "France" ]; diff --git a/lib/locales/fr/address/postcode.js b/lib/locales/fr/address/postcode.js index 3640af26..8091ecaa 100644 --- a/lib/locales/fr/address/postcode.js +++ b/lib/locales/fr/address/postcode.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "#####" ]; diff --git a/lib/locales/fr/address/secondary_address.js b/lib/locales/fr/address/secondary_address.js index 2237627f..e9bf1b7e 100644 --- a/lib/locales/fr/address/secondary_address.js +++ b/lib/locales/fr/address/secondary_address.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Apt. ###", "# étage" ]; diff --git a/lib/locales/fr/address/state.js b/lib/locales/fr/address/state.js index 233b6e52..24b41799 100644 --- a/lib/locales/fr/address/state.js +++ b/lib/locales/fr/address/state.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Alsace", "Aquitaine", "Auvergne", diff --git a/lib/locales/fr/address/street_address.js b/lib/locales/fr/address/street_address.js index 289216e7..d1d25330 100644 --- a/lib/locales/fr/address/street_address.js +++ b/lib/locales/fr/address/street_address.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "#{building_number} #{street_name}" ]; diff --git a/lib/locales/fr/address/street_name.js b/lib/locales/fr/address/street_name.js index 6c6f8793..ab54498b 100644 --- a/lib/locales/fr/address/street_name.js +++ b/lib/locales/fr/address/street_name.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "#{street_prefix} #{street_suffix}" ]; diff --git a/lib/locales/fr/address/street_prefix.js b/lib/locales/fr/address/street_prefix.js index 7076b8e1..1a9f1b0d 100644 --- a/lib/locales/fr/address/street_prefix.js +++ b/lib/locales/fr/address/street_prefix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Allée", "Voie", "Rue", diff --git a/lib/locales/fr/address/street_suffix.js b/lib/locales/fr/address/street_suffix.js index d0f75a48..4f64aae1 100644 --- a/lib/locales/fr/address/street_suffix.js +++ b/lib/locales/fr/address/street_suffix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "de l'Abbaye", "Adolphe Mille", "d'Alésia", diff --git a/lib/locales/fr/company/adjective.js b/lib/locales/fr/company/adjective.js index bcfd8abe..486ef4e4 100644 --- a/lib/locales/fr/company/adjective.js +++ b/lib/locales/fr/company/adjective.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Adaptive", "Advanced", "Ameliorated", diff --git a/lib/locales/fr/company/bs_adjective.js b/lib/locales/fr/company/bs_adjective.js index 87bc9d39..08bafd47 100644 --- a/lib/locales/fr/company/bs_adjective.js +++ b/lib/locales/fr/company/bs_adjective.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "clicks-and-mortar", "value-added", "vertical", diff --git a/lib/locales/fr/company/bs_noun.js b/lib/locales/fr/company/bs_noun.js index c764d732..383a9ed5 100644 --- a/lib/locales/fr/company/bs_noun.js +++ b/lib/locales/fr/company/bs_noun.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "synergies", "web-readiness", "paradigms", diff --git a/lib/locales/fr/company/bs_verb.js b/lib/locales/fr/company/bs_verb.js index 42e47b27..cebff65a 100644 --- a/lib/locales/fr/company/bs_verb.js +++ b/lib/locales/fr/company/bs_verb.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "implement", "utilize", "integrate", diff --git a/lib/locales/fr/company/descriptor.js b/lib/locales/fr/company/descriptor.js index 0746db82..e2abae1c 100644 --- a/lib/locales/fr/company/descriptor.js +++ b/lib/locales/fr/company/descriptor.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "24 hour", "24/7", "3rd generation", diff --git a/lib/locales/fr/company/name.js b/lib/locales/fr/company/name.js index 400235d3..b6f0edc1 100644 --- a/lib/locales/fr/company/name.js +++ b/lib/locales/fr/company/name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "#{Name.last_name} #{suffix}", "#{Name.last_name} et #{Name.last_name}" ]; diff --git a/lib/locales/fr/company/noun.js b/lib/locales/fr/company/noun.js index 0a27b357..8a09a145 100644 --- a/lib/locales/fr/company/noun.js +++ b/lib/locales/fr/company/noun.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "ability", "access", "adapter", diff --git a/lib/locales/fr/company/suffix.js b/lib/locales/fr/company/suffix.js index 237628db..15eed137 100644 --- a/lib/locales/fr/company/suffix.js +++ b/lib/locales/fr/company/suffix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "SARL", "SA", "EURL", diff --git a/lib/locales/fr/date/index.js b/lib/locales/fr/date/index.js index e53e73ee..f95b1507 100644 --- a/lib/locales/fr/date/index.js +++ b/lib/locales/fr/date/index.js @@ -1,4 +1,4 @@ -const date = {}; -module["exports"] = date; +var date = {}; +module.exports = date; date.month = require("./month"); date.weekday = require("./weekday"); diff --git a/lib/locales/fr/date/weekday.js b/lib/locales/fr/date/weekday.js index 1d99ff19..0490f82e 100644 --- a/lib/locales/fr/date/weekday.js +++ b/lib/locales/fr/date/weekday.js @@ -1,5 +1,5 @@ // Source: http://unicode.org/cldr/trac/browser/tags/release-27/common/main/en.xml#L1847 -module["exports"] = { +module.exports = { wide: [ "Dimanche", "Lundi", diff --git a/lib/locales/fr/internet/domain_suffix.js b/lib/locales/fr/internet/domain_suffix.js index 4f6a4955..04719f25 100644 --- a/lib/locales/fr/internet/domain_suffix.js +++ b/lib/locales/fr/internet/domain_suffix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "com", "fr", "eu", diff --git a/lib/locales/fr/internet/free_email.js b/lib/locales/fr/internet/free_email.js index add7151b..d5f4453e 100644 --- a/lib/locales/fr/internet/free_email.js +++ b/lib/locales/fr/internet/free_email.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "gmail.com", "yahoo.fr", "hotmail.fr" diff --git a/lib/locales/fr/lorem/words.js b/lib/locales/fr/lorem/words.js index e8c9f7bb..68d1c09c 100644 --- a/lib/locales/fr/lorem/words.js +++ b/lib/locales/fr/lorem/words.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "alias", "consequatur", "aut", diff --git a/lib/locales/fr/name/last_name.js b/lib/locales/fr/name/last_name.js index cd86d4e3..72e9f29b 100644 --- a/lib/locales/fr/name/last_name.js +++ b/lib/locales/fr/name/last_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Martin", "Bernard", "Dubois", diff --git a/lib/locales/fr/name/name.js b/lib/locales/fr/name/name.js index 7e684a3c..d5854253 100644 --- a/lib/locales/fr/name/name.js +++ b/lib/locales/fr/name/name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "#{prefix} #{first_name} #{last_name}", "#{first_name} #{last_name}", "#{last_name} #{first_name}" diff --git a/lib/locales/fr/name/prefix.js b/lib/locales/fr/name/prefix.js index 8d4468a7..c5170bb5 100644 --- a/lib/locales/fr/name/prefix.js +++ b/lib/locales/fr/name/prefix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "M", "Mme", "Mlle", diff --git a/lib/locales/fr/name/title.js b/lib/locales/fr/name/title.js index d736ac48..c47a55a9 100644 --- a/lib/locales/fr/name/title.js +++ b/lib/locales/fr/name/title.js @@ -1,4 +1,4 @@ -module["exports"] = { +module.exports = { "job": [ "Superviseur", "Executif", diff --git a/lib/locales/fr/phone_number/formats.js b/lib/locales/fr/phone_number/formats.js index 9dbe8f0c..8b9af239 100644 --- a/lib/locales/fr/phone_number/formats.js +++ b/lib/locales/fr/phone_number/formats.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "01########", "02########", "03########", diff --git a/lib/locales/fr_BE/adresses/building_number.js b/lib/locales/fr_BE/adresses/building_number.js index 0f1b8943..f979455c 100644 --- a/lib/locales/fr_BE/adresses/building_number.js +++ b/lib/locales/fr_BE/adresses/building_number.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "#", "##", "###", diff --git a/lib/locales/fr_BE/adresses/city.js b/lib/locales/fr_BE/adresses/city.js index 5cbe713b..cfcfd904 100644 --- a/lib/locales/fr_BE/adresses/city.js +++ b/lib/locales/fr_BE/adresses/city.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "#{city_prefix}", "#{city_prefix}#{city_suffix}" ]; diff --git a/lib/locales/fr_BE/adresses/city_prefix.js b/lib/locales/fr_BE/adresses/city_prefix.js index 5e324b36..00b62784 100644 --- a/lib/locales/fr_BE/adresses/city_prefix.js +++ b/lib/locales/fr_BE/adresses/city_prefix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Amblève", "Bullange", "Burg-Reuland", diff --git a/lib/locales/fr_BE/adresses/city_suffix.js b/lib/locales/fr_BE/adresses/city_suffix.js index be327535..c2202dd2 100644 --- a/lib/locales/fr_BE/adresses/city_suffix.js +++ b/lib/locales/fr_BE/adresses/city_suffix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "centre", "plage", "Sud", diff --git a/lib/locales/fr_BE/adresses/default_country.js b/lib/locales/fr_BE/adresses/default_country.js index 0d0b9d87..d6e1fa63 100644 --- a/lib/locales/fr_BE/adresses/default_country.js +++ b/lib/locales/fr_BE/adresses/default_country.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "Belgique" ]; diff --git a/lib/locales/fr_BE/adresses/postcode.js b/lib/locales/fr_BE/adresses/postcode.js index 5053d539..ec2bc226 100644 --- a/lib/locales/fr_BE/adresses/postcode.js +++ b/lib/locales/fr_BE/adresses/postcode.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "####" ]; diff --git a/lib/locales/fr_BE/adresses/state.js b/lib/locales/fr_BE/adresses/state.js index be3bd8af..cb97cd99 100644 --- a/lib/locales/fr_BE/adresses/state.js +++ b/lib/locales/fr_BE/adresses/state.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Anvers", "Limbourg", "Flandre occidentale", diff --git a/lib/locales/fr_BE/adresses/state_abbr.js b/lib/locales/fr_BE/adresses/state_abbr.js index 9c809d2c..09113a80 100644 --- a/lib/locales/fr_BE/adresses/state_abbr.js +++ b/lib/locales/fr_BE/adresses/state_abbr.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "VAN", "VLI", "VOV", diff --git a/lib/locales/fr_BE/adresses/street_address.js b/lib/locales/fr_BE/adresses/street_address.js index 74209742..4ae3b6ee 100644 --- a/lib/locales/fr_BE/adresses/street_address.js +++ b/lib/locales/fr_BE/adresses/street_address.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "#{street_name} #{building_number}" ]; diff --git a/lib/locales/fr_BE/adresses/street_name.js b/lib/locales/fr_BE/adresses/street_name.js index 93f7ec03..7252871f 100644 --- a/lib/locales/fr_BE/adresses/street_name.js +++ b/lib/locales/fr_BE/adresses/street_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "#{street_prefix} #{Name.first_name}", "#{street_prefix} #{Name.last_name}", "#{street_prefix} #{street_suffix}" diff --git a/lib/locales/fr_BE/adresses/street_prefix.js b/lib/locales/fr_BE/adresses/street_prefix.js index fa7fad30..8ad0e7cc 100644 --- a/lib/locales/fr_BE/adresses/street_prefix.js +++ b/lib/locales/fr_BE/adresses/street_prefix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Allée", "Chemin", "Cours", diff --git a/lib/locales/fr_BE/adresses/street_suffix.js b/lib/locales/fr_BE/adresses/street_suffix.js index 13af3edb..b4ab4b92 100644 --- a/lib/locales/fr_BE/adresses/street_suffix.js +++ b/lib/locales/fr_BE/adresses/street_suffix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "de la Banque", "de la Barbe", "de Barchon", diff --git a/lib/locales/fr_BE/cell_phone/formats.js b/lib/locales/fr_BE/cell_phone/formats.js index 46c8d878..bd088ee4 100644 --- a/lib/locales/fr_BE/cell_phone/formats.js +++ b/lib/locales/fr_BE/cell_phone/formats.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "###/######", "###/## ## ##", "### ## ## ##", diff --git a/lib/locales/fr_BE/internet/domain_suffix.js b/lib/locales/fr_BE/internet/domain_suffix.js index c76464d3..9c7ba655 100644 --- a/lib/locales/fr_BE/internet/domain_suffix.js +++ b/lib/locales/fr_BE/internet/domain_suffix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "be", "eu", "com", diff --git a/lib/locales/fr_BE/internet/free_email.js b/lib/locales/fr_BE/internet/free_email.js index d54c5f67..63ce5ea4 100644 --- a/lib/locales/fr_BE/internet/free_email.js +++ b/lib/locales/fr_BE/internet/free_email.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "advalvas.be", "mail.be", "netbel.be", diff --git a/lib/locales/fr_BE/name/first_name.js b/lib/locales/fr_BE/name/first_name.js index f085cefb..1a680a26 100644 --- a/lib/locales/fr_BE/name/first_name.js +++ b/lib/locales/fr_BE/name/first_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Aaliyah", "Abigaël", "Abigaëlle", diff --git a/lib/locales/fr_BE/name/first_name_female.js b/lib/locales/fr_BE/name/first_name_female.js index 4ad5b12a..0b744ca3 100644 --- a/lib/locales/fr_BE/name/first_name_female.js +++ b/lib/locales/fr_BE/name/first_name_female.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Aaliyah", "Abigaël", diff --git a/lib/locales/fr_BE/name/first_name_male.js b/lib/locales/fr_BE/name/first_name_male.js index 2b9d02cc..2b614fa8 100644 --- a/lib/locales/fr_BE/name/first_name_male.js +++ b/lib/locales/fr_BE/name/first_name_male.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Aaron", "Abd", diff --git a/lib/locales/fr_BE/name/gender.js b/lib/locales/fr_BE/name/gender.js index 5b9dbee6..98156bc9 100644 --- a/lib/locales/fr_BE/name/gender.js +++ b/lib/locales/fr_BE/name/gender.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Asexué", "Homme", "Femme", diff --git a/lib/locales/fr_BE/name/last_name.js b/lib/locales/fr_BE/name/last_name.js index ee66eeef..e4b87019 100644 --- a/lib/locales/fr_BE/name/last_name.js +++ b/lib/locales/fr_BE/name/last_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Martin", "Bernard", "Dubois", diff --git a/lib/locales/fr_BE/name/name.js b/lib/locales/fr_BE/name/name.js index 4d7f698d..37fb714d 100644 --- a/lib/locales/fr_BE/name/name.js +++ b/lib/locales/fr_BE/name/name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "#{prefix} #{first_name} #{last_name}", "#{first_name} #{last_name} #{suffix}", "#{first_name} #{last_name}", diff --git a/lib/locales/fr_BE/name/prefix.js b/lib/locales/fr_BE/name/prefix.js index 0f3e55ba..989135dc 100644 --- a/lib/locales/fr_BE/name/prefix.js +++ b/lib/locales/fr_BE/name/prefix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Mr.", "Dr.", "Prof.", diff --git a/lib/locales/fr_BE/name/suffix.js b/lib/locales/fr_BE/name/suffix.js index 468c3145..1a051235 100644 --- a/lib/locales/fr_BE/name/suffix.js +++ b/lib/locales/fr_BE/name/suffix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Fils", "I", "II", diff --git a/lib/locales/fr_BE/name/title.js b/lib/locales/fr_BE/name/title.js index d736ac48..c47a55a9 100644 --- a/lib/locales/fr_BE/name/title.js +++ b/lib/locales/fr_BE/name/title.js @@ -1,4 +1,4 @@ -module["exports"] = { +module.exports = { "job": [ "Superviseur", "Executif", diff --git a/lib/locales/fr_BE/phone_number/formats.js b/lib/locales/fr_BE/phone_number/formats.js index 87d97ffd..2ae5b0f8 100644 --- a/lib/locales/fr_BE/phone_number/formats.js +++ b/lib/locales/fr_BE/phone_number/formats.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "###/######", "###/## ## ##", "### ## ## ##", diff --git a/lib/locales/fr_CA/address/default_country.js b/lib/locales/fr_CA/address/default_country.js index 468d1e3c..3bee5efe 100644 --- a/lib/locales/fr_CA/address/default_country.js +++ b/lib/locales/fr_CA/address/default_country.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "Canada" ]; diff --git a/lib/locales/fr_CA/address/postcode.js b/lib/locales/fr_CA/address/postcode.js index 0ea6945c..17774acb 100644 --- a/lib/locales/fr_CA/address/postcode.js +++ b/lib/locales/fr_CA/address/postcode.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "A#? #?#", "B#? #?#", "C#? #?#", diff --git a/lib/locales/fr_CA/address/state.js b/lib/locales/fr_CA/address/state.js index 3bd0ee0f..c1a5822e 100644 --- a/lib/locales/fr_CA/address/state.js +++ b/lib/locales/fr_CA/address/state.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Alberta", "Colombie-Britannique", "Manitoba", diff --git a/lib/locales/fr_CA/address/state_abbr.js b/lib/locales/fr_CA/address/state_abbr.js index ff303646..5b4c3e36 100644 --- a/lib/locales/fr_CA/address/state_abbr.js +++ b/lib/locales/fr_CA/address/state_abbr.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "AB", "BC", "MB", diff --git a/lib/locales/fr_CA/internet/domain_suffix.js b/lib/locales/fr_CA/internet/domain_suffix.js index ffa591e8..bf6cca32 100644 --- a/lib/locales/fr_CA/internet/domain_suffix.js +++ b/lib/locales/fr_CA/internet/domain_suffix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "qc.ca", "ca", "com", diff --git a/lib/locales/fr_CA/internet/free_email.js b/lib/locales/fr_CA/internet/free_email.js index a2b6826c..17f53926 100644 --- a/lib/locales/fr_CA/internet/free_email.js +++ b/lib/locales/fr_CA/internet/free_email.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "gmail.com", "yahoo.ca", "hotmail.com" diff --git a/lib/locales/fr_CA/phone_number/formats.js b/lib/locales/fr_CA/phone_number/formats.js index 63d60585..7f512aa3 100644 --- a/lib/locales/fr_CA/phone_number/formats.js +++ b/lib/locales/fr_CA/phone_number/formats.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "### ###-####", "1 ### ###-####", "### ###-####, poste ###" diff --git a/lib/locales/fr_CH/address/city.js b/lib/locales/fr_CH/address/city.js index d62eafb1..14b927cb 100644 --- a/lib/locales/fr_CH/address/city.js +++ b/lib/locales/fr_CH/address/city.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "#{city_name}" ]; diff --git a/lib/locales/fr_CH/address/city_name.js b/lib/locales/fr_CH/address/city_name.js index 3f320626..da2a938a 100644 --- a/lib/locales/fr_CH/address/city_name.js +++ b/lib/locales/fr_CH/address/city_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Aarau", "Adliswil", "Aesch", diff --git a/lib/locales/fr_CH/address/country_code.js b/lib/locales/fr_CH/address/country_code.js index 21074410..e6cd28c5 100644 --- a/lib/locales/fr_CH/address/country_code.js +++ b/lib/locales/fr_CH/address/country_code.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "CH", ]; diff --git a/lib/locales/fr_CH/address/default_country.js b/lib/locales/fr_CH/address/default_country.js index 4ea8078d..fa0a3bf6 100644 --- a/lib/locales/fr_CH/address/default_country.js +++ b/lib/locales/fr_CH/address/default_country.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "Suisse" ]; diff --git a/lib/locales/fr_CH/address/postcode.js b/lib/locales/fr_CH/address/postcode.js index cb94e7a7..5c7d2fc9 100644 --- a/lib/locales/fr_CH/address/postcode.js +++ b/lib/locales/fr_CH/address/postcode.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "1###", "2###", "3###", diff --git a/lib/locales/fr_CH/address/state.js b/lib/locales/fr_CH/address/state.js index 09a036d5..9ac8d111 100644 --- a/lib/locales/fr_CH/address/state.js +++ b/lib/locales/fr_CH/address/state.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Argovie", "Appenzell Rhodes-Intérieures", "Appenzell Rhodes-Extérieures", diff --git a/lib/locales/fr_CH/internet/domain_suffix.js b/lib/locales/fr_CH/internet/domain_suffix.js index 5a1da08c..7beb16f1 100644 --- a/lib/locales/fr_CH/internet/domain_suffix.js +++ b/lib/locales/fr_CH/internet/domain_suffix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "com", "net", "biz", diff --git a/lib/locales/fr_CH/phone_number/formats.js b/lib/locales/fr_CH/phone_number/formats.js index ff12096b..9b07d1a3 100644 --- a/lib/locales/fr_CH/phone_number/formats.js +++ b/lib/locales/fr_CH/phone_number/formats.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "0800 ### ###", "0800 ## ## ##", "0## ### ## ##", diff --git a/lib/locales/ge/address/building_number.js b/lib/locales/ge/address/building_number.js index 8f67cb33..f98bf3de 100644 --- a/lib/locales/ge/address/building_number.js +++ b/lib/locales/ge/address/building_number.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "###", "##", "#" diff --git a/lib/locales/ge/address/city.js b/lib/locales/ge/address/city.js index 42d80751..4158f884 100644 --- a/lib/locales/ge/address/city.js +++ b/lib/locales/ge/address/city.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "#{city_prefix} #{Name.first_name}#{city_suffix}", "#{city_prefix} #{Name.first_name}", "#{Name.first_name}#{city_suffix}", diff --git a/lib/locales/ge/address/city_name.js b/lib/locales/ge/address/city_name.js index bdc9adb0..18623a62 100644 --- a/lib/locales/ge/address/city_name.js +++ b/lib/locales/ge/address/city_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "აბასთუმანი", "აბაშა", "ადიგენი", diff --git a/lib/locales/ge/address/city_prefix.js b/lib/locales/ge/address/city_prefix.js index e70217e3..dde65d7c 100644 --- a/lib/locales/ge/address/city_prefix.js +++ b/lib/locales/ge/address/city_prefix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "ახალი", "ძველი", "ზემო", diff --git a/lib/locales/ge/address/city_suffix.js b/lib/locales/ge/address/city_suffix.js index f92b52b7..f94502b1 100644 --- a/lib/locales/ge/address/city_suffix.js +++ b/lib/locales/ge/address/city_suffix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "სოფელი", "ძირი", "სკარი", diff --git a/lib/locales/ge/address/country.js b/lib/locales/ge/address/country.js index 2f8a8435..00971fe8 100644 --- a/lib/locales/ge/address/country.js +++ b/lib/locales/ge/address/country.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "ავსტრალია", "ავსტრია", "ავღანეთი", diff --git a/lib/locales/ge/address/default_country.js b/lib/locales/ge/address/default_country.js index cc41deb4..56b45d6b 100644 --- a/lib/locales/ge/address/default_country.js +++ b/lib/locales/ge/address/default_country.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "საქართველო" ]; diff --git a/lib/locales/ge/address/postcode.js b/lib/locales/ge/address/postcode.js index 860cbb6e..66eef095 100644 --- a/lib/locales/ge/address/postcode.js +++ b/lib/locales/ge/address/postcode.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "01##" ]; diff --git a/lib/locales/ge/address/secondary_address.js b/lib/locales/ge/address/secondary_address.js index 36f3653e..83f15281 100644 --- a/lib/locales/ge/address/secondary_address.js +++ b/lib/locales/ge/address/secondary_address.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "კორპ. ##", "შენობა ###" ]; diff --git a/lib/locales/ge/address/street_address.js b/lib/locales/ge/address/street_address.js index 74209742..4ae3b6ee 100644 --- a/lib/locales/ge/address/street_address.js +++ b/lib/locales/ge/address/street_address.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "#{street_name} #{building_number}" ]; diff --git a/lib/locales/ge/address/street_name.js b/lib/locales/ge/address/street_name.js index 8f203df1..d5f6bb84 100644 --- a/lib/locales/ge/address/street_name.js +++ b/lib/locales/ge/address/street_name.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "#{street_title} #{street_suffix}" ]; diff --git a/lib/locales/ge/address/street_suffix.js b/lib/locales/ge/address/street_suffix.js index 6f8ad8ec..d709304e 100644 --- a/lib/locales/ge/address/street_suffix.js +++ b/lib/locales/ge/address/street_suffix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "გამზ.", "გამზირი", "ქ.", diff --git a/lib/locales/ge/address/street_title.js b/lib/locales/ge/address/street_title.js index 3e477790..97eedbf2 100644 --- a/lib/locales/ge/address/street_title.js +++ b/lib/locales/ge/address/street_title.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "აბაშიძის", "აბესაძის", "აბულაძის", diff --git a/lib/locales/ge/cell_phone/formats.js b/lib/locales/ge/cell_phone/formats.js index 44a092a0..38e9a2fb 100644 --- a/lib/locales/ge/cell_phone/formats.js +++ b/lib/locales/ge/cell_phone/formats.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "(+995 32) 2-##-##-##", "032-2-##-##-##", "032-2-######", diff --git a/lib/locales/ge/company/name.js b/lib/locales/ge/company/name.js index 1ae0f521..add8a44b 100644 --- a/lib/locales/ge/company/name.js +++ b/lib/locales/ge/company/name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "#{prefix} #{Name.first_name}", "#{prefix} #{Name.last_name}", "#{prefix} #{Name.last_name} #{suffix}", diff --git a/lib/locales/ge/company/prefix.js b/lib/locales/ge/company/prefix.js index 7be2a005..beda266d 100644 --- a/lib/locales/ge/company/prefix.js +++ b/lib/locales/ge/company/prefix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "შპს", "სს", "ააიპ", diff --git a/lib/locales/ge/company/suffix.js b/lib/locales/ge/company/suffix.js index 7fcf252a..f18b8b64 100644 --- a/lib/locales/ge/company/suffix.js +++ b/lib/locales/ge/company/suffix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "ჯგუფი", "და კომპანია", "სტუდია", diff --git a/lib/locales/ge/internet/domain_suffix.js b/lib/locales/ge/internet/domain_suffix.js index 6b3c3897..3ef0bad8 100644 --- a/lib/locales/ge/internet/domain_suffix.js +++ b/lib/locales/ge/internet/domain_suffix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "ge", "com", "net", diff --git a/lib/locales/ge/internet/free_email.js b/lib/locales/ge/internet/free_email.js index c8c544dd..48c6f755 100644 --- a/lib/locales/ge/internet/free_email.js +++ b/lib/locales/ge/internet/free_email.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "gmail.com", "yahoo.com", "posta.ge" diff --git a/lib/locales/ge/name/first_name.js b/lib/locales/ge/name/first_name.js index 32a1ddf0..dcbac751 100644 --- a/lib/locales/ge/name/first_name.js +++ b/lib/locales/ge/name/first_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "აგული", "აგუნა", "ადოლა", diff --git a/lib/locales/ge/name/last_name.js b/lib/locales/ge/name/last_name.js index ba085492..24ce12d2 100644 --- a/lib/locales/ge/name/last_name.js +++ b/lib/locales/ge/name/last_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "აბაზაძე", "აბაშიძე", "აბრამაშვილი", diff --git a/lib/locales/ge/name/name.js b/lib/locales/ge/name/name.js index 23c77b5e..b95b5f11 100644 --- a/lib/locales/ge/name/name.js +++ b/lib/locales/ge/name/name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "#{prefix} #{first_name} #{last_name}", "#{first_name} #{last_name}", "#{first_name} #{last_name}", diff --git a/lib/locales/ge/name/prefix.js b/lib/locales/ge/name/prefix.js index 7cd23aca..203cae02 100644 --- a/lib/locales/ge/name/prefix.js +++ b/lib/locales/ge/name/prefix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "ბ-ნი", "ბატონი", "ქ-ნი", diff --git a/lib/locales/ge/name/title.js b/lib/locales/ge/name/title.js index d39a6570..2cd9f4d2 100644 --- a/lib/locales/ge/name/title.js +++ b/lib/locales/ge/name/title.js @@ -1,4 +1,4 @@ -module["exports"] = { +module.exports = { "descriptor": [ "გენერალური", "მთავარი", diff --git a/lib/locales/ge/phone_number/formats.js b/lib/locales/ge/phone_number/formats.js index 2f37c229..aec4e5dc 100644 --- a/lib/locales/ge/phone_number/formats.js +++ b/lib/locales/ge/phone_number/formats.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "5##-###-###", "5########", "5## ## ## ##", diff --git a/lib/locales/he/address/building_number.js b/lib/locales/he/address/building_number.js index 8f67cb33..f98bf3de 100644 --- a/lib/locales/he/address/building_number.js +++ b/lib/locales/he/address/building_number.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "###", "##", "#" diff --git a/lib/locales/he/address/city.js b/lib/locales/he/address/city.js index 3f197099..3380c678 100644 --- a/lib/locales/he/address/city.js +++ b/lib/locales/he/address/city.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "#{city_prefix} #{Name.first_name}#{Name.last_name}", "#{city_prefix} #{Name.first_name}", "#{Name.first_name}#{city_suffix}", diff --git a/lib/locales/he/address/city_prefix.js b/lib/locales/he/address/city_prefix.js index ce7b88cb..da1918bf 100644 --- a/lib/locales/he/address/city_prefix.js +++ b/lib/locales/he/address/city_prefix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "צפון", "מזרח", "מערב", diff --git a/lib/locales/he/address/city_suffix.js b/lib/locales/he/address/city_suffix.js index 389b09e1..925f28f7 100644 --- a/lib/locales/he/address/city_suffix.js +++ b/lib/locales/he/address/city_suffix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "", "חדשה", "עלית" diff --git a/lib/locales/he/address/country.js b/lib/locales/he/address/country.js index 8da64001..137bfa2c 100644 --- a/lib/locales/he/address/country.js +++ b/lib/locales/he/address/country.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "אוגנדה", "אוזבקיסטאן", "אוסטריה", diff --git a/lib/locales/he/address/country_code.js b/lib/locales/he/address/country_code.js index e53d0ae4..1e928969 100644 --- a/lib/locales/he/address/country_code.js +++ b/lib/locales/he/address/country_code.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "" ]; diff --git a/lib/locales/he/address/country_code_alpha_3.js b/lib/locales/he/address/country_code_alpha_3.js index 54eba176..12b867b5 100644 --- a/lib/locales/he/address/country_code_alpha_3.js +++ b/lib/locales/he/address/country_code_alpha_3.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "BGD", "BEL", "BFA", diff --git a/lib/locales/he/address/county.js b/lib/locales/he/address/county.js index 26455d6e..40a03acc 100644 --- a/lib/locales/he/address/county.js +++ b/lib/locales/he/address/county.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "Not relevant for Israel" ]; diff --git a/lib/locales/he/address/default_country.js b/lib/locales/he/address/default_country.js index a7b87dfb..b85f2b99 100644 --- a/lib/locales/he/address/default_country.js +++ b/lib/locales/he/address/default_country.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "מדינת ישראל" ]; diff --git a/lib/locales/he/address/direction.js b/lib/locales/he/address/direction.js index 50196fdb..1bc4c8f2 100644 --- a/lib/locales/he/address/direction.js +++ b/lib/locales/he/address/direction.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "צפון", "מזרח", "דרום", diff --git a/lib/locales/he/address/direction_abbr.js b/lib/locales/he/address/direction_abbr.js index 775ab0ca..a6acafd4 100644 --- a/lib/locales/he/address/direction_abbr.js +++ b/lib/locales/he/address/direction_abbr.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "N", "E", "S", diff --git a/lib/locales/he/address/postcode.js b/lib/locales/he/address/postcode.js index 8b0e32e5..789da7f2 100644 --- a/lib/locales/he/address/postcode.js +++ b/lib/locales/he/address/postcode.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "#####", "#######" ]; diff --git a/lib/locales/he/address/postcode_by_state.js b/lib/locales/he/address/postcode_by_state.js index 8b0e32e5..789da7f2 100644 --- a/lib/locales/he/address/postcode_by_state.js +++ b/lib/locales/he/address/postcode_by_state.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "#####", "#######" ]; diff --git a/lib/locales/he/address/secondary_address.js b/lib/locales/he/address/secondary_address.js index 8a4eca17..df203d90 100644 --- a/lib/locales/he/address/secondary_address.js +++ b/lib/locales/he/address/secondary_address.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "# דירה", "## דירה", "# חדר", diff --git a/lib/locales/he/address/state.js b/lib/locales/he/address/state.js index d2b0e865..2f4c4871 100644 --- a/lib/locales/he/address/state.js +++ b/lib/locales/he/address/state.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "חיפה", "רמת הגולן", "הגדה המערבית", diff --git a/lib/locales/he/address/state_abbr.js b/lib/locales/he/address/state_abbr.js index 464757a2..3066c15d 100644 --- a/lib/locales/he/address/state_abbr.js +++ b/lib/locales/he/address/state_abbr.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "AL", "AK", "AZ", diff --git a/lib/locales/he/address/street_address.js b/lib/locales/he/address/street_address.js index 289216e7..d1d25330 100644 --- a/lib/locales/he/address/street_address.js +++ b/lib/locales/he/address/street_address.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "#{building_number} #{street_name}" ]; diff --git a/lib/locales/he/address/street_name.js b/lib/locales/he/address/street_name.js index dfd85dfc..d6a31171 100644 --- a/lib/locales/he/address/street_name.js +++ b/lib/locales/he/address/street_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "#{Name.first_name} #{street_suffix}", "#{Name.last_name} #{street_suffix}" ]; diff --git a/lib/locales/he/address/street_suffix.js b/lib/locales/he/address/street_suffix.js index 45c6cd1a..e6a34d82 100644 --- a/lib/locales/he/address/street_suffix.js +++ b/lib/locales/he/address/street_suffix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Alley", "Avenue", "Branch", diff --git a/lib/locales/he/address/time_zone.js b/lib/locales/he/address/time_zone.js index bfa4d9cc..757cc428 100644 --- a/lib/locales/he/address/time_zone.js +++ b/lib/locales/he/address/time_zone.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Pacific/Midway", "Pacific/Pago_Pago", "Pacific/Honolulu", diff --git a/lib/locales/he/cell_phone/formats.js b/lib/locales/he/cell_phone/formats.js index 68028837..c9454275 100644 --- a/lib/locales/he/cell_phone/formats.js +++ b/lib/locales/he/cell_phone/formats.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "###-###-####", "(###)-##-###-####", "+(###)-##-###-####", diff --git a/lib/locales/he/commerce/color.js b/lib/locales/he/commerce/color.js index 43efc2aa..d3c5cdc5 100644 --- a/lib/locales/he/commerce/color.js +++ b/lib/locales/he/commerce/color.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "אדום", "ירוק", "כחול", diff --git a/lib/locales/he/commerce/department.js b/lib/locales/he/commerce/department.js index 9a92afd0..b2182caf 100644 --- a/lib/locales/he/commerce/department.js +++ b/lib/locales/he/commerce/department.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "ספרים", "סרטים", "מוסיקה", diff --git a/lib/locales/he/commerce/product_description.js b/lib/locales/he/commerce/product_description.js index 6545f41f..f24fce0d 100644 --- a/lib/locales/he/commerce/product_description.js +++ b/lib/locales/he/commerce/product_description.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "כסא מנהלים ארגונומי מרופד בעור שחור מלוכדות ובמושב ובגב מרופד PVC לנוחות ותמיכה לאורך כל היום", "מערך הרכב מורכב מעיצוב מנוע קדמי, עם תיבות הילוכים מסוג ציר טרנסוולר המותקנות בחלק האחורי של המנוע והנעה עם ארבעה גלגלים", "חדש ABC 13 9370, 13.3, דור 5 CoreA5-8250U, 8GB RAM, 256GB SSD, כוח UHD גרפיקה, OS 10 Home, OS Office A & J 2016", diff --git a/lib/locales/he/commerce/product_name.js b/lib/locales/he/commerce/product_name.js index ce95e72f..8a49a86c 100644 --- a/lib/locales/he/commerce/product_name.js +++ b/lib/locales/he/commerce/product_name.js @@ -1,4 +1,4 @@ -module["exports"] = { +module.exports = { "adjective": [ "קטן", "ארגונומי", diff --git a/lib/locales/he/date/index.js b/lib/locales/he/date/index.js index e53e73ee..f95b1507 100644 --- a/lib/locales/he/date/index.js +++ b/lib/locales/he/date/index.js @@ -1,4 +1,4 @@ -const date = {}; -module["exports"] = date; +var date = {}; +module.exports = date; date.month = require("./month"); date.weekday = require("./weekday"); diff --git a/lib/locales/he/date/month.js b/lib/locales/he/date/month.js index 6d1e4bc1..c8598461 100644 --- a/lib/locales/he/date/month.js +++ b/lib/locales/he/date/month.js @@ -1,5 +1,5 @@ // Source: http://unicode.org/cldr/trac/browser/tags/release-27/common/main/en.xml#L1799 -module["exports"] = { +module.exports = { wide: [ "ינואר", "פברואר", diff --git a/lib/locales/he/date/weekday.js b/lib/locales/he/date/weekday.js index 9b9ddab5..5437a792 100644 --- a/lib/locales/he/date/weekday.js +++ b/lib/locales/he/date/weekday.js @@ -1,5 +1,5 @@ // Source: http://unicode.org/cldr/trac/browser/tags/release-27/common/main/en.xml#L1847 -module["exports"] = { +module.exports = { wide: [ "יום ראשון", "יום שני", diff --git a/lib/locales/he/lorem/supplemental.js b/lib/locales/he/lorem/supplemental.js index 8fdc2c3e..3fa3aa79 100644 --- a/lib/locales/he/lorem/supplemental.js +++ b/lib/locales/he/lorem/supplemental.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "abbas", "abduco", "abeo", diff --git a/lib/locales/he/lorem/words.js b/lib/locales/he/lorem/words.js index 56e8252c..11ebdfb4 100644 --- a/lib/locales/he/lorem/words.js +++ b/lib/locales/he/lorem/words.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "לורם", "איפסום", "דולור", diff --git a/lib/locales/he/music/genre.js b/lib/locales/he/music/genre.js index a76f840f..412289c1 100644 --- a/lib/locales/he/music/genre.js +++ b/lib/locales/he/music/genre.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "רוק", "רוק מטאלי", "פופ", diff --git a/lib/locales/he/name/female_first_name.js b/lib/locales/he/name/female_first_name.js index 1a083a43..96e766e2 100644 --- a/lib/locales/he/name/female_first_name.js +++ b/lib/locales/he/name/female_first_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "אביב", "אביבית", "אביגיל", diff --git a/lib/locales/he/name/first_name.js b/lib/locales/he/name/first_name.js index 56a52b58..3707e63e 100644 --- a/lib/locales/he/name/first_name.js +++ b/lib/locales/he/name/first_name.js @@ -4,4 +4,4 @@ const allNames = []; maleNames.forEach(function (v) { allNames.push(v); }); femaleNames.forEach( function (v) { allNames.push(v); }); -module["exports"] = allNames.sort(); +module.exports = allNames.sort(); diff --git a/lib/locales/he/name/gender.js b/lib/locales/he/name/gender.js index 4a61e0cd..1b8f0322 100644 --- a/lib/locales/he/name/gender.js +++ b/lib/locales/he/name/gender.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Asexual", "Female to male trans man", "Female to male transgender man", diff --git a/lib/locales/he/name/last_name.js b/lib/locales/he/name/last_name.js index e4150304..05a1a85c 100644 --- a/lib/locales/he/name/last_name.js +++ b/lib/locales/he/name/last_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "עברות", "אביב", "אביבי", diff --git a/lib/locales/he/name/male_first_name.js b/lib/locales/he/name/male_first_name.js index 8f52f92a..85ae3e66 100644 --- a/lib/locales/he/name/male_first_name.js +++ b/lib/locales/he/name/male_first_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "אביאל", "אביגדור", "אביה", diff --git a/lib/locales/he/name/name.js b/lib/locales/he/name/name.js index 4d7f698d..37fb714d 100644 --- a/lib/locales/he/name/name.js +++ b/lib/locales/he/name/name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "#{prefix} #{first_name} #{last_name}", "#{first_name} #{last_name} #{suffix}", "#{first_name} #{last_name}", diff --git a/lib/locales/he/name/prefix.js b/lib/locales/he/name/prefix.js index 786eaee9..bfc7882b 100644 --- a/lib/locales/he/name/prefix.js +++ b/lib/locales/he/name/prefix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Mr.", "Mrs.", "Ms.", diff --git a/lib/locales/he/name/suffix.js b/lib/locales/he/name/suffix.js index 544572cb..b6d67399 100644 --- a/lib/locales/he/name/suffix.js +++ b/lib/locales/he/name/suffix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Jr.", "Sr.", "I", diff --git a/lib/locales/he/name/title.js b/lib/locales/he/name/title.js index df4228f3..132659de 100644 --- a/lib/locales/he/name/title.js +++ b/lib/locales/he/name/title.js @@ -1,4 +1,4 @@ -module["exports"] = { +module.exports = { "descriptor": [ "Lead", "Senior", diff --git a/lib/locales/he/phone_number/formats.js b/lib/locales/he/phone_number/formats.js index d3eec219..9722bb11 100644 --- a/lib/locales/he/phone_number/formats.js +++ b/lib/locales/he/phone_number/formats.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "!##-!##-####", "(!##) !##-####", "1-!##-!##-####", diff --git a/lib/locales/hr/address/building_number.js b/lib/locales/hr/address/building_number.js index 23fc733d..d6c35519 100644 --- a/lib/locales/hr/address/building_number.js +++ b/lib/locales/hr/address/building_number.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "#", "##", "###" diff --git a/lib/locales/hr/address/city.js b/lib/locales/hr/address/city.js index d62eafb1..14b927cb 100644 --- a/lib/locales/hr/address/city.js +++ b/lib/locales/hr/address/city.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "#{city_name}" ]; diff --git a/lib/locales/hr/address/country.js b/lib/locales/hr/address/country.js index 3d7e988a..eaedd41f 100644 --- a/lib/locales/hr/address/country.js +++ b/lib/locales/hr/address/country.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Afganistan", "Albanija", "Alžir", diff --git a/lib/locales/hr/address/default_country.js b/lib/locales/hr/address/default_country.js index ef407d43..5f57f10c 100644 --- a/lib/locales/hr/address/default_country.js +++ b/lib/locales/hr/address/default_country.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "Hrvatska" ]; diff --git a/lib/locales/hr/address/postcode.js b/lib/locales/hr/address/postcode.js index 3640af26..8091ecaa 100644 --- a/lib/locales/hr/address/postcode.js +++ b/lib/locales/hr/address/postcode.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "#####" ]; diff --git a/lib/locales/hr/address/secondary_address.js b/lib/locales/hr/address/secondary_address.js index c779dc8c..034de0fb 100644 --- a/lib/locales/hr/address/secondary_address.js +++ b/lib/locales/hr/address/secondary_address.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Kat #", "Stan ##" ]; diff --git a/lib/locales/hr/address/street.js b/lib/locales/hr/address/street.js index cc820ae4..883d4b44 100644 --- a/lib/locales/hr/address/street.js +++ b/lib/locales/hr/address/street.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Adolfa Waldingera", "Alanska", "Aljmaška", diff --git a/lib/locales/hr/address/street_address.js b/lib/locales/hr/address/street_address.js index 74209742..4ae3b6ee 100644 --- a/lib/locales/hr/address/street_address.js +++ b/lib/locales/hr/address/street_address.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "#{street_name} #{building_number}" ]; diff --git a/lib/locales/hr/address/street_name.js b/lib/locales/hr/address/street_name.js index 5485164f..2d37b64a 100644 --- a/lib/locales/hr/address/street_name.js +++ b/lib/locales/hr/address/street_name.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "#{street}" ]; diff --git a/lib/locales/hr/address/time_zone.js b/lib/locales/hr/address/time_zone.js index 9b15341c..3fe962b2 100644 --- a/lib/locales/hr/address/time_zone.js +++ b/lib/locales/hr/address/time_zone.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Pacifik/Midway", "Pacifik/Pago_Pago", "Pacifik/Honolulu", diff --git a/lib/locales/hr/cell_phone/formats.js b/lib/locales/hr/cell_phone/formats.js index 9ebba1db..12dee8ff 100644 --- a/lib/locales/hr/cell_phone/formats.js +++ b/lib/locales/hr/cell_phone/formats.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "09# ### ####", "+385 9# ### ####" ]; diff --git a/lib/locales/hr/date/index.js b/lib/locales/hr/date/index.js index e53e73ee..f95b1507 100644 --- a/lib/locales/hr/date/index.js +++ b/lib/locales/hr/date/index.js @@ -1,4 +1,4 @@ -const date = {}; -module["exports"] = date; +var date = {}; +module.exports = date; date.month = require("./month"); date.weekday = require("./weekday"); diff --git a/lib/locales/hr/date/month.js b/lib/locales/hr/date/month.js index 00ca7dca..2fdf8969 100644 --- a/lib/locales/hr/date/month.js +++ b/lib/locales/hr/date/month.js @@ -1,5 +1,5 @@ // Source: http://unicode.org/cldr/trac/browser/tags/release-27/common/main/en.xml#L1799 -module["exports"] = { +module.exports = { wide: [ "siječanj", "veljača", diff --git a/lib/locales/hr/date/weekday.js b/lib/locales/hr/date/weekday.js index 43a217a1..470954f8 100644 --- a/lib/locales/hr/date/weekday.js +++ b/lib/locales/hr/date/weekday.js @@ -1,5 +1,5 @@ // Source: http://unicode.org/cldr/trac/browser/tags/release-27/common/main/en.xml#L1847 -module["exports"] = { +module.exports = { wide: [ "nedjelja", "ponedjeljak", diff --git a/lib/locales/hr/internet/domain_suffix.js b/lib/locales/hr/internet/domain_suffix.js index b49440f7..4fa69a0c 100644 --- a/lib/locales/hr/internet/domain_suffix.js +++ b/lib/locales/hr/internet/domain_suffix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "hr", "com", "net", diff --git a/lib/locales/hr/internet/free_email.js b/lib/locales/hr/internet/free_email.js index 0b66efe1..4f1afc8c 100644 --- a/lib/locales/hr/internet/free_email.js +++ b/lib/locales/hr/internet/free_email.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "gmail.com", "hrnet.hr", "mailhr.hr" diff --git a/lib/locales/hr/name/female_first_name.js b/lib/locales/hr/name/female_first_name.js index 025ec10e..7f0d6d21 100644 --- a/lib/locales/hr/name/female_first_name.js +++ b/lib/locales/hr/name/female_first_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Ada", "Adina", "Adriana", diff --git a/lib/locales/hr/name/first_name.js b/lib/locales/hr/name/first_name.js index 28060e08..d08ddaaa 100644 --- a/lib/locales/hr/name/first_name.js +++ b/lib/locales/hr/name/first_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Ada", "Adina", "Adriana", diff --git a/lib/locales/hr/name/last_name.js b/lib/locales/hr/name/last_name.js index a1ee47ad..cb9f82c0 100644 --- a/lib/locales/hr/name/last_name.js +++ b/lib/locales/hr/name/last_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ 'Abadžić', 'Abadžija', 'Abazi', diff --git a/lib/locales/hr/name/male_first_name.js b/lib/locales/hr/name/male_first_name.js index a07c3d00..90edca5d 100644 --- a/lib/locales/hr/name/male_first_name.js +++ b/lib/locales/hr/name/male_first_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Adi", "Ado", "Andel", diff --git a/lib/locales/hr/name/name.js b/lib/locales/hr/name/name.js index 9906646f..0028614e 100644 --- a/lib/locales/hr/name/name.js +++ b/lib/locales/hr/name/name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "#{prefix} #{first_name} #{last_name}", "#{first_name} #{last_name}, #{suffix}", "#{first_name} #{last_name}", diff --git a/lib/locales/hr/name/prefix.js b/lib/locales/hr/name/prefix.js index 99fcbf5b..476c8eab 100644 --- a/lib/locales/hr/name/prefix.js +++ b/lib/locales/hr/name/prefix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "g.", "gđa.", "gđa.", diff --git a/lib/locales/hr/name/suffix.js b/lib/locales/hr/name/suffix.js index 775812c6..9080367a 100644 --- a/lib/locales/hr/name/suffix.js +++ b/lib/locales/hr/name/suffix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "dipl.oecc", "dipl.ing" ]; diff --git a/lib/locales/hr/name/title.js b/lib/locales/hr/name/title.js index 1d8c3c28..4b8c8e03 100644 --- a/lib/locales/hr/name/title.js +++ b/lib/locales/hr/name/title.js @@ -1,4 +1,4 @@ -module["exports"] = { +module.exports = { "descriptor": [ "Glavni", "Senior", diff --git a/lib/locales/hr/phone_number/formats.js b/lib/locales/hr/phone_number/formats.js index 209cf804..64d6c35f 100644 --- a/lib/locales/hr/phone_number/formats.js +++ b/lib/locales/hr/phone_number/formats.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "### ###", "### ###", "### ###", diff --git a/lib/locales/hy/address/building_number.js b/lib/locales/hy/address/building_number.js index 2c67ae7a..36f53f03 100644 --- a/lib/locales/hy/address/building_number.js +++ b/lib/locales/hy/address/building_number.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "###", "###/#", "##", diff --git a/lib/locales/hy/address/city.js b/lib/locales/hy/address/city.js index 0874f109..febdc51e 100644 --- a/lib/locales/hy/address/city.js +++ b/lib/locales/hy/address/city.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "#{city_prefix} #{Name.last_name}", "#{Name.last_name}#{city_suffix}" ]; diff --git a/lib/locales/hy/address/city_prefix.js b/lib/locales/hy/address/city_prefix.js index 55d54964..b8f5c605 100644 --- a/lib/locales/hy/address/city_prefix.js +++ b/lib/locales/hy/address/city_prefix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Հյուսիսային", "Արևելյան", "Արևմտյան", diff --git a/lib/locales/hy/address/city_suffix.js b/lib/locales/hy/address/city_suffix.js index 88d3c17e..5d94dda2 100644 --- a/lib/locales/hy/address/city_suffix.js +++ b/lib/locales/hy/address/city_suffix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ 'ակերտ', 'աշեն', 'աշատ' diff --git a/lib/locales/hy/address/country.js b/lib/locales/hy/address/country.js index 79d5b17f..ebd090ca 100644 --- a/lib/locales/hy/address/country.js +++ b/lib/locales/hy/address/country.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "ԱՄՆ", "Ադրբեջան", "Ալբանիա", diff --git a/lib/locales/hy/address/default_country.js b/lib/locales/hy/address/default_country.js index 13d02401..6772453c 100644 --- a/lib/locales/hy/address/default_country.js +++ b/lib/locales/hy/address/default_country.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "Արցախի Հանրապետություն" ]; diff --git a/lib/locales/hy/address/direction.js b/lib/locales/hy/address/direction.js index 769f66e9..7715fee7 100644 --- a/lib/locales/hy/address/direction.js +++ b/lib/locales/hy/address/direction.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Հյուսիսային", "Արևելյան", "Հարավային", diff --git a/lib/locales/hy/address/secondary_address.js b/lib/locales/hy/address/secondary_address.js index 519d4bf7..171dff93 100644 --- a/lib/locales/hy/address/secondary_address.js +++ b/lib/locales/hy/address/secondary_address.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Բն. ###", "Տուն ###" ]; diff --git a/lib/locales/hy/address/state.js b/lib/locales/hy/address/state.js index a5be0383..416f1fc8 100644 --- a/lib/locales/hy/address/state.js +++ b/lib/locales/hy/address/state.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Արագածոտն", "Արարատ", "Արմավիր", diff --git a/lib/locales/hy/address/street_address.js b/lib/locales/hy/address/street_address.js index c89e35d5..079062da 100644 --- a/lib/locales/hy/address/street_address.js +++ b/lib/locales/hy/address/street_address.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "#{address.street_name} #{address.building_number}" ]; diff --git a/lib/locales/hy/address/street_name.js b/lib/locales/hy/address/street_name.js index e853cc6a..7a5daba6 100644 --- a/lib/locales/hy/address/street_name.js +++ b/lib/locales/hy/address/street_name.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "#{Name.last_name} #{street_suffix}" ]; diff --git a/lib/locales/hy/address/street_suffix.js b/lib/locales/hy/address/street_suffix.js index 94b55fa5..a93cc71e 100644 --- a/lib/locales/hy/address/street_suffix.js +++ b/lib/locales/hy/address/street_suffix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ " փողոց", " պողոտա" ]; diff --git a/lib/locales/hy/commerce/color.js b/lib/locales/hy/commerce/color.js index 81d63ae3..f6370042 100644 --- a/lib/locales/hy/commerce/color.js +++ b/lib/locales/hy/commerce/color.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "կարմիր", "կանաչ", "կապույտ", diff --git a/lib/locales/hy/date/index.js b/lib/locales/hy/date/index.js index e53e73ee..f95b1507 100644 --- a/lib/locales/hy/date/index.js +++ b/lib/locales/hy/date/index.js @@ -1,4 +1,4 @@ -const date = {}; -module["exports"] = date; +var date = {}; +module.exports = date; date.month = require("./month"); date.weekday = require("./weekday"); diff --git a/lib/locales/hy/date/month.js b/lib/locales/hy/date/month.js index c586012f..db910ae8 100644 --- a/lib/locales/hy/date/month.js +++ b/lib/locales/hy/date/month.js @@ -1,4 +1,4 @@ -module["exports"] = { +module.exports = { wide: [ "Հունվար", "Փետրվար", diff --git a/lib/locales/hy/date/weekday.js b/lib/locales/hy/date/weekday.js index 3333dbf4..5a7fdc85 100644 --- a/lib/locales/hy/date/weekday.js +++ b/lib/locales/hy/date/weekday.js @@ -1,4 +1,4 @@ -module["exports"] = { +module.exports = { wide: [ "Կիրակի", "Երկուշաբթի", diff --git a/lib/locales/hy/internet/domain_suffix.js b/lib/locales/hy/internet/domain_suffix.js index e359a244..432593e4 100644 --- a/lib/locales/hy/internet/domain_suffix.js +++ b/lib/locales/hy/internet/domain_suffix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "com", "biz", "info", diff --git a/lib/locales/hy/lorem/words.js b/lib/locales/hy/lorem/words.js index 4d0157e4..4528622b 100644 --- a/lib/locales/hy/lorem/words.js +++ b/lib/locales/hy/lorem/words.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "տարի", "որ", "փոխեց", diff --git a/lib/locales/hy/name/female_first_name.js b/lib/locales/hy/name/female_first_name.js index dc23c3f4..c866e82c 100644 --- a/lib/locales/hy/name/female_first_name.js +++ b/lib/locales/hy/name/female_first_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Մարիա", "Նարե", "Մանե", diff --git a/lib/locales/hy/name/first_name.js b/lib/locales/hy/name/first_name.js index 7386525e..781bb95d 100644 --- a/lib/locales/hy/name/first_name.js +++ b/lib/locales/hy/name/first_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Մարիա", "Նարե", "Մանե", diff --git a/lib/locales/hy/name/last_name.js b/lib/locales/hy/name/last_name.js index f1ebaf44..95721893 100644 --- a/lib/locales/hy/name/last_name.js +++ b/lib/locales/hy/name/last_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Հարությունյան", "Սարգսյան", "Հովհաննիսյան", diff --git a/lib/locales/hy/name/male_first_name.js b/lib/locales/hy/name/male_first_name.js index 3bf8a30c..3f8f01e3 100644 --- a/lib/locales/hy/name/male_first_name.js +++ b/lib/locales/hy/name/male_first_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Դավիթ", "Նարեկ", "Ալեքս", diff --git a/lib/locales/hy/name/name.js b/lib/locales/hy/name/name.js index 4d7f698d..37fb714d 100644 --- a/lib/locales/hy/name/name.js +++ b/lib/locales/hy/name/name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "#{prefix} #{first_name} #{last_name}", "#{first_name} #{last_name} #{suffix}", "#{first_name} #{last_name}", diff --git a/lib/locales/hy/phone_number/formats.js b/lib/locales/hy/phone_number/formats.js index 59a755b0..a748a26a 100644 --- a/lib/locales/hy/phone_number/formats.js +++ b/lib/locales/hy/phone_number/formats.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "+374 ## ######", "+374 ### #####" ]; diff --git a/lib/locales/id_ID/address/building_number.js b/lib/locales/id_ID/address/building_number.js index 40dc9943..9d61338e 100644 --- a/lib/locales/id_ID/address/building_number.js +++ b/lib/locales/id_ID/address/building_number.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "##", "#" ]; diff --git a/lib/locales/id_ID/address/city.js b/lib/locales/id_ID/address/city.js index d62eafb1..14b927cb 100644 --- a/lib/locales/id_ID/address/city.js +++ b/lib/locales/id_ID/address/city.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "#{city_name}" ]; diff --git a/lib/locales/id_ID/address/city_name.js b/lib/locales/id_ID/address/city_name.js index 1a3637e4..3ab15a56 100644 --- a/lib/locales/id_ID/address/city_name.js +++ b/lib/locales/id_ID/address/city_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Airmadidi", "Ampana", "Amurang", diff --git a/lib/locales/id_ID/address/default_country.js b/lib/locales/id_ID/address/default_country.js index 7983efc7..d24040de 100644 --- a/lib/locales/id_ID/address/default_country.js +++ b/lib/locales/id_ID/address/default_country.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "Indonesia" ]; diff --git a/lib/locales/id_ID/address/postcode.js b/lib/locales/id_ID/address/postcode.js index 85052cc5..5af11030 100644 --- a/lib/locales/id_ID/address/postcode.js +++ b/lib/locales/id_ID/address/postcode.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "#####" ]; \ No newline at end of file diff --git a/lib/locales/id_ID/address/state.js b/lib/locales/id_ID/address/state.js index b774f49e..2dea0359 100644 --- a/lib/locales/id_ID/address/state.js +++ b/lib/locales/id_ID/address/state.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Aceh", "Sumatera Utara", "Sumatera Barat", diff --git a/lib/locales/id_ID/address/street_address.js b/lib/locales/id_ID/address/street_address.js index c15e10d0..6cae68df 100644 --- a/lib/locales/id_ID/address/street_address.js +++ b/lib/locales/id_ID/address/street_address.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "#{street_name} no #{building_number}" ]; \ No newline at end of file diff --git a/lib/locales/id_ID/address/street_name.js b/lib/locales/id_ID/address/street_name.js index 8c836149..12e46c7a 100644 --- a/lib/locales/id_ID/address/street_name.js +++ b/lib/locales/id_ID/address/street_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "#{street_prefix} #{Name.first_name}", "#{street_prefix} #{Name.last_name}" ]; \ No newline at end of file diff --git a/lib/locales/id_ID/address/street_prefix.js b/lib/locales/id_ID/address/street_prefix.js index 0572550f..d1abae9c 100644 --- a/lib/locales/id_ID/address/street_prefix.js +++ b/lib/locales/id_ID/address/street_prefix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Ds.", "Dk.", "Gg.", diff --git a/lib/locales/id_ID/company/name.js b/lib/locales/id_ID/company/name.js index b4f7ca01..8cd7712f 100644 --- a/lib/locales/id_ID/company/name.js +++ b/lib/locales/id_ID/company/name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "#{prefix} #{Name.last_name}", "#{Name.last_name} #{suffix}", "#{prefix} #{Name.last_name} #{suffix}" diff --git a/lib/locales/id_ID/company/prefix.js b/lib/locales/id_ID/company/prefix.js index f5b5e6b2..f3c7c391 100644 --- a/lib/locales/id_ID/company/prefix.js +++ b/lib/locales/id_ID/company/prefix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "PT", "CV", "UD", diff --git a/lib/locales/id_ID/company/suffix.js b/lib/locales/id_ID/company/suffix.js index f23c3a25..c11cb4ee 100644 --- a/lib/locales/id_ID/company/suffix.js +++ b/lib/locales/id_ID/company/suffix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "(Persero) Tbk", "Tbk" ]; \ No newline at end of file diff --git a/lib/locales/id_ID/date/index.js b/lib/locales/id_ID/date/index.js index e53e73ee..f95b1507 100644 --- a/lib/locales/id_ID/date/index.js +++ b/lib/locales/id_ID/date/index.js @@ -1,4 +1,4 @@ -const date = {}; -module["exports"] = date; +var date = {}; +module.exports = date; date.month = require("./month"); date.weekday = require("./weekday"); diff --git a/lib/locales/id_ID/date/month.js b/lib/locales/id_ID/date/month.js index 9968ad84..3d37d523 100644 --- a/lib/locales/id_ID/date/month.js +++ b/lib/locales/id_ID/date/month.js @@ -1,4 +1,4 @@ -module["exports"] = { +module.exports = { wide: [ "Januari", "Februari", diff --git a/lib/locales/id_ID/date/weekday.js b/lib/locales/id_ID/date/weekday.js index dbefb5a4..2c40afae 100644 --- a/lib/locales/id_ID/date/weekday.js +++ b/lib/locales/id_ID/date/weekday.js @@ -1,4 +1,4 @@ -module["exports"] = { +module.exports = { wide: [ "Minggu", "Senin", diff --git a/lib/locales/id_ID/internet/domain_suffix.js b/lib/locales/id_ID/internet/domain_suffix.js index 0e30cba7..64b84675 100644 --- a/lib/locales/id_ID/internet/domain_suffix.js +++ b/lib/locales/id_ID/internet/domain_suffix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "com", "net", "org", diff --git a/lib/locales/id_ID/internet/free_email.js b/lib/locales/id_ID/internet/free_email.js index 94d698a2..b728c40f 100644 --- a/lib/locales/id_ID/internet/free_email.js +++ b/lib/locales/id_ID/internet/free_email.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ 'gmail.com', 'yahoo.com', 'gmail.co.id', diff --git a/lib/locales/id_ID/name/female_first_name.js b/lib/locales/id_ID/name/female_first_name.js index 74cb8c8a..ae56fcf3 100644 --- a/lib/locales/id_ID/name/female_first_name.js +++ b/lib/locales/id_ID/name/female_first_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Ade", "Agnes", "Ajeng", diff --git a/lib/locales/id_ID/name/female_last_name.js b/lib/locales/id_ID/name/female_last_name.js index ab0a1618..94b8d9d9 100644 --- a/lib/locales/id_ID/name/female_last_name.js +++ b/lib/locales/id_ID/name/female_last_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Agustina", "Andriani", "Anggraini", diff --git a/lib/locales/id_ID/name/female_title.js b/lib/locales/id_ID/name/female_title.js index 81b812e5..c321f2b1 100644 --- a/lib/locales/id_ID/name/female_title.js +++ b/lib/locales/id_ID/name/female_title.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "dr.", "drg.", "Dr.", diff --git a/lib/locales/id_ID/name/male_first_name.js b/lib/locales/id_ID/name/male_first_name.js index e0ed5571..b4d392db 100644 --- a/lib/locales/id_ID/name/male_first_name.js +++ b/lib/locales/id_ID/name/male_first_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Abyasa", "Ade", "Adhiarja", diff --git a/lib/locales/id_ID/name/male_last_name.js b/lib/locales/id_ID/name/male_last_name.js index d3ad5863..3b5d0f35 100644 --- a/lib/locales/id_ID/name/male_last_name.js +++ b/lib/locales/id_ID/name/male_last_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Adriansyah", "Ardianto", "Anggriawan", diff --git a/lib/locales/id_ID/name/male_title.js b/lib/locales/id_ID/name/male_title.js index dcd5cf58..21e67066 100644 --- a/lib/locales/id_ID/name/male_title.js +++ b/lib/locales/id_ID/name/male_title.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "dr.", "drg.", "Dr.", diff --git a/lib/locales/id_ID/name/name.js b/lib/locales/id_ID/name/name.js index d803ee52..14ce89d9 100644 --- a/lib/locales/id_ID/name/name.js +++ b/lib/locales/id_ID/name/name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "#{male_first_name} #{male_last_name}", "#{male_last_name} #{male_first_name}", "#{male_first_name} #{male_first_name} #{male_last_name}", diff --git a/lib/locales/id_ID/name/prefix.js b/lib/locales/id_ID/name/prefix.js index fefe4f4a..744c39bc 100644 --- a/lib/locales/id_ID/name/prefix.js +++ b/lib/locales/id_ID/name/prefix.js @@ -1 +1 @@ -module["exports"] = []; \ No newline at end of file +module.exports = []; \ No newline at end of file diff --git a/lib/locales/id_ID/name/suffix.js b/lib/locales/id_ID/name/suffix.js index 6c8d9bbd..db3e8e3f 100644 --- a/lib/locales/id_ID/name/suffix.js +++ b/lib/locales/id_ID/name/suffix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "S.Ked", "S.Gz", "S.Pt", diff --git a/lib/locales/id_ID/phone_number/formats.js b/lib/locales/id_ID/phone_number/formats.js index 68f997c9..2e944bf9 100644 --- a/lib/locales/id_ID/phone_number/formats.js +++ b/lib/locales/id_ID/phone_number/formats.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "02# #### ###", "02## #### ###", "03## #### ###", diff --git a/lib/locales/it/address/building_number.js b/lib/locales/it/address/building_number.js index 8f67cb33..f98bf3de 100644 --- a/lib/locales/it/address/building_number.js +++ b/lib/locales/it/address/building_number.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "###", "##", "#" diff --git a/lib/locales/it/address/city.js b/lib/locales/it/address/city.js index 17afaa84..0426d322 100644 --- a/lib/locales/it/address/city.js +++ b/lib/locales/it/address/city.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "#{city_prefix} #{Name.first_name} #{city_suffix}", "#{city_prefix} #{Name.first_name}", "#{Name.first_name} #{city_suffix}", diff --git a/lib/locales/it/address/city_prefix.js b/lib/locales/it/address/city_prefix.js index cd0bd08c..d373e73e 100644 --- a/lib/locales/it/address/city_prefix.js +++ b/lib/locales/it/address/city_prefix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "San", "Borgo", "Sesto", diff --git a/lib/locales/it/address/city_suffix.js b/lib/locales/it/address/city_suffix.js index 5dd179ac..1bf7de21 100644 --- a/lib/locales/it/address/city_suffix.js +++ b/lib/locales/it/address/city_suffix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "a mare", "lido", "ligure", diff --git a/lib/locales/it/address/country.js b/lib/locales/it/address/country.js index 11b81ac4..190fad1c 100644 --- a/lib/locales/it/address/country.js +++ b/lib/locales/it/address/country.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Afghanistan", "Albania", "Algeria", diff --git a/lib/locales/it/address/default_country.js b/lib/locales/it/address/default_country.js index 1cd4c504..3aa39400 100644 --- a/lib/locales/it/address/default_country.js +++ b/lib/locales/it/address/default_country.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "Italia" ]; diff --git a/lib/locales/it/address/postcode.js b/lib/locales/it/address/postcode.js index 3640af26..8091ecaa 100644 --- a/lib/locales/it/address/postcode.js +++ b/lib/locales/it/address/postcode.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "#####" ]; diff --git a/lib/locales/it/address/secondary_address.js b/lib/locales/it/address/secondary_address.js index c198398c..19189e7a 100644 --- a/lib/locales/it/address/secondary_address.js +++ b/lib/locales/it/address/secondary_address.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Appartamento ##", "Piano #" ]; diff --git a/lib/locales/it/address/state.js b/lib/locales/it/address/state.js index 91443e5b..516bdb5b 100644 --- a/lib/locales/it/address/state.js +++ b/lib/locales/it/address/state.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Agrigento", "Alessandria", "Ancona", diff --git a/lib/locales/it/address/state_abbr.js b/lib/locales/it/address/state_abbr.js index b07644b9..86c0d0ea 100644 --- a/lib/locales/it/address/state_abbr.js +++ b/lib/locales/it/address/state_abbr.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "AG", "AL", "AN", diff --git a/lib/locales/it/address/street_address.js b/lib/locales/it/address/street_address.js index 0370d2dc..7b197f78 100644 --- a/lib/locales/it/address/street_address.js +++ b/lib/locales/it/address/street_address.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "#{street_name} #{building_number}", "#{street_name} #{building_number}, #{secondary_address}" ]; diff --git a/lib/locales/it/address/street_name.js b/lib/locales/it/address/street_name.js index afa65d94..3a7ff3c1 100644 --- a/lib/locales/it/address/street_name.js +++ b/lib/locales/it/address/street_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "#{street_suffix} #{Name.first_name}", "#{street_suffix} #{Name.last_name}" ]; diff --git a/lib/locales/it/address/street_suffix.js b/lib/locales/it/address/street_suffix.js index 7445f1d3..28b1c2ba 100644 --- a/lib/locales/it/address/street_suffix.js +++ b/lib/locales/it/address/street_suffix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Piazza", "Strada", "Via", diff --git a/lib/locales/it/company/adjective.js b/lib/locales/it/company/adjective.js index 634a01ac..354eb2bd 100644 --- a/lib/locales/it/company/adjective.js +++ b/lib/locales/it/company/adjective.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "24 ore", "24/7", "terza generazione", diff --git a/lib/locales/it/company/bs_adjective.js b/lib/locales/it/company/bs_adjective.js index 28cc6320..17adfde0 100644 --- a/lib/locales/it/company/bs_adjective.js +++ b/lib/locales/it/company/bs_adjective.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "valore aggiunto", "verticalizzate", "proattive", diff --git a/lib/locales/it/company/bs_noun.js b/lib/locales/it/company/bs_noun.js index ac9020dc..12e11404 100644 --- a/lib/locales/it/company/bs_noun.js +++ b/lib/locales/it/company/bs_noun.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "partnerships", "comunità", "ROI", diff --git a/lib/locales/it/company/bs_verb.js b/lib/locales/it/company/bs_verb.js index 5ea26ff8..7e7c25d5 100644 --- a/lib/locales/it/company/bs_verb.js +++ b/lib/locales/it/company/bs_verb.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "implementate", "utilizzo", "integrate", diff --git a/lib/locales/it/company/descriptor.js b/lib/locales/it/company/descriptor.js index f1ae35df..a14e8e75 100644 --- a/lib/locales/it/company/descriptor.js +++ b/lib/locales/it/company/descriptor.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "adattiva", "avanzata", "migliorata", diff --git a/lib/locales/it/company/name.js b/lib/locales/it/company/name.js index 47f4a21b..baddf6fb 100644 --- a/lib/locales/it/company/name.js +++ b/lib/locales/it/company/name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "#{Name.last_name} #{suffix}", "#{Name.last_name}-#{Name.last_name} #{suffix}", "#{Name.last_name}, #{Name.last_name} e #{Name.last_name} #{suffix}" diff --git a/lib/locales/it/company/noun.js b/lib/locales/it/company/noun.js index e8eb9ec0..79740f6b 100644 --- a/lib/locales/it/company/noun.js +++ b/lib/locales/it/company/noun.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Abilità", "Access", "Adattatore", diff --git a/lib/locales/it/company/suffix.js b/lib/locales/it/company/suffix.js index 069de01c..44a09430 100644 --- a/lib/locales/it/company/suffix.js +++ b/lib/locales/it/company/suffix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "SPA", "e figli", "Group", diff --git a/lib/locales/it/internet/domain_suffix.js b/lib/locales/it/internet/domain_suffix.js index 3a1edb9f..80b39087 100644 --- a/lib/locales/it/internet/domain_suffix.js +++ b/lib/locales/it/internet/domain_suffix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "com", "com", "com", diff --git a/lib/locales/it/internet/free_email.js b/lib/locales/it/internet/free_email.js index 8efa18db..4e820c82 100644 --- a/lib/locales/it/internet/free_email.js +++ b/lib/locales/it/internet/free_email.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "gmail.com", "yahoo.com", "hotmail.com", diff --git a/lib/locales/it/name/first_name.js b/lib/locales/it/name/first_name.js index 8a5469e2..018da6e3 100644 --- a/lib/locales/it/name/first_name.js +++ b/lib/locales/it/name/first_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ 'Abaco', 'Abbondanzio', 'Abbondio', @@ -393,7 +393,7 @@ module["exports"] = [ 'Erminio', 'Ernesto', 'Eros', - 'Esa', + 'Esa�', 'Esuperio', 'Eterie', 'Ettore', @@ -527,7 +527,7 @@ module["exports"] = [ 'Gionata', 'Giordano', 'Giorgio', - 'Giosu', + 'Giosu�', 'Giosuele', 'Giotto', 'Giovanni', @@ -701,7 +701,7 @@ module["exports"] = [ 'Monaldo', 'Monitore', 'Moreno', - 'Mos', + 'Mos�', 'Muziano', 'Namazio', 'Napoleone', @@ -725,10 +725,10 @@ module["exports"] = [ 'Nico', 'Nicodemo', 'Nicola', - 'Nicol', + 'Nicol�', 'Niniano', 'Nino', - 'No', + 'No�', 'Norberto', 'Nostriano', 'Nunzio', @@ -882,7 +882,7 @@ module["exports"] = [ 'Saffiro', 'Saffo', 'Saladino', - 'Salom', + 'Salom�', 'Salomone', 'Salustio', 'Salvatore', diff --git a/lib/locales/it/name/name.js b/lib/locales/it/name/name.js index 1aa6d0a4..c815c070 100644 --- a/lib/locales/it/name/name.js +++ b/lib/locales/it/name/name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "#{prefix} #{first_name} #{last_name}", "#{first_name} #{last_name}", "#{first_name} #{last_name}", diff --git a/lib/locales/it/name/prefix.js b/lib/locales/it/name/prefix.js index 1bd5c518..b465a9ce 100644 --- a/lib/locales/it/name/prefix.js +++ b/lib/locales/it/name/prefix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Sig.", "Dott.", "Dr.", diff --git a/lib/locales/it/name/suffix.js b/lib/locales/it/name/suffix.js index 688be216..e0a30c5d 100644 --- a/lib/locales/it/name/suffix.js +++ b/lib/locales/it/name/suffix.js @@ -1 +1 @@ -module["exports"] = []; +module.exports = []; diff --git a/lib/locales/it/phone_number/formats.js b/lib/locales/it/phone_number/formats.js index fb5c1a84..659b5e81 100644 --- a/lib/locales/it/phone_number/formats.js +++ b/lib/locales/it/phone_number/formats.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "+## ### ## ## ####", "+## ## #######", "+## ## ########", diff --git a/lib/locales/ja/address/city.js b/lib/locales/ja/address/city.js index 959a9dda..37bae60f 100644 --- a/lib/locales/ja/address/city.js +++ b/lib/locales/ja/address/city.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "#{city_prefix}#{Name.first_name}#{city_suffix}", "#{Name.first_name}#{city_suffix}", "#{city_prefix}#{Name.last_name}#{city_suffix}", diff --git a/lib/locales/ja/address/city_prefix.js b/lib/locales/ja/address/city_prefix.js index 78cf2c16..87cda47f 100644 --- a/lib/locales/ja/address/city_prefix.js +++ b/lib/locales/ja/address/city_prefix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "北", "東", "西", diff --git a/lib/locales/ja/address/city_suffix.js b/lib/locales/ja/address/city_suffix.js index 48435540..d56d7424 100644 --- a/lib/locales/ja/address/city_suffix.js +++ b/lib/locales/ja/address/city_suffix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "市", "区", "町", diff --git a/lib/locales/ja/address/country.js b/lib/locales/ja/address/country.js index e8e6dc14..9a3665c8 100644 --- a/lib/locales/ja/address/country.js +++ b/lib/locales/ja/address/country.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "アフリカ", "南極大陸", "アジア", diff --git a/lib/locales/ja/address/postcode.js b/lib/locales/ja/address/postcode.js index 83ecd562..88918fcf 100644 --- a/lib/locales/ja/address/postcode.js +++ b/lib/locales/ja/address/postcode.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "###-####" ]; diff --git a/lib/locales/ja/address/state.js b/lib/locales/ja/address/state.js index 4c3486ff..6f502d08 100644 --- a/lib/locales/ja/address/state.js +++ b/lib/locales/ja/address/state.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "北海道", "青森県", "岩手県", diff --git a/lib/locales/ja/address/state_abbr.js b/lib/locales/ja/address/state_abbr.js index fef6c7df..607976a3 100644 --- a/lib/locales/ja/address/state_abbr.js +++ b/lib/locales/ja/address/state_abbr.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "1", "2", "3", diff --git a/lib/locales/ja/address/street_name.js b/lib/locales/ja/address/street_name.js index 977967c8..645bf119 100644 --- a/lib/locales/ja/address/street_name.js +++ b/lib/locales/ja/address/street_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "#{Name.first_name}#{street_suffix}", "#{Name.last_name}#{street_suffix}" ]; diff --git a/lib/locales/ja/cell_phone/formats.js b/lib/locales/ja/cell_phone/formats.js index 210dfeef..f259dabe 100644 --- a/lib/locales/ja/cell_phone/formats.js +++ b/lib/locales/ja/cell_phone/formats.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "090-####-####", "080-####-####", "070-####-####" diff --git a/lib/locales/ja/index.js b/lib/locales/ja/index.js index ffeeb66d..24123139 100644 --- a/lib/locales/ja/index.js +++ b/lib/locales/ja/index.js @@ -1,5 +1,5 @@ -const ja = {}; -module["exports"] = ja; +var ja = {}; +module.exports = ja; ja.title = "Japanese"; ja.address = require("./address"); ja.phone_number = require("./phone_number"); diff --git a/lib/locales/ja/lorem/index.js b/lib/locales/ja/lorem/index.js index 94c5380b..5a265a5d 100644 --- a/lib/locales/ja/lorem/index.js +++ b/lib/locales/ja/lorem/index.js @@ -1,4 +1,4 @@ -const lorem = {}; -module["exports"] = lorem; +var lorem = {}; +module.exports = lorem; lorem.words = require("./words"); lorem.supplemental = require("./supplemental"); diff --git a/lib/locales/ja/lorem/supplemental.js b/lib/locales/ja/lorem/supplemental.js index b25086d3..ef3e8f8b 100644 --- a/lib/locales/ja/lorem/supplemental.js +++ b/lib/locales/ja/lorem/supplemental.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "おどりば", "料理人", "いち", diff --git a/lib/locales/ja/lorem/words.js b/lib/locales/ja/lorem/words.js index 2a8c77aa..17fe15e2 100644 --- a/lib/locales/ja/lorem/words.js +++ b/lib/locales/ja/lorem/words.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "つぎつぎ", "薬", "当て字", diff --git a/lib/locales/ja/name/first_name.js b/lib/locales/ja/name/first_name.js index 29e94342..e6fab0c4 100644 --- a/lib/locales/ja/name/first_name.js +++ b/lib/locales/ja/name/first_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "大翔", "蓮", "颯太", diff --git a/lib/locales/ja/name/last_name.js b/lib/locales/ja/name/last_name.js index 5253a546..a256ad92 100644 --- a/lib/locales/ja/name/last_name.js +++ b/lib/locales/ja/name/last_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "佐藤", "鈴木", "高橋", diff --git a/lib/locales/ja/name/name.js b/lib/locales/ja/name/name.js index cf3b0a50..7304d949 100644 --- a/lib/locales/ja/name/name.js +++ b/lib/locales/ja/name/name.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "#{last_name} #{first_name}" ]; diff --git a/lib/locales/ja/phone_number/formats.js b/lib/locales/ja/phone_number/formats.js index c753df7b..327d9cf7 100644 --- a/lib/locales/ja/phone_number/formats.js +++ b/lib/locales/ja/phone_number/formats.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "0####-#-####", "0###-##-####", "0##-###-####", diff --git a/lib/locales/ko/address/city.js b/lib/locales/ko/address/city.js index 769e89c9..6235fed0 100644 --- a/lib/locales/ko/address/city.js +++ b/lib/locales/ko/address/city.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "#{city_name}#{city_suffix}" ]; diff --git a/lib/locales/ko/address/city_name.js b/lib/locales/ko/address/city_name.js index 91022dcf..d15031f3 100644 --- a/lib/locales/ko/address/city_name.js +++ b/lib/locales/ko/address/city_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "강릉", "양양", "인제", diff --git a/lib/locales/ko/address/city_suffix.js b/lib/locales/ko/address/city_suffix.js index e9786d00..0b577590 100644 --- a/lib/locales/ko/address/city_suffix.js +++ b/lib/locales/ko/address/city_suffix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "구", "시", "군" diff --git a/lib/locales/ko/address/postcode.js b/lib/locales/ko/address/postcode.js index 9a4ca74a..9a63d63f 100644 --- a/lib/locales/ko/address/postcode.js +++ b/lib/locales/ko/address/postcode.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "###-###", "#####" ]; diff --git a/lib/locales/ko/address/state.js b/lib/locales/ko/address/state.js index c072d692..cd81a2c2 100644 --- a/lib/locales/ko/address/state.js +++ b/lib/locales/ko/address/state.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "강원", "경기", "경남", diff --git a/lib/locales/ko/address/state_abbr.js b/lib/locales/ko/address/state_abbr.js index c072d692..cd81a2c2 100644 --- a/lib/locales/ko/address/state_abbr.js +++ b/lib/locales/ko/address/state_abbr.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "강원", "경기", "경남", diff --git a/lib/locales/ko/address/street_name.js b/lib/locales/ko/address/street_name.js index 9d540284..761ffd6d 100644 --- a/lib/locales/ko/address/street_name.js +++ b/lib/locales/ko/address/street_name.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "#{street_root}#{street_suffix}" ]; diff --git a/lib/locales/ko/address/street_root.js b/lib/locales/ko/address/street_root.js index 328e8074..0a0b755f 100644 --- a/lib/locales/ko/address/street_root.js +++ b/lib/locales/ko/address/street_root.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "상계", "화곡", "신정", diff --git a/lib/locales/ko/address/street_suffix.js b/lib/locales/ko/address/street_suffix.js index 2392f449..d7a0e53a 100644 --- a/lib/locales/ko/address/street_suffix.js +++ b/lib/locales/ko/address/street_suffix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "읍", "면", "동" diff --git a/lib/locales/ko/company/name.js b/lib/locales/ko/company/name.js index 1ca9717c..fdb3b52b 100644 --- a/lib/locales/ko/company/name.js +++ b/lib/locales/ko/company/name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "#{prefix} #{Name.first_name}", "#{Name.first_name} #{suffix}" ]; diff --git a/lib/locales/ko/company/prefix.js b/lib/locales/ko/company/prefix.js index d936c0a1..5d5d0dd3 100644 --- a/lib/locales/ko/company/prefix.js +++ b/lib/locales/ko/company/prefix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "주식회사", "한국" ]; diff --git a/lib/locales/ko/company/suffix.js b/lib/locales/ko/company/suffix.js index 3f386a2d..073c01c1 100644 --- a/lib/locales/ko/company/suffix.js +++ b/lib/locales/ko/company/suffix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "연구소", "게임즈", "그룹", diff --git a/lib/locales/ko/internet/domain_suffix.js b/lib/locales/ko/internet/domain_suffix.js index 2aff3f77..c211a225 100644 --- a/lib/locales/ko/internet/domain_suffix.js +++ b/lib/locales/ko/internet/domain_suffix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "co.kr", "com", "biz", diff --git a/lib/locales/ko/internet/free_email.js b/lib/locales/ko/internet/free_email.js index ec834e90..eaf5a668 100644 --- a/lib/locales/ko/internet/free_email.js +++ b/lib/locales/ko/internet/free_email.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "gmail.com", "yahoo.co.kr", "hanmail.net", diff --git a/lib/locales/ko/lorem/words.js b/lib/locales/ko/lorem/words.js index d1fc5bac..b3cca3c4 100644 --- a/lib/locales/ko/lorem/words.js +++ b/lib/locales/ko/lorem/words.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "국가는", "법률이", "정하는", diff --git a/lib/locales/ko/name/first_name.js b/lib/locales/ko/name/first_name.js index 491a0eb5..bcb22c5c 100644 --- a/lib/locales/ko/name/first_name.js +++ b/lib/locales/ko/name/first_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "서연", "민서", "서현", diff --git a/lib/locales/ko/name/last_name.js b/lib/locales/ko/name/last_name.js index caab7125..5265124d 100644 --- a/lib/locales/ko/name/last_name.js +++ b/lib/locales/ko/name/last_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "김", "이", "박", diff --git a/lib/locales/ko/name/name.js b/lib/locales/ko/name/name.js index cf3b0a50..7304d949 100644 --- a/lib/locales/ko/name/name.js +++ b/lib/locales/ko/name/name.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "#{last_name} #{first_name}" ]; diff --git a/lib/locales/ko/phone_number/formats.js b/lib/locales/ko/phone_number/formats.js index dc469810..6eadb4bb 100644 --- a/lib/locales/ko/phone_number/formats.js +++ b/lib/locales/ko/phone_number/formats.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "0#-#####-####", "0##-###-####", "0##-####-####" diff --git a/lib/locales/lv/address/building_number.js b/lib/locales/lv/address/building_number.js index c5a30c9c..78404f2b 100644 --- a/lib/locales/lv/address/building_number.js +++ b/lib/locales/lv/address/building_number.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "###", "##" ]; diff --git a/lib/locales/lv/address/city.js b/lib/locales/lv/address/city.js index 841b37dc..bcff035d 100644 --- a/lib/locales/lv/address/city.js +++ b/lib/locales/lv/address/city.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "#{Address.city_name}" ]; diff --git a/lib/locales/lv/address/city_name.js b/lib/locales/lv/address/city_name.js index 25366d42..7655a93f 100644 --- a/lib/locales/lv/address/city_name.js +++ b/lib/locales/lv/address/city_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Ainaži", "Aizkraukle", "Aizpute", diff --git a/lib/locales/lv/address/country.js b/lib/locales/lv/address/country.js index 238ada7b..e0312f87 100644 --- a/lib/locales/lv/address/country.js +++ b/lib/locales/lv/address/country.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Andora", "Apvienotie Arābu Emirāti", "Afganistāna", diff --git a/lib/locales/lv/address/default_country.js b/lib/locales/lv/address/default_country.js index a5181a9a..d7429453 100644 --- a/lib/locales/lv/address/default_country.js +++ b/lib/locales/lv/address/default_country.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "Latvija" ]; diff --git a/lib/locales/lv/address/postcode.js b/lib/locales/lv/address/postcode.js index 2ede35d3..0aaa0d57 100644 --- a/lib/locales/lv/address/postcode.js +++ b/lib/locales/lv/address/postcode.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "LV####", "LV-####" ]; diff --git a/lib/locales/lv/address/secondary_address.js b/lib/locales/lv/address/secondary_address.js index e32d463f..d66cf650 100644 --- a/lib/locales/lv/address/secondary_address.js +++ b/lib/locales/lv/address/secondary_address.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "dz. ###", "- ###" ]; diff --git a/lib/locales/lv/address/state.js b/lib/locales/lv/address/state.js index a2d79f32..2c10ab17 100644 --- a/lib/locales/lv/address/state.js +++ b/lib/locales/lv/address/state.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Aizkraukles raj.", "Alūksnes raj.", "Baltijas jūra", diff --git a/lib/locales/lv/address/street_address.js b/lib/locales/lv/address/street_address.js index 5214fb99..d13433b7 100644 --- a/lib/locales/lv/address/street_address.js +++ b/lib/locales/lv/address/street_address.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "#{street_name} #{building_number}", "#{street_name} #{building_number} #{secondary_address}" ]; diff --git a/lib/locales/lv/address/street_name.js b/lib/locales/lv/address/street_name.js index 627238d4..d391980a 100644 --- a/lib/locales/lv/address/street_name.js +++ b/lib/locales/lv/address/street_name.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "#{Address.street_title} #{street_suffix}" ]; diff --git a/lib/locales/lv/address/street_suffix.js b/lib/locales/lv/address/street_suffix.js index 7cbccb6d..f1ac95c9 100644 --- a/lib/locales/lv/address/street_suffix.js +++ b/lib/locales/lv/address/street_suffix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "iela", "bulvāris", "gatve", diff --git a/lib/locales/lv/address/street_title.js b/lib/locales/lv/address/street_title.js index 1b7e1dcb..ce746a76 100644 --- a/lib/locales/lv/address/street_title.js +++ b/lib/locales/lv/address/street_title.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "13. janvāra", "Admirāļu", "Airītes", diff --git a/lib/locales/lv/cell_phone/formats.js b/lib/locales/lv/cell_phone/formats.js index c90c37fa..fff0f212 100644 --- a/lib/locales/lv/cell_phone/formats.js +++ b/lib/locales/lv/cell_phone/formats.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "2#######", "(371) 2#######", "+371 2#######" diff --git a/lib/locales/lv/commerce/color.js b/lib/locales/lv/commerce/color.js index c47f2db2..66808f18 100644 --- a/lib/locales/lv/commerce/color.js +++ b/lib/locales/lv/commerce/color.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "sarkana", "zaļa", "zila", diff --git a/lib/locales/lv/commerce/department.js b/lib/locales/lv/commerce/department.js index b4c8dda4..b125d5a3 100644 --- a/lib/locales/lv/commerce/department.js +++ b/lib/locales/lv/commerce/department.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Grāmatu", "Filmu", "Mūzikas", diff --git a/lib/locales/lv/commerce/product_name.js b/lib/locales/lv/commerce/product_name.js index aee8d47e..eb71a417 100644 --- a/lib/locales/lv/commerce/product_name.js +++ b/lib/locales/lv/commerce/product_name.js @@ -1,4 +1,4 @@ -module["exports"] = { +module.exports = { "adjective": [ "Mazs", "Ergonomisks", diff --git a/lib/locales/lv/company/name.js b/lib/locales/lv/company/name.js index 9354d5b8..e74e34dc 100644 --- a/lib/locales/lv/company/name.js +++ b/lib/locales/lv/company/name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "#{prefix} #{Name.male_last_name}", "#{prefix} #{Name.male_last_name} #{suffix}", "#{prefix} #{Name.female_last_name} #{suffix}", diff --git a/lib/locales/lv/company/prefix.js b/lib/locales/lv/company/prefix.js index 70dadb0e..fd9134f1 100644 --- a/lib/locales/lv/company/prefix.js +++ b/lib/locales/lv/company/prefix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "SIA", "AS", "IU", diff --git a/lib/locales/lv/company/suffix.js b/lib/locales/lv/company/suffix.js index 3f413f1f..b4ac8864 100644 --- a/lib/locales/lv/company/suffix.js +++ b/lib/locales/lv/company/suffix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "un partneri", "holdings", "grupa", diff --git a/lib/locales/lv/date/index.js b/lib/locales/lv/date/index.js index e53e73ee..f95b1507 100644 --- a/lib/locales/lv/date/index.js +++ b/lib/locales/lv/date/index.js @@ -1,4 +1,4 @@ -const date = {}; -module["exports"] = date; +var date = {}; +module.exports = date; date.month = require("./month"); date.weekday = require("./weekday"); diff --git a/lib/locales/lv/date/month.js b/lib/locales/lv/date/month.js index a9373824..42405931 100644 --- a/lib/locales/lv/date/month.js +++ b/lib/locales/lv/date/month.js @@ -1,4 +1,4 @@ -module["exports"] = { +module.exports = { wide: [ "janvāris", "februāris", diff --git a/lib/locales/lv/date/weekday.js b/lib/locales/lv/date/weekday.js index 5f5d9d1d..4662a8b9 100644 --- a/lib/locales/lv/date/weekday.js +++ b/lib/locales/lv/date/weekday.js @@ -1,4 +1,4 @@ -module["exports"] = { +module.exports = { wide: [ "Svētdiena", "Pirmdiena", diff --git a/lib/locales/lv/internet/domain_suffix.js b/lib/locales/lv/internet/domain_suffix.js index 412150a4..e08d465b 100644 --- a/lib/locales/lv/internet/domain_suffix.js +++ b/lib/locales/lv/internet/domain_suffix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "lv", "com", "info", diff --git a/lib/locales/lv/internet/free_email.js b/lib/locales/lv/internet/free_email.js index 44a93367..ec71d003 100644 --- a/lib/locales/lv/internet/free_email.js +++ b/lib/locales/lv/internet/free_email.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "inbox.lv", "one.lv", "mail.lv", diff --git a/lib/locales/lv/lorem/supplemental.js b/lib/locales/lv/lorem/supplemental.js index 1e0219a8..7600bb89 100644 --- a/lib/locales/lv/lorem/supplemental.js +++ b/lib/locales/lv/lorem/supplemental.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "ābbās", "ābduco", "ābēo", diff --git a/lib/locales/lv/lorem/words.js b/lib/locales/lv/lorem/words.js index 524c2335..c9521e85 100644 --- a/lib/locales/lv/lorem/words.js +++ b/lib/locales/lv/lorem/words.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "ā", "āb", "āččūšāmūš", diff --git a/lib/locales/lv/name/female_first_name.js b/lib/locales/lv/name/female_first_name.js index 8917e9bc..67d3baa6 100644 --- a/lib/locales/lv/name/female_first_name.js +++ b/lib/locales/lv/name/female_first_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Aīda", "Akvelīna", "Albertīne", diff --git a/lib/locales/lv/name/female_last_name.js b/lib/locales/lv/name/female_last_name.js index 7b18f2aa..878f2bc2 100644 --- a/lib/locales/lv/name/female_last_name.js +++ b/lib/locales/lv/name/female_last_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Aigare", "Alksne", "Andersone", diff --git a/lib/locales/lv/name/male_first_name.js b/lib/locales/lv/name/male_first_name.js index 37496844..c001eafe 100644 --- a/lib/locales/lv/name/male_first_name.js +++ b/lib/locales/lv/name/male_first_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Ainārs", "Alfrēds", "Aloīzs", diff --git a/lib/locales/lv/name/male_last_name.js b/lib/locales/lv/name/male_last_name.js index dc2aba39..ee305fac 100644 --- a/lib/locales/lv/name/male_last_name.js +++ b/lib/locales/lv/name/male_last_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Aigars", "Alksnis", "Andersons", diff --git a/lib/locales/lv/name/name.js b/lib/locales/lv/name/name.js index eec2557f..a8739c4b 100644 --- a/lib/locales/lv/name/name.js +++ b/lib/locales/lv/name/name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "#{prefix} #{male_first_name} #{male_last_name}", "#{male_first_name} #{male_last_name}", "#{male_last_name} #{male_first_name}", diff --git a/lib/locales/lv/name/prefix.js b/lib/locales/lv/name/prefix.js index 1cfef1d6..051c9b00 100644 --- a/lib/locales/lv/name/prefix.js +++ b/lib/locales/lv/name/prefix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Prof.", "Dr.", "Biedrs" diff --git a/lib/locales/lv/name/suffix.js b/lib/locales/lv/name/suffix.js index 6720977c..98c1674b 100644 --- a/lib/locales/lv/name/suffix.js +++ b/lib/locales/lv/name/suffix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "k-dze", "kundze" ]; diff --git a/lib/locales/lv/name/title.js b/lib/locales/lv/name/title.js index 2cbe7707..daae67db 100644 --- a/lib/locales/lv/name/title.js +++ b/lib/locales/lv/name/title.js @@ -1,4 +1,4 @@ -module["exports"] = { +module.exports = { "descriptor": [ "Galvenais", "Vecākais", diff --git a/lib/locales/lv/phone_number/formats.js b/lib/locales/lv/phone_number/formats.js index 2da33a70..017ae1a8 100644 --- a/lib/locales/lv/phone_number/formats.js +++ b/lib/locales/lv/phone_number/formats.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "(371)6#######", "+371 6#######", "6#######" diff --git a/lib/locales/mk/address/building_number.js b/lib/locales/mk/address/building_number.js index 23fc733d..d6c35519 100644 --- a/lib/locales/mk/address/building_number.js +++ b/lib/locales/mk/address/building_number.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "#", "##", "###" diff --git a/lib/locales/mk/address/city.js b/lib/locales/mk/address/city.js index d62eafb1..14b927cb 100644 --- a/lib/locales/mk/address/city.js +++ b/lib/locales/mk/address/city.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "#{city_name}" ]; diff --git a/lib/locales/mk/address/country.js b/lib/locales/mk/address/country.js index eb193559..9d81448c 100644 --- a/lib/locales/mk/address/country.js +++ b/lib/locales/mk/address/country.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Авганистан", "Австралија", "Австрија", diff --git a/lib/locales/mk/address/default_country.js b/lib/locales/mk/address/default_country.js index 551ab976..c89615d9 100644 --- a/lib/locales/mk/address/default_country.js +++ b/lib/locales/mk/address/default_country.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "Македонија" ]; diff --git a/lib/locales/mk/address/postcode.js b/lib/locales/mk/address/postcode.js index 5053d539..ec2bc226 100644 --- a/lib/locales/mk/address/postcode.js +++ b/lib/locales/mk/address/postcode.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "####" ]; diff --git a/lib/locales/mk/address/secondary_address.js b/lib/locales/mk/address/secondary_address.js index c7426f38..37421df3 100644 --- a/lib/locales/mk/address/secondary_address.js +++ b/lib/locales/mk/address/secondary_address.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "кат #", "стан ##" ]; diff --git a/lib/locales/mk/address/street.js b/lib/locales/mk/address/street.js index 4f7d39fe..1d1613bb 100644 --- a/lib/locales/mk/address/street.js +++ b/lib/locales/mk/address/street.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "11. Октомври", "12. Македонска Народноослободителна Ударна Бригада", "13. Август", diff --git a/lib/locales/mk/address/street_address.js b/lib/locales/mk/address/street_address.js index 74209742..4ae3b6ee 100644 --- a/lib/locales/mk/address/street_address.js +++ b/lib/locales/mk/address/street_address.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "#{street_name} #{building_number}" ]; diff --git a/lib/locales/mk/address/street_name.js b/lib/locales/mk/address/street_name.js index 5485164f..2d37b64a 100644 --- a/lib/locales/mk/address/street_name.js +++ b/lib/locales/mk/address/street_name.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "#{street}" ]; diff --git a/lib/locales/mk/cell_phone/formats.js b/lib/locales/mk/cell_phone/formats.js index 1fbeefa6..5ecb2be6 100644 --- a/lib/locales/mk/cell_phone/formats.js +++ b/lib/locales/mk/cell_phone/formats.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "07# ### ####", "+389 7# ### ####" ]; diff --git a/lib/locales/mk/company/name.js b/lib/locales/mk/company/name.js index 87408a80..8500e602 100644 --- a/lib/locales/mk/company/name.js +++ b/lib/locales/mk/company/name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "#{Name.last_name} #{suffix}", "#{Address.city_name} #{suffix}", "#{Name.last_name}, #{Name.last_name} и #{Name.last_name}" diff --git a/lib/locales/mk/company/suffix.js b/lib/locales/mk/company/suffix.js index bbb53d11..dc8c8645 100644 --- a/lib/locales/mk/company/suffix.js +++ b/lib/locales/mk/company/suffix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "ДОО", "ДООЕЛ", "АД", diff --git a/lib/locales/mk/date/index.js b/lib/locales/mk/date/index.js index e53e73ee..f95b1507 100644 --- a/lib/locales/mk/date/index.js +++ b/lib/locales/mk/date/index.js @@ -1,4 +1,4 @@ -const date = {}; -module["exports"] = date; +var date = {}; +module.exports = date; date.month = require("./month"); date.weekday = require("./weekday"); diff --git a/lib/locales/mk/date/month.js b/lib/locales/mk/date/month.js index b4edc548..0e61ec5a 100644 --- a/lib/locales/mk/date/month.js +++ b/lib/locales/mk/date/month.js @@ -1,5 +1,5 @@ // Source: http://unicode.org/cldr/trac/browser/tags/release-27/common/main/en.xml#L1799 -module["exports"] = { +module.exports = { wide: [ "јануари", "февруари", diff --git a/lib/locales/mk/date/weekday.js b/lib/locales/mk/date/weekday.js index 4170e05d..33d83173 100644 --- a/lib/locales/mk/date/weekday.js +++ b/lib/locales/mk/date/weekday.js @@ -1,5 +1,5 @@ // Source: http://unicode.org/cldr/trac/browser/tags/release-27/common/main/en.xml#L1847 -module["exports"] = { +module.exports = { wide: [ "недела", "понеделник", diff --git a/lib/locales/mk/internet/domain_suffix.js b/lib/locales/mk/internet/domain_suffix.js index 11a1aa32..4585812d 100644 --- a/lib/locales/mk/internet/domain_suffix.js +++ b/lib/locales/mk/internet/domain_suffix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "mk", "com", "com.mk", diff --git a/lib/locales/mk/internet/free_email.js b/lib/locales/mk/internet/free_email.js index d4ebd4a8..7c786f91 100644 --- a/lib/locales/mk/internet/free_email.js +++ b/lib/locales/mk/internet/free_email.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "t.mk", "gmail.com", "yahoo.com", diff --git a/lib/locales/mk/name/female_first_name.js b/lib/locales/mk/name/female_first_name.js index b74dad58..8313f3c9 100644 --- a/lib/locales/mk/name/female_first_name.js +++ b/lib/locales/mk/name/female_first_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Ава", "Александра", "Ана", diff --git a/lib/locales/mk/name/female_last_name.js b/lib/locales/mk/name/female_last_name.js index f8e1db94..a3a5bb14 100644 --- a/lib/locales/mk/name/female_last_name.js +++ b/lib/locales/mk/name/female_last_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Абаџиевa", "Абовa", "Аврамовa", diff --git a/lib/locales/mk/name/female_prefix.js b/lib/locales/mk/name/female_prefix.js index 3c11c91b..1f50769f 100644 --- a/lib/locales/mk/name/female_prefix.js +++ b/lib/locales/mk/name/female_prefix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "г-ѓа", "г-ца", "д-р", diff --git a/lib/locales/mk/name/male_first_name.js b/lib/locales/mk/name/male_first_name.js index 6a26d192..b40e76a1 100644 --- a/lib/locales/mk/name/male_first_name.js +++ b/lib/locales/mk/name/male_first_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Александар", "Алексо", "Ангел", diff --git a/lib/locales/mk/name/male_last_name.js b/lib/locales/mk/name/male_last_name.js index a33a193f..b6d573ed 100644 --- a/lib/locales/mk/name/male_last_name.js +++ b/lib/locales/mk/name/male_last_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Абаџиев", "Аврамов", "Аврамовски", diff --git a/lib/locales/mk/name/male_prefix.js b/lib/locales/mk/name/male_prefix.js index dfcf2331..10a93ad1 100644 --- a/lib/locales/mk/name/male_prefix.js +++ b/lib/locales/mk/name/male_prefix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "г-дин", "д-р", "м-р", diff --git a/lib/locales/mk/name/name.js b/lib/locales/mk/name/name.js index dee0dc70..fa064e5b 100644 --- a/lib/locales/mk/name/name.js +++ b/lib/locales/mk/name/name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "#{female_prefix} #{female_first_name} #{female_last_name}", "#{male_prefix} #{male_first_name} #{male_last_name}", "#{female_first_name} #{female_last_name}", diff --git a/lib/locales/mk/name/prefix.js b/lib/locales/mk/name/prefix.js index 898dd9b7..9adcfaad 100644 --- a/lib/locales/mk/name/prefix.js +++ b/lib/locales/mk/name/prefix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "#{female_prefix}", "#{male_prefix}" ]; diff --git a/lib/locales/mk/name/suffix.js b/lib/locales/mk/name/suffix.js index 688be216..e0a30c5d 100644 --- a/lib/locales/mk/name/suffix.js +++ b/lib/locales/mk/name/suffix.js @@ -1 +1 @@ -module["exports"] = []; +module.exports = []; diff --git a/lib/locales/mk/name/title.js b/lib/locales/mk/name/title.js index 9ccb7d11..38dbe389 100644 --- a/lib/locales/mk/name/title.js +++ b/lib/locales/mk/name/title.js @@ -1,4 +1,4 @@ -module["exports"] = { +module.exports = { "descriptor": [ "Главен", "Генерален", diff --git a/lib/locales/mk/phone_number/formats.js b/lib/locales/mk/phone_number/formats.js index b8227c8f..f25b99d6 100644 --- a/lib/locales/mk/phone_number/formats.js +++ b/lib/locales/mk/phone_number/formats.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "02 ### ####", "03# ### ###", "04# ### ###", diff --git a/lib/locales/nb_NO/address/building_number.js b/lib/locales/nb_NO/address/building_number.js index c9d5031a..770439e5 100644 --- a/lib/locales/nb_NO/address/building_number.js +++ b/lib/locales/nb_NO/address/building_number.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "#", "##" ]; diff --git a/lib/locales/nb_NO/address/city.js b/lib/locales/nb_NO/address/city.js index bd944d5a..01a8fd5a 100644 --- a/lib/locales/nb_NO/address/city.js +++ b/lib/locales/nb_NO/address/city.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "#{city_root}#{city_suffix}" ]; diff --git a/lib/locales/nb_NO/address/city_root.js b/lib/locales/nb_NO/address/city_root.js index bef1d4f2..e503284c 100644 --- a/lib/locales/nb_NO/address/city_root.js +++ b/lib/locales/nb_NO/address/city_root.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Fet", "Gjes", "Høy", diff --git a/lib/locales/nb_NO/address/city_suffix.js b/lib/locales/nb_NO/address/city_suffix.js index 8d148a7f..12adb613 100644 --- a/lib/locales/nb_NO/address/city_suffix.js +++ b/lib/locales/nb_NO/address/city_suffix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "berg", "borg", "by", diff --git a/lib/locales/nb_NO/address/common_street_suffix.js b/lib/locales/nb_NO/address/common_street_suffix.js index e1aed4bc..4b14855c 100644 --- a/lib/locales/nb_NO/address/common_street_suffix.js +++ b/lib/locales/nb_NO/address/common_street_suffix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "sgate", "svei", "s Gate", diff --git a/lib/locales/nb_NO/address/default_country.js b/lib/locales/nb_NO/address/default_country.js index 65349174..d19fad17 100644 --- a/lib/locales/nb_NO/address/default_country.js +++ b/lib/locales/nb_NO/address/default_country.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "Norge" ]; diff --git a/lib/locales/nb_NO/address/postcode.js b/lib/locales/nb_NO/address/postcode.js index 7407024b..d92f11be 100644 --- a/lib/locales/nb_NO/address/postcode.js +++ b/lib/locales/nb_NO/address/postcode.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "####", "####", "####", diff --git a/lib/locales/nb_NO/address/secondary_address.js b/lib/locales/nb_NO/address/secondary_address.js index 61fb4fd6..35ac00b1 100644 --- a/lib/locales/nb_NO/address/secondary_address.js +++ b/lib/locales/nb_NO/address/secondary_address.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Leil. ###", "Oppgang A", "Oppgang B" diff --git a/lib/locales/nb_NO/address/state.js b/lib/locales/nb_NO/address/state.js index e53d0ae4..1e928969 100644 --- a/lib/locales/nb_NO/address/state.js +++ b/lib/locales/nb_NO/address/state.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "" ]; diff --git a/lib/locales/nb_NO/address/street_address.js b/lib/locales/nb_NO/address/street_address.js index 74209742..4ae3b6ee 100644 --- a/lib/locales/nb_NO/address/street_address.js +++ b/lib/locales/nb_NO/address/street_address.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "#{street_name} #{building_number}" ]; diff --git a/lib/locales/nb_NO/address/street_name.js b/lib/locales/nb_NO/address/street_name.js index f5c98b96..44496128 100644 --- a/lib/locales/nb_NO/address/street_name.js +++ b/lib/locales/nb_NO/address/street_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "#{street_root}#{street_suffix}", "#{street_prefix} #{street_root}#{street_suffix}", "#{Name.first_name}#{common_street_suffix}", diff --git a/lib/locales/nb_NO/address/street_prefix.js b/lib/locales/nb_NO/address/street_prefix.js index 642f9730..c00eb5e9 100644 --- a/lib/locales/nb_NO/address/street_prefix.js +++ b/lib/locales/nb_NO/address/street_prefix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Øvre", "Nedre", "Søndre", diff --git a/lib/locales/nb_NO/address/street_root.js b/lib/locales/nb_NO/address/street_root.js index b3176f28..2e1bd18e 100644 --- a/lib/locales/nb_NO/address/street_root.js +++ b/lib/locales/nb_NO/address/street_root.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Eike", "Bjørke", "Gran", diff --git a/lib/locales/nb_NO/address/street_suffix.js b/lib/locales/nb_NO/address/street_suffix.js index 182e75f9..d25d75a0 100644 --- a/lib/locales/nb_NO/address/street_suffix.js +++ b/lib/locales/nb_NO/address/street_suffix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "alléen", "bakken", "berget", diff --git a/lib/locales/nb_NO/company/name.js b/lib/locales/nb_NO/company/name.js index cb7d0f9e..37b5b241 100644 --- a/lib/locales/nb_NO/company/name.js +++ b/lib/locales/nb_NO/company/name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "#{Name.last_name} #{suffix}", "#{Name.last_name}-#{Name.last_name}", "#{Name.last_name}, #{Name.last_name} og #{Name.last_name}" diff --git a/lib/locales/nb_NO/company/suffix.js b/lib/locales/nb_NO/company/suffix.js index 504ea735..4bca4782 100644 --- a/lib/locales/nb_NO/company/suffix.js +++ b/lib/locales/nb_NO/company/suffix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Gruppen", "AS", "ASA", diff --git a/lib/locales/nb_NO/internet/domain_suffix.js b/lib/locales/nb_NO/internet/domain_suffix.js index c1a007a8..e8c3c6aa 100644 --- a/lib/locales/nb_NO/internet/domain_suffix.js +++ b/lib/locales/nb_NO/internet/domain_suffix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "no", "com", "net", diff --git a/lib/locales/nb_NO/name/feminine_name.js b/lib/locales/nb_NO/name/feminine_name.js index c05bc09f..dfaec046 100644 --- a/lib/locales/nb_NO/name/feminine_name.js +++ b/lib/locales/nb_NO/name/feminine_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Emma", "Sara", "Thea", diff --git a/lib/locales/nb_NO/name/first_name.js b/lib/locales/nb_NO/name/first_name.js index 41e61879..1ad57a90 100644 --- a/lib/locales/nb_NO/name/first_name.js +++ b/lib/locales/nb_NO/name/first_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Emma", "Sara", "Thea", diff --git a/lib/locales/nb_NO/name/last_name.js b/lib/locales/nb_NO/name/last_name.js index c62ce4ce..e3847836 100644 --- a/lib/locales/nb_NO/name/last_name.js +++ b/lib/locales/nb_NO/name/last_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Johansen", "Hansen", "Andersen", diff --git a/lib/locales/nb_NO/name/masculine_name.js b/lib/locales/nb_NO/name/masculine_name.js index 39b51554..c81ff521 100644 --- a/lib/locales/nb_NO/name/masculine_name.js +++ b/lib/locales/nb_NO/name/masculine_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Markus", "Mathias", "Kristian", diff --git a/lib/locales/nb_NO/name/name.js b/lib/locales/nb_NO/name/name.js index 9b2a2abf..a38555d5 100644 --- a/lib/locales/nb_NO/name/name.js +++ b/lib/locales/nb_NO/name/name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "#{prefix} #{first_name} #{last_name}", "#{first_name} #{last_name} #{suffix}", "#{feminine_name} #{feminine_name} #{last_name}", diff --git a/lib/locales/nb_NO/name/prefix.js b/lib/locales/nb_NO/name/prefix.js index 8e9b2a26..5638e48a 100644 --- a/lib/locales/nb_NO/name/prefix.js +++ b/lib/locales/nb_NO/name/prefix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Dr.", "Prof." ]; diff --git a/lib/locales/nb_NO/name/suffix.js b/lib/locales/nb_NO/name/suffix.js index 9ec4e38a..d9a7bc3f 100644 --- a/lib/locales/nb_NO/name/suffix.js +++ b/lib/locales/nb_NO/name/suffix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Jr.", "Sr.", "I", diff --git a/lib/locales/nb_NO/phone_number/formats.js b/lib/locales/nb_NO/phone_number/formats.js index 4d133a18..173c3263 100644 --- a/lib/locales/nb_NO/phone_number/formats.js +++ b/lib/locales/nb_NO/phone_number/formats.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "########", "## ## ## ##", "### ## ###", diff --git a/lib/locales/ne/address/city.js b/lib/locales/ne/address/city.js index 7df2e6d9..137e638b 100644 --- a/lib/locales/ne/address/city.js +++ b/lib/locales/ne/address/city.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Bhaktapur", "Biratnagar", "Birendranagar", diff --git a/lib/locales/ne/address/default_country.js b/lib/locales/ne/address/default_country.js index c0a11180..b9eed925 100644 --- a/lib/locales/ne/address/default_country.js +++ b/lib/locales/ne/address/default_country.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "Nepal" ]; diff --git a/lib/locales/ne/address/postcode.js b/lib/locales/ne/address/postcode.js index 81a001ad..5bee69a1 100644 --- a/lib/locales/ne/address/postcode.js +++ b/lib/locales/ne/address/postcode.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ 0 ]; diff --git a/lib/locales/ne/address/state.js b/lib/locales/ne/address/state.js index 031a382c..3db55d0c 100644 --- a/lib/locales/ne/address/state.js +++ b/lib/locales/ne/address/state.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Baglung", "Banke", "Bara", diff --git a/lib/locales/ne/company/suffix.js b/lib/locales/ne/company/suffix.js index 2e0f2525..626046b3 100644 --- a/lib/locales/ne/company/suffix.js +++ b/lib/locales/ne/company/suffix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Pvt Ltd", "Group", "Ltd", diff --git a/lib/locales/ne/internet/domain_suffix.js b/lib/locales/ne/internet/domain_suffix.js index 0d4c0251..a1da373c 100644 --- a/lib/locales/ne/internet/domain_suffix.js +++ b/lib/locales/ne/internet/domain_suffix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "np", "com", "info", diff --git a/lib/locales/ne/internet/free_email.js b/lib/locales/ne/internet/free_email.js index 168d5448..0e342358 100644 --- a/lib/locales/ne/internet/free_email.js +++ b/lib/locales/ne/internet/free_email.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "worldlink.com.np", "gmail.com", "yahoo.com", diff --git a/lib/locales/ne/name/first_name.js b/lib/locales/ne/name/first_name.js index 5a0c42b4..448122b6 100644 --- a/lib/locales/ne/name/first_name.js +++ b/lib/locales/ne/name/first_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Aarav", "Ajita", "Amit", diff --git a/lib/locales/ne/name/last_name.js b/lib/locales/ne/name/last_name.js index 822183b4..a9ebed80 100644 --- a/lib/locales/ne/name/last_name.js +++ b/lib/locales/ne/name/last_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Adhikari", "Aryal", "Baral", diff --git a/lib/locales/ne/phone_number/formats.js b/lib/locales/ne/phone_number/formats.js index d009c8ac..4ca32ac4 100644 --- a/lib/locales/ne/phone_number/formats.js +++ b/lib/locales/ne/phone_number/formats.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "##-#######", "+977-#-#######", "+977########" diff --git a/lib/locales/nl/address/building_number.js b/lib/locales/nl/address/building_number.js index 66d4621e..872e8755 100644 --- a/lib/locales/nl/address/building_number.js +++ b/lib/locales/nl/address/building_number.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "#", "##", "###", diff --git a/lib/locales/nl/address/city.js b/lib/locales/nl/address/city.js index 841a60b0..0a9321a0 100644 --- a/lib/locales/nl/address/city.js +++ b/lib/locales/nl/address/city.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "#{city_prefix}#{city_suffix}", "#{city_prefix}" ]; diff --git a/lib/locales/nl/address/city_prefix.js b/lib/locales/nl/address/city_prefix.js index 69073717..94b0a7b4 100644 --- a/lib/locales/nl/address/city_prefix.js +++ b/lib/locales/nl/address/city_prefix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Aagte", "Aal", "Aalden", diff --git a/lib/locales/nl/address/city_suffix.js b/lib/locales/nl/address/city_suffix.js index d4f7eb84..2894e00f 100644 --- a/lib/locales/nl/address/city_suffix.js +++ b/lib/locales/nl/address/city_suffix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ " aan de IJssel", " aan de Rijn", "ambacht", diff --git a/lib/locales/nl/address/country.js b/lib/locales/nl/address/country.js index 66da3c57..8977ec6c 100644 --- a/lib/locales/nl/address/country.js +++ b/lib/locales/nl/address/country.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Afghanistan", "Akrotiri", "Albanië", diff --git a/lib/locales/nl/address/default_country.js b/lib/locales/nl/address/default_country.js index 6d4b9256..31c4f05a 100644 --- a/lib/locales/nl/address/default_country.js +++ b/lib/locales/nl/address/default_country.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "Nederland" ]; diff --git a/lib/locales/nl/address/postcode.js b/lib/locales/nl/address/postcode.js index 89dd46a4..03652088 100644 --- a/lib/locales/nl/address/postcode.js +++ b/lib/locales/nl/address/postcode.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "#### ??" ]; diff --git a/lib/locales/nl/address/secondary_address.js b/lib/locales/nl/address/secondary_address.js index eb7adbf5..fe79543b 100644 --- a/lib/locales/nl/address/secondary_address.js +++ b/lib/locales/nl/address/secondary_address.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "1 hoog", "2 hoog", "3 hoog", diff --git a/lib/locales/nl/address/state.js b/lib/locales/nl/address/state.js index 7ca437a0..4bb1a746 100644 --- a/lib/locales/nl/address/state.js +++ b/lib/locales/nl/address/state.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Noord-Holland", "Zuid-Holland", "Utrecht", diff --git a/lib/locales/nl/address/street_address.js b/lib/locales/nl/address/street_address.js index 74209742..4ae3b6ee 100644 --- a/lib/locales/nl/address/street_address.js +++ b/lib/locales/nl/address/street_address.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "#{street_name} #{building_number}" ]; diff --git a/lib/locales/nl/address/street_name.js b/lib/locales/nl/address/street_name.js index 977967c8..645bf119 100644 --- a/lib/locales/nl/address/street_name.js +++ b/lib/locales/nl/address/street_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "#{Name.first_name}#{street_suffix}", "#{Name.last_name}#{street_suffix}" ]; diff --git a/lib/locales/nl/address/street_suffix.js b/lib/locales/nl/address/street_suffix.js index cf60e45a..a62572bf 100644 --- a/lib/locales/nl/address/street_suffix.js +++ b/lib/locales/nl/address/street_suffix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "straat", "laan", "weg", diff --git a/lib/locales/nl/commerce/color.js b/lib/locales/nl/commerce/color.js index 58eda850..1fb38fe7 100644 --- a/lib/locales/nl/commerce/color.js +++ b/lib/locales/nl/commerce/color.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "rood", "groen", "blauw", diff --git a/lib/locales/nl/commerce/department.js b/lib/locales/nl/commerce/department.js index 759a66c7..531fa1d6 100644 --- a/lib/locales/nl/commerce/department.js +++ b/lib/locales/nl/commerce/department.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Boeken", "Films", "Muziek", diff --git a/lib/locales/nl/commerce/product_name.js b/lib/locales/nl/commerce/product_name.js index 9c28bb78..23b0a96d 100644 --- a/lib/locales/nl/commerce/product_name.js +++ b/lib/locales/nl/commerce/product_name.js @@ -1,4 +1,4 @@ -module["exports"] = { +module.exports = { "adjective": [ "Klein", "Ergonomisch", diff --git a/lib/locales/nl/company/suffix.js b/lib/locales/nl/company/suffix.js index 21fbeedc..fea65973 100644 --- a/lib/locales/nl/company/suffix.js +++ b/lib/locales/nl/company/suffix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "BV", "V.O.F.", "Groep", diff --git a/lib/locales/nl/date/index.js b/lib/locales/nl/date/index.js index e53e73ee..f95b1507 100644 --- a/lib/locales/nl/date/index.js +++ b/lib/locales/nl/date/index.js @@ -1,4 +1,4 @@ -const date = {}; -module["exports"] = date; +var date = {}; +module.exports = date; date.month = require("./month"); date.weekday = require("./weekday"); diff --git a/lib/locales/nl/date/month.js b/lib/locales/nl/date/month.js index 2de62bc3..78b8666c 100644 --- a/lib/locales/nl/date/month.js +++ b/lib/locales/nl/date/month.js @@ -1,5 +1,5 @@ // source: http://unicode.org/cldr/trac/browser/tags/release-27/common/main/en.xml#L1799 -module["exports"] = { +module.exports = { wide: [ "januari", "februari", diff --git a/lib/locales/nl/date/weekday.js b/lib/locales/nl/date/weekday.js index a75a7323..8886bfa3 100644 --- a/lib/locales/nl/date/weekday.js +++ b/lib/locales/nl/date/weekday.js @@ -1,5 +1,5 @@ // Source: http://unicode.org/cldr/trac/browser/tags/release-27/common/main/en.xml#L1847 -module["exports"] = { +module.exports = { wide: [ "zondag", "maandag", diff --git a/lib/locales/nl/hacker/adjective.js b/lib/locales/nl/hacker/adjective.js index c462f012..64ad07c3 100644 --- a/lib/locales/nl/hacker/adjective.js +++ b/lib/locales/nl/hacker/adjective.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "ondersteunende", "primaire", "onderliggende", diff --git a/lib/locales/nl/hacker/noun.js b/lib/locales/nl/hacker/noun.js index 98dbb2d1..753eae2c 100644 --- a/lib/locales/nl/hacker/noun.js +++ b/lib/locales/nl/hacker/noun.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "driver", "protocol", "bandbreedte", diff --git a/lib/locales/nl/hacker/phrase.js b/lib/locales/nl/hacker/phrase.js index caaa1d64..261d6573 100644 --- a/lib/locales/nl/hacker/phrase.js +++ b/lib/locales/nl/hacker/phrase.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Als we de {{noun}} {{verb}}, dan kunnen we naar de {{abbreviation}} {{noun}} via de {{adjective}} {{abbreviation}} {{noun}}!", "We moeten de {{adjective}} {{abbreviation}} {{noun}} {{verb}}!", "Probeer om de {{abbreviation}} {{noun}} te {{verb}}, misschien gaat dat de {{adjective}} {{noun}} {{verb}}!", diff --git a/lib/locales/nl/hacker/verb.js b/lib/locales/nl/hacker/verb.js index d409e7a5..f6b43e6b 100644 --- a/lib/locales/nl/hacker/verb.js +++ b/lib/locales/nl/hacker/verb.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "back-uppen", "omzeilen", "hacken", diff --git a/lib/locales/nl/internet/domain_suffix.js b/lib/locales/nl/internet/domain_suffix.js index 64405270..4637590a 100644 --- a/lib/locales/nl/internet/domain_suffix.js +++ b/lib/locales/nl/internet/domain_suffix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "nl", "com", "net", diff --git a/lib/locales/nl/internet/free_email.js b/lib/locales/nl/internet/free_email.js index d6393294..b425345d 100644 --- a/lib/locales/nl/internet/free_email.js +++ b/lib/locales/nl/internet/free_email.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "gmail.com", "yahoo.com", "hotmail.com" diff --git a/lib/locales/nl/lorem/words.js b/lib/locales/nl/lorem/words.js index e8c9f7bb..68d1c09c 100644 --- a/lib/locales/nl/lorem/words.js +++ b/lib/locales/nl/lorem/words.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "alias", "consequatur", "aut", diff --git a/lib/locales/nl/name/female_first_name.js b/lib/locales/nl/name/female_first_name.js index 1251c716..c360f7f8 100644 --- a/lib/locales/nl/name/female_first_name.js +++ b/lib/locales/nl/name/female_first_name.js @@ -1,5 +1,5 @@ // these names are taken from the list of most popular names in 2019 for girls: https://www.svbkindernamen.nl/int/nl/kindernamen/wizard/zoeknaam/meisjesnamen/meisjes_alfabetisch.html -module["exports"] = [ +module.exports = [ "Yarah", "Vere", "Siënna", diff --git a/lib/locales/nl/name/first_name.js b/lib/locales/nl/name/first_name.js index 8f5dca12..22024a35 100644 --- a/lib/locales/nl/name/first_name.js +++ b/lib/locales/nl/name/first_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Amber", "Anna", "Anne", diff --git a/lib/locales/nl/name/last_name.js b/lib/locales/nl/name/last_name.js index f947ad9f..c3efcc0b 100644 --- a/lib/locales/nl/name/last_name.js +++ b/lib/locales/nl/name/last_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Bakker", "Beek", "Berg", diff --git a/lib/locales/nl/name/male_first_name.js b/lib/locales/nl/name/male_first_name.js index c239d202..2a825766 100644 --- a/lib/locales/nl/name/male_first_name.js +++ b/lib/locales/nl/name/male_first_name.js @@ -1,5 +1,5 @@ // these names are taken from the list of most popular names in 2019 for boys: https://www.svbkindernamen.nl/int/nl/kindernamen/wizard/zoeknaam/jongensnamen/jongens_alfabetisch.html -module["exports"] = [ +module.exports = [ "Tymon", "Steven", "Semih", diff --git a/lib/locales/nl/name/name.js b/lib/locales/nl/name/name.js index 7743b12c..77d8c302 100644 --- a/lib/locales/nl/name/name.js +++ b/lib/locales/nl/name/name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "#{prefix} #{first_name} #{last_name}", "#{first_name} #{last_name} #{suffix}", "#{first_name} #{last_name}", diff --git a/lib/locales/nl/name/prefix.js b/lib/locales/nl/name/prefix.js index c4dd7869..d4028450 100644 --- a/lib/locales/nl/name/prefix.js +++ b/lib/locales/nl/name/prefix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Dhr.", "Mevr. Dr.", "Bsc", diff --git a/lib/locales/nl/name/suffix.js b/lib/locales/nl/name/suffix.js index 9ec4e38a..d9a7bc3f 100644 --- a/lib/locales/nl/name/suffix.js +++ b/lib/locales/nl/name/suffix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Jr.", "Sr.", "I", diff --git a/lib/locales/nl/name/tussenvoegsel.js b/lib/locales/nl/name/tussenvoegsel.js index e6cc6fcd..4fd3ad72 100644 --- a/lib/locales/nl/name/tussenvoegsel.js +++ b/lib/locales/nl/name/tussenvoegsel.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "van", "van de", "van den", diff --git a/lib/locales/nl/phone_number/formats.js b/lib/locales/nl/phone_number/formats.js index 3bb5f0b3..b084d7f3 100644 --- a/lib/locales/nl/phone_number/formats.js +++ b/lib/locales/nl/phone_number/formats.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "(####) ######", "##########", "06########", diff --git a/lib/locales/nl_BE/address/building_number.js b/lib/locales/nl_BE/address/building_number.js index e7ccc1c0..0c2f577c 100644 --- a/lib/locales/nl_BE/address/building_number.js +++ b/lib/locales/nl_BE/address/building_number.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "#", "##", "###", diff --git a/lib/locales/nl_BE/address/city.js b/lib/locales/nl_BE/address/city.js index 5cbe713b..cfcfd904 100644 --- a/lib/locales/nl_BE/address/city.js +++ b/lib/locales/nl_BE/address/city.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "#{city_prefix}", "#{city_prefix}#{city_suffix}" ]; diff --git a/lib/locales/nl_BE/address/city_prefix.js b/lib/locales/nl_BE/address/city_prefix.js index b9cf4d4b..a7edff38 100644 --- a/lib/locales/nl_BE/address/city_prefix.js +++ b/lib/locales/nl_BE/address/city_prefix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "'s Herenelderen", "'s-Gravenvoeren", "'s-Gravenwezel", diff --git a/lib/locales/nl_BE/address/city_suffix.js b/lib/locales/nl_BE/address/city_suffix.js index db8727f0..8f2ee222 100644 --- a/lib/locales/nl_BE/address/city_suffix.js +++ b/lib/locales/nl_BE/address/city_suffix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "gem", "tem", "vijve", diff --git a/lib/locales/nl_BE/address/default_country.js b/lib/locales/nl_BE/address/default_country.js index 77cd5add..b3476cb1 100644 --- a/lib/locales/nl_BE/address/default_country.js +++ b/lib/locales/nl_BE/address/default_country.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "België" ]; diff --git a/lib/locales/nl_BE/address/postcode.js b/lib/locales/nl_BE/address/postcode.js index 5053d539..ec2bc226 100644 --- a/lib/locales/nl_BE/address/postcode.js +++ b/lib/locales/nl_BE/address/postcode.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "####" ]; diff --git a/lib/locales/nl_BE/address/secondary_address.js b/lib/locales/nl_BE/address/secondary_address.js index cb73eaf4..5e2d8f54 100644 --- a/lib/locales/nl_BE/address/secondary_address.js +++ b/lib/locales/nl_BE/address/secondary_address.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "1e verdieping", "2e verdieping", "3e verdieping" diff --git a/lib/locales/nl_BE/address/state.js b/lib/locales/nl_BE/address/state.js index 4ad0c88e..7104cab9 100644 --- a/lib/locales/nl_BE/address/state.js +++ b/lib/locales/nl_BE/address/state.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "West-Vlaanderen", "Oost-Vlaanderen", "Vlaams-Brabant", diff --git a/lib/locales/nl_BE/address/state_abbr.js b/lib/locales/nl_BE/address/state_abbr.js index f110e579..0a35356d 100644 --- a/lib/locales/nl_BE/address/state_abbr.js +++ b/lib/locales/nl_BE/address/state_abbr.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "WVL", "OVL", "VBR", diff --git a/lib/locales/nl_BE/address/street_address.js b/lib/locales/nl_BE/address/street_address.js index 74209742..4ae3b6ee 100644 --- a/lib/locales/nl_BE/address/street_address.js +++ b/lib/locales/nl_BE/address/street_address.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "#{street_name} #{building_number}" ]; diff --git a/lib/locales/nl_BE/address/street_name.js b/lib/locales/nl_BE/address/street_name.js index 977967c8..645bf119 100644 --- a/lib/locales/nl_BE/address/street_name.js +++ b/lib/locales/nl_BE/address/street_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "#{Name.first_name}#{street_suffix}", "#{Name.last_name}#{street_suffix}" ]; diff --git a/lib/locales/nl_BE/address/street_suffix.js b/lib/locales/nl_BE/address/street_suffix.js index 9993ab59..e34ea86d 100644 --- a/lib/locales/nl_BE/address/street_suffix.js +++ b/lib/locales/nl_BE/address/street_suffix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "straat", "laan", "weg", diff --git a/lib/locales/nl_BE/company/suffix.js b/lib/locales/nl_BE/company/suffix.js index 8b3be1f6..05ea214b 100644 --- a/lib/locales/nl_BE/company/suffix.js +++ b/lib/locales/nl_BE/company/suffix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "NV", "BVBA", "CVBA", diff --git a/lib/locales/nl_BE/internet/domain_suffix.js b/lib/locales/nl_BE/internet/domain_suffix.js index 039f5d44..f44023c1 100644 --- a/lib/locales/nl_BE/internet/domain_suffix.js +++ b/lib/locales/nl_BE/internet/domain_suffix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "be", "brussels", "vlaanderen", diff --git a/lib/locales/nl_BE/internet/free_email.js b/lib/locales/nl_BE/internet/free_email.js index b8b652dc..b89788ab 100644 --- a/lib/locales/nl_BE/internet/free_email.js +++ b/lib/locales/nl_BE/internet/free_email.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "gmail.com", "yahoo.com", "hotmail.com", diff --git a/lib/locales/nl_BE/name/first_name.js b/lib/locales/nl_BE/name/first_name.js index 0a3d8736..a336d751 100644 --- a/lib/locales/nl_BE/name/first_name.js +++ b/lib/locales/nl_BE/name/first_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Lucas", "Liam", "Louis", diff --git a/lib/locales/nl_BE/name/last_name.js b/lib/locales/nl_BE/name/last_name.js index 3f5b8ee8..bc01a48f 100644 --- a/lib/locales/nl_BE/name/last_name.js +++ b/lib/locales/nl_BE/name/last_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Claes", "Claeys", "Declerck", diff --git a/lib/locales/nl_BE/name/name.js b/lib/locales/nl_BE/name/name.js index 1e208448..090b9b23 100644 --- a/lib/locales/nl_BE/name/name.js +++ b/lib/locales/nl_BE/name/name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "#{prefix} #{first_name} #{last_name}", "#{first_name} #{last_name} #{suffix}", "#{first_name} #{last_name}", diff --git a/lib/locales/nl_BE/name/prefix.js b/lib/locales/nl_BE/name/prefix.js index b231ad62..792554be 100644 --- a/lib/locales/nl_BE/name/prefix.js +++ b/lib/locales/nl_BE/name/prefix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Dr.", "Ir.", "Ing.", diff --git a/lib/locales/nl_BE/name/suffix.js b/lib/locales/nl_BE/name/suffix.js index 2867fde5..ad05970c 100644 --- a/lib/locales/nl_BE/name/suffix.js +++ b/lib/locales/nl_BE/name/suffix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "MBA", "Phd." ]; diff --git a/lib/locales/nl_BE/phone_number/formats.js b/lib/locales/nl_BE/phone_number/formats.js index 950e9f5d..f6b650b9 100644 --- a/lib/locales/nl_BE/phone_number/formats.js +++ b/lib/locales/nl_BE/phone_number/formats.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "###/######", "###/## ## ##", "### ## ## ##", diff --git a/lib/locales/pl/address/building_number.js b/lib/locales/pl/address/building_number.js index 76d63929..01aae8ac 100644 --- a/lib/locales/pl/address/building_number.js +++ b/lib/locales/pl/address/building_number.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "#####", "####", "###" diff --git a/lib/locales/pl/address/city.js b/lib/locales/pl/address/city.js index d62eafb1..14b927cb 100644 --- a/lib/locales/pl/address/city.js +++ b/lib/locales/pl/address/city.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "#{city_name}" ]; diff --git a/lib/locales/pl/address/city_name.js b/lib/locales/pl/address/city_name.js index a98afea8..c8079d4e 100644 --- a/lib/locales/pl/address/city_name.js +++ b/lib/locales/pl/address/city_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Aleksandrów Kujawski", "Aleksandrów Łódzki", "Alwernia", diff --git a/lib/locales/pl/address/country.js b/lib/locales/pl/address/country.js index 217dee7a..8726e5b9 100644 --- a/lib/locales/pl/address/country.js +++ b/lib/locales/pl/address/country.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Afganistan", "Albania", "Algieria", diff --git a/lib/locales/pl/address/default_country.js b/lib/locales/pl/address/default_country.js index 41a51c39..dfd65097 100644 --- a/lib/locales/pl/address/default_country.js +++ b/lib/locales/pl/address/default_country.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "Polska" ]; diff --git a/lib/locales/pl/address/postcode.js b/lib/locales/pl/address/postcode.js index 3337e02b..3865d4fe 100644 --- a/lib/locales/pl/address/postcode.js +++ b/lib/locales/pl/address/postcode.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "##-###" ]; diff --git a/lib/locales/pl/address/secondary_address.js b/lib/locales/pl/address/secondary_address.js index cbd6d754..14e12c13 100644 --- a/lib/locales/pl/address/secondary_address.js +++ b/lib/locales/pl/address/secondary_address.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Apt. ###", "Suite ###" ]; diff --git a/lib/locales/pl/address/state.js b/lib/locales/pl/address/state.js index 34a6ebe8..89888a68 100644 --- a/lib/locales/pl/address/state.js +++ b/lib/locales/pl/address/state.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Dolnośląskie", "Kujawsko-pomorskie", "Lubelskie", diff --git a/lib/locales/pl/address/state_abbr.js b/lib/locales/pl/address/state_abbr.js index cc2aac2a..88fcaccf 100644 --- a/lib/locales/pl/address/state_abbr.js +++ b/lib/locales/pl/address/state_abbr.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "DŚ", "KP", "LB", diff --git a/lib/locales/pl/address/street_address.js b/lib/locales/pl/address/street_address.js index 74209742..4ae3b6ee 100644 --- a/lib/locales/pl/address/street_address.js +++ b/lib/locales/pl/address/street_address.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "#{street_name} #{building_number}" ]; diff --git a/lib/locales/pl/address/street_name.js b/lib/locales/pl/address/street_name.js index 9bfcd303..ff08ca72 100644 --- a/lib/locales/pl/address/street_name.js +++ b/lib/locales/pl/address/street_name.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "#{street_prefix} #{Name.last_name}" ]; diff --git a/lib/locales/pl/address/street_prefix.js b/lib/locales/pl/address/street_prefix.js index 62a14bb2..3c671982 100644 --- a/lib/locales/pl/address/street_prefix.js +++ b/lib/locales/pl/address/street_prefix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "ul.", "al." ]; diff --git a/lib/locales/pl/cell_phone/formats.js b/lib/locales/pl/cell_phone/formats.js index af0b88fe..f32b6339 100644 --- a/lib/locales/pl/cell_phone/formats.js +++ b/lib/locales/pl/cell_phone/formats.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "50#-###-###", "51#-###-###", "53#-###-###", diff --git a/lib/locales/pl/company/adjetive.js b/lib/locales/pl/company/adjetive.js index bcfd8abe..486ef4e4 100644 --- a/lib/locales/pl/company/adjetive.js +++ b/lib/locales/pl/company/adjetive.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Adaptive", "Advanced", "Ameliorated", diff --git a/lib/locales/pl/company/bs_adjective.js b/lib/locales/pl/company/bs_adjective.js index 87bc9d39..08bafd47 100644 --- a/lib/locales/pl/company/bs_adjective.js +++ b/lib/locales/pl/company/bs_adjective.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "clicks-and-mortar", "value-added", "vertical", diff --git a/lib/locales/pl/company/bs_noun.js b/lib/locales/pl/company/bs_noun.js index c764d732..383a9ed5 100644 --- a/lib/locales/pl/company/bs_noun.js +++ b/lib/locales/pl/company/bs_noun.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "synergies", "web-readiness", "paradigms", diff --git a/lib/locales/pl/company/bs_verb.js b/lib/locales/pl/company/bs_verb.js index 42e47b27..cebff65a 100644 --- a/lib/locales/pl/company/bs_verb.js +++ b/lib/locales/pl/company/bs_verb.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "implement", "utilize", "integrate", diff --git a/lib/locales/pl/company/descriptor.js b/lib/locales/pl/company/descriptor.js index 0746db82..e2abae1c 100644 --- a/lib/locales/pl/company/descriptor.js +++ b/lib/locales/pl/company/descriptor.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "24 hour", "24/7", "3rd generation", diff --git a/lib/locales/pl/company/name.js b/lib/locales/pl/company/name.js index f3cb17c8..9e7685ad 100644 --- a/lib/locales/pl/company/name.js +++ b/lib/locales/pl/company/name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "#{Name.last_name} #{suffix}", "#{Name.last_name}-#{Name.last_name}", "#{Name.last_name}, #{Name.last_name} and #{Name.last_name}" diff --git a/lib/locales/pl/company/noun.js b/lib/locales/pl/company/noun.js index 0a27b357..8a09a145 100644 --- a/lib/locales/pl/company/noun.js +++ b/lib/locales/pl/company/noun.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "ability", "access", "adapter", diff --git a/lib/locales/pl/company/suffix.js b/lib/locales/pl/company/suffix.js index a5351dba..040cee5b 100644 --- a/lib/locales/pl/company/suffix.js +++ b/lib/locales/pl/company/suffix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Inc", "and Sons", "LLC", diff --git a/lib/locales/pl/internet/domain_suffix.js b/lib/locales/pl/internet/domain_suffix.js index 644f75fa..9113a53c 100644 --- a/lib/locales/pl/internet/domain_suffix.js +++ b/lib/locales/pl/internet/domain_suffix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "com", "pl", "com.pl", diff --git a/lib/locales/pl/internet/free_email.js b/lib/locales/pl/internet/free_email.js index d6393294..b425345d 100644 --- a/lib/locales/pl/internet/free_email.js +++ b/lib/locales/pl/internet/free_email.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "gmail.com", "yahoo.com", "hotmail.com" diff --git a/lib/locales/pl/lorem/words.js b/lib/locales/pl/lorem/words.js index e8c9f7bb..68d1c09c 100644 --- a/lib/locales/pl/lorem/words.js +++ b/lib/locales/pl/lorem/words.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "alias", "consequatur", "aut", diff --git a/lib/locales/pl/name/last_name.js b/lib/locales/pl/name/last_name.js index 64585810..931de3bc 100644 --- a/lib/locales/pl/name/last_name.js +++ b/lib/locales/pl/name/last_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Adamczak", "Adamczyk", "Adamek", diff --git a/lib/locales/pl/name/name.js b/lib/locales/pl/name/name.js index 23c77b5e..b95b5f11 100644 --- a/lib/locales/pl/name/name.js +++ b/lib/locales/pl/name/name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "#{prefix} #{first_name} #{last_name}", "#{first_name} #{last_name}", "#{first_name} #{last_name}", diff --git a/lib/locales/pl/name/prefix.js b/lib/locales/pl/name/prefix.js index b02f6b16..44161648 100644 --- a/lib/locales/pl/name/prefix.js +++ b/lib/locales/pl/name/prefix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Pan", "Pani" ]; diff --git a/lib/locales/pl/name/title.js b/lib/locales/pl/name/title.js index df4228f3..132659de 100644 --- a/lib/locales/pl/name/title.js +++ b/lib/locales/pl/name/title.js @@ -1,4 +1,4 @@ -module["exports"] = { +module.exports = { "descriptor": [ "Lead", "Senior", diff --git a/lib/locales/pl/phone_number/formats.js b/lib/locales/pl/phone_number/formats.js index 6f7fbd60..d47cd1fd 100644 --- a/lib/locales/pl/phone_number/formats.js +++ b/lib/locales/pl/phone_number/formats.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "12-###-##-##", "13-###-##-##", "14-###-##-##", diff --git a/lib/locales/pt_BR/address/building_number.js b/lib/locales/pt_BR/address/building_number.js index 76d63929..01aae8ac 100644 --- a/lib/locales/pt_BR/address/building_number.js +++ b/lib/locales/pt_BR/address/building_number.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "#####", "####", "###" diff --git a/lib/locales/pt_BR/address/city_prefix.js b/lib/locales/pt_BR/address/city_prefix.js index 4464cf4b..c767c659 100644 --- a/lib/locales/pt_BR/address/city_prefix.js +++ b/lib/locales/pt_BR/address/city_prefix.js @@ -1,2 +1,2 @@ -module["exports"] = [ +module.exports = [ ]; diff --git a/lib/locales/pt_BR/address/city_suffix.js b/lib/locales/pt_BR/address/city_suffix.js index 1bcdb809..26f4b3f0 100644 --- a/lib/locales/pt_BR/address/city_suffix.js +++ b/lib/locales/pt_BR/address/city_suffix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ " do Descoberto", " de Nossa Senhora", " do Norte", diff --git a/lib/locales/pt_BR/address/country.js b/lib/locales/pt_BR/address/country.js index 919c4250..015e4dcc 100644 --- a/lib/locales/pt_BR/address/country.js +++ b/lib/locales/pt_BR/address/country.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Afeganistão", "Albânia", "Algéria", diff --git a/lib/locales/pt_BR/address/default_country.js b/lib/locales/pt_BR/address/default_country.js index 4fca6a15..96debee4 100644 --- a/lib/locales/pt_BR/address/default_country.js +++ b/lib/locales/pt_BR/address/default_country.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "Brasil" ]; diff --git a/lib/locales/pt_BR/address/postcode.js b/lib/locales/pt_BR/address/postcode.js index dd444da2..524677cc 100644 --- a/lib/locales/pt_BR/address/postcode.js +++ b/lib/locales/pt_BR/address/postcode.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "#####-###" ]; diff --git a/lib/locales/pt_BR/address/secondary_address.js b/lib/locales/pt_BR/address/secondary_address.js index c865c831..534706e3 100644 --- a/lib/locales/pt_BR/address/secondary_address.js +++ b/lib/locales/pt_BR/address/secondary_address.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Apto. ###", "Sobrado ##", "Casa #", diff --git a/lib/locales/pt_BR/address/state.js b/lib/locales/pt_BR/address/state.js index d074f477..df00909d 100644 --- a/lib/locales/pt_BR/address/state.js +++ b/lib/locales/pt_BR/address/state.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Acre", "Alagoas", "Amapá", diff --git a/lib/locales/pt_BR/address/state_abbr.js b/lib/locales/pt_BR/address/state_abbr.js index 0e57d51e..a2bdcf06 100644 --- a/lib/locales/pt_BR/address/state_abbr.js +++ b/lib/locales/pt_BR/address/state_abbr.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "AC", "AL", "AP", diff --git a/lib/locales/pt_BR/address/street_suffix.js b/lib/locales/pt_BR/address/street_suffix.js index 25a1f692..1eea69c8 100644 --- a/lib/locales/pt_BR/address/street_suffix.js +++ b/lib/locales/pt_BR/address/street_suffix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Rua", "Avenida", "Travessa", diff --git a/lib/locales/pt_BR/commerce/color.js b/lib/locales/pt_BR/commerce/color.js index 0b139d15..81822388 100644 --- a/lib/locales/pt_BR/commerce/color.js +++ b/lib/locales/pt_BR/commerce/color.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "amarelo", "âmbar", "ametista", diff --git a/lib/locales/pt_BR/commerce/department.js b/lib/locales/pt_BR/commerce/department.js index c43a9f92..0202ce02 100644 --- a/lib/locales/pt_BR/commerce/department.js +++ b/lib/locales/pt_BR/commerce/department.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Livros", "Filmes", "Música", diff --git a/lib/locales/pt_BR/commerce/product_name.js b/lib/locales/pt_BR/commerce/product_name.js index 5260ef02..f268cbd6 100644 --- a/lib/locales/pt_BR/commerce/product_name.js +++ b/lib/locales/pt_BR/commerce/product_name.js @@ -1,4 +1,4 @@ -module["exports"] = { +module.exports = { "adjective": [ "Pequeno", "Ergonômico", diff --git a/lib/locales/pt_BR/company/name.js b/lib/locales/pt_BR/company/name.js index 6de380c3..4d98543c 100644 --- a/lib/locales/pt_BR/company/name.js +++ b/lib/locales/pt_BR/company/name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "#{Name.last_name} #{suffix}", "#{Name.last_name}-#{Name.last_name}", "#{Name.last_name}, #{Name.last_name} e #{Name.last_name}" diff --git a/lib/locales/pt_BR/company/suffix.js b/lib/locales/pt_BR/company/suffix.js index 4fddf526..8dabaed3 100644 --- a/lib/locales/pt_BR/company/suffix.js +++ b/lib/locales/pt_BR/company/suffix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "S.A.", "LTDA", "EIRELI", diff --git a/lib/locales/pt_BR/date/index.js b/lib/locales/pt_BR/date/index.js index e53e73ee..f95b1507 100644 --- a/lib/locales/pt_BR/date/index.js +++ b/lib/locales/pt_BR/date/index.js @@ -1,4 +1,4 @@ -const date = {}; -module["exports"] = date; +var date = {}; +module.exports = date; date.month = require("./month"); date.weekday = require("./weekday"); diff --git a/lib/locales/pt_BR/date/month.js b/lib/locales/pt_BR/date/month.js index 4a906032..67055b7f 100644 --- a/lib/locales/pt_BR/date/month.js +++ b/lib/locales/pt_BR/date/month.js @@ -1,5 +1,5 @@ // Source: http://unicode.org/cldr/trac/browser/tags/release-27/common/main/en.xml#L1799 -module["exports"] = { +module.exports = { wide: [ "Janeiro", "Fevereiro", diff --git a/lib/locales/pt_BR/date/weekday.js b/lib/locales/pt_BR/date/weekday.js index 08422224..d73e4ae8 100644 --- a/lib/locales/pt_BR/date/weekday.js +++ b/lib/locales/pt_BR/date/weekday.js @@ -1,5 +1,5 @@ // Source: http://unicode.org/cldr/trac/browser/tags/release-27/common/main/en.xml#L1847 -module["exports"] = { +module.exports = { wide: [ "Domingo", "Segunda", diff --git a/lib/locales/pt_BR/internet/domain_suffix.js b/lib/locales/pt_BR/internet/domain_suffix.js index b6ca2293..ca8d41fb 100644 --- a/lib/locales/pt_BR/internet/domain_suffix.js +++ b/lib/locales/pt_BR/internet/domain_suffix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "br", "com", "biz", diff --git a/lib/locales/pt_BR/internet/free_email.js b/lib/locales/pt_BR/internet/free_email.js index 5bcaedcb..d2f58bf3 100644 --- a/lib/locales/pt_BR/internet/free_email.js +++ b/lib/locales/pt_BR/internet/free_email.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "gmail.com", "yahoo.com", "hotmail.com", diff --git a/lib/locales/pt_BR/lorem/words.js b/lib/locales/pt_BR/lorem/words.js index e8c9f7bb..68d1c09c 100644 --- a/lib/locales/pt_BR/lorem/words.js +++ b/lib/locales/pt_BR/lorem/words.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "alias", "consequatur", "aut", diff --git a/lib/locales/pt_BR/name/binary_gender.js b/lib/locales/pt_BR/name/binary_gender.js index 73a1108f..43523da3 100644 --- a/lib/locales/pt_BR/name/binary_gender.js +++ b/lib/locales/pt_BR/name/binary_gender.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Feminino", "Masculino" ]; \ No newline at end of file diff --git a/lib/locales/pt_BR/name/female_first_name.js b/lib/locales/pt_BR/name/female_first_name.js index fa4484d3..cff7c342 100644 --- a/lib/locales/pt_BR/name/female_first_name.js +++ b/lib/locales/pt_BR/name/female_first_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Alessandra", "Alice", "Aline", diff --git a/lib/locales/pt_BR/name/first_name.js b/lib/locales/pt_BR/name/first_name.js index 3fde0618..b17ac93b 100644 --- a/lib/locales/pt_BR/name/first_name.js +++ b/lib/locales/pt_BR/name/first_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Alessandra", "Alessandro", "Alexandre", diff --git a/lib/locales/pt_BR/name/last_name.js b/lib/locales/pt_BR/name/last_name.js index a0271c47..91062cb1 100644 --- a/lib/locales/pt_BR/name/last_name.js +++ b/lib/locales/pt_BR/name/last_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Silva", "Souza", "Carvalho", diff --git a/lib/locales/pt_BR/name/male_first_name.js b/lib/locales/pt_BR/name/male_first_name.js index eec8a329..26035c86 100644 --- a/lib/locales/pt_BR/name/male_first_name.js +++ b/lib/locales/pt_BR/name/male_first_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Alessandro", "Alexandre", "Anthony", diff --git a/lib/locales/pt_BR/name/name.js b/lib/locales/pt_BR/name/name.js index 4d7f698d..37fb714d 100644 --- a/lib/locales/pt_BR/name/name.js +++ b/lib/locales/pt_BR/name/name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "#{prefix} #{first_name} #{last_name}", "#{first_name} #{last_name} #{suffix}", "#{first_name} #{last_name}", diff --git a/lib/locales/pt_BR/name/prefix.js b/lib/locales/pt_BR/name/prefix.js index cf1dbee3..25d07fbc 100644 --- a/lib/locales/pt_BR/name/prefix.js +++ b/lib/locales/pt_BR/name/prefix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Sr.", "Sra.", "Srta.", diff --git a/lib/locales/pt_BR/name/suffix.js b/lib/locales/pt_BR/name/suffix.js index bf1c91bd..e1267a20 100644 --- a/lib/locales/pt_BR/name/suffix.js +++ b/lib/locales/pt_BR/name/suffix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Jr.", "Neto", "Filho" diff --git a/lib/locales/pt_BR/name/title.js b/lib/locales/pt_BR/name/title.js index 0a96b304..a496480d 100644 --- a/lib/locales/pt_BR/name/title.js +++ b/lib/locales/pt_BR/name/title.js @@ -1,4 +1,4 @@ -module["exports"] = { +module.exports = { "descriptor": [ "Líder", "Senior", diff --git a/lib/locales/pt_BR/phone_number/formats.js b/lib/locales/pt_BR/phone_number/formats.js index 8c35eaba..c812e102 100644 --- a/lib/locales/pt_BR/phone_number/formats.js +++ b/lib/locales/pt_BR/phone_number/formats.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "(##) ####-####", "+55 (##) ####-####", "(##) #####-####" diff --git a/lib/locales/pt_PT/address/building_number.js b/lib/locales/pt_PT/address/building_number.js index c4716c4d..d3b609f3 100644 --- a/lib/locales/pt_PT/address/building_number.js +++ b/lib/locales/pt_PT/address/building_number.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "####", "###", "##", diff --git a/lib/locales/pt_PT/address/city.js b/lib/locales/pt_PT/address/city.js index d62eafb1..14b927cb 100644 --- a/lib/locales/pt_PT/address/city.js +++ b/lib/locales/pt_PT/address/city.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "#{city_name}" ]; diff --git a/lib/locales/pt_PT/address/city_name.js b/lib/locales/pt_PT/address/city_name.js index a3b47a30..017cf5df 100644 --- a/lib/locales/pt_PT/address/city_name.js +++ b/lib/locales/pt_PT/address/city_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Abrantes", "Agualva-Cacém", "Águeda", diff --git a/lib/locales/pt_PT/address/city_prefix.js b/lib/locales/pt_PT/address/city_prefix.js index 4464cf4b..c767c659 100644 --- a/lib/locales/pt_PT/address/city_prefix.js +++ b/lib/locales/pt_PT/address/city_prefix.js @@ -1,2 +1,2 @@ -module["exports"] = [ +module.exports = [ ]; diff --git a/lib/locales/pt_PT/address/city_suffix.js b/lib/locales/pt_PT/address/city_suffix.js index 4464cf4b..c767c659 100644 --- a/lib/locales/pt_PT/address/city_suffix.js +++ b/lib/locales/pt_PT/address/city_suffix.js @@ -1,2 +1,2 @@ -module["exports"] = [ +module.exports = [ ]; diff --git a/lib/locales/pt_PT/address/country.js b/lib/locales/pt_PT/address/country.js index e89484df..e0ea56a0 100644 --- a/lib/locales/pt_PT/address/country.js +++ b/lib/locales/pt_PT/address/country.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "África do Sul", "Áustria", "Índia", diff --git a/lib/locales/pt_PT/address/default_country.js b/lib/locales/pt_PT/address/default_country.js index 1fd736a8..e41ec342 100644 --- a/lib/locales/pt_PT/address/default_country.js +++ b/lib/locales/pt_PT/address/default_country.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "Portugal" ]; diff --git a/lib/locales/pt_PT/address/direction.js b/lib/locales/pt_PT/address/direction.js index 8dd20f2b..75e14355 100644 --- a/lib/locales/pt_PT/address/direction.js +++ b/lib/locales/pt_PT/address/direction.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Norte", "Este", "Sul", diff --git a/lib/locales/pt_PT/address/postcode.js b/lib/locales/pt_PT/address/postcode.js index 7c7e5a36..d78d49ba 100644 --- a/lib/locales/pt_PT/address/postcode.js +++ b/lib/locales/pt_PT/address/postcode.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "####-###" ]; diff --git a/lib/locales/pt_PT/address/street_address.js b/lib/locales/pt_PT/address/street_address.js index 74209742..4ae3b6ee 100644 --- a/lib/locales/pt_PT/address/street_address.js +++ b/lib/locales/pt_PT/address/street_address.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "#{street_name} #{building_number}" ]; diff --git a/lib/locales/pt_PT/address/street_name.js b/lib/locales/pt_PT/address/street_name.js index 23587837..9b3fbde9 100644 --- a/lib/locales/pt_PT/address/street_name.js +++ b/lib/locales/pt_PT/address/street_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "#{street_prefix} #{Name.first_name} #{Name.last_name}", "N#", "N##", diff --git a/lib/locales/pt_PT/address/street_prefix.js b/lib/locales/pt_PT/address/street_prefix.js index 5f0826c6..122c2347 100644 --- a/lib/locales/pt_PT/address/street_prefix.js +++ b/lib/locales/pt_PT/address/street_prefix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Acesso", "Alameda", "Avenida", diff --git a/lib/locales/pt_PT/cell_phone/formats.js b/lib/locales/pt_PT/cell_phone/formats.js index 97ba1cee..30b9b398 100644 --- a/lib/locales/pt_PT/cell_phone/formats.js +++ b/lib/locales/pt_PT/cell_phone/formats.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "+351 91#######", "+351 93#######", "+351 96#######" diff --git a/lib/locales/pt_PT/commerce/color.js b/lib/locales/pt_PT/commerce/color.js index 797d78b1..60e172ce 100644 --- a/lib/locales/pt_PT/commerce/color.js +++ b/lib/locales/pt_PT/commerce/color.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "vermelho", "verde", "azul", diff --git a/lib/locales/pt_PT/commerce/department.js b/lib/locales/pt_PT/commerce/department.js index 57299ceb..33002ad5 100644 --- a/lib/locales/pt_PT/commerce/department.js +++ b/lib/locales/pt_PT/commerce/department.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Livros", "Filmes", "Música", diff --git a/lib/locales/pt_PT/commerce/product_name.js b/lib/locales/pt_PT/commerce/product_name.js index bcf21bb9..f4b9c92b 100644 --- a/lib/locales/pt_PT/commerce/product_name.js +++ b/lib/locales/pt_PT/commerce/product_name.js @@ -1,4 +1,4 @@ -module["exports"] = { +module.exports = { "adjective": [ "Pequeno", "Ergonómico", diff --git a/lib/locales/pt_PT/date/index.js b/lib/locales/pt_PT/date/index.js index e53e73ee..f95b1507 100644 --- a/lib/locales/pt_PT/date/index.js +++ b/lib/locales/pt_PT/date/index.js @@ -1,4 +1,4 @@ -const date = {}; -module["exports"] = date; +var date = {}; +module.exports = date; date.month = require("./month"); date.weekday = require("./weekday"); diff --git a/lib/locales/pt_PT/date/month.js b/lib/locales/pt_PT/date/month.js index 1f23a5b5..8e611f12 100644 --- a/lib/locales/pt_PT/date/month.js +++ b/lib/locales/pt_PT/date/month.js @@ -1,5 +1,5 @@ // Source: https://unicode.org/cldr/trac/browser/trunk/common/main/pt.xml?rev=14409#L1811 -module["exports"] = { +module.exports = { wide: [ "Janeiro", "Fevereiro", diff --git a/lib/locales/pt_PT/date/weekday.js b/lib/locales/pt_PT/date/weekday.js index f34e0216..736daadc 100644 --- a/lib/locales/pt_PT/date/weekday.js +++ b/lib/locales/pt_PT/date/weekday.js @@ -1,5 +1,5 @@ // Source: https://unicode.org/cldr/trac/browser/trunk/common/main/pt_PT.xml?rev=14409#L491 -module["exports"] = { +module.exports = { wide: [ "Segunda", "Terça", diff --git a/lib/locales/pt_PT/internet/domain_suffix.js b/lib/locales/pt_PT/internet/domain_suffix.js index 20764908..33e71b34 100644 --- a/lib/locales/pt_PT/internet/domain_suffix.js +++ b/lib/locales/pt_PT/internet/domain_suffix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "pt", "gov.pt", "com.pt", diff --git a/lib/locales/pt_PT/internet/free_email.js b/lib/locales/pt_PT/internet/free_email.js index 7c2bb41b..bdcc6c92 100644 --- a/lib/locales/pt_PT/internet/free_email.js +++ b/lib/locales/pt_PT/internet/free_email.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "gmail.com", "yahoo.com", "hotmail.com", diff --git a/lib/locales/pt_PT/name/female_first_name.js b/lib/locales/pt_PT/name/female_first_name.js index 61802046..6232d06e 100644 --- a/lib/locales/pt_PT/name/female_first_name.js +++ b/lib/locales/pt_PT/name/female_first_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Adriana", "Alexandra", "Alice", diff --git a/lib/locales/pt_PT/name/female_prefix.js b/lib/locales/pt_PT/name/female_prefix.js index b275dc0f..932f2926 100644 --- a/lib/locales/pt_PT/name/female_prefix.js +++ b/lib/locales/pt_PT/name/female_prefix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Sra.", "Dra.", "Prof.ª", diff --git a/lib/locales/pt_PT/name/first_name.js b/lib/locales/pt_PT/name/first_name.js index a8fa464b..4673d6da 100644 --- a/lib/locales/pt_PT/name/first_name.js +++ b/lib/locales/pt_PT/name/first_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Adriana", "Afonso", "Alexandra", diff --git a/lib/locales/pt_PT/name/last_name.js b/lib/locales/pt_PT/name/last_name.js index ae41dd3e..3cba918b 100644 --- a/lib/locales/pt_PT/name/last_name.js +++ b/lib/locales/pt_PT/name/last_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Abreu", "Albuquerque", "Almeida", diff --git a/lib/locales/pt_PT/name/male_first_name.js b/lib/locales/pt_PT/name/male_first_name.js index 6b2cd32c..81d04dc5 100644 --- a/lib/locales/pt_PT/name/male_first_name.js +++ b/lib/locales/pt_PT/name/male_first_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Afonso", "Alexandre", "André", diff --git a/lib/locales/pt_PT/name/male_prefix.js b/lib/locales/pt_PT/name/male_prefix.js index 55107c70..d688f87a 100644 --- a/lib/locales/pt_PT/name/male_prefix.js +++ b/lib/locales/pt_PT/name/male_prefix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Sr.", "Dr.", "Prof.", diff --git a/lib/locales/pt_PT/name/name.js b/lib/locales/pt_PT/name/name.js index c7aaed0a..aed3e04b 100644 --- a/lib/locales/pt_PT/name/name.js +++ b/lib/locales/pt_PT/name/name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "#{first_name} #{last_name}", "#{male_first_name} #{last_name}", "#{female_first_name} #{last_name}", diff --git a/lib/locales/pt_PT/name/prefix.js b/lib/locales/pt_PT/name/prefix.js index 898dd9b7..9adcfaad 100644 --- a/lib/locales/pt_PT/name/prefix.js +++ b/lib/locales/pt_PT/name/prefix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "#{female_prefix}", "#{male_prefix}" ]; diff --git a/lib/locales/pt_PT/name/suffix.js b/lib/locales/pt_PT/name/suffix.js index 4464cf4b..c767c659 100644 --- a/lib/locales/pt_PT/name/suffix.js +++ b/lib/locales/pt_PT/name/suffix.js @@ -1,2 +1,2 @@ -module["exports"] = [ +module.exports = [ ]; diff --git a/lib/locales/pt_PT/phone_number/formats.js b/lib/locales/pt_PT/phone_number/formats.js index 7ec098ee..d2076dc6 100644 --- a/lib/locales/pt_PT/phone_number/formats.js +++ b/lib/locales/pt_PT/phone_number/formats.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "+351 2########", "+351 3########", "+351 91#######", diff --git a/lib/locales/ro/address/building_number.js b/lib/locales/ro/address/building_number.js index 22a0017d..d19ea144 100644 --- a/lib/locales/ro/address/building_number.js +++ b/lib/locales/ro/address/building_number.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "Bloc ##" ]; diff --git a/lib/locales/ro/address/city.js b/lib/locales/ro/address/city.js index 3640869e..ec6c04ac 100644 --- a/lib/locales/ro/address/city.js +++ b/lib/locales/ro/address/city.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "București", "Cluj-Napoca", "Timișoara", diff --git a/lib/locales/ro/address/county.js b/lib/locales/ro/address/county.js index 510a0e9f..baa0c5ea 100644 --- a/lib/locales/ro/address/county.js +++ b/lib/locales/ro/address/county.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Alba", "Arad", "Arges", diff --git a/lib/locales/ro/address/default_country.js b/lib/locales/ro/address/default_country.js index 0ac90225..622d0dd6 100644 --- a/lib/locales/ro/address/default_country.js +++ b/lib/locales/ro/address/default_country.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "România" ]; diff --git a/lib/locales/ro/address/postcode.js b/lib/locales/ro/address/postcode.js index f104743a..3bab089a 100644 --- a/lib/locales/ro/address/postcode.js +++ b/lib/locales/ro/address/postcode.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "######" ]; diff --git a/lib/locales/ro/address/secondary_address.js b/lib/locales/ro/address/secondary_address.js index 189dfa59..7d398ca1 100644 --- a/lib/locales/ro/address/secondary_address.js +++ b/lib/locales/ro/address/secondary_address.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Ap. ##", "Ap. ###" ]; diff --git a/lib/locales/ro/address/state.js b/lib/locales/ro/address/state.js index 510a0e9f..baa0c5ea 100644 --- a/lib/locales/ro/address/state.js +++ b/lib/locales/ro/address/state.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Alba", "Arad", "Arges", diff --git a/lib/locales/ro/address/state_abbr.js b/lib/locales/ro/address/state_abbr.js index c9170e73..191a1389 100644 --- a/lib/locales/ro/address/state_abbr.js +++ b/lib/locales/ro/address/state_abbr.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "AB", "AR", "AG", diff --git a/lib/locales/ro/address/street_address.js b/lib/locales/ro/address/street_address.js index bc2c68b1..1c263856 100644 --- a/lib/locales/ro/address/street_address.js +++ b/lib/locales/ro/address/street_address.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "#{street_name}, #{building_number}, #{secondary_address}" ]; diff --git a/lib/locales/ro/address/street_name.js b/lib/locales/ro/address/street_name.js index 3adf74a1..cce203af 100644 --- a/lib/locales/ro/address/street_name.js +++ b/lib/locales/ro/address/street_name.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "#{street_suffix} #{streets}" ]; diff --git a/lib/locales/ro/address/street_suffix.js b/lib/locales/ro/address/street_suffix.js index e691e459..74440cc9 100644 --- a/lib/locales/ro/address/street_suffix.js +++ b/lib/locales/ro/address/street_suffix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Aleea", "Bulevardul", "Intrarea" diff --git a/lib/locales/ro/address/streets.js b/lib/locales/ro/address/streets.js index 9c58e779..7d1269c2 100644 --- a/lib/locales/ro/address/streets.js +++ b/lib/locales/ro/address/streets.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Capalna", "Gheorghe Duca", "Acvila", diff --git a/lib/locales/ro/cell_phone/formats.js b/lib/locales/ro/cell_phone/formats.js index f11c6069..5b031127 100644 --- a/lib/locales/ro/cell_phone/formats.js +++ b/lib/locales/ro/cell_phone/formats.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "0726######", "0723######", "0722######", diff --git a/lib/locales/ro/date/index.js b/lib/locales/ro/date/index.js index e53e73ee..f95b1507 100644 --- a/lib/locales/ro/date/index.js +++ b/lib/locales/ro/date/index.js @@ -1,4 +1,4 @@ -const date = {}; -module["exports"] = date; +var date = {}; +module.exports = date; date.month = require("./month"); date.weekday = require("./weekday"); diff --git a/lib/locales/ro/date/month.js b/lib/locales/ro/date/month.js index 9a012bee..8ab1db27 100644 --- a/lib/locales/ro/date/month.js +++ b/lib/locales/ro/date/month.js @@ -1,4 +1,4 @@ -module["exports"] = { +module.exports = { wide: [ "Ianuarie", "Februarie", diff --git a/lib/locales/ro/date/weekday.js b/lib/locales/ro/date/weekday.js index d4031473..535afc5e 100644 --- a/lib/locales/ro/date/weekday.js +++ b/lib/locales/ro/date/weekday.js @@ -1,4 +1,4 @@ -module["exports"] = { +module.exports = { wide: [ "Luni", "Marți", diff --git a/lib/locales/ro/internet/domain_suffix.js b/lib/locales/ro/internet/domain_suffix.js index 51cf7862..2a4b5105 100644 --- a/lib/locales/ro/internet/domain_suffix.js +++ b/lib/locales/ro/internet/domain_suffix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "com", "biz", "info", diff --git a/lib/locales/ro/internet/free_email.js b/lib/locales/ro/internet/free_email.js index d6393294..b425345d 100644 --- a/lib/locales/ro/internet/free_email.js +++ b/lib/locales/ro/internet/free_email.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "gmail.com", "yahoo.com", "hotmail.com" diff --git a/lib/locales/ro/name/female_first_name.js b/lib/locales/ro/name/female_first_name.js index a8e120ef..98ef8e5a 100644 --- a/lib/locales/ro/name/female_first_name.js +++ b/lib/locales/ro/name/female_first_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Ada", "Adela", "Adelaida", diff --git a/lib/locales/ro/name/last_name.js b/lib/locales/ro/name/last_name.js index aac7eb3d..ae9afbbb 100644 --- a/lib/locales/ro/name/last_name.js +++ b/lib/locales/ro/name/last_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Achim", "Adam", "Albu", diff --git a/lib/locales/ro/name/male_first_name.js b/lib/locales/ro/name/male_first_name.js index 5c734385..58565f21 100644 --- a/lib/locales/ro/name/male_first_name.js +++ b/lib/locales/ro/name/male_first_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Achim", "Adam", "Adelin", diff --git a/lib/locales/ro/name/name.js b/lib/locales/ro/name/name.js index 87779e0f..2f81004f 100644 --- a/lib/locales/ro/name/name.js +++ b/lib/locales/ro/name/name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "#{male_first_name} #{last_name}", "#{male_first_name} #{last_name}", "#{male_first_name} #{last_name}", diff --git a/lib/locales/ro/name/prefix.js b/lib/locales/ro/name/prefix.js index 4e670e78..87716a3f 100644 --- a/lib/locales/ro/name/prefix.js +++ b/lib/locales/ro/name/prefix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Dl", "Dna", "Dra" diff --git a/lib/locales/ro/name/suffix.js b/lib/locales/ro/name/suffix.js index 553fd379..3131ebef 100644 --- a/lib/locales/ro/name/suffix.js +++ b/lib/locales/ro/name/suffix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Jr.", "Sr." ]; diff --git a/lib/locales/ro/phone_number/formats.js b/lib/locales/ro/phone_number/formats.js index 5c3cae18..3c214a10 100644 --- a/lib/locales/ro/phone_number/formats.js +++ b/lib/locales/ro/phone_number/formats.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "021######", "031######", "0258######", diff --git a/lib/locales/ru/address/building_number.js b/lib/locales/ru/address/building_number.js index 401fa206..6688cbcc 100644 --- a/lib/locales/ru/address/building_number.js +++ b/lib/locales/ru/address/building_number.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "###" ]; diff --git a/lib/locales/ru/address/city.js b/lib/locales/ru/address/city.js index 841b37dc..bcff035d 100644 --- a/lib/locales/ru/address/city.js +++ b/lib/locales/ru/address/city.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "#{Address.city_name}" ]; diff --git a/lib/locales/ru/address/city_name.js b/lib/locales/ru/address/city_name.js index 17f4e62a..ec912721 100644 --- a/lib/locales/ru/address/city_name.js +++ b/lib/locales/ru/address/city_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Москва", "Владимир", "Санкт-Петербург", diff --git a/lib/locales/ru/address/country.js b/lib/locales/ru/address/country.js index ecc6ec8d..516a842b 100644 --- a/lib/locales/ru/address/country.js +++ b/lib/locales/ru/address/country.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Австралия", "Австрия", "Азербайджан", diff --git a/lib/locales/ru/address/default_country.js b/lib/locales/ru/address/default_country.js index 57eca1a3..cd729fda 100644 --- a/lib/locales/ru/address/default_country.js +++ b/lib/locales/ru/address/default_country.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "Россия" ]; diff --git a/lib/locales/ru/address/postcode.js b/lib/locales/ru/address/postcode.js index f104743a..3bab089a 100644 --- a/lib/locales/ru/address/postcode.js +++ b/lib/locales/ru/address/postcode.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "######" ]; diff --git a/lib/locales/ru/address/secondary_address.js b/lib/locales/ru/address/secondary_address.js index 636df8fc..c825d1b3 100644 --- a/lib/locales/ru/address/secondary_address.js +++ b/lib/locales/ru/address/secondary_address.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "кв. ###" ]; diff --git a/lib/locales/ru/address/state.js b/lib/locales/ru/address/state.js index 4061e46b..44ce091b 100644 --- a/lib/locales/ru/address/state.js +++ b/lib/locales/ru/address/state.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Республика Адыгея", "Республика Башкортостан", "Республика Бурятия", diff --git a/lib/locales/ru/address/street_address.js b/lib/locales/ru/address/street_address.js index 5b311286..af50699c 100644 --- a/lib/locales/ru/address/street_address.js +++ b/lib/locales/ru/address/street_address.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "#{street_name}, #{building_number}" ]; diff --git a/lib/locales/ru/address/street_name.js b/lib/locales/ru/address/street_name.js index 6e8ceb6d..a070c6e8 100644 --- a/lib/locales/ru/address/street_name.js +++ b/lib/locales/ru/address/street_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "#{street_suffix} #{Address.street_title}", "#{Address.street_title} #{street_suffix}" ]; diff --git a/lib/locales/ru/address/street_suffix.js b/lib/locales/ru/address/street_suffix.js index 1bb187e4..32cc098d 100644 --- a/lib/locales/ru/address/street_suffix.js +++ b/lib/locales/ru/address/street_suffix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "ул.", "улица", "проспект", diff --git a/lib/locales/ru/address/street_title.js b/lib/locales/ru/address/street_title.js index f5fd1430..86ebd388 100644 --- a/lib/locales/ru/address/street_title.js +++ b/lib/locales/ru/address/street_title.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Советская", "Молодежная", "Центральная", diff --git a/lib/locales/ru/commerce/color.js b/lib/locales/ru/commerce/color.js index f1fec2d7..6da8c14e 100644 --- a/lib/locales/ru/commerce/color.js +++ b/lib/locales/ru/commerce/color.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "красный", "зеленый", "синий", diff --git a/lib/locales/ru/commerce/department.js b/lib/locales/ru/commerce/department.js index 53e953bc..87c6fab0 100644 --- a/lib/locales/ru/commerce/department.js +++ b/lib/locales/ru/commerce/department.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Книги", "Фильмы", "музыка", diff --git a/lib/locales/ru/commerce/product_name.js b/lib/locales/ru/commerce/product_name.js index a7c34742..38a6a74a 100644 --- a/lib/locales/ru/commerce/product_name.js +++ b/lib/locales/ru/commerce/product_name.js @@ -1,4 +1,4 @@ -module["exports"] = { +module.exports = { "adjective": [ "Маленький", "Эргономичный", diff --git a/lib/locales/ru/company/name.js b/lib/locales/ru/company/name.js index 6ebeeebb..8c60b344 100644 --- a/lib/locales/ru/company/name.js +++ b/lib/locales/ru/company/name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "#{prefix} #{Name.female_first_name}", "#{prefix} #{Name.male_first_name}", "#{prefix} #{Name.male_last_name}", diff --git a/lib/locales/ru/company/prefix.js b/lib/locales/ru/company/prefix.js index 10c07f44..1637545f 100644 --- a/lib/locales/ru/company/prefix.js +++ b/lib/locales/ru/company/prefix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "ИП", "ООО", "ЗАО", diff --git a/lib/locales/ru/company/suffix.js b/lib/locales/ru/company/suffix.js index 6dec9ae4..9a292d0f 100644 --- a/lib/locales/ru/company/suffix.js +++ b/lib/locales/ru/company/suffix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Снаб", "Торг", "Пром", diff --git a/lib/locales/ru/date/index.js b/lib/locales/ru/date/index.js index e53e73ee..f95b1507 100644 --- a/lib/locales/ru/date/index.js +++ b/lib/locales/ru/date/index.js @@ -1,4 +1,4 @@ -const date = {}; -module["exports"] = date; +var date = {}; +module.exports = date; date.month = require("./month"); date.weekday = require("./weekday"); diff --git a/lib/locales/ru/date/month.js b/lib/locales/ru/date/month.js index 5deda00c..81bf4613 100644 --- a/lib/locales/ru/date/month.js +++ b/lib/locales/ru/date/month.js @@ -1,5 +1,5 @@ // source: http://unicode.org/cldr/trac/browser/tags/release-27/common/main/ru.xml#L1734 -module["exports"] = { +module.exports = { wide: [ "январь", "февраль", diff --git a/lib/locales/ru/date/weekday.js b/lib/locales/ru/date/weekday.js index fc91073e..7323d486 100644 --- a/lib/locales/ru/date/weekday.js +++ b/lib/locales/ru/date/weekday.js @@ -1,5 +1,5 @@ // source: http://unicode.org/cldr/trac/browser/tags/release-27/common/main/ru.xml#L1825 -module["exports"] = { +module.exports = { wide: [ "Воскресенье", "Понедельник", diff --git a/lib/locales/ru/hacker/abbreviation.js b/lib/locales/ru/hacker/abbreviation.js index ca2152b1..176f028c 100644 --- a/lib/locales/ru/hacker/abbreviation.js +++ b/lib/locales/ru/hacker/abbreviation.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "БИОС", "Гб", "ИИ", diff --git a/lib/locales/ru/hacker/adjective.js b/lib/locales/ru/hacker/adjective.js index a179ef45..cadd7c0c 100644 --- a/lib/locales/ru/hacker/adjective.js +++ b/lib/locales/ru/hacker/adjective.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "вспомогательный", "основной", "внутренний", diff --git a/lib/locales/ru/hacker/ingverb.js b/lib/locales/ru/hacker/ingverb.js index c9cd84cf..5b55dfc5 100644 --- a/lib/locales/ru/hacker/ingverb.js +++ b/lib/locales/ru/hacker/ingverb.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "резервное копирование", "обход", "архивирование", diff --git a/lib/locales/ru/hacker/noun.js b/lib/locales/ru/hacker/noun.js index c67cbd53..8bf010a4 100644 --- a/lib/locales/ru/hacker/noun.js +++ b/lib/locales/ru/hacker/noun.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "драйвер", "протокол", "ограничитель", diff --git a/lib/locales/ru/hacker/phrase.js b/lib/locales/ru/hacker/phrase.js index e49365ce..cdf8c85d 100644 --- a/lib/locales/ru/hacker/phrase.js +++ b/lib/locales/ru/hacker/phrase.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Чтобы {{verb}} {{noun}}, мы можем получить {{abbreviation}} {{noun}} через {{adjective}} {{abbreviation}} {{noun}}!", "Необходимо {{verb}} {{adjective}} {{abbreviation}} {{noun}}!", "Попробуйте {{verb}} {{abbreviation}} {{noun}}, возможно это позволит {{verb}} {{adjective}} {{noun}}!", diff --git a/lib/locales/ru/hacker/verb.js b/lib/locales/ru/hacker/verb.js index cef4a734..6be8fbf1 100644 --- a/lib/locales/ru/hacker/verb.js +++ b/lib/locales/ru/hacker/verb.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "сохранить", "обойти", "взломать", diff --git a/lib/locales/ru/internet/domain_suffix.js b/lib/locales/ru/internet/domain_suffix.js index 6ab135d4..c2d79763 100644 --- a/lib/locales/ru/internet/domain_suffix.js +++ b/lib/locales/ru/internet/domain_suffix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "com", "ru", "info", diff --git a/lib/locales/ru/internet/free_email.js b/lib/locales/ru/internet/free_email.js index 3ff20597..e7e179ff 100644 --- a/lib/locales/ru/internet/free_email.js +++ b/lib/locales/ru/internet/free_email.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "yandex.ru", "ya.ru", "mail.ru", diff --git a/lib/locales/ru/lorem/index.js b/lib/locales/ru/lorem/index.js index adee2ad8..312fa367 100644 --- a/lib/locales/ru/lorem/index.js +++ b/lib/locales/ru/lorem/index.js @@ -1,3 +1,3 @@ -const lorem = {}; -module["exports"] = lorem; +var lorem = {}; +module.exports = lorem; lorem.words = require("./words"); diff --git a/lib/locales/ru/lorem/words.js b/lib/locales/ru/lorem/words.js index 7fa30d91..ac3b8b34 100644 --- a/lib/locales/ru/lorem/words.js +++ b/lib/locales/ru/lorem/words.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "а", "административных", "активизации", diff --git a/lib/locales/ru/name/female_first_name.js b/lib/locales/ru/name/female_first_name.js index 7f9d2182..fa1d6251 100644 --- a/lib/locales/ru/name/female_first_name.js +++ b/lib/locales/ru/name/female_first_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Анна", "Алёна", "Алевтина", diff --git a/lib/locales/ru/name/female_last_name.js b/lib/locales/ru/name/female_last_name.js index 8827247e..21a48aeb 100644 --- a/lib/locales/ru/name/female_last_name.js +++ b/lib/locales/ru/name/female_last_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Смирнова", "Иванова", "Кузнецова", diff --git a/lib/locales/ru/name/female_middle_name.js b/lib/locales/ru/name/female_middle_name.js index 9d343168..f560d4bc 100644 --- a/lib/locales/ru/name/female_middle_name.js +++ b/lib/locales/ru/name/female_middle_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Александровна", "Алексеевна", "Альбертовна", diff --git a/lib/locales/ru/name/male_first_name.js b/lib/locales/ru/name/male_first_name.js index 7631a4f7..9db6d5b4 100644 --- a/lib/locales/ru/name/male_first_name.js +++ b/lib/locales/ru/name/male_first_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Александр", "Алексей", "Альберт", diff --git a/lib/locales/ru/name/male_last_name.js b/lib/locales/ru/name/male_last_name.js index 7bd99560..1fc178b0 100644 --- a/lib/locales/ru/name/male_last_name.js +++ b/lib/locales/ru/name/male_last_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Смирнов", "Иванов", "Кузнецов", diff --git a/lib/locales/ru/name/male_middle_name.js b/lib/locales/ru/name/male_middle_name.js index 41792659..1fa67cef 100644 --- a/lib/locales/ru/name/male_middle_name.js +++ b/lib/locales/ru/name/male_middle_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Александрович", "Алексеевич", "Альбертович", diff --git a/lib/locales/ru/name/name.js b/lib/locales/ru/name/name.js index 8c66cc59..827141bc 100644 --- a/lib/locales/ru/name/name.js +++ b/lib/locales/ru/name/name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "#{male_first_name} #{male_last_name}", "#{male_last_name} #{male_first_name}", "#{male_first_name} #{male_middle_name} #{male_last_name}", diff --git a/lib/locales/ru/name/prefix.js b/lib/locales/ru/name/prefix.js index 688be216..e0a30c5d 100644 --- a/lib/locales/ru/name/prefix.js +++ b/lib/locales/ru/name/prefix.js @@ -1 +1 @@ -module["exports"] = []; +module.exports = []; diff --git a/lib/locales/ru/name/suffix.js b/lib/locales/ru/name/suffix.js index 688be216..e0a30c5d 100644 --- a/lib/locales/ru/name/suffix.js +++ b/lib/locales/ru/name/suffix.js @@ -1 +1 @@ -module["exports"] = []; +module.exports = []; diff --git a/lib/locales/ru/name/title.js b/lib/locales/ru/name/title.js index 667e9756..451b30ca 100644 --- a/lib/locales/ru/name/title.js +++ b/lib/locales/ru/name/title.js @@ -1,4 +1,4 @@ -module["exports"] = { +module.exports = { "descriptor": [ "Ведущий", "Генеральный", diff --git a/lib/locales/ru/phone_number/formats.js b/lib/locales/ru/phone_number/formats.js index ffdb56d8..1708a5a8 100644 --- a/lib/locales/ru/phone_number/formats.js +++ b/lib/locales/ru/phone_number/formats.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "(9##)###-##-##" ]; diff --git a/lib/locales/sk/address/building_number.js b/lib/locales/sk/address/building_number.js index 23fc733d..d6c35519 100644 --- a/lib/locales/sk/address/building_number.js +++ b/lib/locales/sk/address/building_number.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "#", "##", "###" diff --git a/lib/locales/sk/address/city.js b/lib/locales/sk/address/city.js index d62eafb1..14b927cb 100644 --- a/lib/locales/sk/address/city.js +++ b/lib/locales/sk/address/city.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "#{city_name}" ]; diff --git a/lib/locales/sk/address/city_name.js b/lib/locales/sk/address/city_name.js index 67eb29ee..9776c634 100644 --- a/lib/locales/sk/address/city_name.js +++ b/lib/locales/sk/address/city_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Bánovce nad Bebravou", "Banská Bystrica", "Banská Štiavnica", diff --git a/lib/locales/sk/address/city_prefix.js b/lib/locales/sk/address/city_prefix.js index 67d65339..b07d9697 100644 --- a/lib/locales/sk/address/city_prefix.js +++ b/lib/locales/sk/address/city_prefix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "North", "East", "West", diff --git a/lib/locales/sk/address/city_suffix.js b/lib/locales/sk/address/city_suffix.js index 84344b1f..9e337200 100644 --- a/lib/locales/sk/address/city_suffix.js +++ b/lib/locales/sk/address/city_suffix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "town", "ton", "land", diff --git a/lib/locales/sk/address/country.js b/lib/locales/sk/address/country.js index cc5c00c2..9991314a 100644 --- a/lib/locales/sk/address/country.js +++ b/lib/locales/sk/address/country.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Afganistan", "Afgánsky islamský štát", "Albánsko", diff --git a/lib/locales/sk/address/default_country.js b/lib/locales/sk/address/default_country.js index d58e1849..5c2144e9 100644 --- a/lib/locales/sk/address/default_country.js +++ b/lib/locales/sk/address/default_country.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "Slovensko" ]; diff --git a/lib/locales/sk/address/postcode.js b/lib/locales/sk/address/postcode.js index f616b12f..75170d34 100644 --- a/lib/locales/sk/address/postcode.js +++ b/lib/locales/sk/address/postcode.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "#####", "### ##", "## ###" diff --git a/lib/locales/sk/address/secondary_address.js b/lib/locales/sk/address/secondary_address.js index cbd6d754..14e12c13 100644 --- a/lib/locales/sk/address/secondary_address.js +++ b/lib/locales/sk/address/secondary_address.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Apt. ###", "Suite ###" ]; diff --git a/lib/locales/sk/address/state.js b/lib/locales/sk/address/state.js index 688be216..e0a30c5d 100644 --- a/lib/locales/sk/address/state.js +++ b/lib/locales/sk/address/state.js @@ -1 +1 @@ -module["exports"] = []; +module.exports = []; diff --git a/lib/locales/sk/address/state_abbr.js b/lib/locales/sk/address/state_abbr.js index 688be216..e0a30c5d 100644 --- a/lib/locales/sk/address/state_abbr.js +++ b/lib/locales/sk/address/state_abbr.js @@ -1 +1 @@ -module["exports"] = []; +module.exports = []; diff --git a/lib/locales/sk/address/street.js b/lib/locales/sk/address/street.js index b54a543d..d3087d4e 100644 --- a/lib/locales/sk/address/street.js +++ b/lib/locales/sk/address/street.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Adámiho", "Ahoj", "Albína Brunovského", diff --git a/lib/locales/sk/address/street_address.js b/lib/locales/sk/address/street_address.js index 74209742..4ae3b6ee 100644 --- a/lib/locales/sk/address/street_address.js +++ b/lib/locales/sk/address/street_address.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "#{street_name} #{building_number}" ]; diff --git a/lib/locales/sk/address/street_name.js b/lib/locales/sk/address/street_name.js index 5485164f..2d37b64a 100644 --- a/lib/locales/sk/address/street_name.js +++ b/lib/locales/sk/address/street_name.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "#{street}" ]; diff --git a/lib/locales/sk/company/adjective.js b/lib/locales/sk/company/adjective.js index bcfd8abe..486ef4e4 100644 --- a/lib/locales/sk/company/adjective.js +++ b/lib/locales/sk/company/adjective.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Adaptive", "Advanced", "Ameliorated", diff --git a/lib/locales/sk/company/bs_noun.js b/lib/locales/sk/company/bs_noun.js index f95f3c40..48a09841 100644 --- a/lib/locales/sk/company/bs_noun.js +++ b/lib/locales/sk/company/bs_noun.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "clicks-and-mortar", "value-added", "vertical", diff --git a/lib/locales/sk/company/bs_verb.js b/lib/locales/sk/company/bs_verb.js index 42e47b27..cebff65a 100644 --- a/lib/locales/sk/company/bs_verb.js +++ b/lib/locales/sk/company/bs_verb.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "implement", "utilize", "integrate", diff --git a/lib/locales/sk/company/descriptor.js b/lib/locales/sk/company/descriptor.js index 0746db82..e2abae1c 100644 --- a/lib/locales/sk/company/descriptor.js +++ b/lib/locales/sk/company/descriptor.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "24 hour", "24/7", "3rd generation", diff --git a/lib/locales/sk/company/name.js b/lib/locales/sk/company/name.js index ff4da555..0a3d79b0 100644 --- a/lib/locales/sk/company/name.js +++ b/lib/locales/sk/company/name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "#{Name.last_name} #{suffix}", "#{Name.last_name} #{suffix}", "#{Name.man_last_name} a #{Name.man_last_name} #{suffix}" diff --git a/lib/locales/sk/company/noun.js b/lib/locales/sk/company/noun.js index 0a27b357..8a09a145 100644 --- a/lib/locales/sk/company/noun.js +++ b/lib/locales/sk/company/noun.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "ability", "access", "adapter", diff --git a/lib/locales/sk/company/suffix.js b/lib/locales/sk/company/suffix.js index 81e23d2e..a0e537a5 100644 --- a/lib/locales/sk/company/suffix.js +++ b/lib/locales/sk/company/suffix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "s.r.o.", "a.s.", "v.o.s." diff --git a/lib/locales/sk/internet/domain_suffix.js b/lib/locales/sk/internet/domain_suffix.js index 9c978cd1..3203d85b 100644 --- a/lib/locales/sk/internet/domain_suffix.js +++ b/lib/locales/sk/internet/domain_suffix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "sk", "com", "net", diff --git a/lib/locales/sk/internet/free_email.js b/lib/locales/sk/internet/free_email.js index 63d434e1..c9909286 100644 --- a/lib/locales/sk/internet/free_email.js +++ b/lib/locales/sk/internet/free_email.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "gmail.com", "zoznam.sk", "azet.sk" diff --git a/lib/locales/sk/lorem/words.js b/lib/locales/sk/lorem/words.js index e8c9f7bb..68d1c09c 100644 --- a/lib/locales/sk/lorem/words.js +++ b/lib/locales/sk/lorem/words.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "alias", "consequatur", "aut", diff --git a/lib/locales/sk/name/female_first_name.js b/lib/locales/sk/name/female_first_name.js index cf28eda0..d5f67a37 100644 --- a/lib/locales/sk/name/female_first_name.js +++ b/lib/locales/sk/name/female_first_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Alexandra", "Karina", "Daniela", diff --git a/lib/locales/sk/name/female_last_name.js b/lib/locales/sk/name/female_last_name.js index 311cd3e7..42346d9c 100644 --- a/lib/locales/sk/name/female_last_name.js +++ b/lib/locales/sk/name/female_last_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Antalová", "Babková", "Bahnová", diff --git a/lib/locales/sk/name/male_first_name.js b/lib/locales/sk/name/male_first_name.js index d23fa645..39511301 100644 --- a/lib/locales/sk/name/male_first_name.js +++ b/lib/locales/sk/name/male_first_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Drahoslav", "Severín", "Alexej", diff --git a/lib/locales/sk/name/male_last_name.js b/lib/locales/sk/name/male_last_name.js index acfea74a..750139ae 100644 --- a/lib/locales/sk/name/male_last_name.js +++ b/lib/locales/sk/name/male_last_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Antal", "Babka", "Bahna", diff --git a/lib/locales/sk/name/name.js b/lib/locales/sk/name/name.js index b1e852c5..37d25df2 100644 --- a/lib/locales/sk/name/name.js +++ b/lib/locales/sk/name/name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "#{prefix} #{male_first_name} #{male_last_name}", "#{prefix} #{female_first_name} #{female_last_name}", "#{male_first_name} #{male_last_name} #{suffix}", diff --git a/lib/locales/sk/name/prefix.js b/lib/locales/sk/name/prefix.js index b26d4452..fd545c87 100644 --- a/lib/locales/sk/name/prefix.js +++ b/lib/locales/sk/name/prefix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Ing.", "Mgr.", "JUDr.", diff --git a/lib/locales/sk/name/suffix.js b/lib/locales/sk/name/suffix.js index e7eb5867..2f48e58c 100644 --- a/lib/locales/sk/name/suffix.js +++ b/lib/locales/sk/name/suffix.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "Phd." ]; diff --git a/lib/locales/sk/name/title.js b/lib/locales/sk/name/title.js index df4228f3..132659de 100644 --- a/lib/locales/sk/name/title.js +++ b/lib/locales/sk/name/title.js @@ -1,4 +1,4 @@ -module["exports"] = { +module.exports = { "descriptor": [ "Lead", "Senior", diff --git a/lib/locales/sk/phone_number/formats.js b/lib/locales/sk/phone_number/formats.js index 11ab2755..169ccecb 100644 --- a/lib/locales/sk/phone_number/formats.js +++ b/lib/locales/sk/phone_number/formats.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "09## ### ###", "0## #### ####", "0# #### ####", diff --git a/lib/locales/sv/address/building_number.js b/lib/locales/sv/address/building_number.js index 8f67cb33..f98bf3de 100644 --- a/lib/locales/sv/address/building_number.js +++ b/lib/locales/sv/address/building_number.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "###", "##", "#" diff --git a/lib/locales/sv/address/city.js b/lib/locales/sv/address/city.js index a5c0f3c3..f6245071 100644 --- a/lib/locales/sv/address/city.js +++ b/lib/locales/sv/address/city.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "#{city_prefix}#{city_suffix}" ]; diff --git a/lib/locales/sv/address/city_prefix.js b/lib/locales/sv/address/city_prefix.js index 65e19d04..fda2e96e 100644 --- a/lib/locales/sv/address/city_prefix.js +++ b/lib/locales/sv/address/city_prefix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Söder", "Norr", "Väst", diff --git a/lib/locales/sv/address/city_suffix.js b/lib/locales/sv/address/city_suffix.js index df7e173f..5a209e1e 100644 --- a/lib/locales/sv/address/city_suffix.js +++ b/lib/locales/sv/address/city_suffix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "stad", "land", "sås", diff --git a/lib/locales/sv/address/common_street_suffix.js b/lib/locales/sv/address/common_street_suffix.js index ff379cef..96f37c9e 100644 --- a/lib/locales/sv/address/common_street_suffix.js +++ b/lib/locales/sv/address/common_street_suffix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "s Väg", "s Gata" ]; diff --git a/lib/locales/sv/address/country.js b/lib/locales/sv/address/country.js index c2c9119a..4fc58656 100644 --- a/lib/locales/sv/address/country.js +++ b/lib/locales/sv/address/country.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Ryssland", "Kanada", "Kina", diff --git a/lib/locales/sv/address/default_country.js b/lib/locales/sv/address/default_country.js index ab98db20..5ef0852a 100644 --- a/lib/locales/sv/address/default_country.js +++ b/lib/locales/sv/address/default_country.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "Sverige" ]; diff --git a/lib/locales/sv/address/postcode.js b/lib/locales/sv/address/postcode.js index 3640af26..8091ecaa 100644 --- a/lib/locales/sv/address/postcode.js +++ b/lib/locales/sv/address/postcode.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "#####" ]; diff --git a/lib/locales/sv/address/secondary_address.js b/lib/locales/sv/address/secondary_address.js index fb1b9ae6..2accd2a7 100644 --- a/lib/locales/sv/address/secondary_address.js +++ b/lib/locales/sv/address/secondary_address.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Lgh. ###", "Hus ###" ]; diff --git a/lib/locales/sv/address/state.js b/lib/locales/sv/address/state.js index 323a8e0a..bde88e5a 100644 --- a/lib/locales/sv/address/state.js +++ b/lib/locales/sv/address/state.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Blekinge", "Dalarna", "Gotland", diff --git a/lib/locales/sv/address/street_address.js b/lib/locales/sv/address/street_address.js index 74209742..4ae3b6ee 100644 --- a/lib/locales/sv/address/street_address.js +++ b/lib/locales/sv/address/street_address.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "#{street_name} #{building_number}" ]; diff --git a/lib/locales/sv/address/street_name.js b/lib/locales/sv/address/street_name.js index f5c98b96..44496128 100644 --- a/lib/locales/sv/address/street_name.js +++ b/lib/locales/sv/address/street_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "#{street_root}#{street_suffix}", "#{street_prefix} #{street_root}#{street_suffix}", "#{Name.first_name}#{common_street_suffix}", diff --git a/lib/locales/sv/address/street_prefix.js b/lib/locales/sv/address/street_prefix.js index 24805cc3..d96fb57c 100644 --- a/lib/locales/sv/address/street_prefix.js +++ b/lib/locales/sv/address/street_prefix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Västra", "Östra", "Norra", diff --git a/lib/locales/sv/address/street_root.js b/lib/locales/sv/address/street_root.js index 4d5f3140..7974280a 100644 --- a/lib/locales/sv/address/street_root.js +++ b/lib/locales/sv/address/street_root.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Björk", "Järnvägs", "Ring", diff --git a/lib/locales/sv/address/street_suffix.js b/lib/locales/sv/address/street_suffix.js index fcd009cb..8ad810fb 100644 --- a/lib/locales/sv/address/street_suffix.js +++ b/lib/locales/sv/address/street_suffix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "vägen", "gatan", "gränden", diff --git a/lib/locales/sv/cell_phone/common_cell_prefix.js b/lib/locales/sv/cell_phone/common_cell_prefix.js index 3ce9b2e7..5b7e7989 100644 --- a/lib/locales/sv/cell_phone/common_cell_prefix.js +++ b/lib/locales/sv/cell_phone/common_cell_prefix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ 56, 62, 59 diff --git a/lib/locales/sv/cell_phone/formats.js b/lib/locales/sv/cell_phone/formats.js index c2949e3c..9536a523 100644 --- a/lib/locales/sv/cell_phone/formats.js +++ b/lib/locales/sv/cell_phone/formats.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "#{common_cell_prefix}-###-####" ]; diff --git a/lib/locales/sv/commerce/color.js b/lib/locales/sv/commerce/color.js index 9c7b83e4..07421d33 100644 --- a/lib/locales/sv/commerce/color.js +++ b/lib/locales/sv/commerce/color.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "vit", "silver", "grå", diff --git a/lib/locales/sv/commerce/department.js b/lib/locales/sv/commerce/department.js index 7748fd2f..ead70271 100644 --- a/lib/locales/sv/commerce/department.js +++ b/lib/locales/sv/commerce/department.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Böcker", "Filmer", "Musik", diff --git a/lib/locales/sv/commerce/product_name.js b/lib/locales/sv/commerce/product_name.js index e5fdebf1..3f5da39a 100644 --- a/lib/locales/sv/commerce/product_name.js +++ b/lib/locales/sv/commerce/product_name.js @@ -1,4 +1,4 @@ -module["exports"] = { +module.exports = { "adjective": [ "Liten", "Ergonomisk", diff --git a/lib/locales/sv/company/name.js b/lib/locales/sv/company/name.js index 4efaca83..9f15b56a 100644 --- a/lib/locales/sv/company/name.js +++ b/lib/locales/sv/company/name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "#{Name.last_name} #{suffix}", "#{Name.last_name}-#{Name.last_name}", "#{Name.last_name}, #{Name.last_name} #{suffix}" diff --git a/lib/locales/sv/company/suffix.js b/lib/locales/sv/company/suffix.js index 6822bc67..c3d7a8ab 100644 --- a/lib/locales/sv/company/suffix.js +++ b/lib/locales/sv/company/suffix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Gruppen", "AB", "HB", diff --git a/lib/locales/sv/date/index.js b/lib/locales/sv/date/index.js index e53e73ee..f95b1507 100644 --- a/lib/locales/sv/date/index.js +++ b/lib/locales/sv/date/index.js @@ -1,4 +1,4 @@ -const date = {}; -module["exports"] = date; +var date = {}; +module.exports = date; date.month = require("./month"); date.weekday = require("./weekday"); diff --git a/lib/locales/sv/date/month.js b/lib/locales/sv/date/month.js index 0dbff0f9..cfefbb2d 100644 --- a/lib/locales/sv/date/month.js +++ b/lib/locales/sv/date/month.js @@ -1,5 +1,5 @@ // Source: http://unicode.org/cldr/trac/browser/tags/release-27/common/main/en.xml#L1799 -module["exports"] = { +module.exports = { wide: [ "januari", "februari", diff --git a/lib/locales/sv/date/weekday.js b/lib/locales/sv/date/weekday.js index c2ddf016..cdb032d2 100644 --- a/lib/locales/sv/date/weekday.js +++ b/lib/locales/sv/date/weekday.js @@ -1,5 +1,5 @@ // Source: http://unicode.org/cldr/trac/browser/tags/release-27/common/main/en.xml#L1847 -module["exports"] = { +module.exports = { wide: [ "söndag", "måndag", diff --git a/lib/locales/sv/internet/domain_suffix.js b/lib/locales/sv/internet/domain_suffix.js index c5abb283..f771d94f 100644 --- a/lib/locales/sv/internet/domain_suffix.js +++ b/lib/locales/sv/internet/domain_suffix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "se", "nu", "info", diff --git a/lib/locales/sv/name/female_first_name.js b/lib/locales/sv/name/female_first_name.js index 3a530bd4..a693df5a 100644 --- a/lib/locales/sv/name/female_first_name.js +++ b/lib/locales/sv/name/female_first_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Anna", "Eva", "Maria", diff --git a/lib/locales/sv/name/first_name.js b/lib/locales/sv/name/first_name.js index 537ab637..8ca01b24 100644 --- a/lib/locales/sv/name/first_name.js +++ b/lib/locales/sv/name/first_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Anna", "Eva", "Maria", diff --git a/lib/locales/sv/name/last_name.js b/lib/locales/sv/name/last_name.js index 25876b41..6435ca5d 100644 --- a/lib/locales/sv/name/last_name.js +++ b/lib/locales/sv/name/last_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Andersson", "Johansson", "Karlsson", diff --git a/lib/locales/sv/name/male_first_name.js b/lib/locales/sv/name/male_first_name.js index 45080186..8da2a1bf 100644 --- a/lib/locales/sv/name/male_first_name.js +++ b/lib/locales/sv/name/male_first_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Lars", "Mikael", "Anders", diff --git a/lib/locales/sv/name/name.js b/lib/locales/sv/name/name.js index 1f055ba0..3398f33f 100644 --- a/lib/locales/sv/name/name.js +++ b/lib/locales/sv/name/name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "#{prefix} #{first_name} #{last_name}", "#{first_name} #{last_name} #{suffix}", "#{first_name} #{last_name}", diff --git a/lib/locales/sv/name/prefix.js b/lib/locales/sv/name/prefix.js index ef00fb74..074a4a8d 100644 --- a/lib/locales/sv/name/prefix.js +++ b/lib/locales/sv/name/prefix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Dr.", "Prof.", "PhD." diff --git a/lib/locales/sv/name/title.js b/lib/locales/sv/name/title.js index dac9b46e..d62eecca 100644 --- a/lib/locales/sv/name/title.js +++ b/lib/locales/sv/name/title.js @@ -1,4 +1,4 @@ -module["exports"] = { +module.exports = { "descriptor": [ "Ansvarig", "Senior", diff --git a/lib/locales/sv/phone_number/formats.js b/lib/locales/sv/phone_number/formats.js index 3b399169..4f77afba 100644 --- a/lib/locales/sv/phone_number/formats.js +++ b/lib/locales/sv/phone_number/formats.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "####-#####", "####-######" ]; diff --git a/lib/locales/sv/team/name.js b/lib/locales/sv/team/name.js index 82f4ac95..cc0e812f 100644 --- a/lib/locales/sv/team/name.js +++ b/lib/locales/sv/team/name.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "#{Address.city} #{suffix}" ]; diff --git a/lib/locales/sv/team/suffix.js b/lib/locales/sv/team/suffix.js index 659cdfbf..8f504d60 100644 --- a/lib/locales/sv/team/suffix.js +++ b/lib/locales/sv/team/suffix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "IF", "FF", "BK", diff --git a/lib/locales/tr/address/building_number.js b/lib/locales/tr/address/building_number.js index 7bd586e1..a7e352c8 100644 --- a/lib/locales/tr/address/building_number.js +++ b/lib/locales/tr/address/building_number.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "###", "##", "#", diff --git a/lib/locales/tr/address/city.js b/lib/locales/tr/address/city.js index e2281185..e4b6527c 100644 --- a/lib/locales/tr/address/city.js +++ b/lib/locales/tr/address/city.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Adana", "Adıyaman", "Afyon", diff --git a/lib/locales/tr/address/country.js b/lib/locales/tr/address/country.js index e7312dbc..aaf71e67 100644 --- a/lib/locales/tr/address/country.js +++ b/lib/locales/tr/address/country.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Afganistan", "Almanya", "Amerika Birleşik Devletleri", diff --git a/lib/locales/tr/address/default_country.js b/lib/locales/tr/address/default_country.js index 66d17657..41ab256d 100644 --- a/lib/locales/tr/address/default_country.js +++ b/lib/locales/tr/address/default_country.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "Türkiye" ]; diff --git a/lib/locales/tr/address/postcode.js b/lib/locales/tr/address/postcode.js index 3640af26..8091ecaa 100644 --- a/lib/locales/tr/address/postcode.js +++ b/lib/locales/tr/address/postcode.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "#####" ]; diff --git a/lib/locales/tr/address/street_address.js b/lib/locales/tr/address/street_address.js index 74209742..4ae3b6ee 100644 --- a/lib/locales/tr/address/street_address.js +++ b/lib/locales/tr/address/street_address.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "#{street_name} #{building_number}" ]; diff --git a/lib/locales/tr/address/street_name.js b/lib/locales/tr/address/street_name.js index 7debe2ae..a6b5ac1d 100644 --- a/lib/locales/tr/address/street_name.js +++ b/lib/locales/tr/address/street_name.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "#{street_root}" ]; diff --git a/lib/locales/tr/address/street_root.js b/lib/locales/tr/address/street_root.js index 9df512bf..37836e01 100644 --- a/lib/locales/tr/address/street_root.js +++ b/lib/locales/tr/address/street_root.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Atatürk Bulvarı", "Alparslan Türkeş Bulvarı", "Ali Çetinkaya Caddesi", diff --git a/lib/locales/tr/cell_phone/formats.js b/lib/locales/tr/cell_phone/formats.js index ad723bb1..b228d28b 100644 --- a/lib/locales/tr/cell_phone/formats.js +++ b/lib/locales/tr/cell_phone/formats.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "+90-53#-###-##-##", "+90-54#-###-##-##", "+90-55#-###-##-##", diff --git a/lib/locales/tr/commerce/color.js b/lib/locales/tr/commerce/color.js index c7a0b991..3d5332b6 100644 --- a/lib/locales/tr/commerce/color.js +++ b/lib/locales/tr/commerce/color.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "kırmızı", "yeşil", "mavi", diff --git a/lib/locales/tr/commerce/department.js b/lib/locales/tr/commerce/department.js index e621b184..9e56561d 100644 --- a/lib/locales/tr/commerce/department.js +++ b/lib/locales/tr/commerce/department.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Kitaplar", "Filmler", "Müzikler", diff --git a/lib/locales/tr/commerce/product_description.js b/lib/locales/tr/commerce/product_description.js index 1e12a395..d5667982 100644 --- a/lib/locales/tr/commerce/product_description.js +++ b/lib/locales/tr/commerce/product_description.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Gün boyu konfor ve destek için yapıştırılmış siyah deri ve PVC dolgulu koltuk ve sırt ile kaplanmış ergonomik yönetici koltuğu", "Otomobil düzeni, motorun arkasına monte edilmiş transaks tipi şanzımanlar ve dört tekerlekten çekiş ile bir ön motor tasarımından oluşur", "Yeni ABC 13 9370, 13.3, 5. Nesil CoreA5-8250U, 8GB RAM, 256GB SSD, power UHD Graphics, OS 10 Home, OS Office A & J 2016", diff --git a/lib/locales/tr/commerce/product_name.js b/lib/locales/tr/commerce/product_name.js index 888bc29b..66286d94 100644 --- a/lib/locales/tr/commerce/product_name.js +++ b/lib/locales/tr/commerce/product_name.js @@ -1,4 +1,4 @@ -module["exports"] = { +module.exports = { "adjective": [ "Küçük", "Ergonomik", diff --git a/lib/locales/tr/internet/domain_suffix.js b/lib/locales/tr/internet/domain_suffix.js index ce84bb83..6f959af2 100644 --- a/lib/locales/tr/internet/domain_suffix.js +++ b/lib/locales/tr/internet/domain_suffix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "com.tr", "com", "biz", diff --git a/lib/locales/tr/lorem/words.js b/lib/locales/tr/lorem/words.js index e8c9f7bb..68d1c09c 100644 --- a/lib/locales/tr/lorem/words.js +++ b/lib/locales/tr/lorem/words.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "alias", "consequatur", "aut", diff --git a/lib/locales/tr/name/female_first_name.js b/lib/locales/tr/name/female_first_name.js index 92337829..a5d1454a 100644 --- a/lib/locales/tr/name/female_first_name.js +++ b/lib/locales/tr/name/female_first_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Abendam", "Açela", "Açelya", diff --git a/lib/locales/tr/name/first_name.js b/lib/locales/tr/name/first_name.js index e499fae4..6e8702a4 100644 --- a/lib/locales/tr/name/first_name.js +++ b/lib/locales/tr/name/first_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Aba", "Abak", "Abaka", diff --git a/lib/locales/tr/name/last_name.js b/lib/locales/tr/name/last_name.js index e4c7a0c6..e6324a64 100644 --- a/lib/locales/tr/name/last_name.js +++ b/lib/locales/tr/name/last_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Abacı", "Abadan", "Aclan", diff --git a/lib/locales/tr/name/male_first_name.js b/lib/locales/tr/name/male_first_name.js index f47c8cfb..1cd35490 100644 --- a/lib/locales/tr/name/male_first_name.js +++ b/lib/locales/tr/name/male_first_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Abay", "Abidin", "Acar", diff --git a/lib/locales/tr/name/name.js b/lib/locales/tr/name/name.js index 1aa6d0a4..c815c070 100644 --- a/lib/locales/tr/name/name.js +++ b/lib/locales/tr/name/name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "#{prefix} #{first_name} #{last_name}", "#{first_name} #{last_name}", "#{first_name} #{last_name}", diff --git a/lib/locales/tr/name/prefix.js b/lib/locales/tr/name/prefix.js index 8369c71f..c35b4944 100644 --- a/lib/locales/tr/name/prefix.js +++ b/lib/locales/tr/name/prefix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Bay", "Bayan", "Dr.", diff --git a/lib/locales/tr/phone_number/area_code.js b/lib/locales/tr/phone_number/area_code.js index 0d68d1dd..01fce74c 100644 --- a/lib/locales/tr/phone_number/area_code.js +++ b/lib/locales/tr/phone_number/area_code.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "392", "510", "512", diff --git a/lib/locales/tr/phone_number/formats.js b/lib/locales/tr/phone_number/formats.js index 6ae8c41c..b39819aa 100644 --- a/lib/locales/tr/phone_number/formats.js +++ b/lib/locales/tr/phone_number/formats.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "+90-###-###-##-##", "+90-###-###-#-###" ]; diff --git a/lib/locales/uk/address/building_number.js b/lib/locales/uk/address/building_number.js index 23fc733d..d6c35519 100644 --- a/lib/locales/uk/address/building_number.js +++ b/lib/locales/uk/address/building_number.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "#", "##", "###" diff --git a/lib/locales/uk/address/city.js b/lib/locales/uk/address/city.js index 3bb47958..42c07ba4 100644 --- a/lib/locales/uk/address/city.js +++ b/lib/locales/uk/address/city.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "#{city_name}", "#{city_prefix} #{Name.male_first_name}" ]; diff --git a/lib/locales/uk/address/city_name.js b/lib/locales/uk/address/city_name.js index 240825c4..c08c9e46 100644 --- a/lib/locales/uk/address/city_name.js +++ b/lib/locales/uk/address/city_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Алчевськ", "Артемівськ", "Бердичів", diff --git a/lib/locales/uk/address/city_prefix.js b/lib/locales/uk/address/city_prefix.js index 08a1a2bd..f48af9af 100644 --- a/lib/locales/uk/address/city_prefix.js +++ b/lib/locales/uk/address/city_prefix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Південний", "Північний", "Східний", diff --git a/lib/locales/uk/address/city_suffix.js b/lib/locales/uk/address/city_suffix.js index d61608ae..83f6e65b 100644 --- a/lib/locales/uk/address/city_suffix.js +++ b/lib/locales/uk/address/city_suffix.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "град" ]; diff --git a/lib/locales/uk/address/country.js b/lib/locales/uk/address/country.js index 37216bb4..d7e7a2bc 100644 --- a/lib/locales/uk/address/country.js +++ b/lib/locales/uk/address/country.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Австралія", "Австрія", "Азербайджан", diff --git a/lib/locales/uk/address/default_country.js b/lib/locales/uk/address/default_country.js index a7462d02..52898a84 100644 --- a/lib/locales/uk/address/default_country.js +++ b/lib/locales/uk/address/default_country.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "Україна" ]; diff --git a/lib/locales/uk/address/postcode.js b/lib/locales/uk/address/postcode.js index 3640af26..8091ecaa 100644 --- a/lib/locales/uk/address/postcode.js +++ b/lib/locales/uk/address/postcode.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "#####" ]; diff --git a/lib/locales/uk/address/secondary_address.js b/lib/locales/uk/address/secondary_address.js index 636df8fc..c825d1b3 100644 --- a/lib/locales/uk/address/secondary_address.js +++ b/lib/locales/uk/address/secondary_address.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "кв. ###" ]; diff --git a/lib/locales/uk/address/state.js b/lib/locales/uk/address/state.js index 0d43d9db..18b4c024 100644 --- a/lib/locales/uk/address/state.js +++ b/lib/locales/uk/address/state.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "АР Крим", "Вінницька область", "Волинська область", diff --git a/lib/locales/uk/address/street_address.js b/lib/locales/uk/address/street_address.js index 5b311286..af50699c 100644 --- a/lib/locales/uk/address/street_address.js +++ b/lib/locales/uk/address/street_address.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "#{street_name}, #{building_number}" ]; diff --git a/lib/locales/uk/address/street_name.js b/lib/locales/uk/address/street_name.js index 40973b71..ca6b19dd 100644 --- a/lib/locales/uk/address/street_name.js +++ b/lib/locales/uk/address/street_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "#{street_prefix} #{Address.street_title}", "#{Address.street_title} #{street_suffix}" ]; diff --git a/lib/locales/uk/address/street_prefix.js b/lib/locales/uk/address/street_prefix.js index 0017d1fd..9c16daf0 100644 --- a/lib/locales/uk/address/street_prefix.js +++ b/lib/locales/uk/address/street_prefix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "вул.", "вулиця", "пр.", diff --git a/lib/locales/uk/address/street_suffix.js b/lib/locales/uk/address/street_suffix.js index bb3a031d..541be5b9 100644 --- a/lib/locales/uk/address/street_suffix.js +++ b/lib/locales/uk/address/street_suffix.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "майдан" ]; diff --git a/lib/locales/uk/address/street_title.js b/lib/locales/uk/address/street_title.js index 88234a40..8ec127ad 100644 --- a/lib/locales/uk/address/street_title.js +++ b/lib/locales/uk/address/street_title.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Зелена", "Молодіжна", "Городоцька", diff --git a/lib/locales/uk/company/name.js b/lib/locales/uk/company/name.js index 6ebeeebb..8c60b344 100644 --- a/lib/locales/uk/company/name.js +++ b/lib/locales/uk/company/name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "#{prefix} #{Name.female_first_name}", "#{prefix} #{Name.male_first_name}", "#{prefix} #{Name.male_last_name}", diff --git a/lib/locales/uk/company/prefix.js b/lib/locales/uk/company/prefix.js index 65635ede..e9fa253d 100644 --- a/lib/locales/uk/company/prefix.js +++ b/lib/locales/uk/company/prefix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "ТОВ", "ПАТ", "ПрАТ", diff --git a/lib/locales/uk/company/suffix.js b/lib/locales/uk/company/suffix.js index 3050ae72..333accfb 100644 --- a/lib/locales/uk/company/suffix.js +++ b/lib/locales/uk/company/suffix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Постач", "Торг", "Пром", diff --git a/lib/locales/uk/internet/domain_suffix.js b/lib/locales/uk/internet/domain_suffix.js index e13cb1e3..24c0031b 100644 --- a/lib/locales/uk/internet/domain_suffix.js +++ b/lib/locales/uk/internet/domain_suffix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "cherkassy.ua", "cherkasy.ua", "ck.ua", diff --git a/lib/locales/uk/internet/free_email.js b/lib/locales/uk/internet/free_email.js index 85e4e71a..f18ab552 100644 --- a/lib/locales/uk/internet/free_email.js +++ b/lib/locales/uk/internet/free_email.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "ukr.net", "ex.ua", "e-mail.ua", diff --git a/lib/locales/uk/name/female_first_name.js b/lib/locales/uk/name/female_first_name.js index adf71a39..df77bb0f 100644 --- a/lib/locales/uk/name/female_first_name.js +++ b/lib/locales/uk/name/female_first_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Аврелія", "Аврора", "Агапія", diff --git a/lib/locales/uk/name/female_last_name.js b/lib/locales/uk/name/female_last_name.js index 80a5f053..6a0543d0 100644 --- a/lib/locales/uk/name/female_last_name.js +++ b/lib/locales/uk/name/female_last_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Андрухович", "Бабух", "Балабан", diff --git a/lib/locales/uk/name/female_middle_name.js b/lib/locales/uk/name/female_middle_name.js index 33df470f..c2c8e253 100644 --- a/lib/locales/uk/name/female_middle_name.js +++ b/lib/locales/uk/name/female_middle_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Адамівна", "Азарівна", "Алевтинівна", diff --git a/lib/locales/uk/name/male_first_name.js b/lib/locales/uk/name/male_first_name.js index d5f5426e..2acc68ce 100644 --- a/lib/locales/uk/name/male_first_name.js +++ b/lib/locales/uk/name/male_first_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Августин", "Аврелій", "Адам", diff --git a/lib/locales/uk/name/male_last_name.js b/lib/locales/uk/name/male_last_name.js index 69d04848..efa49661 100644 --- a/lib/locales/uk/name/male_last_name.js +++ b/lib/locales/uk/name/male_last_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Андрухович", "Бабух", "Балабан", diff --git a/lib/locales/uk/name/male_middle_name.js b/lib/locales/uk/name/male_middle_name.js index b699036e..6171ab45 100644 --- a/lib/locales/uk/name/male_middle_name.js +++ b/lib/locales/uk/name/male_middle_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Адамович", "Азарович", "Алевтинович", diff --git a/lib/locales/uk/name/name.js b/lib/locales/uk/name/name.js index 8c66cc59..827141bc 100644 --- a/lib/locales/uk/name/name.js +++ b/lib/locales/uk/name/name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "#{male_first_name} #{male_last_name}", "#{male_last_name} #{male_first_name}", "#{male_first_name} #{male_middle_name} #{male_last_name}", diff --git a/lib/locales/uk/name/prefix.js b/lib/locales/uk/name/prefix.js index e0df8cd5..8d1622c4 100644 --- a/lib/locales/uk/name/prefix.js +++ b/lib/locales/uk/name/prefix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Пан", "Пані" ]; diff --git a/lib/locales/uk/name/suffix.js b/lib/locales/uk/name/suffix.js index cc3cafad..45369cb6 100644 --- a/lib/locales/uk/name/suffix.js +++ b/lib/locales/uk/name/suffix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "проф.", "доц.", "докт. пед. наук", diff --git a/lib/locales/uk/name/title.js b/lib/locales/uk/name/title.js index 416e1c2d..b9edc3bb 100644 --- a/lib/locales/uk/name/title.js +++ b/lib/locales/uk/name/title.js @@ -1,4 +1,4 @@ -module["exports"] = { +module.exports = { "descriptor": [ "Головний", "Генеральний", diff --git a/lib/locales/uk/phone_number/formats.js b/lib/locales/uk/phone_number/formats.js index a7997a2a..7fbdfc4d 100644 --- a/lib/locales/uk/phone_number/formats.js +++ b/lib/locales/uk/phone_number/formats.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "(044) ###-##-##", "(050) ###-##-##", "(063) ###-##-##", diff --git a/lib/locales/ur/date/index.js b/lib/locales/ur/date/index.js index e53e73ee..f95b1507 100644 --- a/lib/locales/ur/date/index.js +++ b/lib/locales/ur/date/index.js @@ -1,4 +1,4 @@ -const date = {}; -module["exports"] = date; +var date = {}; +module.exports = date; date.month = require("./month"); date.weekday = require("./weekday"); diff --git a/lib/locales/ur/finance/account_type.js b/lib/locales/ur/finance/account_type.js index 654ede2a..e84ca61c 100644 --- a/lib/locales/ur/finance/account_type.js +++ b/lib/locales/ur/finance/account_type.js @@ -1 +1 @@ -module["exports"] = ["Savings", "Current"]; +module.exports = ["Savings", "Current"]; diff --git a/lib/locales/ur/finance/transaction_type.js b/lib/locales/ur/finance/transaction_type.js index e3d74dbe..ba224cb1 100644 --- a/lib/locales/ur/finance/transaction_type.js +++ b/lib/locales/ur/finance/transaction_type.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "deposit", "withdrawal", "payment", diff --git a/lib/locales/ur/lorem/supplemental.js b/lib/locales/ur/lorem/supplemental.js index e2c8f200..734f8653 100644 --- a/lib/locales/ur/lorem/supplemental.js +++ b/lib/locales/ur/lorem/supplemental.js @@ -1,614 +1,614 @@ -module["exports"] = [ - "سگ", - "دگاس", - "ساد", - "دسھا", - "باس", - "نان", - "انب", - "ابس", - "ادسگ", - "ابنسد", - "سفد", - "دف", - "بس", - "باسدب", - "باسدبا", - "رعابھ", - "ابسد", - "سب", - "ساد", - "ط", - "اسدبگ", - "اسدگ", - "اھگسد", - "سدگ", - "اسگ", - "شبچ", - "عو", - "سدبگا", - "اسبد", - "ساب", - "سدب", - "سبا", - "باسد", - "دسب", - "طسد", - "چسد", - "سگ", - "دگاس", - "ساد", - "دسھا", - "باس", - "نان", - "انب", - "ابس", - "ادسگ", - "ابنسد", - "سفد", - "دف", - "بس", - "باسدب", - "باسدبا", - "رعابھ", - "ابسد", - "سب", - "ساد", - "ط", - "اسدبگ", - "اسدگ", - "اھگسد", - "سدگ", - "اسگ", - "شبچ", - "عو", - "سدبگا", - "اسبد", - "ساب", - "سدب", - "سبا", - "باسد", - "دسب", - "طسد", - "چسد", - "سگ", - "دگاس", - "ساد", - "دسھا", - "باس", - "نان", - "انب", - "ابس", - "ادسگ", - "ابنسد", - "سفد", - "دف", - "بس", - "باسدب", - "باسدبا", - "رعابھ", - "ابسد", - "سب", - "ساد", - "ط", - "اسدبگ", - "اسدگ", - "اھگسد", - "سدگ", - "اسگ", - "شبچ", - "عو", - "سدبگا", - "اسبد", - "ساب", - "سدب", - "سبا", - "باسد", - "دسب", - "طسد", - "چسد", - "سگ", - "دگاس", - "ساد", - "دسھا", - "باس", - "نان", - "انب", - "ابس", - "ادسگ", - "ابنسد", - "سفد", - "دف", - "بس", - "باسدب", - "باسدبا", - "رعابھ", - "ابسد", - "سب", - "ساد", - "ط", - "اسدبگ", - "اسدگ", - "اھگسد", - "سدگ", - "اسگ", - "شبچ", - "عو", - "سدبگا", - "اسبد", - "ساب", - "سدب", - "سبا", - "باسد", - "دسب", - "طسد", - "چسد", - "سگ", - "دگاس", - "ساد", - "دسھا", - "باس", - "نان", - "انب", - "ابس", - "ادسگ", - "ابنسد", - "سفد", - "دف", - "بس", - "باسدب", - "باسدبا", - "رعابھ", - "ابسد", - "سب", - "ساد", - "ط", - "اسدبگ", - "اسدگ", - "اھگسد", - "سدگ", - "اسگ", - "شبچ", - "عو", - "سدبگا", - "اسبد", - "ساب", - "سدب", - "سبا", - "باسد", - "دسب", - "طسد", - "چسد", - "سگ", - "دگاس", - "ساد", - "دسھا", - "باس", - "نان", - "انب", - "ابس", - "ادسگ", - "ابنسد", - "سفد", - "دف", - "بس", - "باسدب", - "باسدبا", - "رعابھ", - "ابسد", - "سب", - "ساد", - "ط", - "اسدبگ", - "اسدگ", - "اھگسد", - "سدگ", - "اسگ", - "شبچ", - "عو", - "سدبگا", - "اسبد", - "ساب", - "سدب", - "سبا", - "باسد", - "دسب", - "طسد", - "چسد", - "سگ", - "دگاس", - "ساد", - "دسھا", - "باس", - "نان", - "انب", - "ابس", - "ادسگ", - "ابنسد", - "سفد", - "دف", - "بس", - "باسدب", - "باسدبا", - "رعابھ", - "ابسد", - "سب", - "ساد", - "ط", - "اسدبگ", - "اسدگ", - "اھگسد", - "سدگ", - "اسگ", - "شبچ", - "عو", - "سدبگا", - "اسبد", - "ساب", - "سدب", - "سبا", - "باسد", - "دسب", - "طسد", - "چسد", - "سگ", - "دگاس", - "ساد", - "دسھا", - "باس", - "نان", - "انب", - "ابس", - "ادسگ", - "ابنسد", - "سفد", - "دف", - "بس", - "باسدب", - "باسدبا", - "رعابھ", - "ابسد", - "سب", - "ساد", - "ط", - "اسداسدھدسبابگ", - "اسدگ", - "اھگسد", - "سدگ", - "اسگ", - "شبچ", - "عو", - "سدبگا", - "اسبد", - "ساب", - "سدب", - "سبادفھناسدھ", - "باسد", - "دسب", - "طسد", - "چسد", - "سگ", - "دگاس", - "ساد", - "دسھا", - "باس", - "نان", - "انب", - "ابس", - "ادسگ", - "ابنسد", - "سفد", - "دف", - "بس", - "باسدب", - "باسدباسدفنباسد", - "رعابھ", - "ابسانفسدد", - "سب", - "ساد", - "ط", - "اسدبگ", - "اسدگ", - "اھگسد", - "سدگ", - "اسگ", - "شبچ", - "عو", - "سدبگا", - "اسبد", - "ساب", - "سدب", - "سندافاھگسدبا", - "باسد", - "دسب", - "طسد", - "چسد", - "سگ", - "دگاس", - "ساد", - "دسھا", - "باس", - "نان", - "انب", - "ابس", - "ادسگ", - "ابنسد", - "ساسدبھ اسدفگبطاسدفد", - "دف", - "بس", - "باسدب", - "باسدبا", - "رعابھ", - "ابسد", - "سب", - "ساد", - "ط", - "اسدبگ", - "اسدگ", - "اھگسد", - "سدطاسدگاسدگ", - "اسگ", - "شبچ", - "عو", - "سدبگا", - "اسبد", - "ساب", - "سدب", - "سبا", - "باسد", - "دسب", - "طسد", - "چاسدسد", - "سگ", - "دگاس", - "ساد", - "دسھا", - "باس", - "نان", - "انب", - "ابس", - "ادسگ", - "ابنسد", - "سفد", - "دف", - "بس", - "باسدب", - "باسدبا", - "رعابھ", - "ابسد", - "سب", - "ساد", - "ط", - "اسدبگ", - "اسدگ", - "اھگسد", - "سدگ", - "اسگ", - "شبچ", - "عو", - "سدبگا", - "اسبد", - "ساب", - "سدب", - "سبا", - "باسد", - "دسب", - "طسد", - "چسد", - "سگ", - "دگاس", - "ساد", - "دسھا", - "باس", - "نان", - "انب", - "ابس", - "ادسگ", - "ابنسد", - "سفد", - "دف", - "بس", - "باسدب", - "باسدبا", - "رعابھ", - "ابسد", - "سب", - "ساد", - "ط", - "اسدبگ", - "اسدگ", - "اھگسد", - "سدگ", - "اسگ", - "شبچ", - "عو", - "سدبگا", - "اسبد", - "ساب", - "سدب", - "سبا", - "باسد", - "دسب", - "طسد", - "چسد", - "سگ", - "دگاس", - "ساد", - "دسھا", - "باس", - "نان", - "انب", - "ابس", - "ادسگ", - "ابنسد", - "سفد", - "دف", - "بس", - "باسدب", - "باسدبا", - "رعابھ", - "ابسد", - "سب", - "ساد", - "ط", - "اسدبگ", - "اسدگ", - "اھگسد", - "سدگ", - "اسگ", - "شبچ", - "عو", - "سدبگا", - "اسبد", - "ساب", - "سدب", - "سبا", - "باسد", - "دسب", - "طسد", - "چسد", - "سگ", - "دگاس", - "ساد", - "دسھا", - "باس", - "نان", - "انب", - "ابس", - "ادسگ", - "ابنسد", - "سفد", - "دف", - "بس", - "باسدب", - "باسدبا", - "رعابھ", - "ابسد", - "سب", - "ساد", - "ط", - "اسدبگ", - "اسدگ", - "اھگسد", - "سدگ", - "اسگ", - "شبچ", - "عو", - "سدبگا", - "اسبد", - "ساب", - "سدب", - "سبا", - "باسد", - "دسب", - "طسد", - "چسد", - "سگ", - "دگاس", - "ساد", - "دسھا", - "باس", - "نان", - "انب", - "ابس", - "ادسگ", - "ابنسد", - "سفد", - "دف", - "بس", - "باسدب", - "باسدبا", - "رعابھ", - "ابسد", - "سب", - "ساد", - "ط", - "اسدبگ", - "اسدگ", - "اھگسد", - "سدگ", - "اسگ", - "شبچ", - "عو", - "سدبگا", - "اسبد", - "ساب", - "سدب", - "سبا", - "باسد", - "دسب", - "طسد", - "چسد", - "سگ", - "دگاس", - "ساد", - "دسھا", - "باس", - "نان", - "انب", - "ابس", - "ادسگ", - "ابنسد", - "سفد", - "دف", - "بس", - "باسدب", - "باسدبا", - "رعابھ", - "ابسد", - "سب", - "ساد", - "ط", - "اسدبگ", - "اسدگ", - "اھگسد", - "سدگ", - "اسگ", - "شبچ", - "عو", - "سدبگا", - "اسبد", - "ساب", - "سدب", - "سبا", - "باسد", - "دسب", - "طسد", - "چسد", - "سگ", - "دگاس", - "ساد", - "دسھا", - "باس", - "نان", - "انب", - "ابس", - "ادسگ", - "ابنسد", - "سفد", - "دف", - "بس", - "باسدب", - "باسدبا", - "رعابھ", - "ابسد", - "سب", - "ساد", - "ط", - "اسدبگ", - "اسدگ", - "اھگسد", - "سدگ", - "اسگ", - "شبچ", - "عو", - "سدبگا", - "اسبد", - "ساب", - "سدب", - "سبا", - "باسد", - "دسب", - "طسد", - "چسد", +module.exports = [ + "سگ", + "دگاس", + "ساد", + "دسھا", + "باس", + "نان", + "انب", + "ابس", + "ادسگ", + "ابنسد", + "سفد", + "دف", + "بس", + "باسدب", + "باسدبا", + "رعابھ", + "ابسد", + "سب", + "ساد", + "ط", + "اسدبگ", + "اسدگ", + "اھگسد", + "سدگ", + "اسگ", + "شبچ", + "عو", + "سدبگا", + "اسبد", + "ساب", + "سدب", + "سبا", + "باسد", + "دسب", + "طسد", + "چسد", + "سگ", + "دگاس", + "ساد", + "دسھا", + "باس", + "نان", + "انب", + "ابس", + "ادسگ", + "ابنسد", + "سفد", + "دف", + "بس", + "باسدب", + "باسدبا", + "رعابھ", + "ابسد", + "سب", + "ساد", + "ط", + "اسدبگ", + "اسدگ", + "اھگسد", + "سدگ", + "اسگ", + "شبچ", + "عو", + "سدبگا", + "اسبد", + "ساب", + "سدب", + "سبا", + "باسد", + "دسب", + "طسد", + "چسد", + "سگ", + "دگاس", + "ساد", + "دسھا", + "باس", + "نان", + "انب", + "ابس", + "ادسگ", + "ابنسد", + "سفد", + "دف", + "بس", + "باسدب", + "باسدبا", + "رعابھ", + "ابسد", + "سب", + "ساد", + "ط", + "اسدبگ", + "اسدگ", + "اھگسد", + "سدگ", + "اسگ", + "شبچ", + "عو", + "سدبگا", + "اسبد", + "ساب", + "سدب", + "سبا", + "باسد", + "دسب", + "طسد", + "چسد", + "سگ", + "دگاس", + "ساد", + "دسھا", + "باس", + "نان", + "انب", + "ابس", + "ادسگ", + "ابنسد", + "سفد", + "دف", + "بس", + "باسدب", + "باسدبا", + "رعابھ", + "ابسد", + "سب", + "ساد", + "ط", + "اسدبگ", + "اسدگ", + "اھگسد", + "سدگ", + "اسگ", + "شبچ", + "عو", + "سدبگا", + "اسبد", + "ساب", + "سدب", + "سبا", + "باسد", + "دسب", + "طسد", + "چسد", + "سگ", + "دگاس", + "ساد", + "دسھا", + "باس", + "نان", + "انب", + "ابس", + "ادسگ", + "ابنسد", + "سفد", + "دف", + "بس", + "باسدب", + "باسدبا", + "رعابھ", + "ابسد", + "سب", + "ساد", + "ط", + "اسدبگ", + "اسدگ", + "اھگسد", + "سدگ", + "اسگ", + "شبچ", + "عو", + "سدبگا", + "اسبد", + "ساب", + "سدب", + "سبا", + "باسد", + "دسب", + "طسد", + "چسد", + "سگ", + "دگاس", + "ساد", + "دسھا", + "باس", + "نان", + "انب", + "ابس", + "ادسگ", + "ابنسد", + "سفد", + "دف", + "بس", + "باسدب", + "باسدبا", + "رعابھ", + "ابسد", + "سب", + "ساد", + "ط", + "اسدبگ", + "اسدگ", + "اھگسد", + "سدگ", + "اسگ", + "شبچ", + "عو", + "سدبگا", + "اسبد", + "ساب", + "سدب", + "سبا", + "باسد", + "دسب", + "طسد", + "چسد", + "سگ", + "دگاس", + "ساد", + "دسھا", + "باس", + "نان", + "انب", + "ابس", + "ادسگ", + "ابنسد", + "سفد", + "دف", + "بس", + "باسدب", + "باسدبا", + "رعابھ", + "ابسد", + "سب", + "ساد", + "ط", + "اسدبگ", + "اسدگ", + "اھگسد", + "سدگ", + "اسگ", + "شبچ", + "عو", + "سدبگا", + "اسبد", + "ساب", + "سدب", + "سبا", + "باسد", + "دسب", + "طسد", + "چسد", + "سگ", + "دگاس", + "ساد", + "دسھا", + "باس", + "نان", + "انب", + "ابس", + "ادسگ", + "ابنسد", + "سفد", + "دف", + "بس", + "باسدب", + "باسدبا", + "رعابھ", + "ابسد", + "سب", + "ساد", + "ط", + "اسداسدھدسبابگ", + "اسدگ", + "اھگسد", + "سدگ", + "اسگ", + "شبچ", + "عو", + "سدبگا", + "اسبد", + "ساب", + "سدب", + "سبادفھناسدھ", + "باسد", + "دسب", + "طسد", + "چسد", + "سگ", + "دگاس", + "ساد", + "دسھا", + "باس", + "نان", + "انب", + "ابس", + "ادسگ", + "ابنسد", + "سفد", + "دف", + "بس", + "باسدب", + "باسدباسدفنباسد", + "رعابھ", + "ابسانفسدد", + "سب", + "ساد", + "ط", + "اسدبگ", + "اسدگ", + "اھگسد", + "سدگ", + "اسگ", + "شبچ", + "عو", + "سدبگا", + "اسبد", + "ساب", + "سدب", + "سندافاھگسدبا", + "باسد", + "دسب", + "طسد", + "چسد", + "سگ", + "دگاس", + "ساد", + "دسھا", + "باس", + "نان", + "انب", + "ابس", + "ادسگ", + "ابنسد", + "ساسدبھ اسدفگبطاسدفد", + "دف", + "بس", + "باسدب", + "باسدبا", + "رعابھ", + "ابسد", + "سب", + "ساد", + "ط", + "اسدبگ", + "اسدگ", + "اھگسد", + "سدطاسدگاسدگ", + "اسگ", + "شبچ", + "عو", + "سدبگا", + "اسبد", + "ساب", + "سدب", + "سبا", + "باسد", + "دسب", + "طسد", + "چاسدسد", + "سگ", + "دگاس", + "ساد", + "دسھا", + "باس", + "نان", + "انب", + "ابس", + "ادسگ", + "ابنسد", + "سفد", + "دف", + "بس", + "باسدب", + "باسدبا", + "رعابھ", + "ابسد", + "سب", + "ساد", + "ط", + "اسدبگ", + "اسدگ", + "اھگسد", + "سدگ", + "اسگ", + "شبچ", + "عو", + "سدبگا", + "اسبد", + "ساب", + "سدب", + "سبا", + "باسد", + "دسب", + "طسد", + "چسد", + "سگ", + "دگاس", + "ساد", + "دسھا", + "باس", + "نان", + "انب", + "ابس", + "ادسگ", + "ابنسد", + "سفد", + "دف", + "بس", + "باسدب", + "باسدبا", + "رعابھ", + "ابسد", + "سب", + "ساد", + "ط", + "اسدبگ", + "اسدگ", + "اھگسد", + "سدگ", + "اسگ", + "شبچ", + "عو", + "سدبگا", + "اسبد", + "ساب", + "سدب", + "سبا", + "باسد", + "دسب", + "طسد", + "چسد", + "سگ", + "دگاس", + "ساد", + "دسھا", + "باس", + "نان", + "انب", + "ابس", + "ادسگ", + "ابنسد", + "سفد", + "دف", + "بس", + "باسدب", + "باسدبا", + "رعابھ", + "ابسد", + "سب", + "ساد", + "ط", + "اسدبگ", + "اسدگ", + "اھگسد", + "سدگ", + "اسگ", + "شبچ", + "عو", + "سدبگا", + "اسبد", + "ساب", + "سدب", + "سبا", + "باسد", + "دسب", + "طسد", + "چسد", + "سگ", + "دگاس", + "ساد", + "دسھا", + "باس", + "نان", + "انب", + "ابس", + "ادسگ", + "ابنسد", + "سفد", + "دف", + "بس", + "باسدب", + "باسدبا", + "رعابھ", + "ابسد", + "سب", + "ساد", + "ط", + "اسدبگ", + "اسدگ", + "اھگسد", + "سدگ", + "اسگ", + "شبچ", + "عو", + "سدبگا", + "اسبد", + "ساب", + "سدب", + "سبا", + "باسد", + "دسب", + "طسد", + "چسد", + "سگ", + "دگاس", + "ساد", + "دسھا", + "باس", + "نان", + "انب", + "ابس", + "ادسگ", + "ابنسد", + "سفد", + "دف", + "بس", + "باسدب", + "باسدبا", + "رعابھ", + "ابسد", + "سب", + "ساد", + "ط", + "اسدبگ", + "اسدگ", + "اھگسد", + "سدگ", + "اسگ", + "شبچ", + "عو", + "سدبگا", + "اسبد", + "ساب", + "سدب", + "سبا", + "باسد", + "دسب", + "طسد", + "چسد", + "سگ", + "دگاس", + "ساد", + "دسھا", + "باس", + "نان", + "انب", + "ابس", + "ادسگ", + "ابنسد", + "سفد", + "دف", + "بس", + "باسدب", + "باسدبا", + "رعابھ", + "ابسد", + "سب", + "ساد", + "ط", + "اسدبگ", + "اسدگ", + "اھگسد", + "سدگ", + "اسگ", + "شبچ", + "عو", + "سدبگا", + "اسبد", + "ساب", + "سدب", + "سبا", + "باسد", + "دسب", + "طسد", + "چسد", + "سگ", + "دگاس", + "ساد", + "دسھا", + "باس", + "نان", + "انب", + "ابس", + "ادسگ", + "ابنسد", + "سفد", + "دف", + "بس", + "باسدب", + "باسدبا", + "رعابھ", + "ابسد", + "سب", + "ساد", + "ط", + "اسدبگ", + "اسدگ", + "اھگسد", + "سدگ", + "اسگ", + "شبچ", + "عو", + "سدبگا", + "اسبد", + "ساب", + "سدب", + "سبا", + "باسد", + "دسب", + "طسد", + "چسد", ]; diff --git a/lib/locales/ur/lorem/words.js b/lib/locales/ur/lorem/words.js index 2df3753c..9347c05c 100644 --- a/lib/locales/ur/lorem/words.js +++ b/lib/locales/ur/lorem/words.js @@ -1,182 +1,182 @@ -module["exports"] = [ - "سگ", - "دگاس", - "ساد", - "دسھا", - "باس", - "نان", - "انب", - "ابس", - "ادسگ", - "ابنسد", - "سفد", - "دف", - "بس", - "باسدب", - "باسدبا", - "رعابھ", - "ابسد", - "سب", - "ساد", - "ط", - "اسدبگ", - "اسدگ", - "اھگسد", - "سدگ", - "اسگ", - "شبچ", - "عو", - "سدبگا", - "اسبد", - "ساب", - "سدب", - "سبا", - "باسد", - "دسب", - "طسد", - "چسد", - "سگ", - "دگاس", - "ساد", - "دسھا", - "باس", - "نان", - "انب", - "ابس", - "ادسگ", - "ابنسد", - "سفد", - "دف", - "بس", - "باسدب", - "باسدبا", - "رعابھ", - "ابسد", - "سب", - "ساد", - "ط", - "اسدبگ", - "اسدگ", - "اھگسد", - "سدگ", - "اسگ", - "شبچ", - "عو", - "سدبگا", - "اسبد", - "ساب", - "سدب", - "سبا", - "باسد", - "دسب", - "طسد", - "چسد", - "سگ", - "دگاس", - "ساد", - "دسھا", - "باس", - "نان", - "انب", - "ابس", - "ادسگ", - "ابنسد", - "سفد", - "دف", - "بس", - "باسدب", - "باسدبا", - "رعابھ", - "ابسد", - "سب", - "ساد", - "ط", - "اسدبگ", - "اسدگ", - "اھگسد", - "سدگ", - "اسگ", - "شبچ", - "عو", - "سدبگا", - "اسبد", - "ساب", - "سدب", - "سبا", - "باسد", - "دسب", - "طسد", - "چسد", - "سگ", - "دگاس", - "ساد", - "دسھا", - "باس", - "نان", - "انب", - "ابس", - "ادسگ", - "ابنسد", - "سفد", - "دف", - "بس", - "باسدب", - "باسدبا", - "رعابھ", - "ابسد", - "سب", - "ساد", - "ط", - "اسدبگ", - "اسدگ", - "اھگسد", - "سدگ", - "اسگ", - "شبچ", - "عو", - "سدبگا", - "اسبد", - "ساب", - "سدب", - "سبا", - "باسد", - "دسب", - "طسد", - "چسد", - "سگ", - "دگاس", - "ساد", - "دسھا", - "باس", - "نان", - "انب", - "ابس", - "ادسگ", - "ابنسد", - "سفد", - "دف", - "بس", - "باسدب", - "باسدبا", - "رعابھ", - "ابسد", - "سب", - "ساد", - "ط", - "اسدبگ", - "اسدگ", - "اھگسد", - "سدگ", - "اسگ", - "شبچ", - "عو", - "سدبگا", - "اسبد", - "ساب", - "سدب", - "سبا", - "باسد", - "دسب", - "طسد", - "چسد", +module.exports = [ + "سگ", + "دگاس", + "ساد", + "دسھا", + "باس", + "نان", + "انب", + "ابس", + "ادسگ", + "ابنسد", + "سفد", + "دف", + "بس", + "باسدب", + "باسدبا", + "رعابھ", + "ابسد", + "سب", + "ساد", + "ط", + "اسدبگ", + "اسدگ", + "اھگسد", + "سدگ", + "اسگ", + "شبچ", + "عو", + "سدبگا", + "اسبد", + "ساب", + "سدب", + "سبا", + "باسد", + "دسب", + "طسد", + "چسد", + "سگ", + "دگاس", + "ساد", + "دسھا", + "باس", + "نان", + "انب", + "ابس", + "ادسگ", + "ابنسد", + "سفد", + "دف", + "بس", + "باسدب", + "باسدبا", + "رعابھ", + "ابسد", + "سب", + "ساد", + "ط", + "اسدبگ", + "اسدگ", + "اھگسد", + "سدگ", + "اسگ", + "شبچ", + "عو", + "سدبگا", + "اسبد", + "ساب", + "سدب", + "سبا", + "باسد", + "دسب", + "طسد", + "چسد", + "سگ", + "دگاس", + "ساد", + "دسھا", + "باس", + "نان", + "انب", + "ابس", + "ادسگ", + "ابنسد", + "سفد", + "دف", + "بس", + "باسدب", + "باسدبا", + "رعابھ", + "ابسد", + "سب", + "ساد", + "ط", + "اسدبگ", + "اسدگ", + "اھگسد", + "سدگ", + "اسگ", + "شبچ", + "عو", + "سدبگا", + "اسبد", + "ساب", + "سدب", + "سبا", + "باسد", + "دسب", + "طسد", + "چسد", + "سگ", + "دگاس", + "ساد", + "دسھا", + "باس", + "نان", + "انب", + "ابس", + "ادسگ", + "ابنسد", + "سفد", + "دف", + "بس", + "باسدب", + "باسدبا", + "رعابھ", + "ابسد", + "سب", + "ساد", + "ط", + "اسدبگ", + "اسدگ", + "اھگسد", + "سدگ", + "اسگ", + "شبچ", + "عو", + "سدبگا", + "اسبد", + "ساب", + "سدب", + "سبا", + "باسد", + "دسب", + "طسد", + "چسد", + "سگ", + "دگاس", + "ساد", + "دسھا", + "باس", + "نان", + "انب", + "ابس", + "ادسگ", + "ابنسد", + "سفد", + "دف", + "بس", + "باسدب", + "باسدبا", + "رعابھ", + "ابسد", + "سب", + "ساد", + "ط", + "اسدبگ", + "اسدگ", + "اھگسد", + "سدگ", + "اسگ", + "شبچ", + "عو", + "سدبگا", + "اسبد", + "ساب", + "سدب", + "سبا", + "باسد", + "دسب", + "طسد", + "چسد", ]; diff --git a/lib/locales/ur/music/genre.js b/lib/locales/ur/music/genre.js index 4491b818..bb33a0fa 100644 --- a/lib/locales/ur/music/genre.js +++ b/lib/locales/ur/music/genre.js @@ -1,11 +1,11 @@ -module["exports"] = [ - "پاپ", - "فلک", - "دنیایٰ", - "جاز", - "فنک", - "کلاسکی", - "لاطینی", - "پرانی", - "ریپ", +module.exports = [ + "پاپ", + "فلک", + "دنیایٰ", + "جاز", + "فنک", + "کلاسکی", + "لاطینی", + "پرانی", + "ریپ", ]; diff --git a/lib/locales/ur/name/binary_gender.js b/lib/locales/ur/name/binary_gender.js index a17483ff..94148e2e 100644 --- a/lib/locales/ur/name/binary_gender.js +++ b/lib/locales/ur/name/binary_gender.js @@ -1 +1 @@ -module["exports"] = ["عورت", "مرد"]; +module.exports = ["عورت", "مرد"]; diff --git a/lib/locales/ur/name/index.js b/lib/locales/ur/name/index.js index 232eb406..05cc1e60 100644 --- a/lib/locales/ur/name/index.js +++ b/lib/locales/ur/name/index.js @@ -1,5 +1,5 @@ -const name = {}; -module["exports"] = name; +var name = {}; +module.exports = name; name.male_first_name = require("./male_first_name"); name.female_first_name = require("./female_first_name"); name.first_name = require("./first_name"); diff --git a/lib/locales/ur/name/prefix.js b/lib/locales/ur/name/prefix.js index 0637c2f2..1c7b2dc7 100644 --- a/lib/locales/ur/name/prefix.js +++ b/lib/locales/ur/name/prefix.js @@ -1 +1 @@ -module["exports"] = ["محترم.", "محترمہ.", "ڈاکٹر"]; +module.exports = ["محترم.", "محترمہ.", "ڈاکٹر"]; diff --git a/lib/locales/ur/team/name.js b/lib/locales/ur/team/name.js index bded21a9..80da3c5f 100644 --- a/lib/locales/ur/team/name.js +++ b/lib/locales/ur/team/name.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "#{Address.state} #{creature}" ]; diff --git a/lib/locales/ur/vehicle/bicycle.js b/lib/locales/ur/vehicle/bicycle.js index aa356d7f..aa8956ca 100644 --- a/lib/locales/ur/vehicle/bicycle.js +++ b/lib/locales/ur/vehicle/bicycle.js @@ -1 +1 @@ -module["exports"] = ["سہراب سائکل", "چائنہ سائکل"]; +module.exports = ["سہراب سائکل", "چائنہ سائکل"]; diff --git a/lib/locales/ur/vehicle/fuel.js b/lib/locales/ur/vehicle/fuel.js index a4122069..f37b8f8c 100644 --- a/lib/locales/ur/vehicle/fuel.js +++ b/lib/locales/ur/vehicle/fuel.js @@ -1 +1 @@ -module["exports"] = ["ڈیزل", "بجلی", "پیٹرول", "شمسی"]; +module.exports = ["ڈیزل", "بجلی", "پیٹرول", "شمسی"]; diff --git a/lib/locales/ur/vehicle/index.js b/lib/locales/ur/vehicle/index.js index cfe5b8a0..90bc7f1d 100644 --- a/lib/locales/ur/vehicle/index.js +++ b/lib/locales/ur/vehicle/index.js @@ -1,5 +1,5 @@ -const vehicle = {}; -module["exports"] = vehicle; +var vehicle = {}; +module.exports = vehicle; vehicle.manufacturer = require("./manufacturer"); vehicle.model = require("./model"); vehicle.type = require("./vehicle_type"); diff --git a/lib/locales/ur/vehicle/model.js b/lib/locales/ur/vehicle/model.js index 94e96298..c44949a8 100644 --- a/lib/locales/ur/vehicle/model.js +++ b/lib/locales/ur/vehicle/model.js @@ -1 +1 @@ -module["exports"] = ["کرولا", "اکورڈ", "سوک"]; +module.exports = ["کرولا", "اکورڈ", "سوک"]; diff --git a/lib/locales/vi/address/city.js b/lib/locales/vi/address/city.js index b606a643..a574d509 100644 --- a/lib/locales/vi/address/city.js +++ b/lib/locales/vi/address/city.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "#{city_root}" ]; diff --git a/lib/locales/vi/address/city_root.js b/lib/locales/vi/address/city_root.js index 8bf56ea2..17203024 100644 --- a/lib/locales/vi/address/city_root.js +++ b/lib/locales/vi/address/city_root.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "An Giang", "Bà Rịa-Vũng Tàu", "Bạc Liêu", diff --git a/lib/locales/vi/address/country.js b/lib/locales/vi/address/country.js index e7bd4709..9da301a8 100644 --- a/lib/locales/vi/address/country.js +++ b/lib/locales/vi/address/country.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Afghanistan", "Ai Cập", "Albania", diff --git a/lib/locales/vi/address/default_country.js b/lib/locales/vi/address/default_country.js index d5e9a005..afeb80b1 100644 --- a/lib/locales/vi/address/default_country.js +++ b/lib/locales/vi/address/default_country.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "Việt Nam" ]; diff --git a/lib/locales/vi/address/postcode.js b/lib/locales/vi/address/postcode.js index 43599e57..097f7352 100644 --- a/lib/locales/vi/address/postcode.js +++ b/lib/locales/vi/address/postcode.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "#####" ]; diff --git a/lib/locales/vi/cell_phone/formats.js b/lib/locales/vi/cell_phone/formats.js index ecb7c41e..8078da2a 100644 --- a/lib/locales/vi/cell_phone/formats.js +++ b/lib/locales/vi/cell_phone/formats.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "03# ### ####", "05# ### ####", "07# ### ####", diff --git a/lib/locales/vi/company/name.js b/lib/locales/vi/company/name.js index af5470fd..d9f739b6 100644 --- a/lib/locales/vi/company/name.js +++ b/lib/locales/vi/company/name.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "#{prefix} #{Name.last_name}" ]; diff --git a/lib/locales/vi/company/prefix.js b/lib/locales/vi/company/prefix.js index cbb5ed4e..6e9afeaf 100644 --- a/lib/locales/vi/company/prefix.js +++ b/lib/locales/vi/company/prefix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Công ty", "Cty TNHH", "Cty", diff --git a/lib/locales/vi/date/index.js b/lib/locales/vi/date/index.js index e53e73ee..f95b1507 100644 --- a/lib/locales/vi/date/index.js +++ b/lib/locales/vi/date/index.js @@ -1,4 +1,4 @@ -const date = {}; -module["exports"] = date; +var date = {}; +module.exports = date; date.month = require("./month"); date.weekday = require("./weekday"); diff --git a/lib/locales/vi/date/month.js b/lib/locales/vi/date/month.js index 9f3cb1c6..1e594adb 100644 --- a/lib/locales/vi/date/month.js +++ b/lib/locales/vi/date/month.js @@ -1,5 +1,5 @@ // Source: http://unicode.org/cldr/trac/browser/tags/release-27/common/main/en.xml#L1799 -module["exports"] = { +module.exports = { wide: [ "Tháng Giêng", "Tháng Hai", diff --git a/lib/locales/vi/date/weekday.js b/lib/locales/vi/date/weekday.js index 18eeca76..9086ee18 100644 --- a/lib/locales/vi/date/weekday.js +++ b/lib/locales/vi/date/weekday.js @@ -1,5 +1,5 @@ // Source: http://unicode.org/cldr/trac/browser/tags/release-27/common/main/en.xml#L1847 -module["exports"] = { +module.exports = { wide: [ "Chủ nhật", "Thứ hai", diff --git a/lib/locales/vi/internet/domain_suffix.js b/lib/locales/vi/internet/domain_suffix.js index fb7f01aa..9500744f 100644 --- a/lib/locales/vi/internet/domain_suffix.js +++ b/lib/locales/vi/internet/domain_suffix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "com", "net", "info", diff --git a/lib/locales/vi/lorem/words.js b/lib/locales/vi/lorem/words.js index 75335d64..a42b97fc 100644 --- a/lib/locales/vi/lorem/words.js +++ b/lib/locales/vi/lorem/words.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "đã", "đang", "ừ", diff --git a/lib/locales/vi/name/last_name.js b/lib/locales/vi/name/last_name.js index 4d92e6d5..7b5c2f35 100644 --- a/lib/locales/vi/name/last_name.js +++ b/lib/locales/vi/name/last_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Phạm", "Nguyễn", "Trần", diff --git a/lib/locales/vi/name/name.js b/lib/locales/vi/name/name.js index 3724fd93..acb9dc29 100644 --- a/lib/locales/vi/name/name.js +++ b/lib/locales/vi/name/name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "#{male_first_name} #{last_name}", "#{female_first_name} #{last_name}", "#{first_name} #{last_name}", diff --git a/lib/locales/vi/phone_number/formats.js b/lib/locales/vi/phone_number/formats.js index 69b372ea..da20d4ab 100644 --- a/lib/locales/vi/phone_number/formats.js +++ b/lib/locales/vi/phone_number/formats.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "02# #### ####", "02## #### ####" ]; diff --git a/lib/locales/zh_CN/address/building_number.js b/lib/locales/zh_CN/address/building_number.js index 03a9bc8d..50a41450 100644 --- a/lib/locales/zh_CN/address/building_number.js +++ b/lib/locales/zh_CN/address/building_number.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "#####", "####", "###", diff --git a/lib/locales/zh_CN/address/city.js b/lib/locales/zh_CN/address/city.js index a5c0f3c3..f6245071 100644 --- a/lib/locales/zh_CN/address/city.js +++ b/lib/locales/zh_CN/address/city.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "#{city_prefix}#{city_suffix}" ]; diff --git a/lib/locales/zh_CN/address/city_prefix.js b/lib/locales/zh_CN/address/city_prefix.js index a7ac22b0..5d20fd44 100644 --- a/lib/locales/zh_CN/address/city_prefix.js +++ b/lib/locales/zh_CN/address/city_prefix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "长", "上", "南", diff --git a/lib/locales/zh_CN/address/city_suffix.js b/lib/locales/zh_CN/address/city_suffix.js index 2968146b..99fafceb 100644 --- a/lib/locales/zh_CN/address/city_suffix.js +++ b/lib/locales/zh_CN/address/city_suffix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "沙市", "京市", "宁市", diff --git a/lib/locales/zh_CN/address/default_country.js b/lib/locales/zh_CN/address/default_country.js index 2c21dc24..6cb5b55c 100644 --- a/lib/locales/zh_CN/address/default_country.js +++ b/lib/locales/zh_CN/address/default_country.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "中国" ]; diff --git a/lib/locales/zh_CN/address/postcode.js b/lib/locales/zh_CN/address/postcode.js index f104743a..3bab089a 100644 --- a/lib/locales/zh_CN/address/postcode.js +++ b/lib/locales/zh_CN/address/postcode.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "######" ]; diff --git a/lib/locales/zh_CN/address/state.js b/lib/locales/zh_CN/address/state.js index 6a590309..0d1350c7 100644 --- a/lib/locales/zh_CN/address/state.js +++ b/lib/locales/zh_CN/address/state.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "北京市", "上海市", "天津市", diff --git a/lib/locales/zh_CN/address/state_abbr.js b/lib/locales/zh_CN/address/state_abbr.js index ff33aa17..6bbf40f0 100644 --- a/lib/locales/zh_CN/address/state_abbr.js +++ b/lib/locales/zh_CN/address/state_abbr.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "京", "沪", "津", diff --git a/lib/locales/zh_CN/address/street_address.js b/lib/locales/zh_CN/address/street_address.js index c54eee16..a89f3047 100644 --- a/lib/locales/zh_CN/address/street_address.js +++ b/lib/locales/zh_CN/address/street_address.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "#{street_name}#{building_number}号" ]; diff --git a/lib/locales/zh_CN/address/street_name.js b/lib/locales/zh_CN/address/street_name.js index 148689f6..01d255ae 100644 --- a/lib/locales/zh_CN/address/street_name.js +++ b/lib/locales/zh_CN/address/street_name.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "#{Name.last_name}#{street_suffix}" ]; diff --git a/lib/locales/zh_CN/address/street_suffix.js b/lib/locales/zh_CN/address/street_suffix.js index 88d1e65c..8b637b32 100644 --- a/lib/locales/zh_CN/address/street_suffix.js +++ b/lib/locales/zh_CN/address/street_suffix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "巷", "街", "路", diff --git a/lib/locales/zh_CN/name/first_name.js b/lib/locales/zh_CN/name/first_name.js index eebd2199..e0b49ce9 100644 --- a/lib/locales/zh_CN/name/first_name.js +++ b/lib/locales/zh_CN/name/first_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "绍齐", "博文", "梓晨", diff --git a/lib/locales/zh_CN/name/last_name.js b/lib/locales/zh_CN/name/last_name.js index 0f3897b3..38d1d239 100644 --- a/lib/locales/zh_CN/name/last_name.js +++ b/lib/locales/zh_CN/name/last_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "王", "李", "张", diff --git a/lib/locales/zh_CN/name/name.js b/lib/locales/zh_CN/name/name.js index 8c711583..0e6a41f4 100644 --- a/lib/locales/zh_CN/name/name.js +++ b/lib/locales/zh_CN/name/name.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "#{first_name}#{last_name}" ]; diff --git a/lib/locales/zh_CN/phone_number/formats.js b/lib/locales/zh_CN/phone_number/formats.js index 3f74f9a9..6328db0e 100644 --- a/lib/locales/zh_CN/phone_number/formats.js +++ b/lib/locales/zh_CN/phone_number/formats.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "0##-########", "0###-########", "1##########" diff --git a/lib/locales/zh_TW/address/building_number.js b/lib/locales/zh_TW/address/building_number.js index c4716c4d..d3b609f3 100644 --- a/lib/locales/zh_TW/address/building_number.js +++ b/lib/locales/zh_TW/address/building_number.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "####", "###", "##", diff --git a/lib/locales/zh_TW/address/city.js b/lib/locales/zh_TW/address/city.js index a5c0f3c3..f6245071 100644 --- a/lib/locales/zh_TW/address/city.js +++ b/lib/locales/zh_TW/address/city.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "#{city_prefix}#{city_suffix}" ]; diff --git a/lib/locales/zh_TW/address/city_prefix.js b/lib/locales/zh_TW/address/city_prefix.js index aeefb6e9..49415bb6 100644 --- a/lib/locales/zh_TW/address/city_prefix.js +++ b/lib/locales/zh_TW/address/city_prefix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "臺北", "新北", "桃園", diff --git a/lib/locales/zh_TW/address/city_suffix.js b/lib/locales/zh_TW/address/city_suffix.js index ccf8dc38..3a06ec1c 100644 --- a/lib/locales/zh_TW/address/city_suffix.js +++ b/lib/locales/zh_TW/address/city_suffix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "縣", "市" ]; diff --git a/lib/locales/zh_TW/address/default_country.js b/lib/locales/zh_TW/address/default_country.js index d65d75dc..42ed37d4 100644 --- a/lib/locales/zh_TW/address/default_country.js +++ b/lib/locales/zh_TW/address/default_country.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "Taiwan (R.O.C.)" ]; diff --git a/lib/locales/zh_TW/address/postcode.js b/lib/locales/zh_TW/address/postcode.js index f104743a..3bab089a 100644 --- a/lib/locales/zh_TW/address/postcode.js +++ b/lib/locales/zh_TW/address/postcode.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "######" ]; diff --git a/lib/locales/zh_TW/address/state.js b/lib/locales/zh_TW/address/state.js index 2970dfcd..2ba2ff12 100644 --- a/lib/locales/zh_TW/address/state.js +++ b/lib/locales/zh_TW/address/state.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "福建省", "台灣省" ]; diff --git a/lib/locales/zh_TW/address/state_abbr.js b/lib/locales/zh_TW/address/state_abbr.js index b646669d..d45f879f 100644 --- a/lib/locales/zh_TW/address/state_abbr.js +++ b/lib/locales/zh_TW/address/state_abbr.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "北", "新北", "桃", diff --git a/lib/locales/zh_TW/address/street_address.js b/lib/locales/zh_TW/address/street_address.js index 78da1023..df883ce4 100644 --- a/lib/locales/zh_TW/address/street_address.js +++ b/lib/locales/zh_TW/address/street_address.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "#{street_name}#{building_number}號" ]; diff --git a/lib/locales/zh_TW/address/street_name.js b/lib/locales/zh_TW/address/street_name.js index 148689f6..01d255ae 100644 --- a/lib/locales/zh_TW/address/street_name.js +++ b/lib/locales/zh_TW/address/street_name.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "#{Name.last_name}#{street_suffix}" ]; diff --git a/lib/locales/zh_TW/address/street_suffix.js b/lib/locales/zh_TW/address/street_suffix.js index 322565a2..aeb0435c 100644 --- a/lib/locales/zh_TW/address/street_suffix.js +++ b/lib/locales/zh_TW/address/street_suffix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "街", "路", "北路", diff --git a/lib/locales/zh_TW/name/first_name.js b/lib/locales/zh_TW/name/first_name.js index ca1c0273..fee77789 100644 --- a/lib/locales/zh_TW/name/first_name.js +++ b/lib/locales/zh_TW/name/first_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "紹齊", "博文", "梓晨", diff --git a/lib/locales/zh_TW/name/last_name.js b/lib/locales/zh_TW/name/last_name.js index 55675aca..62c45335 100644 --- a/lib/locales/zh_TW/name/last_name.js +++ b/lib/locales/zh_TW/name/last_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "王", "李", "張", diff --git a/lib/locales/zh_TW/name/name.js b/lib/locales/zh_TW/name/name.js index 8c711583..0e6a41f4 100644 --- a/lib/locales/zh_TW/name/name.js +++ b/lib/locales/zh_TW/name/name.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "#{first_name}#{last_name}" ]; diff --git a/lib/locales/zh_TW/phone_number/formats.js b/lib/locales/zh_TW/phone_number/formats.js index 2b80156e..89c8d916 100644 --- a/lib/locales/zh_TW/phone_number/formats.js +++ b/lib/locales/zh_TW/phone_number/formats.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "0#-#######", "02-########", "09##-######" diff --git a/lib/locales/zu_ZA/address/default_country.js b/lib/locales/zu_ZA/address/default_country.js index a31d7565..463d817b 100644 --- a/lib/locales/zu_ZA/address/default_country.js +++ b/lib/locales/zu_ZA/address/default_country.js @@ -1,3 +1,3 @@ -module["exports"] = [ +module.exports = [ "South Africa" ]; diff --git a/lib/locales/zu_ZA/address/postcode.js b/lib/locales/zu_ZA/address/postcode.js index a437640e..f6b61f85 100644 --- a/lib/locales/zu_ZA/address/postcode.js +++ b/lib/locales/zu_ZA/address/postcode.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "#####", "####" ]; diff --git a/lib/locales/zu_ZA/cell_phone/formats.js b/lib/locales/zu_ZA/cell_phone/formats.js index f0f561fd..64d18210 100644 --- a/lib/locales/zu_ZA/cell_phone/formats.js +++ b/lib/locales/zu_ZA/cell_phone/formats.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "082 ### ####", "084 ### ####", "083 ### ####", diff --git a/lib/locales/zu_ZA/company/suffix.js b/lib/locales/zu_ZA/company/suffix.js index f7163b89..932b5f9d 100644 --- a/lib/locales/zu_ZA/company/suffix.js +++ b/lib/locales/zu_ZA/company/suffix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Pty Ltd", "Ltd", "CC" diff --git a/lib/locales/zu_ZA/internet/domain_suffix.js b/lib/locales/zu_ZA/internet/domain_suffix.js index 66ac6364..5fc34aba 100644 --- a/lib/locales/zu_ZA/internet/domain_suffix.js +++ b/lib/locales/zu_ZA/internet/domain_suffix.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "co.za", "com", "org.za", diff --git a/lib/locales/zu_ZA/name/female_first_name.js b/lib/locales/zu_ZA/name/female_first_name.js index 7d60f74f..d9c98c9d 100644 --- a/lib/locales/zu_ZA/name/female_first_name.js +++ b/lib/locales/zu_ZA/name/female_first_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Ayanda", "Uluthando", "Nofoto", diff --git a/lib/locales/zu_ZA/name/first_name.js b/lib/locales/zu_ZA/name/first_name.js index f8fcff16..06ca04ef 100644 --- a/lib/locales/zu_ZA/name/first_name.js +++ b/lib/locales/zu_ZA/name/first_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Ayanda", "Uluthando", "Nofoto", diff --git a/lib/locales/zu_ZA/name/last_name.js b/lib/locales/zu_ZA/name/last_name.js index 6f261958..e1762325 100644 --- a/lib/locales/zu_ZA/name/last_name.js +++ b/lib/locales/zu_ZA/name/last_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Bengu", "Bhengu", "Buthelezi", diff --git a/lib/locales/zu_ZA/name/male_first_name.js b/lib/locales/zu_ZA/name/male_first_name.js index ed7ff96b..763e8519 100644 --- a/lib/locales/zu_ZA/name/male_first_name.js +++ b/lib/locales/zu_ZA/name/male_first_name.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "Bonginkosi", "Kagiso", "Bhekizizwe", diff --git a/lib/locales/zu_ZA/phone_number/formats.js b/lib/locales/zu_ZA/phone_number/formats.js index e33e5cbc..702d1617 100644 --- a/lib/locales/zu_ZA/phone_number/formats.js +++ b/lib/locales/zu_ZA/phone_number/formats.js @@ -1,4 +1,4 @@ -module["exports"] = [ +module.exports = [ "01# ### #####", "02# ### #####", "03# ### #####", diff --git a/lib/lorem.js b/lib/lorem.js index 3f23f66f..415fbcd7 100644 --- a/lib/lorem.js +++ b/lib/lorem.js @@ -167,4 +167,4 @@ const Lorem = function (blaver) { return self; }; -module["exports"] = Lorem; +module.exports = Lorem; diff --git a/lib/music.js b/lib/music.js index f7b79c31..d61a8931 100644 --- a/lib/music.js +++ b/lib/music.js @@ -19,4 +19,4 @@ const Music = function (blaver) { }; }; -module["exports"] = Music; +module.exports = Music; diff --git a/lib/name.js b/lib/name.js index 4b2a24e9..76b70aa8 100644 --- a/lib/name.js +++ b/lib/name.js @@ -277,4 +277,4 @@ function Name(blaver) { }; } -module["exports"] = Name; +module.exports = Name; diff --git a/lib/phone_number.js b/lib/phone_number.js index 08b596c6..1e32d357 100644 --- a/lib/phone_number.js +++ b/lib/phone_number.js @@ -46,4 +46,4 @@ const Phone = function (blaver) { return self; }; -module["exports"] = Phone; +module.exports = Phone; diff --git a/lib/random.js b/lib/random.js index 371ac1d8..21c6aade 100644 --- a/lib/random.js +++ b/lib/random.js @@ -376,4 +376,4 @@ function Random(blaver, seed) { return this; } -module["exports"] = Random; +module.exports = Random; diff --git a/lib/system.js b/lib/system.js index fe761896..bfe8beea 100644 --- a/lib/system.js +++ b/lib/system.js @@ -206,4 +206,4 @@ function System(blaver) { }; } -module["exports"] = System; +module.exports = System; diff --git a/lib/time.js b/lib/time.js index 30fb7271..732ea780 100644 --- a/lib/time.js +++ b/lib/time.js @@ -34,4 +34,4 @@ const _Time = function (blaver) { return self; }; -module["exports"] = _Time; +module.exports = _Time; diff --git a/lib/unique.js b/lib/unique.js index 7eceb057..30cf21c6 100644 --- a/lib/unique.js +++ b/lib/unique.js @@ -34,4 +34,4 @@ function Unique(blaver) { }; } -module["exports"] = Unique; +module.exports = Unique; diff --git a/lib/vehicle.js b/lib/vehicle.js index 127fb96b..fbb4f0d0 100644 --- a/lib/vehicle.js +++ b/lib/vehicle.js @@ -163,4 +163,4 @@ const Vehicle = function (blaver) { }; }; -module["exports"] = Vehicle; +module.exports = Vehicle; diff --git a/lib/word.js b/lib/word.js index 5371f27a..da211c3a 100644 --- a/lib/word.js +++ b/lib/word.js @@ -174,4 +174,4 @@ const Word = function (blaver) { return self; }; -module["exports"] = Word; +module.exports = Word; diff --git a/locale/af_ZA.js b/locale/af_ZA.js index 7a3e5435..a46fb115 100644 --- a/locale/af_ZA.js +++ b/locale/af_ZA.js @@ -2,4 +2,4 @@ const Blaver = require("../lib"); const blaver = new Blaver({ locale: "af_ZA", localeFallback: "en" }); blaver.locales["af_ZA"] = require("../lib/locales/af_ZA"); blaver.locales["en"] = require("../lib/locales/en"); -module["exports"] = blaver; +module.exports = blaver; diff --git a/locale/ar.js b/locale/ar.js index 20c71135..07fa1f1a 100644 --- a/locale/ar.js +++ b/locale/ar.js @@ -2,4 +2,4 @@ const Blaver = require("../lib"); const blaver = new Blaver({ locale: "ar", localeFallback: "en" }); blaver.locales["ar"] = require("../lib/locales/ar"); blaver.locales["en"] = require("../lib/locales/en"); -module["exports"] = blaver; +module.exports = blaver; diff --git a/locale/az.js b/locale/az.js index fe68f650..447ab494 100644 --- a/locale/az.js +++ b/locale/az.js @@ -2,4 +2,4 @@ const Blaver = require("../lib"); const blaver = new Blaver({ locale: "az", localeFallback: "en" }); blaver.locales["az"] = require("../lib/locales/az"); blaver.locales["en"] = require("../lib/locales/en"); -module["exports"] = blaver; +module.exports = blaver; diff --git a/locale/cz.js b/locale/cz.js index d56f0098..08bea24f 100644 --- a/locale/cz.js +++ b/locale/cz.js @@ -2,4 +2,4 @@ const Blaver = require("../lib"); const blaver = new Blaver({ locale: "cz", localeFallback: "en" }); blaver.locales["cz"] = require("../lib/locales/cz"); blaver.locales["en"] = require("../lib/locales/en"); -module["exports"] = blaver; +module.exports = blaver; diff --git a/locale/de.js b/locale/de.js index c7793156..0f0c860f 100644 --- a/locale/de.js +++ b/locale/de.js @@ -2,4 +2,4 @@ const Blaver = require("../lib"); const blaver = new Blaver({ locale: "de", localeFallback: "en" }); blaver.locales["de"] = require("../lib/locales/de"); blaver.locales["en"] = require("../lib/locales/en"); -module["exports"] = blaver; +module.exports = blaver; diff --git a/locale/de_AT.js b/locale/de_AT.js index dde69239..3d73ea37 100644 --- a/locale/de_AT.js +++ b/locale/de_AT.js @@ -2,4 +2,4 @@ const Blaver = require("../lib"); const blaver = new Blaver({ locale: "de_AT", localeFallback: "en" }); blaver.locales["de_AT"] = require("../lib/locales/de_AT"); blaver.locales["en"] = require("../lib/locales/en"); -module["exports"] = blaver; +module.exports = blaver; diff --git a/locale/de_CH.js b/locale/de_CH.js index c4227e78..2aab48ce 100644 --- a/locale/de_CH.js +++ b/locale/de_CH.js @@ -2,4 +2,4 @@ const Blaver = require("../lib"); const blaver = new Blaver({ locale: "de_CH", localeFallback: "en" }); blaver.locales["de_CH"] = require("../lib/locales/de_CH"); blaver.locales["en"] = require("../lib/locales/en"); -module["exports"] = blaver; +module.exports = blaver; diff --git a/locale/el.js b/locale/el.js index 662d802a..b456bd7a 100644 --- a/locale/el.js +++ b/locale/el.js @@ -2,4 +2,4 @@ const Blaver = require("../lib"); const blaver = new Blaver({ locale: "el", localeFallback: "en" }); blaver.locales["el"] = require("../lib/locales/el"); blaver.locales["en"] = require("../lib/locales/en"); -module["exports"] = blaver; +module.exports = blaver; diff --git a/locale/en.js b/locale/en.js index 46e55477..824f2d99 100644 --- a/locale/en.js +++ b/locale/en.js @@ -1,4 +1,4 @@ const Blaver = require("../lib"); const blaver = new Blaver({ locale: "en", localeFallback: "en" }); blaver.locales["en"] = require("../lib/locales/en"); -module["exports"] = blaver; +module.exports = blaver; diff --git a/locale/en_AU.js b/locale/en_AU.js index 91654f04..6fcf0703 100644 --- a/locale/en_AU.js +++ b/locale/en_AU.js @@ -2,4 +2,4 @@ const Blaver = require("../lib"); const blaver = new Blaver({ locale: "en_AU", localeFallback: "en" }); blaver.locales["en_AU"] = require("../lib/locales/en_AU"); blaver.locales["en"] = require("../lib/locales/en"); -module["exports"] = blaver; +module.exports = blaver; diff --git a/locale/en_AU_ocker.js b/locale/en_AU_ocker.js index b7d25392..12ebfdd1 100644 --- a/locale/en_AU_ocker.js +++ b/locale/en_AU_ocker.js @@ -5,4 +5,4 @@ const blaver = new Blaver({ }); blaver.locales["en_AU_ocker"] = require("../lib/locales/en_AU_ocker"); blaver.locales["en"] = require("../lib/locales/en"); -module["exports"] = blaver; +module.exports = blaver; diff --git a/locale/en_BORK.js b/locale/en_BORK.js index 5c5b8d25..be213f8e 100644 --- a/locale/en_BORK.js +++ b/locale/en_BORK.js @@ -2,4 +2,4 @@ const Blaver = require("../lib"); const blaver = new Blaver({ locale: "en_BORK", localeFallback: "en" }); blaver.locales["en_BORK"] = require("../lib/locales/en_BORK"); blaver.locales["en"] = require("../lib/locales/en"); -module["exports"] = blaver; +module.exports = blaver; diff --git a/locale/en_CA.js b/locale/en_CA.js index d544a65e..ce3240f9 100644 --- a/locale/en_CA.js +++ b/locale/en_CA.js @@ -2,4 +2,4 @@ const Blaver = require("../lib"); const blaver = new Blaver({ locale: "en_CA", localeFallback: "en" }); blaver.locales["en_CA"] = require("../lib/locales/en_CA"); blaver.locales["en"] = require("../lib/locales/en"); -module["exports"] = blaver; +module.exports = blaver; diff --git a/locale/en_GB.js b/locale/en_GB.js index ccadf94b..6e3250f2 100644 --- a/locale/en_GB.js +++ b/locale/en_GB.js @@ -2,4 +2,4 @@ const Blaver = require("../lib"); const blaver = new Blaver({ locale: "en_GB", localeFallback: "en" }); blaver.locales["en_GB"] = require("../lib/locales/en_GB"); blaver.locales["en"] = require("../lib/locales/en"); -module["exports"] = blaver; +module.exports = blaver; diff --git a/locale/en_GH.js b/locale/en_GH.js index 353f40dc..1839f2ff 100644 --- a/locale/en_GH.js +++ b/locale/en_GH.js @@ -2,4 +2,4 @@ const Blaver = require("../lib"); const blaver = new Blaver({ locale: "en_GH", localeFallback: "en" }); blaver.locales["en_GH"] = require("../lib/locales/en_GH"); blaver.locales["en"] = require("../lib/locales/en"); -module["exports"] = blaver; +module.exports = blaver; diff --git a/locale/en_IE.js b/locale/en_IE.js index 871b26c4..64ceeb01 100644 --- a/locale/en_IE.js +++ b/locale/en_IE.js @@ -2,4 +2,4 @@ const Blaver = require("../lib"); const blaver = new Blaver({ locale: "en_IE", localeFallback: "en" }); blaver.locales["en_IE"] = require("../lib/locales/en_IE"); blaver.locales["en"] = require("../lib/locales/en"); -module["exports"] = blaver; +module.exports = blaver; diff --git a/locale/en_IND.js b/locale/en_IND.js index 2e1348ab..32f9fb08 100644 --- a/locale/en_IND.js +++ b/locale/en_IND.js @@ -2,4 +2,4 @@ const Blaver = require("../lib"); const blaver = new Blaver({ locale: "en_IND", localeFallback: "en" }); blaver.locales["en_IND"] = require("../lib/locales/en_IND"); blaver.locales["en"] = require("../lib/locales/en"); -module["exports"] = blaver; +module.exports = blaver; diff --git a/locale/en_NG.js b/locale/en_NG.js index 742c223e..214f1335 100644 --- a/locale/en_NG.js +++ b/locale/en_NG.js @@ -2,4 +2,4 @@ const Blaver = require("../lib"); const blaver = new Blaver({ locale: "en_NG", localeFallback: "en" }); blaver.locales["en_NG"] = require("../lib/locales/en_NG"); blaver.locales["en"] = require("../lib/locales/en"); -module["exports"] = blaver; +module.exports = blaver; diff --git a/locale/en_US.js b/locale/en_US.js index 0108a192..94d89328 100644 --- a/locale/en_US.js +++ b/locale/en_US.js @@ -2,4 +2,4 @@ const Blaver = require("../lib"); const blaver = new Blaver({ locale: "en_US", localeFallback: "en" }); blaver.locales["en_US"] = require("../lib/locales/en_US"); blaver.locales["en"] = require("../lib/locales/en"); -module["exports"] = blaver; +module.exports = blaver; diff --git a/locale/en_ZA.js b/locale/en_ZA.js index 0919ecfa..10382e56 100644 --- a/locale/en_ZA.js +++ b/locale/en_ZA.js @@ -2,4 +2,4 @@ const Blaver = require("../lib"); const blaver = new Blaver({ locale: "en_ZA", localeFallback: "en" }); blaver.locales["en_ZA"] = require("../lib/locales/en_ZA"); blaver.locales["en"] = require("../lib/locales/en"); -module["exports"] = blaver; +module.exports = blaver; diff --git a/locale/es.js b/locale/es.js index fa675647..a283447a 100644 --- a/locale/es.js +++ b/locale/es.js @@ -2,4 +2,4 @@ const Blaver = require("../lib"); const blaver = new Blaver({ locale: "es", localeFallback: "en" }); blaver.locales["es"] = require("../lib/locales/es"); blaver.locales["en"] = require("../lib/locales/en"); -module["exports"] = blaver; +module.exports = blaver; diff --git a/locale/es_MX.js b/locale/es_MX.js index c789bef8..32011158 100644 --- a/locale/es_MX.js +++ b/locale/es_MX.js @@ -2,4 +2,4 @@ const Blaver = require("../lib"); const blaver = new Blaver({ locale: "es_MX", localeFallback: "en" }); blaver.locales["es_MX"] = require("../lib/locales/es_MX"); blaver.locales["en"] = require("../lib/locales/en"); -module["exports"] = blaver; +module.exports = blaver; diff --git a/locale/fa.js b/locale/fa.js index b624d904..b08cd8c6 100644 --- a/locale/fa.js +++ b/locale/fa.js @@ -2,4 +2,4 @@ const Blaver = require("../lib"); const blaver = new Blaver({ locale: "fa", localeFallback: "en" }); blaver.locales["fa"] = require("../lib/locales/fa"); blaver.locales["en"] = require("../lib/locales/en"); -module["exports"] = blaver; +module.exports = blaver; diff --git a/locale/fi.js b/locale/fi.js index c015ed3e..b0d43f90 100644 --- a/locale/fi.js +++ b/locale/fi.js @@ -2,4 +2,4 @@ const Blaver = require("../lib"); const blaver = new Blaver({ locale: "fi", localeFallback: "en" }); blaver.locales["fi"] = require("../lib/locales/fi"); blaver.locales["en"] = require("../lib/locales/en"); -module["exports"] = blaver; +module.exports = blaver; diff --git a/locale/fr.js b/locale/fr.js index 091a4185..c03bfac2 100644 --- a/locale/fr.js +++ b/locale/fr.js @@ -2,4 +2,4 @@ const Blaver = require("../lib"); const blaver = new Blaver({ locale: "fr", localeFallback: "en" }); blaver.locales["fr"] = require("../lib/locales/fr"); blaver.locales["en"] = require("../lib/locales/en"); -module["exports"] = blaver; +module.exports = blaver; diff --git a/locale/fr_CA.js b/locale/fr_CA.js index 608881da..009a55b1 100644 --- a/locale/fr_CA.js +++ b/locale/fr_CA.js @@ -2,4 +2,4 @@ const Blaver = require("../lib"); const blaver = new Blaver({ locale: "fr_CA", localeFallback: "en" }); blaver.locales["fr_CA"] = require("../lib/locales/fr_CA"); blaver.locales["en"] = require("../lib/locales/en"); -module["exports"] = blaver; +module.exports = blaver; diff --git a/locale/fr_CH.js b/locale/fr_CH.js index e97386c6..c9ed6210 100644 --- a/locale/fr_CH.js +++ b/locale/fr_CH.js @@ -2,4 +2,4 @@ const Blaver = require("../lib"); const blaver = new Blaver({ locale: "fr_CH", localeFallback: "en" }); blaver.locales["fr_CH"] = require("../lib/locales/fr_CH"); blaver.locales["en"] = require("../lib/locales/en"); -module["exports"] = blaver; +module.exports = blaver; diff --git a/locale/ge.js b/locale/ge.js index 2686404a..a52ae62b 100644 --- a/locale/ge.js +++ b/locale/ge.js @@ -2,4 +2,4 @@ const Blaver = require("../lib"); const blaver = new Blaver({ locale: "ge", localeFallback: "en" }); blaver.locales["ge"] = require("../lib/locales/ge"); blaver.locales["en"] = require("../lib/locales/en"); -module["exports"] = blaver; +module.exports = blaver; diff --git a/locale/he.js b/locale/he.js index 7f4dbe43..00cf3dee 100644 --- a/locale/he.js +++ b/locale/he.js @@ -2,4 +2,4 @@ const Blaver = require("../lib"); const blaver = new Blaver({ locale: "he", localeFallback: "en" }); blaver.locales["he"] = require("../lib/locales/he"); blaver.locales["en"] = require("../lib/locales/en"); -module["exports"] = blaver; +module.exports = blaver; diff --git a/locale/hr.js b/locale/hr.js index 19f17af3..4dde277d 100644 --- a/locale/hr.js +++ b/locale/hr.js @@ -2,4 +2,4 @@ const Blaver = require("../lib"); const blaver = new Blaver({ locale: "hr", localeFallback: "en" }); blaver.locales["hr"] = require("../lib/locales/hr"); blaver.locales["en"] = require("../lib/locales/en"); -module["exports"] = blaver; +module.exports = blaver; diff --git a/locale/hy.js b/locale/hy.js index 9ac5ac59..1bdff85b 100644 --- a/locale/hy.js +++ b/locale/hy.js @@ -2,4 +2,4 @@ const Blaver = require("../lib"); const blaver = new Blaver({ locale: "hy", localeFallback: "en" }); blaver.locales["hy"] = require("../lib/locales/hy"); blaver.locales["en"] = require("../lib/locales/en"); -module["exports"] = blaver; +module.exports = blaver; diff --git a/locale/id_ID.js b/locale/id_ID.js index a67a12cd..2a1c4a17 100644 --- a/locale/id_ID.js +++ b/locale/id_ID.js @@ -2,4 +2,4 @@ const Blaver = require("../lib"); const blaver = new Blaver({ locale: "id_ID", localeFallback: "en" }); blaver.locales["id_ID"] = require("../lib/locales/id_ID"); blaver.locales["en"] = require("../lib/locales/en"); -module["exports"] = blaver; +module.exports = blaver; diff --git a/locale/it.js b/locale/it.js index 30e0a554..9a2eb809 100644 --- a/locale/it.js +++ b/locale/it.js @@ -2,4 +2,4 @@ const Blaver = require("../lib"); const blaver = new Blaver({ locale: "it", localeFallback: "en" }); blaver.locales["it"] = require("../lib/locales/it"); blaver.locales["en"] = require("../lib/locales/en"); -module["exports"] = blaver; +module.exports = blaver; diff --git a/locale/ja.js b/locale/ja.js index 029460be..d21c099f 100644 --- a/locale/ja.js +++ b/locale/ja.js @@ -2,4 +2,4 @@ const Blaver = require("../lib"); const blaver = new Blaver({ locale: "ja", localeFallback: "en" }); blaver.locales["ja"] = require("../lib/locales/ja"); blaver.locales["en"] = require("../lib/locales/en"); -module["exports"] = blaver; +module.exports = blaver; diff --git a/locale/ko.js b/locale/ko.js index a4b09c63..da493d29 100644 --- a/locale/ko.js +++ b/locale/ko.js @@ -2,4 +2,4 @@ const Blaver = require("../lib"); const blaver = new Blaver({ locale: "ko", localeFallback: "en" }); blaver.locales["ko"] = require("../lib/locales/ko"); blaver.locales["en"] = require("../lib/locales/en"); -module["exports"] = blaver; +module.exports = blaver; diff --git a/locale/nb_NO.js b/locale/nb_NO.js index f80eeeb5..665a15db 100644 --- a/locale/nb_NO.js +++ b/locale/nb_NO.js @@ -2,4 +2,4 @@ const Blaver = require("../lib"); const blaver = new Blaver({ locale: "nb_NO", localeFallback: "en" }); blaver.locales["nb_NO"] = require("../lib/locales/nb_NO"); blaver.locales["en"] = require("../lib/locales/en"); -module["exports"] = blaver; +module.exports = blaver; diff --git a/locale/ne.js b/locale/ne.js index 2d19dfda..01a262c0 100644 --- a/locale/ne.js +++ b/locale/ne.js @@ -2,4 +2,4 @@ const Blaver = require("../lib"); const blaver = new Blaver({ locale: "ne", localeFallback: "en" }); blaver.locales["ne"] = require("../lib/locales/ne"); blaver.locales["en"] = require("../lib/locales/en"); -module["exports"] = blaver; +module.exports = blaver; diff --git a/locale/nl.js b/locale/nl.js index 87a0b6e3..a75b5ae4 100644 --- a/locale/nl.js +++ b/locale/nl.js @@ -2,4 +2,4 @@ const Blaver = require("../lib"); const blaver = new Blaver({ locale: "nl", localeFallback: "en" }); blaver.locales["nl"] = require("../lib/locales/nl"); blaver.locales["en"] = require("../lib/locales/en"); -module["exports"] = blaver; +module.exports = blaver; diff --git a/locale/nl_BE.js b/locale/nl_BE.js index 21d5e464..fa4b5d7a 100644 --- a/locale/nl_BE.js +++ b/locale/nl_BE.js @@ -2,4 +2,4 @@ const Blaver = require("../lib"); const blaver = new Blaver({ locale: "nl_BE", localeFallback: "nl" }); blaver.locales["nl_BE"] = require("../lib/locales/nl_BE"); blaver.locales["nl"] = require("../lib/locales/nl"); -module["exports"] = blaver; +module.exports = blaver; diff --git a/locale/pl.js b/locale/pl.js index f8cadc24..03129990 100644 --- a/locale/pl.js +++ b/locale/pl.js @@ -2,4 +2,4 @@ const Blaver = require("../lib"); const blaver = new Blaver({ locale: "pl", localeFallback: "en" }); blaver.locales["pl"] = require("../lib/locales/pl"); blaver.locales["en"] = require("../lib/locales/en"); -module["exports"] = blaver; +module.exports = blaver; diff --git a/locale/pt_BR.js b/locale/pt_BR.js index c0ee220d..694c6e07 100644 --- a/locale/pt_BR.js +++ b/locale/pt_BR.js @@ -2,4 +2,4 @@ const Blaver = require("../lib"); const blaver = new Blaver({ locale: "pt_BR", localeFallback: "en" }); blaver.locales["pt_BR"] = require("../lib/locales/pt_BR"); blaver.locales["en"] = require("../lib/locales/en"); -module["exports"] = blaver; +module.exports = blaver; diff --git a/locale/pt_PT.js b/locale/pt_PT.js index 676067cf..a88d8bf6 100644 --- a/locale/pt_PT.js +++ b/locale/pt_PT.js @@ -2,4 +2,4 @@ const Blaver = require("../lib"); const blaver = new Blaver({ locale: "pt_PT", localeFallback: "en" }); blaver.locales["pt_PT"] = require("../lib/locales/pt_PT"); blaver.locales["en"] = require("../lib/locales/en"); -module["exports"] = blaver; +module.exports = blaver; diff --git a/locale/ro.js b/locale/ro.js index ba15e545..1aa6b458 100644 --- a/locale/ro.js +++ b/locale/ro.js @@ -2,4 +2,4 @@ const Blaver = require("../lib"); const blaver = new Blaver({ locale: "ro", localeFallback: "en" }); blaver.locales["ro"] = require("../lib/locales/ro"); blaver.locales["en"] = require("../lib/locales/en"); -module["exports"] = blaver; +module.exports = blaver; diff --git a/locale/ru.js b/locale/ru.js index d9cde50d..482f8c1b 100644 --- a/locale/ru.js +++ b/locale/ru.js @@ -2,4 +2,4 @@ const Blaver = require("../lib"); const blaver = new Blaver({ locale: "ru", localeFallback: "en" }); blaver.locales["ru"] = require("../lib/locales/ru"); blaver.locales["en"] = require("../lib/locales/en"); -module["exports"] = blaver; +module.exports = blaver; diff --git a/locale/sk.js b/locale/sk.js index a87032ff..b03a8c17 100644 --- a/locale/sk.js +++ b/locale/sk.js @@ -2,4 +2,4 @@ const Blaver = require("../lib"); const blaver = new Blaver({ locale: "sk", localeFallback: "en" }); blaver.locales["sk"] = require("../lib/locales/sk"); blaver.locales["en"] = require("../lib/locales/en"); -module["exports"] = blaver; +module.exports = blaver; diff --git a/locale/sv.js b/locale/sv.js index 0c85971e..12c94da7 100644 --- a/locale/sv.js +++ b/locale/sv.js @@ -2,4 +2,4 @@ const Blaver = require("../lib"); const blaver = new Blaver({ locale: "sv", localeFallback: "en" }); blaver.locales["sv"] = require("../lib/locales/sv"); blaver.locales["en"] = require("../lib/locales/en"); -module["exports"] = blaver; +module.exports = blaver; diff --git a/locale/tr.js b/locale/tr.js index d0cafc8f..b43d39fc 100644 --- a/locale/tr.js +++ b/locale/tr.js @@ -2,4 +2,4 @@ const Blaver = require("../lib"); const blaver = new Blaver({ locale: "tr", localeFallback: "en" }); blaver.locales["tr"] = require("../lib/locales/tr"); blaver.locales["en"] = require("../lib/locales/en"); -module["exports"] = blaver; +module.exports = blaver; diff --git a/locale/uk.js b/locale/uk.js index cbd10902..7e1f2bb9 100644 --- a/locale/uk.js +++ b/locale/uk.js @@ -2,4 +2,4 @@ const Blaver = require("../lib"); const blaver = new Blaver({ locale: "uk", localeFallback: "en" }); blaver.locales["uk"] = require("../lib/locales/uk"); blaver.locales["en"] = require("../lib/locales/en"); -module["exports"] = blaver; +module.exports = blaver; diff --git a/locale/vi.js b/locale/vi.js index 52f9090d..d87fb843 100644 --- a/locale/vi.js +++ b/locale/vi.js @@ -2,4 +2,4 @@ const Blaver = require("../lib"); const blaver = new Blaver({ locale: "vi", localeFallback: "en" }); blaver.locales["vi"] = require("../lib/locales/vi"); blaver.locales["en"] = require("../lib/locales/en"); -module["exports"] = blaver; +module.exports = blaver; diff --git a/locale/zh_CN.js b/locale/zh_CN.js index 87391be4..994c83fe 100644 --- a/locale/zh_CN.js +++ b/locale/zh_CN.js @@ -2,4 +2,4 @@ const Blaver = require("../lib"); const blaver = new Blaver({ locale: "zh_CN", localeFallback: "en" }); blaver.locales["zh_CN"] = require("../lib/locales/zh_CN"); blaver.locales["en"] = require("../lib/locales/en"); -module["exports"] = blaver; +module.exports = blaver; diff --git a/locale/zh_TW.js b/locale/zh_TW.js index 7d53f83b..cae88814 100644 --- a/locale/zh_TW.js +++ b/locale/zh_TW.js @@ -2,4 +2,4 @@ const Blaver = require("../lib"); const blaver = new Blaver({ locale: "zh_TW", localeFallback: "en" }); blaver.locales["zh_TW"] = require("../lib/locales/zh_TW"); blaver.locales["en"] = require("../lib/locales/en"); -module["exports"] = blaver; +module.exports = blaver; diff --git a/locale/zu_ZA.js b/locale/zu_ZA.js index 74a57173..931744f1 100644 --- a/locale/zu_ZA.js +++ b/locale/zu_ZA.js @@ -2,4 +2,4 @@ const Blaver = require("../lib"); const blaver = new Blaver({ locale: "zu_ZA", localeFallback: "en" }); blaver.locales["zu_ZA"] = require("../lib/locales/zu_ZA"); blaver.locales["en"] = require("../lib/locales/en"); -module["exports"] = blaver; +module.exports = blaver; From aaa3c9ec508b2b7157941436bcbc899ceee88149 Mon Sep 17 00:00:00 2001 From: angus Date: Sat, 8 Jan 2022 00:07:12 +0000 Subject: [PATCH 05/11] Proper JS object formating in lib directory --- lib/locales/ar/commerce/product_name.js | 6 +- lib/locales/ar/date/weekday.js | 1 - lib/locales/ar/name/title.js | 2 +- lib/locales/az/commerce/product_name.js | 6 +- lib/locales/cz/name/title.js | 6 +- lib/locales/el/commerce/product_name.js | 6 +- lib/locales/el/name/title.js | 6 +- lib/locales/en/commerce/product_name.js | 6 +- lib/locales/en/finance/currency.js | 776 ++++++++++----------- lib/locales/en/name/title.js | 6 +- lib/locales/es/commerce/product_name.js | 6 +- lib/locales/es/name/title.js | 6 +- lib/locales/es_MX/commerce/product_name.js | 6 +- lib/locales/es_MX/name/title.js | 6 +- lib/locales/fa/commerce/product_name.js | 6 +- lib/locales/fa/name/title.js | 6 +- lib/locales/fr/name/title.js | 2 +- lib/locales/fr_BE/name/title.js | 2 +- lib/locales/ge/name/title.js | 6 +- lib/locales/he/commerce/product_name.js | 6 +- lib/locales/he/name/title.js | 6 +- lib/locales/hr/name/title.js | 6 +- lib/locales/lv/commerce/product_name.js | 6 +- lib/locales/lv/name/title.js | 6 +- lib/locales/mk/name/title.js | 6 +- lib/locales/nl/commerce/product_name.js | 6 +- lib/locales/pl/name/title.js | 6 +- lib/locales/pt_BR/commerce/product_name.js | 6 +- lib/locales/pt_BR/name/title.js | 6 +- lib/locales/pt_PT/commerce/product_name.js | 6 +- lib/locales/ru/commerce/product_name.js | 6 +- lib/locales/ru/name/title.js | 6 +- lib/locales/sk/name/title.js | 6 +- lib/locales/sv/commerce/product_name.js | 6 +- lib/locales/sv/name/title.js | 6 +- lib/locales/tr/commerce/product_name.js | 6 +- lib/locales/uk/name/title.js | 6 +- 37 files changed, 487 insertions(+), 488 deletions(-) diff --git a/lib/locales/ar/commerce/product_name.js b/lib/locales/ar/commerce/product_name.js index 90466180..d0fe7fde 100644 --- a/lib/locales/ar/commerce/product_name.js +++ b/lib/locales/ar/commerce/product_name.js @@ -1,5 +1,5 @@ module.exports = { - "adjective": [ + adjective: [ "صغير", "مريح", "ريفي", @@ -17,7 +17,7 @@ module.exports = { "بدون علامة", "طيب المذاق" ], - "material": [ + material: [ "فولاذ", "خشبي", "خرسانة", @@ -30,7 +30,7 @@ module.exports = { "طازج", "مجمد" ], - "product": [ + product: [ "كرسي", "سيارة", "حاسوب", diff --git a/lib/locales/ar/date/weekday.js b/lib/locales/ar/date/weekday.js index 14e9dd77..5438da4e 100644 --- a/lib/locales/ar/date/weekday.js +++ b/lib/locales/ar/date/weekday.js @@ -9,7 +9,6 @@ module.exports = { "الجمعة", "السبت", ], - wide_context: [ "الأحَد", "الإثنين", diff --git a/lib/locales/ar/name/title.js b/lib/locales/ar/name/title.js index f2069033..c2177332 100644 --- a/lib/locales/ar/name/title.js +++ b/lib/locales/ar/name/title.js @@ -1,5 +1,5 @@ module.exports = { - "job": [ + job: [ "مشرف", "تنفيذي", "مدير", diff --git a/lib/locales/az/commerce/product_name.js b/lib/locales/az/commerce/product_name.js index c2171645..ee23cccb 100644 --- a/lib/locales/az/commerce/product_name.js +++ b/lib/locales/az/commerce/product_name.js @@ -1,5 +1,5 @@ module.exports = { - "adjective": [ + adjective: [ "Balaca", "Ergonomik", "Kobud", @@ -11,7 +11,7 @@ module.exports = { "Parlaq", "Mükəmməl" ], - "material": [ + material: [ "Polad", "Ağac", "Beton", @@ -20,7 +20,7 @@ module.exports = { "Qranit", "Rezin" ], - "product": [ + product: [ "Stul", "Avtomobil", "Kompyuter", diff --git a/lib/locales/cz/name/title.js b/lib/locales/cz/name/title.js index fa94daf2..dd4c9fab 100644 --- a/lib/locales/cz/name/title.js +++ b/lib/locales/cz/name/title.js @@ -1,5 +1,5 @@ module.exports = { - "descriptor": [ + descriptor: [ "Lead", "Senior", "Direct", @@ -23,7 +23,7 @@ module.exports = { "Chief", "Principal" ], - "level": [ + level: [ "Solutions", "Program", "Brand", @@ -62,7 +62,7 @@ module.exports = { "Usability", "Metrics" ], - "job": [ + job: [ "Supervisor", "Associate", "Executive", diff --git a/lib/locales/el/commerce/product_name.js b/lib/locales/el/commerce/product_name.js index c9eed42f..26eb7af6 100644 --- a/lib/locales/el/commerce/product_name.js +++ b/lib/locales/el/commerce/product_name.js @@ -1,5 +1,5 @@ module.exports = { - "adjective": [ + adjective: [ "Μικρό", "Εργονομικό", "Αγροτικό", @@ -11,14 +11,14 @@ module.exports = { "Χειροποίητο", "Άδεια" ], - "material": [ + material: [ "Ξύλινο", "Πλαστικό", "Μέταλο", "Φρέσκο", "Κατεψυγμένο" ], - "product": [ + product: [ "Καρέκλα", "Αυτοκίνητο", "Υπολογιστής", diff --git a/lib/locales/el/name/title.js b/lib/locales/el/name/title.js index 7b2587dc..17af6d73 100644 --- a/lib/locales/el/name/title.js +++ b/lib/locales/el/name/title.js @@ -1,5 +1,5 @@ module.exports = { - "descriptor": [ + descriptor: [ "Senior", "Εταιρείες", "Πελάτης", @@ -7,7 +7,7 @@ module.exports = { "Εσωτερικό", "Κύριος" ], - "level": [ + level: [ "Λύσεις", "Πρόγραμμα", "Μάρκα", @@ -39,7 +39,7 @@ module.exports = { "Διαμόρφωση", "Μετρήσεις" ], - "job": [ + job: [ "Επόπτης", "Συνεργάτης", "Σύμβουλος", diff --git a/lib/locales/en/commerce/product_name.js b/lib/locales/en/commerce/product_name.js index cd0f37ad..8ae7342f 100644 --- a/lib/locales/en/commerce/product_name.js +++ b/lib/locales/en/commerce/product_name.js @@ -1,5 +1,5 @@ module.exports = { - "adjective": [ + adjective: [ "Small", "Ergonomic", "Rustic", @@ -18,7 +18,7 @@ module.exports = { "Unbranded", "Tasty" ], - "material": [ + material: [ "Steel", "Wooden", "Concrete", @@ -31,7 +31,7 @@ module.exports = { "Fresh", "Frozen" ], - "product": [ + product: [ "Chair", "Car", "Computer", diff --git a/lib/locales/en/finance/currency.js b/lib/locales/en/finance/currency.js index 1f4529c8..cc373976 100644 --- a/lib/locales/en/finance/currency.js +++ b/lib/locales/en/finance/currency.js @@ -1,682 +1,682 @@ module.exports = { "UAE Dirham": { - "code": "AED", - "symbol": "" + code: "AED", + symbol: "" }, - "Afghani": { - "code": "AFN", - "symbol": "؋" + Afghani: { + code: "AFN", + symbol: "؋" }, - "Lek": { - "code": "ALL", - "symbol": "Lek" + Lek: { + code: "ALL", + symbol: "Lek" }, "Armenian Dram": { - "code": "AMD", - "symbol": "" + code: "AMD", + symbol: "" }, "Netherlands Antillian Guilder": { - "code": "ANG", - "symbol": "ƒ" + code: "ANG", + symbol: "ƒ" }, - "Kwanza": { - "code": "AOA", - "symbol": "" + Kwanza: { + code: "AOA", + symbol: "" }, "Argentine Peso": { - "code": "ARS", - "symbol": "$" + code: "ARS", + symbol: "$" }, "Australian Dollar": { - "code": "AUD", - "symbol": "$" + code: "AUD", + symbol: "$" }, "Aruban Guilder": { - "code": "AWG", - "symbol": "ƒ" + code: "AWG", + symbol: "ƒ" }, "Azerbaijanian Manat": { - "code": "AZN", - "symbol": "ман" + code: "AZN", + symbol: "ман" }, "Convertible Marks": { - "code": "BAM", - "symbol": "KM" + code: "BAM", + symbol: "KM" }, "Barbados Dollar": { - "code": "BBD", - "symbol": "$" + code: "BBD", + symbol: "$" }, - "Taka": { - "code": "BDT", - "symbol": "" + Taka: { + code: "BDT", + symbol: "" }, "Bulgarian Lev": { - "code": "BGN", - "symbol": "лв" + code: "BGN", + symbol: "лв" }, "Bahraini Dinar": { - "code": "BHD", - "symbol": "" + code: "BHD", + symbol: "" }, "Burundi Franc": { - "code": "BIF", - "symbol": "" + code: "BIF", + symbol: "" }, "Bermudian Dollar (customarily known as Bermuda Dollar)": { - "code": "BMD", - "symbol": "$" + code: "BMD", + symbol: "$" }, "Brunei Dollar": { - "code": "BND", - "symbol": "$" + code: "BND", + symbol: "$" }, "Boliviano boliviano": { - "code": "BOB", - "symbol": "Bs" + code: "BOB", + symbol: "Bs" }, "Brazilian Real": { - "code": "BRL", - "symbol": "R$" + code: "BRL", + symbol: "R$" }, "Bahamian Dollar": { - "code": "BSD", - "symbol": "$" + code: "BSD", + symbol: "$" }, - "Pula": { - "code": "BWP", - "symbol": "P" + Pula: { + code: "BWP", + symbol: "P" }, "Belarussian Ruble": { - "code": "BYR", - "symbol": "p." + code: "BYR", + symbol: "p." }, "Belize Dollar": { - "code": "BZD", - "symbol": "BZ$" + code: "BZD", + symbol: "BZ$" }, "Canadian Dollar": { - "code": "CAD", - "symbol": "$" + code: "CAD", + symbol: "$" }, "Congolese Franc": { - "code": "CDF", - "symbol": "" + code: "CDF", + symbol: "" }, "Swiss Franc": { - "code": "CHF", - "symbol": "CHF" + code: "CHF", + symbol: "CHF" }, "Chilean Peso": { - "code": "CLP", - "symbol": "$" + code: "CLP", + symbol: "$" }, "Yuan Renminbi": { - "code": "CNY", - "symbol": "¥" + code: "CNY", + symbol: "¥" }, "Colombian Peso": { - "code": "COP", - "symbol": "$" + code: "COP", + symbol: "$" }, "Costa Rican Colon": { - "code": "CRC", - "symbol": "₡" + code: "CRC", + symbol: "₡" }, "Cuban Peso": { - "code": "CUP", - "symbol": "₱" + code: "CUP", + symbol: "₱" }, "Cuban Peso Convertible": { - "code": "CUC", - "symbol": "$" + code: "CUC", + symbol: "$" }, "Cape Verde Escudo": { - "code": "CVE", - "symbol": "" + code: "CVE", + symbol: "" }, "Czech Koruna": { - "code": "CZK", - "symbol": "Kč" + code: "CZK", + symbol: "Kč" }, "Djibouti Franc": { - "code": "DJF", - "symbol": "" + code: "DJF", + symbol: "" }, "Danish Krone": { - "code": "DKK", - "symbol": "kr" + code: "DKK", + symbol: "kr" }, "Dominican Peso": { - "code": "DOP", - "symbol": "RD$" + code: "DOP", + symbol: "RD$" }, "Algerian Dinar": { - "code": "DZD", - "symbol": "" + code: "DZD", + symbol: "" }, - "Kroon": { - "code": "EEK", - "symbol": "" + Kroon: { + code: "EEK", + symbol: "" }, "Egyptian Pound": { - "code": "EGP", - "symbol": "£" + code: "EGP", + symbol: "£" }, - "Nakfa": { - "code": "ERN", - "symbol": "" + Nakfa: { + code: "ERN", + symbol: "" }, "Ethiopian Birr": { - "code": "ETB", - "symbol": "" + code: "ETB", + symbol: "" }, - "Euro": { - "code": "EUR", - "symbol": "€" + Euro: { + code: "EUR", + symbol: "€" }, "Fiji Dollar": { - "code": "FJD", - "symbol": "$" + code: "FJD", + symbol: "$" }, "Falkland Islands Pound": { - "code": "FKP", - "symbol": "£" + code: "FKP", + symbol: "£" }, "Pound Sterling": { - "code": "GBP", - "symbol": "£" + code: "GBP", + symbol: "£" }, - "Lari": { - "code": "GEL", - "symbol": "" + Lari: { + code: "GEL", + symbol: "" }, - "Cedi": { - "code": "GHS", - "symbol": "" + Cedi: { + code: "GHS", + symbol: "" }, "Gibraltar Pound": { - "code": "GIP", - "symbol": "£" + code: "GIP", + symbol: "£" }, - "Dalasi": { - "code": "GMD", - "symbol": "" + Dalasi: { + code: "GMD", + symbol: "" }, "Guinea Franc": { - "code": "GNF", - "symbol": "" + code: "GNF", + symbol: "" }, - "Quetzal": { - "code": "GTQ", - "symbol": "Q" + Quetzal: { + code: "GTQ", + symbol: "Q" }, "Guyana Dollar": { - "code": "GYD", - "symbol": "$" + code: "GYD", + symbol: "$" }, "Hong Kong Dollar": { - "code": "HKD", - "symbol": "$" + code: "HKD", + symbol: "$" }, - "Lempira": { - "code": "HNL", - "symbol": "L" + Lempira: { + code: "HNL", + symbol: "L" }, "Croatian Kuna": { - "code": "HRK", - "symbol": "kn" + code: "HRK", + symbol: "kn" }, - "Gourde": { - "code": "HTG", - "symbol": "" + Gourde: { + code: "HTG", + symbol: "" }, - "Forint": { - "code": "HUF", - "symbol": "Ft" + Forint: { + code: "HUF", + symbol: "Ft" }, - "Rupiah": { - "code": "IDR", - "symbol": "Rp" + Rupiah: { + code: "IDR", + symbol: "Rp" }, "New Israeli Sheqel": { - "code": "ILS", - "symbol": "₪" + code: "ILS", + symbol: "₪" }, "Bhutanese Ngultrum": { - "code": "BTN", - "symbol": "Nu" + code: "BTN", + symbol: "Nu" }, "Indian Rupee": { - "code": "INR", - "symbol": "₹" + code: "INR", + symbol: "₹" }, "Iraqi Dinar": { - "code": "IQD", - "symbol": "" + code: "IQD", + symbol: "" }, "Iranian Rial": { - "code": "IRR", - "symbol": "﷼" + code: "IRR", + symbol: "﷼" }, "Iceland Krona": { - "code": "ISK", - "symbol": "kr" + code: "ISK", + symbol: "kr" }, "Jamaican Dollar": { - "code": "JMD", - "symbol": "J$" + code: "JMD", + symbol: "J$" }, "Jordanian Dinar": { - "code": "JOD", - "symbol": "" + code: "JOD", + symbol: "" }, "Yen": { - "code": "JPY", - "symbol": "¥" + code: "JPY", + symbol: "¥" }, "Kenyan Shilling": { - "code": "KES", - "symbol": "" + code: "KES", + symbol: "" }, - "Som": { - "code": "KGS", - "symbol": "лв" + Som: { + code: "KGS", + symbol: "лв" }, - "Riel": { - "code": "KHR", - "symbol": "៛" + Riel: { + code: "KHR", + symbol: "៛" }, "Comoro Franc": { - "code": "KMF", - "symbol": "" + code: "KMF", + symbol: "" }, "North Korean Won": { - "code": "KPW", - "symbol": "₩" + code: "KPW", + symbol: "₩" }, - "Won": { - "code": "KRW", - "symbol": "₩" + Won: { + code: "KRW", + symbol: "₩" }, "Kuwaiti Dinar": { - "code": "KWD", - "symbol": "" + code: "KWD", + symbol: "" }, "Cayman Islands Dollar": { - "code": "KYD", - "symbol": "$" + code: "KYD", + symbol: "$" }, - "Tenge": { - "code": "KZT", - "symbol": "лв" + Tenge: { + code: "KZT", + symbol: "лв" }, - "Kip": { - "code": "LAK", - "symbol": "₭" + Kip: { + code: "LAK", + symbol: "₭" }, "Lebanese Pound": { - "code": "LBP", - "symbol": "£" + code: "LBP", + symbol: "£" }, "Sri Lanka Rupee": { - "code": "LKR", - "symbol": "₨" + code: "LKR", + symbol: "₨" }, "Liberian Dollar": { - "code": "LRD", - "symbol": "$" + code: "LRD", + symbol: "$" }, "Lithuanian Litas": { - "code": "LTL", - "symbol": "Lt" + code: "LTL", + symbol: "Lt" }, "Latvian Lats": { - "code": "LVL", - "symbol": "Ls" + code: "LVL", + symbol: "Ls" }, "Libyan Dinar": { - "code": "LYD", - "symbol": "" + code: "LYD", + symbol: "" }, "Moroccan Dirham": { - "code": "MAD", - "symbol": "" + code: "MAD", + symbol: "" }, "Moldovan Leu": { - "code": "MDL", - "symbol": "" + code: "MDL", + symbol: "" }, "Malagasy Ariary": { - "code": "MGA", - "symbol": "" + code: "MGA", + symbol: "" }, - "Denar": { - "code": "MKD", - "symbol": "ден" + Denar: { + code: "MKD", + symbol: "ден" }, - "Kyat": { - "code": "MMK", - "symbol": "" + Kyat: { + code: "MMK", + symbol: "" }, - "Tugrik": { - "code": "MNT", - "symbol": "₮" + Tugrik: { + code: "MNT", + symbol: "₮" }, - "Pataca": { - "code": "MOP", - "symbol": "" + Pataca: { + code: "MOP", + symbol: "" }, - "Ouguiya": { - "code": "MRO", - "symbol": "" + Ouguiya: { + code: "MRO", + symbol: "" }, "Mauritius Rupee": { - "code": "MUR", - "symbol": "₨" + code: "MUR", + symbol: "₨" }, "Rufiyaa": { - "code": "MVR", - "symbol": "" + code: "MVR", + symbol: "" }, - "Kwacha": { - "code": "MWK", - "symbol": "" + Kwacha: { + code: "MWK", + symbol: "" }, "Mexican Peso": { - "code": "MXN", - "symbol": "$" + code: "MXN", + symbol: "$" }, "Malaysian Ringgit": { - "code": "MYR", - "symbol": "RM" + code: "MYR", + symbol: "RM" }, - "Metical": { - "code": "MZN", - "symbol": "MT" + Metical: { + code: "MZN", + symbol: "MT" }, - "Naira": { - "code": "NGN", - "symbol": "₦" + Naira: { + code: "NGN", + symbol: "₦" }, "Cordoba Oro": { - "code": "NIO", - "symbol": "C$" + code: "NIO", + symbol: "C$" }, "Norwegian Krone": { - "code": "NOK", - "symbol": "kr" + code: "NOK", + symbol: "kr" }, "Nepalese Rupee": { - "code": "NPR", - "symbol": "₨" + code: "NPR", + symbol: "₨" }, "New Zealand Dollar": { - "code": "NZD", - "symbol": "$" + code: "NZD", + symbol: "$" }, "Rial Omani": { - "code": "OMR", - "symbol": "﷼" + code: "OMR", + symbol: "﷼" }, - "Balboa": { - "code": "PAB", - "symbol": "B/." + Balboa: { + code: "PAB", + symbol: "B/." }, "Nuevo Sol": { - "code": "PEN", - "symbol": "S/." + code: "PEN", + symbol: "S/." }, - "Kina": { - "code": "PGK", - "symbol": "" + Kina: { + code: "PGK", + symbol: "" }, "Philippine Peso": { - "code": "PHP", - "symbol": "Php" + code: "PHP", + symbol: "Php" }, "Pakistan Rupee": { - "code": "PKR", - "symbol": "₨" + code: "PKR", + symbol: "₨" }, - "Zloty": { - "code": "PLN", - "symbol": "zł" + Zloty: { + code: "PLN", + symbol: "zł" }, - "Guarani": { - "code": "PYG", - "symbol": "Gs" + Guarani: { + code: "PYG", + symbol: "Gs" }, "Qatari Rial": { - "code": "QAR", - "symbol": "﷼" + code: "QAR", + symbol: "﷼" }, "New Leu": { - "code": "RON", - "symbol": "lei" + code: "RON", + symbol: "lei" }, "Serbian Dinar": { - "code": "RSD", - "symbol": "Дин." + code: "RSD", + symbol: "Дин." }, "Russian Ruble": { - "code": "RUB", - "symbol": "руб" + code: "RUB", + symbol: "руб" }, "Rwanda Franc": { - "code": "RWF", - "symbol": "" + code: "RWF", + symbol: "" }, "Saudi Riyal": { - "code": "SAR", - "symbol": "﷼" + code: "SAR", + symbol: "﷼" }, "Solomon Islands Dollar": { - "code": "SBD", - "symbol": "$" + code: "SBD", + symbol: "$" }, "Seychelles Rupee": { - "code": "SCR", - "symbol": "₨" + code: "SCR", + symbol: "₨" }, "Sudanese Pound": { - "code": "SDG", - "symbol": "" + code: "SDG", + symbol: "" }, "Swedish Krona": { - "code": "SEK", - "symbol": "kr" + code: "SEK", + symbol: "kr" }, "Singapore Dollar": { - "code": "SGD", - "symbol": "$" + code: "SGD", + symbol: "$" }, "Saint Helena Pound": { - "code": "SHP", - "symbol": "£" + code: "SHP", + symbol: "£" }, - "Leone": { - "code": "SLL", - "symbol": "" + Leone: { + code: "SLL", + symbol: "" }, "Somali Shilling": { - "code": "SOS", - "symbol": "S" + code: "SOS", + symbol: "S" }, "Surinam Dollar": { - "code": "SRD", - "symbol": "$" + code: "SRD", + symbol: "$" }, - "Dobra": { - "code": "STN", - "symbol": "Db" + Dobra: { + code: "STN", + symbol: "Db" }, "El Salvador Colon": { - "code": "SVC", - "symbol": "₡" + code: "SVC", + symbol: "₡" }, "Syrian Pound": { - "code": "SYP", - "symbol": "£" + code: "SYP", + symbol: "£" }, "Lilangeni": { - "code": "SZL", - "symbol": "" + code: "SZL", + symbol: "" }, - "Baht": { - "code": "THB", - "symbol": "฿" + Baht: { + code: "THB", + symbol: "฿" }, - "Somoni": { - "code": "TJS", - "symbol": "" + Somoni: { + code: "TJS", + symbol: "" }, - "Manat": { - "code": "TMT", - "symbol": "" + Manat: { + code: "TMT", + symbol: "" }, "Tunisian Dinar": { - "code": "TND", - "symbol": "" + code: "TND", + symbol: "" }, "Pa'anga": { - "code": "TOP", - "symbol": "" + code: "TOP", + symbol: "" }, "Turkish Lira": { - "code": "TRY", - "symbol": "₺" + code: "TRY", + symbol: "₺" }, "Trinidad and Tobago Dollar": { - "code": "TTD", - "symbol": "TT$" + code: "TTD", + symbol: "TT$" }, "New Taiwan Dollar": { - "code": "TWD", - "symbol": "NT$" + code: "TWD", + symbol: "NT$" }, "Tanzanian Shilling": { - "code": "TZS", - "symbol": "" + code: "TZS", + symbol: "" }, - "Hryvnia": { - "code": "UAH", - "symbol": "₴" + Hryvnia: { + code: "UAH", + symbol: "₴" }, "Uganda Shilling": { - "code": "UGX", - "symbol": "" + code: "UGX", + symbol: "" }, "US Dollar": { - "code": "USD", - "symbol": "$" + code: "USD", + symbol: "$" }, "Peso Uruguayo": { - "code": "UYU", - "symbol": "$U" + code: "UYU", + symbol: "$U" }, "Uzbekistan Sum": { - "code": "UZS", - "symbol": "лв" + code: "UZS", + symbol: "лв" }, "Boliconst Fuerte": { - "code": "VEF", - "symbol": "Bs" + code: "VEF", + symbol: "Bs" }, - "Dong": { - "code": "VND", - "symbol": "₫" + Dong: { + code: "VND", + symbol: "₫" }, - "Vatu": { - "code": "VUV", - "symbol": "" + Vatu: { + code: "VUV", + symbol: "" }, - "Tala": { - "code": "WST", - "symbol": "" + Tala: { + code: "WST", + symbol: "" }, "CFA Franc BEAC": { - "code": "XAF", - "symbol": "" + code: "XAF", + symbol: "" }, - "Silver": { - "code": "XAG", - "symbol": "" + Silver: { + code: "XAG", + symbol: "" }, - "Gold": { - "code": "XAU", - "symbol": "" + Gold: { + code: "XAU", + symbol: "" }, "Bond Markets Units European Composite Unit (EURCO)": { - "code": "XBA", - "symbol": "" + code: "XBA", + symbol: "" }, "European Monetary Unit (E.M.U.-6)": { - "code": "XBB", - "symbol": "" + code: "XBB", + symbol: "" }, "European Unit of Account 9(E.U.A.-9)": { - "code": "XBC", - "symbol": "" + code: "XBC", + symbol: "" }, "European Unit of Account 17(E.U.A.-17)": { - "code": "XBD", - "symbol": "" + code: "XBD", + symbol: "" }, "East Caribbean Dollar": { - "code": "XCD", - "symbol": "$" + code: "XCD", + symbol: "$" }, - "SDR": { - "code": "XDR", - "symbol": "" + SDR: { + code: "XDR", + symbol: "" }, "UIC-Franc": { - "code": "XFU", - "symbol": "" + code: "XFU", + symbol: "" }, "CFA Franc BCEAO": { - "code": "XOF", - "symbol": "" + code: "XOF", + symbol: "" }, - "Palladium": { - "code": "XPD", - "symbol": "" + Palladium: { + code: "XPD", + symbol: "" }, "CFP Franc": { - "code": "XPF", - "symbol": "" + code: "XPF", + symbol: "" }, - "Platinum": { - "code": "XPT", - "symbol": "" + Platinum: { + code: "XPT", + symbol: "" }, "Codes specifically reserved for testing purposes": { - "code": "XTS", - "symbol": "" + code: "XTS", + symbol: "" }, "Yemeni Rial": { - "code": "YER", - "symbol": "﷼" + code: "YER", + symbol: "﷼" }, - "Rand": { - "code": "ZAR", - "symbol": "R" + Rand: { + code: "ZAR", + symbol: "R" }, "Lesotho Loti": { - "code": "LSL", - "symbol": "" + code: "LSL", + symbol: "" }, "Namibia Dollar": { - "code": "NAD", - "symbol": "N$" + code: "NAD", + symbol: "N$" }, "Zambian Kwacha": { - "code": "ZMK", - "symbol": "" + code: "ZMK", + symbol: "" }, "Zimbabwe Dollar": { - "code": "ZWL", - "symbol": "" + code: "ZWL", + symbol: "" } }; diff --git a/lib/locales/en/name/title.js b/lib/locales/en/name/title.js index 132659de..503127ce 100644 --- a/lib/locales/en/name/title.js +++ b/lib/locales/en/name/title.js @@ -1,5 +1,5 @@ module.exports = { - "descriptor": [ + descriptor: [ "Lead", "Senior", "Direct", @@ -23,7 +23,7 @@ module.exports = { "Chief", "Principal" ], - "level": [ + level: [ "Solutions", "Program", "Brand", @@ -62,7 +62,7 @@ module.exports = { "Usability", "Metrics" ], - "job": [ + job: [ "Supervisor", "Associate", "Executive", diff --git a/lib/locales/es/commerce/product_name.js b/lib/locales/es/commerce/product_name.js index 030c0bd0..8d6d45c5 100644 --- a/lib/locales/es/commerce/product_name.js +++ b/lib/locales/es/commerce/product_name.js @@ -1,5 +1,5 @@ module.exports = { - "adjective": [ + adjective: [ "Pequeño", "Ergonómico", "Rústico", @@ -16,7 +16,7 @@ module.exports = { "Refinado", "Sabroso" ], - "material": [ + material: [ "Acero", "Madera", "Plástico", @@ -26,7 +26,7 @@ module.exports = { "Ladrillo", "Hormigon" ], - "product": [ + product: [ "Silla", "Coche", "Ordenador", diff --git a/lib/locales/es/name/title.js b/lib/locales/es/name/title.js index 8a8c36f9..c4623958 100644 --- a/lib/locales/es/name/title.js +++ b/lib/locales/es/name/title.js @@ -1,5 +1,5 @@ module.exports = { - "descriptor": [ + descriptor: [ "Jefe", "Senior", "Directo", @@ -22,7 +22,7 @@ module.exports = { "Gerente", "Director" ], - "level": [ + level: [ "Soluciones", "Programa", "Marca", @@ -60,7 +60,7 @@ module.exports = { "Usabilidad", "Métricas" ], - "job": [ + job: [ "Supervisor", "Asociado", "Ejecutivo", diff --git a/lib/locales/es_MX/commerce/product_name.js b/lib/locales/es_MX/commerce/product_name.js index f40ec5b5..84d07778 100644 --- a/lib/locales/es_MX/commerce/product_name.js +++ b/lib/locales/es_MX/commerce/product_name.js @@ -1,5 +1,5 @@ module.exports = { - "adjective": [ + adjective: [ "Pequeño", "Ergonómico", "Rústico", @@ -18,7 +18,7 @@ module.exports = { "Sin marca", "Sabrosa" ], - "material": [ + material: [ "Acero", "Madera", "Hormigón", @@ -31,7 +31,7 @@ module.exports = { "Fresco", "Frozen" ], - "product": [ + product: [ "Presidente", "Auto", "Computadora", diff --git a/lib/locales/es_MX/name/title.js b/lib/locales/es_MX/name/title.js index 282a0378..7094e382 100644 --- a/lib/locales/es_MX/name/title.js +++ b/lib/locales/es_MX/name/title.js @@ -1,5 +1,5 @@ module.exports = { - "descriptor": [ + descriptor: [ "Jefe", "Senior", "Directo", @@ -23,7 +23,7 @@ module.exports = { "SubGerente", "Director" ], - "level": [ + level: [ "Soluciones", "Programa", "Marca", @@ -61,7 +61,7 @@ module.exports = { "Usabilidad", "Métricas" ], - "job": [ + job: [ "Supervisor", "Asociado", "Ejecutivo", diff --git a/lib/locales/fa/commerce/product_name.js b/lib/locales/fa/commerce/product_name.js index a9173a83..91ce88b6 100644 --- a/lib/locales/fa/commerce/product_name.js +++ b/lib/locales/fa/commerce/product_name.js @@ -1,5 +1,5 @@ module.exports = { - "adjective": [ + adjective: [ "کوچک", "ارگونومیک", "باهوش", @@ -15,7 +15,7 @@ module.exports = { "بدون محدودیت", "خوش طعم" ], - "material": [ + material: [ "استیل", "چوبی", "بتنی", @@ -27,7 +27,7 @@ module.exports = { "تازه", "یخ زده" ], - "product": [ + product: [ "صندلی", "ماشین", "کامپیوتر", diff --git a/lib/locales/fa/name/title.js b/lib/locales/fa/name/title.js index 44321c79..163b92a4 100644 --- a/lib/locales/fa/name/title.js +++ b/lib/locales/fa/name/title.js @@ -1,5 +1,5 @@ module.exports = { - "descriptor": [ + descriptor: [ "رهبر", "ارشد", "مستقیم", @@ -20,7 +20,7 @@ module.exports = { "رئیس", "مدیر اصلی" ], - "level": [ + level: [ "راه حل ها", "برنامه", "نام تجاری", @@ -58,7 +58,7 @@ module.exports = { "قابلیت استفاده", "معیار" ], - "job": [ + job: [ "کارگر ساده", "سرپرست کارگاه", "ناظر", diff --git a/lib/locales/fr/name/title.js b/lib/locales/fr/name/title.js index c47a55a9..c71f1cef 100644 --- a/lib/locales/fr/name/title.js +++ b/lib/locales/fr/name/title.js @@ -1,5 +1,5 @@ module.exports = { - "job": [ + job: [ "Superviseur", "Executif", "Manager", diff --git a/lib/locales/fr_BE/name/title.js b/lib/locales/fr_BE/name/title.js index c47a55a9..c71f1cef 100644 --- a/lib/locales/fr_BE/name/title.js +++ b/lib/locales/fr_BE/name/title.js @@ -1,5 +1,5 @@ module.exports = { - "job": [ + job: [ "Superviseur", "Executif", "Manager", diff --git a/lib/locales/ge/name/title.js b/lib/locales/ge/name/title.js index 2cd9f4d2..307ff279 100644 --- a/lib/locales/ge/name/title.js +++ b/lib/locales/ge/name/title.js @@ -1,5 +1,5 @@ module.exports = { - "descriptor": [ + descriptor: [ "გენერალური", "მთავარი", "სტაჟიორ", @@ -7,7 +7,7 @@ module.exports = { "ყოფილი", "წამყვანი" ], - "level": [ + level: [ "აღრიცხვების", "ბრენდინგის", "ბრენიდს", @@ -34,7 +34,7 @@ module.exports = { "ხარისხის", "ჯგუფის" ], - "job": [ + job: [ "აგენტი", "ადვოკატი", "ადმინისტრატორი", diff --git a/lib/locales/he/commerce/product_name.js b/lib/locales/he/commerce/product_name.js index 8a49a86c..a90fd5d3 100644 --- a/lib/locales/he/commerce/product_name.js +++ b/lib/locales/he/commerce/product_name.js @@ -1,5 +1,5 @@ module.exports = { - "adjective": [ + adjective: [ "קטן", "ארגונומי", "כפרי", @@ -18,7 +18,7 @@ module.exports = { "לא ממותג", "טעים" ], - "material": [ + material: [ "פלדה", "עץ", "בטון", @@ -31,7 +31,7 @@ module.exports = { "צַח", "קפוא" ], - "product": [ + product: [ "כיסא", "אוטו", "מחשב", diff --git a/lib/locales/he/name/title.js b/lib/locales/he/name/title.js index 132659de..503127ce 100644 --- a/lib/locales/he/name/title.js +++ b/lib/locales/he/name/title.js @@ -1,5 +1,5 @@ module.exports = { - "descriptor": [ + descriptor: [ "Lead", "Senior", "Direct", @@ -23,7 +23,7 @@ module.exports = { "Chief", "Principal" ], - "level": [ + level: [ "Solutions", "Program", "Brand", @@ -62,7 +62,7 @@ module.exports = { "Usability", "Metrics" ], - "job": [ + job: [ "Supervisor", "Associate", "Executive", diff --git a/lib/locales/hr/name/title.js b/lib/locales/hr/name/title.js index 4b8c8e03..2fdc4c0d 100644 --- a/lib/locales/hr/name/title.js +++ b/lib/locales/hr/name/title.js @@ -1,5 +1,5 @@ module.exports = { - "descriptor": [ + descriptor: [ "Glavni", "Senior", "Korporativni", @@ -11,7 +11,7 @@ module.exports = { "Međunarodni", "Operativni" ], - "level": [ + level: [ "programski", "brand", "sigurnosni", @@ -35,7 +35,7 @@ module.exports = { "računovodstveni", "financijski" ], - "job": [ + job: [ "voditelj", "suradnik", "službenik", diff --git a/lib/locales/lv/commerce/product_name.js b/lib/locales/lv/commerce/product_name.js index eb71a417..3c2a4e5d 100644 --- a/lib/locales/lv/commerce/product_name.js +++ b/lib/locales/lv/commerce/product_name.js @@ -1,5 +1,5 @@ module.exports = { - "adjective": [ + adjective: [ "Mazs", "Ergonomisks", "Raupjš", @@ -13,7 +13,7 @@ module.exports = { "Mīksts", "Rūgts" ], - "material": [ + material: [ "dzelzs", "koka", "betona", @@ -22,7 +22,7 @@ module.exports = { "granīta", "gumijas" ], - "product": [ + product: [ "krēsls", "auto", "dators", diff --git a/lib/locales/lv/name/title.js b/lib/locales/lv/name/title.js index daae67db..b0d73e48 100644 --- a/lib/locales/lv/name/title.js +++ b/lib/locales/lv/name/title.js @@ -1,5 +1,5 @@ module.exports = { - "descriptor": [ + descriptor: [ "Galvenais", "Vecākais", "Tiešo", @@ -13,7 +13,7 @@ module.exports = { "Iekšējās", "Personu" ], - "level": [ + level: [ "risinājumu", "programmu", "drošības", @@ -45,7 +45,7 @@ module.exports = { "lietojamības", "mērījumu" ], - "job": [ + job: [ "uzraugs", "vadītājs", "pārstāvis", diff --git a/lib/locales/mk/name/title.js b/lib/locales/mk/name/title.js index 38dbe389..56b6d08d 100644 --- a/lib/locales/mk/name/title.js +++ b/lib/locales/mk/name/title.js @@ -1,5 +1,5 @@ module.exports = { - "descriptor": [ + descriptor: [ "Главен", "Генерален", "Корпоративен", @@ -10,7 +10,7 @@ module.exports = { "Глобален", "Меѓународен" ], - "level": [ + level: [ "програмски", "истражен", "маркетиншки", @@ -20,7 +20,7 @@ module.exports = { "креативен", "кориснички" ], - "job": [ + job: [ "директор", "соработник", "управител", diff --git a/lib/locales/nl/commerce/product_name.js b/lib/locales/nl/commerce/product_name.js index 23b0a96d..6e9f4f4e 100644 --- a/lib/locales/nl/commerce/product_name.js +++ b/lib/locales/nl/commerce/product_name.js @@ -1,5 +1,5 @@ module.exports = { - "adjective": [ + adjective: [ "Klein", "Ergonomisch", "Rustiek", @@ -21,7 +21,7 @@ module.exports = { "Merkloos", "Smakelijk" ], - "material": [ + material: [ "Staal", "Glazen", "Wollen", @@ -36,7 +36,7 @@ module.exports = { "Verse", "Bevroren" ], - "product": [ + product: [ "Stoel", "Auto", "Computer", diff --git a/lib/locales/pl/name/title.js b/lib/locales/pl/name/title.js index 132659de..503127ce 100644 --- a/lib/locales/pl/name/title.js +++ b/lib/locales/pl/name/title.js @@ -1,5 +1,5 @@ module.exports = { - "descriptor": [ + descriptor: [ "Lead", "Senior", "Direct", @@ -23,7 +23,7 @@ module.exports = { "Chief", "Principal" ], - "level": [ + level: [ "Solutions", "Program", "Brand", @@ -62,7 +62,7 @@ module.exports = { "Usability", "Metrics" ], - "job": [ + job: [ "Supervisor", "Associate", "Executive", diff --git a/lib/locales/pt_BR/commerce/product_name.js b/lib/locales/pt_BR/commerce/product_name.js index f268cbd6..2d79da25 100644 --- a/lib/locales/pt_BR/commerce/product_name.js +++ b/lib/locales/pt_BR/commerce/product_name.js @@ -1,5 +1,5 @@ module.exports = { - "adjective": [ + adjective: [ "Pequeno", "Ergonômico", "Rústico", @@ -17,7 +17,7 @@ module.exports = { "Sem marca", "Gostoso" ], - "material": [ + material: [ "Aço", "Madeira", "Concreto", @@ -30,7 +30,7 @@ module.exports = { "Fresco", "Congelado" ], - "product": [ + product: [ "Cadeira", "Carro", "Computador", diff --git a/lib/locales/pt_BR/name/title.js b/lib/locales/pt_BR/name/title.js index a496480d..e4b9b9ed 100644 --- a/lib/locales/pt_BR/name/title.js +++ b/lib/locales/pt_BR/name/title.js @@ -1,5 +1,5 @@ module.exports = { - "descriptor": [ + descriptor: [ "Líder", "Senior", "Direto", @@ -23,7 +23,7 @@ module.exports = { "Chefe", "Principal" ], - "level": [ + level: [ "Soluções", "Programa", "Marca", @@ -62,7 +62,7 @@ module.exports = { "Usabilidade", "Métricas" ], - "job": [ + job: [ "Supervisor", "Associado", "Executivo", diff --git a/lib/locales/pt_PT/commerce/product_name.js b/lib/locales/pt_PT/commerce/product_name.js index f4b9c92b..efc37bef 100644 --- a/lib/locales/pt_PT/commerce/product_name.js +++ b/lib/locales/pt_PT/commerce/product_name.js @@ -1,5 +1,5 @@ module.exports = { - "adjective": [ + adjective: [ "Pequeno", "Ergonómico", "Rústico", @@ -18,7 +18,7 @@ module.exports = { "Sem Marca", "Saboroso" ], - "material": [ + material: [ "Aço", "Madeira", "Betão", @@ -31,7 +31,7 @@ module.exports = { "Fresco", "Congelado" ], - "product": [ + product: [ "Cadeira", "Carro", "Computador", diff --git a/lib/locales/ru/commerce/product_name.js b/lib/locales/ru/commerce/product_name.js index 38a6a74a..a744423f 100644 --- a/lib/locales/ru/commerce/product_name.js +++ b/lib/locales/ru/commerce/product_name.js @@ -1,5 +1,5 @@ module.exports = { - "adjective": [ + adjective: [ "Маленький", "Эргономичный", "Грубый", @@ -13,7 +13,7 @@ module.exports = { "Лоснящийся", "Потрясающий" ], - "material": [ + material: [ "Стальной", "Деревянный", "Бетонный", @@ -26,7 +26,7 @@ module.exports = { "Натуральный", "Резиновый" ], - "product": [ + product: [ "Стул", "Автомобиль", "Компьютер", diff --git a/lib/locales/ru/name/title.js b/lib/locales/ru/name/title.js index 451b30ca..a859ba05 100644 --- a/lib/locales/ru/name/title.js +++ b/lib/locales/ru/name/title.js @@ -1,5 +1,5 @@ module.exports = { - "descriptor": [ + descriptor: [ "Ведущий", "Генеральный", "Главный", @@ -11,7 +11,7 @@ module.exports = { "Региональный", "Центральный" ], - "level": [ + level: [ "интеграционный", "логистический", "маркетинговый", @@ -21,7 +21,7 @@ module.exports = { "коммуникационный", "операционный" ], - "job": [ + job: [ "агент", "администратор", "аналитик", diff --git a/lib/locales/sk/name/title.js b/lib/locales/sk/name/title.js index 132659de..503127ce 100644 --- a/lib/locales/sk/name/title.js +++ b/lib/locales/sk/name/title.js @@ -1,5 +1,5 @@ module.exports = { - "descriptor": [ + descriptor: [ "Lead", "Senior", "Direct", @@ -23,7 +23,7 @@ module.exports = { "Chief", "Principal" ], - "level": [ + level: [ "Solutions", "Program", "Brand", @@ -62,7 +62,7 @@ module.exports = { "Usability", "Metrics" ], - "job": [ + job: [ "Supervisor", "Associate", "Executive", diff --git a/lib/locales/sv/commerce/product_name.js b/lib/locales/sv/commerce/product_name.js index 3f5da39a..93ddc5c4 100644 --- a/lib/locales/sv/commerce/product_name.js +++ b/lib/locales/sv/commerce/product_name.js @@ -1,5 +1,5 @@ module.exports = { - "adjective": [ + adjective: [ "Liten", "Ergonomisk", "Robust", @@ -11,7 +11,7 @@ module.exports = { "Slimmad", "Grym" ], - "material": [ + material: [ "Stål", "Metall", "Trä", @@ -22,7 +22,7 @@ module.exports = { "Gummi", "Latex" ], - "product": [ + product: [ "Stol", "Bil", "Dator", diff --git a/lib/locales/sv/name/title.js b/lib/locales/sv/name/title.js index d62eecca..ae053639 100644 --- a/lib/locales/sv/name/title.js +++ b/lib/locales/sv/name/title.js @@ -1,5 +1,5 @@ module.exports = { - "descriptor": [ + descriptor: [ "Ansvarig", "Senior", "Junior", @@ -12,7 +12,7 @@ module.exports = { "Regional", "Global" ], - "level": [ + level: [ "Verkställande", "Program", "Varumärke", @@ -33,7 +33,7 @@ module.exports = { "Finansiell", "Kommunikation" ], - "job": [ + job: [ "Direktör", "Ingenjör", "Handledare", diff --git a/lib/locales/tr/commerce/product_name.js b/lib/locales/tr/commerce/product_name.js index 66286d94..297238ab 100644 --- a/lib/locales/tr/commerce/product_name.js +++ b/lib/locales/tr/commerce/product_name.js @@ -1,5 +1,5 @@ module.exports = { - "adjective": [ + adjective: [ "Küçük", "Ergonomik", "Kırsal", @@ -18,7 +18,7 @@ module.exports = { "Markalanmamış", "Lezzetli" ], - "material": [ + material: [ "Çelik", "Ahşap", "Beton", @@ -31,7 +31,7 @@ module.exports = { "Taze", "Dondurulmuş" ], - "product": [ + product: [ "Sandalye", "Araba", "Bilgisayar", diff --git a/lib/locales/uk/name/title.js b/lib/locales/uk/name/title.js index b9edc3bb..72386467 100644 --- a/lib/locales/uk/name/title.js +++ b/lib/locales/uk/name/title.js @@ -1,5 +1,5 @@ module.exports = { - "descriptor": [ + descriptor: [ "Головний", "Генеральний", "Провідний", @@ -11,7 +11,7 @@ module.exports = { "Міжнародний", "Центральний" ], - "level": [ + level: [ "маркетинговий", "оптимізаційний", "страховий", @@ -19,7 +19,7 @@ module.exports = { "інтеграційний", "логістичний" ], - "job": [ + job: [ "інженер", "агент", "адміністратор", From 31d9243700ec8977a4873b9999fd81a050d8bb9f Mon Sep 17 00:00:00 2001 From: angus Date: Sat, 8 Jan 2022 04:38:02 +0000 Subject: [PATCH 06/11] Converted exports to the proper way --- .eslintrc | 5 +- lib/address.js | 20 +- lib/company.js | 3 +- lib/database.js | 8 +- lib/datatype.js | 10 +- lib/date.js | 8 +- lib/finance.js | 6 +- lib/git.js | 2 +- lib/hacker.js | 2 +- lib/iban.js | 586 +++---- lib/image.js | 4 +- lib/image_providers/lorempicsum.js | 2 +- lib/image_providers/lorempixel.js | 6 +- lib/image_providers/unsplash.js | 3 +- lib/index.js | 24 +- lib/internet.js | 73 +- lib/locales/af_ZA/address/index.js | 8 +- lib/locales/af_ZA/cell_phone/index.js | 6 +- lib/locales/af_ZA/company/index.js | 6 +- lib/locales/af_ZA/index.js | 16 +- lib/locales/af_ZA/internet/index.js | 6 +- lib/locales/af_ZA/name/female_first_name.js | 2 +- lib/locales/af_ZA/name/index.js | 12 +- lib/locales/af_ZA/name/male_first_name.js | 2 +- lib/locales/af_ZA/phone_number/formats.js | 2 +- lib/locales/af_ZA/phone_number/index.js | 6 +- lib/locales/ar/address/index.js | 24 +- lib/locales/ar/address/state.js | 2 +- lib/locales/ar/cell_phone/index.js | 6 +- lib/locales/ar/date/month.js | 10 +- lib/locales/ar/date/weekday.js | 6 +- lib/locales/ar/name/index.js | 14 +- lib/locales/ar/phone_number/index.js | 6 +- lib/locales/ar/team/index.js | 8 +- lib/locales/az/address/index.js | 28 +- lib/locales/az/commerce/department.js | 2 +- lib/locales/az/commerce/index.js | 10 +- lib/locales/az/company/index.js | 10 +- lib/locales/az/company/prefix.js | 2 +- lib/locales/az/index.js | 22 +- lib/locales/az/internet/index.js | 8 +- lib/locales/az/name/index.js | 18 +- lib/locales/az/name/name.js | 2 +- lib/locales/az/phone_number/index.js | 6 +- lib/locales/cz/address/city_name.js | 2 +- lib/locales/cz/address/country.js | 2 +- lib/locales/cz/address/index.js | 28 +- lib/locales/cz/address/street.js | 2 +- lib/locales/cz/company/index.js | 18 +- lib/locales/cz/index.js | 20 +- lib/locales/cz/internet/index.js | 8 +- lib/locales/cz/lorem/index.js | 6 +- lib/locales/cz/name/female_first_name.js | 2 +- lib/locales/cz/name/female_last_name.js | 2 +- lib/locales/cz/name/first_name.js | 2 +- lib/locales/cz/name/index.js | 24 +- lib/locales/cz/name/last_name.js | 2 +- lib/locales/cz/name/male_first_name.js | 2 +- lib/locales/cz/name/male_last_name.js | 2 +- lib/locales/cz/phone_number/index.js | 6 +- lib/locales/de/address/index.js | 30 +- lib/locales/de/cell_phone/index.js | 6 +- lib/locales/de/company/index.js | 10 +- lib/locales/de/date/month.js | 12 +- lib/locales/de/index.js | 22 +- lib/locales/de/internet/index.js | 8 +- lib/locales/de/lorem/index.js | 6 +- lib/locales/de/name/index.js | 18 +- lib/locales/de/phone_number/index.js | 6 +- lib/locales/de_AT/address/index.js | 28 +- lib/locales/de_AT/cell_phone/index.js | 6 +- lib/locales/de_AT/company/index.js | 10 +- lib/locales/de_AT/index.js | 18 +- lib/locales/de_AT/internet/index.js | 8 +- lib/locales/de_AT/name/index.js | 14 +- lib/locales/de_AT/phone_number/index.js | 6 +- lib/locales/de_CH/address/city_name.js | 2 +- lib/locales/de_CH/address/index.js | 18 +- lib/locales/de_CH/address/state_abbr.js | 2 +- lib/locales/de_CH/company/index.js | 8 +- lib/locales/de_CH/index.js | 16 +- lib/locales/de_CH/internet/index.js | 6 +- lib/locales/de_CH/name/first_name.js | 2 +- lib/locales/de_CH/name/index.js | 12 +- lib/locales/de_CH/phone_number/index.js | 6 +- lib/locales/el/address/index.js | 8 +- lib/locales/el/app/index.js | 10 +- lib/locales/el/app/name.js | 2 +- lib/locales/el/business/index.js | 10 +- lib/locales/el/cell_phone/index.js | 6 +- lib/locales/el/commerce/index.js | 10 +- lib/locales/el/company/index.js | 20 +- lib/locales/el/credit_card/index.js | 14 +- lib/locales/el/finance/index.js | 10 +- lib/locales/el/hacker/index.js | 12 +- lib/locales/el/index.js | 36 +- lib/locales/el/internet/index.js | 6 +- lib/locales/el/lorem/index.js | 6 +- lib/locales/el/name/first_name.js | 2 +- lib/locales/el/name/index.js | 14 +- lib/locales/el/phone_number/index.js | 6 +- lib/locales/el/team/index.js | 8 +- lib/locales/en/address/city_name.js | 2 +- .../en/address/country_code_alpha_3.js | 2 +- lib/locales/en/address/index.js | 46 +- lib/locales/en/animal/bear.js | 2 +- lib/locales/en/animal/bird.js | 2 +- lib/locales/en/animal/cat.js | 2 +- lib/locales/en/animal/cetacean.js | 2 +- lib/locales/en/animal/cow.js | 2 +- lib/locales/en/animal/crocodilia.js | 2 +- lib/locales/en/animal/dog.js | 2 +- lib/locales/en/animal/fish.js | 2 +- lib/locales/en/animal/horse.js | 2 +- lib/locales/en/animal/index.js | 32 +- lib/locales/en/animal/insect.js | 2 +- lib/locales/en/animal/lion.js | 2 +- lib/locales/en/animal/rabbit.js | 2 +- lib/locales/en/animal/snake.js | 2 +- lib/locales/en/animal/type.js | 2 +- lib/locales/en/app/index.js | 10 +- lib/locales/en/business/index.js | 10 +- lib/locales/en/cell_phone/index.js | 6 +- lib/locales/en/commerce/index.js | 12 +- .../en/commerce/product_description.js | 2 +- lib/locales/en/company/index.js | 20 +- lib/locales/en/database/index.js | 12 +- lib/locales/en/finance/credit_card/index.js | 26 +- lib/locales/en/finance/credit_card/maestro.js | 2 +- lib/locales/en/finance/index.js | 12 +- lib/locales/en/hacker/index.js | 16 +- lib/locales/en/hacker/phrase.js | 2 +- lib/locales/en/index.js | 48 +- lib/locales/en/internet/avatar_uri.js | 2 +- lib/locales/en/internet/index.js | 12 +- lib/locales/en/lorem/index.js | 8 +- lib/locales/en/music/index.js | 6 +- lib/locales/en/name/binary_gender.js | 2 +- lib/locales/en/name/female_first_name.js | 2 +- lib/locales/en/name/index.js | 24 +- lib/locales/en/name/male_first_name.js | 2 +- lib/locales/en/phone_number/index.js | 6 +- lib/locales/en/system/directoryPaths.js | 2 +- lib/locales/en/system/index.js | 8 +- lib/locales/en/system/mimeTypes.js | 4 +- lib/locales/en/team/index.js | 8 +- lib/locales/en/vehicle/bicycle.js | 2 +- lib/locales/en/vehicle/index.js | 2 +- lib/locales/en/vehicle/model.js | 2 +- lib/locales/en/word/adjective.js | 2 +- lib/locales/en/word/adverb.js | 2 +- lib/locales/en/word/conjunction.js | 2 +- lib/locales/en/word/interjection.js | 2 +- lib/locales/en/word/noun.js | 2 +- lib/locales/en/word/preposition.js | 2 +- lib/locales/en/word/verb.js | 4 +- lib/locales/en_AU/address/index.js | 16 +- lib/locales/en_AU/company/index.js | 6 +- lib/locales/en_AU/index.js | 16 +- lib/locales/en_AU/internet/index.js | 6 +- lib/locales/en_AU/name/index.js | 8 +- lib/locales/en_AU/phone_number/index.js | 6 +- lib/locales/en_AU_ocker/address/index.js | 26 +- lib/locales/en_AU_ocker/company/index.js | 7 +- lib/locales/en_AU_ocker/index.js | 16 +- lib/locales/en_AU_ocker/internet/index.js | 6 +- lib/locales/en_AU_ocker/name/index.js | 10 +- lib/locales/en_AU_ocker/phone_number/index.js | 6 +- lib/locales/en_BORK/index.js | 8 +- lib/locales/en_BORK/lorem/index.js | 6 +- lib/locales/en_CA/address/index.js | 12 +- lib/locales/en_CA/address/postcode.js | 2 +- lib/locales/en_CA/index.js | 12 +- lib/locales/en_CA/internet/index.js | 8 +- lib/locales/en_CA/phone_number/index.js | 6 +- lib/locales/en_GB/address/index.js | 12 +- lib/locales/en_GB/address/postcode.js | 2 +- lib/locales/en_GB/cell_phone/index.js | 6 +- lib/locales/en_GB/index.js | 14 +- lib/locales/en_GB/internet/index.js | 6 +- lib/locales/en_GB/phone_number/index.js | 6 +- lib/locales/en_GH/address/default_country.js | 2 +- lib/locales/en_GH/address/index.js | 24 +- lib/locales/en_GH/address/postcode.js | 2 +- lib/locales/en_GH/address/street_name.js | 2 +- lib/locales/en_GH/address/street_prefix.js | 2 +- lib/locales/en_GH/company/index.js | 8 +- lib/locales/en_GH/company/suffix.js | 2 +- lib/locales/en_GH/index.js | 16 +- lib/locales/en_GH/internet/domain_suffix.js | 2 +- lib/locales/en_GH/internet/index.js | 6 +- lib/locales/en_GH/name/female_first_name.js | 4 +- lib/locales/en_GH/name/first_name.js | 4 +- lib/locales/en_GH/name/index.js | 14 +- lib/locales/en_GH/name/last_name.js | 4 +- lib/locales/en_GH/name/male_first_name.js | 4 +- lib/locales/en_GH/name/name.js | 2 +- lib/locales/en_GH/phone_number/formats.js | 4 +- lib/locales/en_GH/phone_number/index.js | 6 +- lib/locales/en_IE/address/index.js | 8 +- lib/locales/en_IE/cell_phone/index.js | 6 +- lib/locales/en_IE/index.js | 14 +- lib/locales/en_IE/internet/index.js | 6 +- lib/locales/en_IE/phone_number/index.js | 6 +- lib/locales/en_IND/address/city_name.js | 2 +- lib/locales/en_IND/company/index.js | 6 +- lib/locales/en_IND/index.js | 16 +- lib/locales/en_IND/internet/index.js | 8 +- lib/locales/en_IND/name/index.js | 8 +- lib/locales/en_IND/phone_number/formats.js | 2 +- lib/locales/en_IND/phone_number/index.js | 6 +- lib/locales/en_NG/address/index.js | 14 +- lib/locales/en_NG/address/state.js | 2 +- lib/locales/en_NG/company/index.js | 6 +- lib/locales/en_NG/index.js | 16 +- lib/locales/en_NG/internet/domain_suffix.js | 2 +- lib/locales/en_NG/internet/index.js | 6 +- lib/locales/en_NG/name/female_first_name.js | 2 +- lib/locales/en_NG/name/first_name.js | 4 +- lib/locales/en_NG/name/index.js | 14 +- lib/locales/en_NG/name/last_name.js | 2 +- lib/locales/en_NG/name/male_first_name.js | 4 +- lib/locales/en_NG/phone_number/formats.js | 2 +- lib/locales/en_NG/phone_number/index.js | 6 +- lib/locales/en_US/address/index.js | 8 +- .../en_US/address/postcode_by_state.js | 314 ++-- lib/locales/en_US/index.js | 12 +- lib/locales/en_US/internet/index.js | 6 +- lib/locales/en_US/phone_number/index.js | 8 +- lib/locales/en_ZA/address/index.js | 14 +- lib/locales/en_ZA/cell_phone/formats.js | 2 +- lib/locales/en_ZA/cell_phone/index.js | 6 +- lib/locales/en_ZA/company/index.js | 6 +- lib/locales/en_ZA/index.js | 18 +- lib/locales/en_ZA/internet/domain_suffix.js | 2 +- lib/locales/en_ZA/internet/index.js | 6 +- lib/locales/en_ZA/name/female_first_name.js | 2 +- lib/locales/en_ZA/name/first_name.js | 2 +- lib/locales/en_ZA/name/index.js | 14 +- lib/locales/en_ZA/name/last_name.js | 2 +- lib/locales/en_ZA/name/male_first_name.js | 2 +- lib/locales/en_ZA/phone_number/formats.js | 2 +- lib/locales/en_ZA/phone_number/index.js | 10 +- lib/locales/es/address/index.js | 32 +- lib/locales/es/cell_phone/index.js | 6 +- lib/locales/es/commerce/color.js | 2 +- lib/locales/es/commerce/department.js | 2 +- lib/locales/es/commerce/product_name.js | 2 +- lib/locales/es/company/index.js | 14 +- lib/locales/es/index.js | 20 +- lib/locales/es/internet/index.js | 8 +- lib/locales/es/name/female_first_name.js | 2 +- lib/locales/es/name/index.js | 20 +- lib/locales/es/phone_number/index.js | 6 +- lib/locales/es_MX/address/index.js | 34 +- lib/locales/es_MX/address/street.js | 2 +- lib/locales/es_MX/cell_phone/index.js | 6 +- lib/locales/es_MX/commerce/index.js | 10 +- lib/locales/es_MX/company/bs_verb.js | 2 +- lib/locales/es_MX/company/index.js | 20 +- lib/locales/es_MX/index.js | 26 +- lib/locales/es_MX/internet/index.js | 8 +- lib/locales/es_MX/lorem/index.js | 6 +- lib/locales/es_MX/name/first_name.js | 2 +- lib/locales/es_MX/name/index.js | 16 +- lib/locales/es_MX/phone_number/index.js | 6 +- lib/locales/es_MX/team/index.js | 8 +- lib/locales/fa/address/index.js | 35 +- lib/locales/fa/cell_phone/index.js | 6 +- lib/locales/fa/commerce/index.js | 10 +- lib/locales/fa/company/adjective.js | 2 +- lib/locales/fa/company/index.js | 20 +- lib/locales/fa/finance/credit_card/index.js | 9 +- lib/locales/fa/finance/currency.js | 2 +- lib/locales/fa/finance/index.js | 12 +- lib/locales/fa/index.js | 28 +- lib/locales/fa/internet/index.js | 10 +- lib/locales/fa/lorem/index.js | 6 +- lib/locales/fa/name/index.js | 16 +- lib/locales/fa/phone_number/index.js | 6 +- lib/locales/fa/vehicle/model.js | 2 +- lib/locales/fi/index.js | 8 +- lib/locales/fi/name/female_first_name.js | 2 +- lib/locales/fi/name/first_name.js | 2 +- lib/locales/fi/name/index.js | 14 +- lib/locales/fi/name/last_name.js | 2 +- lib/locales/fi/name/male_first_name.js | 2 +- lib/locales/fi/name/name.js | 2 +- lib/locales/fr/address/country.js | 2 +- lib/locales/fr/address/index.js | 28 +- lib/locales/fr/company/index.js | 20 +- lib/locales/fr/date/month.js | 12 +- lib/locales/fr/index.js | 20 +- lib/locales/fr/internet/index.js | 2 +- lib/locales/fr/lorem/index.js | 6 +- lib/locales/fr/name/female_first_name.js | 2 +- lib/locales/fr/name/index.js | 18 +- lib/locales/fr/name/male_first_name.js | 2 +- lib/locales/fr/phone_number/index.js | 6 +- lib/locales/fr_BE/adresses/building_number.js | 2 +- lib/locales/fr_BE/adresses/city_suffix.js | 2 +- lib/locales/fr_BE/adresses/index.js | 36 +- lib/locales/fr_BE/cell_phone/index.js | 6 +- lib/locales/fr_BE/index.js | 28 +- lib/locales/fr_BE/internet/index.js | 8 +- lib/locales/fr_BE/name/index.js | 22 +- lib/locales/fr_BE/phone_number/index.js | 6 +- lib/locales/fr_CA/address/index.js | 12 +- lib/locales/fr_CA/address/postcode.js | 2 +- lib/locales/fr_CA/index.js | 12 +- lib/locales/fr_CA/internet/index.js | 8 +- lib/locales/fr_CA/phone_number/index.js | 6 +- lib/locales/fr_CH/address/country_code.js | 2 +- lib/locales/fr_CH/address/index.js | 17 +- lib/locales/fr_CH/index.js | 12 +- lib/locales/fr_CH/internet/index.js | 6 +- lib/locales/fr_CH/phone_number/formats.js | 2 +- lib/locales/fr_CH/phone_number/index.js | 6 +- lib/locales/ge/address/index.js | 30 +- lib/locales/ge/cell_phone/index.js | 6 +- lib/locales/ge/company/index.js | 10 +- lib/locales/ge/index.js | 20 +- lib/locales/ge/internet/index.js | 8 +- lib/locales/ge/name/index.js | 14 +- lib/locales/ge/phone_number/index.js | 6 +- lib/locales/he/address/country.js | 348 ++-- .../he/address/country_code_alpha_3.js | 502 +++--- lib/locales/he/address/index.js | 44 +- lib/locales/he/cell_phone/index.js | 6 +- lib/locales/he/commerce/index.js | 12 +- .../he/commerce/product_description.js | 2 +- lib/locales/he/index.js | 34 +- lib/locales/he/lorem/index.js | 8 +- lib/locales/he/lorem/words.js | 446 ++--- lib/locales/he/music/genre.js | 36 +- lib/locales/he/music/index.js | 6 +- lib/locales/he/name/female_first_name.js | 676 ++++---- lib/locales/he/name/gender.js | 142 +- lib/locales/he/name/index.js | 22 +- lib/locales/he/name/last_name.js | 1516 ++++++++--------- lib/locales/he/name/male_first_name.js | 720 ++++---- lib/locales/he/phone_number/index.js | 6 +- lib/locales/hr/address/city_name.js | 2 +- lib/locales/hr/address/index.js | 26 +- lib/locales/hr/cell_phone/index.js | 6 +- lib/locales/hr/index.js | 18 +- lib/locales/hr/internet/index.js | 8 +- lib/locales/hr/name/index.js | 20 +- lib/locales/hr/name/last_name.js | 2 +- lib/locales/hr/name/male_first_name.js | 2 +- lib/locales/hr/phone_number/index.js | 6 +- lib/locales/hy/address/country.js | 2 +- lib/locales/hy/address/index.js | 28 +- lib/locales/hy/commerce/index.js | 6 +- lib/locales/hy/date/month.js | 2 +- lib/locales/hy/date/weekday.js | 2 +- lib/locales/hy/index.js | 22 +- lib/locales/hy/internet/index.js | 6 +- lib/locales/hy/lorem/index.js | 6 +- lib/locales/hy/name/female_first_name.js | 2 +- lib/locales/hy/name/first_name.js | 2 +- lib/locales/hy/name/index.js | 14 +- lib/locales/hy/name/last_name.js | 2 +- lib/locales/hy/name/male_first_name.js | 2 +- lib/locales/hy/phone_number/index.js | 6 +- lib/locales/id_ID/address/city_name.js | 2 +- lib/locales/id_ID/address/index.js | 22 +- lib/locales/id_ID/address/postcode.js | 2 +- lib/locales/id_ID/address/state.js | 2 +- lib/locales/id_ID/address/street_address.js | 2 +- lib/locales/id_ID/address/street_name.js | 2 +- lib/locales/id_ID/address/street_prefix.js | 2 +- lib/locales/id_ID/company/index.js | 10 +- lib/locales/id_ID/company/prefix.js | 2 +- lib/locales/id_ID/company/suffix.js | 2 +- lib/locales/id_ID/index.js | 18 +- lib/locales/id_ID/internet/domain_suffix.js | 2 +- lib/locales/id_ID/internet/free_email.js | 2 +- lib/locales/id_ID/internet/index.js | 8 +- lib/locales/id_ID/name/female_first_name.js | 2 +- lib/locales/id_ID/name/female_last_name.js | 2 +- lib/locales/id_ID/name/female_title.js | 2 +- lib/locales/id_ID/name/index.js | 18 +- lib/locales/id_ID/name/male_last_name.js | 2 +- lib/locales/id_ID/name/male_title.js | 2 +- lib/locales/id_ID/name/prefix.js | 2 +- lib/locales/id_ID/name/suffix.js | 2 +- lib/locales/id_ID/phone_number/formats.js | 2 +- lib/locales/id_ID/phone_number/index.js | 6 +- lib/locales/it/address/city_name.js | 2 +- lib/locales/it/address/index.js | 32 +- lib/locales/it/company/index.js | 20 +- lib/locales/it/index.js | 16 +- lib/locales/it/internet/index.js | 8 +- lib/locales/it/name/female_first_name.js | 2 +- lib/locales/it/name/index.js | 18 +- lib/locales/it/name/last_name.js | 4 +- lib/locales/it/name/male_first_name.js | 2 +- lib/locales/it/phone_number/index.js | 6 +- lib/locales/ja/address/country.js | 2 +- lib/locales/ja/address/index.js | 20 +- lib/locales/ja/cell_phone/index.js | 6 +- lib/locales/ja/name/index.js | 10 +- lib/locales/ja/phone_number/index.js | 6 +- lib/locales/ko/address/index.js | 22 +- lib/locales/ko/company/index.js | 10 +- lib/locales/ko/index.js | 18 +- lib/locales/ko/internet/index.js | 8 +- lib/locales/ko/lorem/index.js | 6 +- lib/locales/ko/name/index.js | 10 +- lib/locales/ko/phone_number/index.js | 6 +- lib/locales/lv/address/index.js | 28 +- lib/locales/lv/cell_phone/index.js | 6 +- lib/locales/lv/commerce/index.js | 10 +- lib/locales/lv/company/index.js | 10 +- lib/locales/lv/index.js | 26 +- lib/locales/lv/internet/index.js | 8 +- lib/locales/lv/lorem/index.js | 8 +- lib/locales/lv/lorem/supplemental.js | 2 +- lib/locales/lv/name/female_first_name.js | 2 +- lib/locales/lv/name/female_last_name.js | 2 +- lib/locales/lv/name/index.js | 20 +- lib/locales/lv/name/male_first_name.js | 2 +- lib/locales/lv/name/male_last_name.js | 2 +- lib/locales/lv/name/name.js | 4 +- lib/locales/lv/phone_number/index.js | 7 +- lib/locales/mk/address/index.js | 24 +- lib/locales/mk/cell_phone/index.js | 6 +- lib/locales/mk/company/index.js | 8 +- lib/locales/mk/date/month.js | 2 +- lib/locales/mk/index.js | 22 +- lib/locales/mk/internet/index.js | 8 +- lib/locales/mk/name/female_prefix.js | 2 +- lib/locales/mk/name/index.js | 28 +- lib/locales/mk/name/male_prefix.js | 2 +- lib/locales/mk/phone_number/index.js | 6 +- lib/locales/nb_NO/address/index.js | 32 +- lib/locales/nb_NO/company/index.js | 8 +- lib/locales/nb_NO/index.js | 16 +- lib/locales/nb_NO/internet/index.js | 6 +- lib/locales/nb_NO/name/index.js | 18 +- lib/locales/nb_NO/phone_number/index.js | 6 +- lib/locales/ne/address/index.js | 12 +- lib/locales/ne/company/index.js | 6 +- lib/locales/ne/index.js | 16 +- lib/locales/ne/internet/index.js | 8 +- lib/locales/ne/name/index.js | 8 +- lib/locales/ne/phone_number/index.js | 6 +- lib/locales/nl/address/index.js | 28 +- lib/locales/nl/commerce/index.js | 10 +- lib/locales/nl/company/index.js | 6 +- lib/locales/nl/hacker/index.js | 12 +- lib/locales/nl/hacker/phrase.js | 2 +- lib/locales/nl/index.js | 24 +- lib/locales/nl/internet/index.js | 8 +- lib/locales/nl/lorem/index.js | 6 +- lib/locales/nl/name/female_first_name.js | 2 +- lib/locales/nl/name/index.js | 20 +- lib/locales/nl/name/male_first_name.js | 4 +- lib/locales/nl/phone_number/index.js | 6 +- lib/locales/nl_BE/address/city_suffix.js | 2 +- lib/locales/nl_BE/address/index.js | 32 +- lib/locales/nl_BE/company/index.js | 6 +- lib/locales/nl_BE/index.js | 16 +- lib/locales/nl_BE/internet/index.js | 8 +- lib/locales/nl_BE/name/index.js | 14 +- lib/locales/nl_BE/name/last_name.js | 2 +- lib/locales/nl_BE/phone_number/index.js | 6 +- lib/locales/pl/address/index.js | 28 +- lib/locales/pl/cell_phone/index.js | 6 +- lib/locales/pl/company/index.js | 20 +- lib/locales/pl/index.js | 20 +- lib/locales/pl/internet/index.js | 8 +- lib/locales/pl/lorem/index.js | 6 +- lib/locales/pl/name/female_first_name.js | 2 +- lib/locales/pl/name/index.js | 14 +- lib/locales/pl/name/male_first_name.js | 2 +- lib/locales/pl/phone_number/index.js | 6 +- lib/locales/pt_BR/address/index.js | 24 +- lib/locales/pt_BR/commerce/index.js | 10 +- lib/locales/pt_BR/company/index.js | 8 +- lib/locales/pt_BR/index.js | 22 +- lib/locales/pt_BR/internet/index.js | 8 +- lib/locales/pt_BR/lorem/index.js | 6 +- lib/locales/pt_BR/name/binary_gender.js | 2 +- lib/locales/pt_BR/name/female_first_name.js | 2 +- lib/locales/pt_BR/name/index.js | 20 +- lib/locales/pt_BR/name/male_first_name.js | 2 +- lib/locales/pt_BR/phone_number/index.js | 6 +- lib/locales/pt_PT/address/index.js | 28 +- lib/locales/pt_PT/cell_phone/index.js | 6 +- lib/locales/pt_PT/commerce/index.js | 10 +- lib/locales/pt_PT/index.js | 20 +- lib/locales/pt_PT/internet/index.js | 8 +- lib/locales/pt_PT/name/index.js | 22 +- lib/locales/pt_PT/name/male_prefix.js | 2 +- lib/locales/pt_PT/phone_number/index.js | 6 +- lib/locales/ro/address/city.js | 2 +- lib/locales/ro/address/index.js | 28 +- lib/locales/ro/address/state_abbr.js | 2 +- lib/locales/ro/address/streets.js | 2 +- lib/locales/ro/cell_phone/index.js | 6 +- lib/locales/ro/index.js | 18 +- lib/locales/ro/internet/index.js | 8 +- lib/locales/ro/name/index.js | 16 +- lib/locales/ro/phone_number/index.js | 6 +- lib/locales/ru/address/index.js | 28 +- lib/locales/ru/commerce/index.js | 10 +- lib/locales/ru/company/index.js | 10 +- lib/locales/ru/hacker/index.js | 16 +- lib/locales/ru/hacker/phrase.js | 2 +- lib/locales/ru/index.js | 26 +- lib/locales/ru/internet/index.js | 8 +- lib/locales/ru/name/index.js | 24 +- lib/locales/ru/phone_number/index.js | 6 +- lib/locales/sk/address/index.js | 32 +- lib/locales/sk/company/index.js | 18 +- lib/locales/sk/index.js | 18 +- lib/locales/sk/internet/index.js | 8 +- lib/locales/sk/lorem/index.js | 6 +- lib/locales/sk/name/index.js | 20 +- lib/locales/sk/phone_number/index.js | 6 +- lib/locales/sv/address/index.js | 34 +- lib/locales/sv/cell_phone/index.js | 8 +- lib/locales/sv/commerce/index.js | 10 +- lib/locales/sv/company/index.js | 8 +- lib/locales/sv/index.js | 24 +- lib/locales/sv/internet/index.js | 6 +- lib/locales/sv/name/female_first_name.js | 2 +- lib/locales/sv/name/first_name.js | 2 +- lib/locales/sv/name/index.js | 18 +- lib/locales/sv/phone_number/index.js | 6 +- lib/locales/sv/team/index.js | 8 +- lib/locales/tr/address/index.js | 20 +- lib/locales/tr/cell_phone/index.js | 6 +- lib/locales/tr/commerce/index.js | 12 +- .../tr/commerce/product_description.js | 2 +- lib/locales/tr/index.js | 20 +- lib/locales/tr/internet/index.js | 6 +- lib/locales/tr/lorem/index.js | 6 +- lib/locales/tr/name/index.js | 16 +- lib/locales/tr/name/male_first_name.js | 2 +- lib/locales/tr/phone_number/index.js | 8 +- lib/locales/uk/address/index.js | 34 +- lib/locales/uk/company/index.js | 10 +- lib/locales/uk/index.js | 16 +- lib/locales/uk/internet/index.js | 8 +- lib/locales/uk/name/index.js | 24 +- lib/locales/uk/phone_number/index.js | 6 +- lib/locales/ur/address/building_number.js | 2 +- lib/locales/ur/address/city.js | 4 +- lib/locales/ur/address/city_name.js | 2 +- lib/locales/ur/address/city_prefix.js | 2 +- lib/locales/ur/address/city_suffix.js | 2 +- lib/locales/ur/address/country.js | 4 +- lib/locales/ur/address/default_country.js | 2 +- lib/locales/ur/address/direction.js | 4 +- lib/locales/ur/address/index.js | 36 +- lib/locales/ur/address/postcode.js | 2 +- lib/locales/ur/address/postcode_by_state.js | 2 +- lib/locales/ur/address/secondary_address.js | 2 +- lib/locales/ur/address/state.js | 4 +- lib/locales/ur/address/state_abbr.js | 2 +- lib/locales/ur/address/street_address.js | 2 +- lib/locales/ur/address/street_name.js | 4 +- lib/locales/ur/address/street_suffix.js | 2 +- lib/locales/ur/animal/bear.js | 4 +- lib/locales/ur/animal/cow.js | 2 +- lib/locales/ur/animal/crocodilia.js | 4 +- lib/locales/ur/animal/index.js | 16 +- lib/locales/ur/animal/insect.js | 2 +- lib/locales/ur/animal/lion.js | 4 +- lib/locales/ur/animal/type.js | 2 +- lib/locales/ur/app/author.js | 2 +- lib/locales/ur/app/index.js | 10 +- lib/locales/ur/app/name.js | 4 +- lib/locales/ur/app/version.js | 2 +- lib/locales/ur/business/credit_card_types.js | 2 +- lib/locales/ur/business/index.js | 6 +- lib/locales/ur/cell_phone/formats.js | 2 +- lib/locales/ur/cell_phone/index.js | 6 +- lib/locales/ur/commerce/color.js | 4 +- lib/locales/ur/commerce/department.js | 4 +- lib/locales/ur/commerce/index.js | 10 +- lib/locales/ur/commerce/product_name.js | 8 +- lib/locales/ur/date/month.js | 8 +- lib/locales/ur/date/weekday.js | 4 +- lib/locales/ur/finance/index.js | 8 +- lib/locales/ur/index.js | 34 +- lib/locales/ur/lorem/index.js | 8 +- lib/locales/ur/lorem/supplemental.js | 2 +- lib/locales/ur/lorem/words.js | 2 +- lib/locales/ur/music/genre.js | 2 +- lib/locales/ur/music/index.js | 6 +- lib/locales/ur/name/female_first_name.js | 4 +- lib/locales/ur/name/first_name.js | 4 +- lib/locales/ur/name/last_name.js | 4 +- lib/locales/ur/name/male_first_name.js | 4 +- lib/locales/ur/name/name.js | 4 +- lib/locales/ur/name/suffix.js | 4 +- lib/locales/ur/name/title.js | 8 +- lib/locales/ur/team/creature.js | 4 +- lib/locales/ur/team/index.js | 8 +- lib/locales/ur/vehicle/index.js | 2 +- lib/locales/ur/vehicle/manufacturer.js | 4 +- lib/locales/ur/vehicle/vehicle_type.js | 2 +- lib/locales/vi/address/index.js | 14 +- lib/locales/vi/cell_phone/index.js | 6 +- lib/locales/vi/company/index.js | 8 +- lib/locales/vi/date/weekday.js | 4 +- lib/locales/vi/index.js | 22 +- lib/locales/vi/internet/index.js | 6 +- lib/locales/vi/lorem/index.js | 6 +- lib/locales/vi/name/female_first_name.js | 2 +- lib/locales/vi/name/index.js | 14 +- lib/locales/vi/name/male_first_name.js | 2 +- lib/locales/vi/name/name.js | 2 +- lib/locales/vi/phone_number/index.js | 6 +- lib/locales/zh_CN/address/index.js | 26 +- lib/locales/zh_CN/index.js | 12 +- lib/locales/zh_CN/name/index.js | 10 +- lib/locales/zh_CN/phone_number/index.js | 6 +- lib/locales/zh_TW/address/index.js | 26 +- lib/locales/zh_TW/index.js | 12 +- lib/locales/zh_TW/name/index.js | 10 +- lib/locales/zh_TW/phone_number/index.js | 6 +- lib/locales/zu_ZA/address/index.js | 8 +- lib/locales/zu_ZA/cell_phone/index.js | 6 +- lib/locales/zu_ZA/company/index.js | 6 +- lib/locales/zu_ZA/index.js | 16 +- lib/locales/zu_ZA/internet/index.js | 6 +- lib/locales/zu_ZA/name/female_first_name.js | 2 +- lib/locales/zu_ZA/name/index.js | 12 +- lib/locales/zu_ZA/name/last_name.js | 2 +- lib/locales/zu_ZA/name/male_first_name.js | 2 +- lib/locales/zu_ZA/phone_number/formats.js | 2 +- lib/locales/zu_ZA/phone_number/index.js | 6 +- lib/lorem.js | 8 +- lib/music.js | 2 +- lib/random.js | 13 +- lib/system.js | 10 +- lib/time.js | 2 +- lib/unique.js | 2 +- lib/vehicle.js | 22 +- locale/ur.js | 2 +- package.js | 6 +- package.json | 2 +- 647 files changed, 5512 insertions(+), 5566 deletions(-) diff --git a/.eslintrc b/.eslintrc index bd7eb89e..19029e63 100644 --- a/.eslintrc +++ b/.eslintrc @@ -11,7 +11,7 @@ "no-multi-str": 2, "no-debugger": 0, "strict": 0, - "semi": 0, + "semi": 2, "linebreak-style": 0, "no-bitwise": 0, "no-cond-assign": 0, @@ -43,6 +43,9 @@ "dot-notation": 0, "no-unused-vars": 2, "no-const-assign": 2, + "comma-dangle": 2, + "key-spacing": 2, + "eol-last": 2, "indent": [ 2, 2, diff --git a/lib/address.js b/lib/address.js index a91096f7..e14fa607 100644 --- a/lib/address.js +++ b/lib/address.js @@ -65,7 +65,7 @@ function Address(blaver) { "{{address.cityPrefix}} {{name.firstName}}{{address.citySuffix}}", "{{address.cityPrefix}} {{name.firstName}}", "{{name.firstName}}{{address.citySuffix}}", - "{{name.lastName}}{{address.citySuffix}}", + "{{name.lastName}}{{address.citySuffix}}" ]; if (!format && blaver.definitions.address.city_name) { @@ -256,9 +256,8 @@ function Address(blaver) { * state * * @method blaver.address.state - * @param {Boolean} useAbbr */ - this.state = function (useAbbr) { + this.state = function () { return blaver.random.arrayElement( blaver.definitions.address.state ); @@ -292,7 +291,7 @@ function Address(blaver) { .number({ max: max, min: min, - precision: parseFloat((0.0).toPrecision(precision) + "1"), + precision: parseFloat((0.0).toPrecision(precision) + "1") }) .toFixed(precision); }; @@ -314,7 +313,7 @@ function Address(blaver) { .number({ max: max, min: min, - precision: parseFloat((0.0).toPrecision(precision) + "1"), + precision: parseFloat((0.0).toPrecision(precision) + "1") }) .toFixed(precision); }; @@ -339,7 +338,7 @@ function Address(blaver) { this.direction.schema = { description: "Generates a direction. Use optional useAbbr bool to return abbreviation", - sampleResults: ["Northwest", "South", "SW", "E"], + sampleResults: ["Northwest", "South", "SW", "E"] }; /** @@ -362,7 +361,7 @@ function Address(blaver) { this.cardinalDirection.schema = { description: "Generates a cardinal direction. Use optional useAbbr boolean to return abbreviation", - sampleResults: ["North", "South", "E", "W"], + sampleResults: ["North", "South", "E", "W"] }; /** @@ -385,13 +384,10 @@ function Address(blaver) { this.ordinalDirection.schema = { description: "Generates an ordinal direction. Use optional useAbbr boolean to return abbreviation", - sampleResults: ["Northwest", "Southeast", "SW", "NE"], + sampleResults: ["Northwest", "Southeast", "SW", "NE"] }; this.nearbyGPSCoordinate = function (coordinate, radius, isMetric) { - function randomFloat(min, max) { - return Math.random() * (max - min) + min; - } function degreesToRadians(degrees) { return degrees * (Math.PI / 180.0); } @@ -410,7 +406,7 @@ function Address(blaver) { const lat2 = Math.asin( Math.sin(lat1) * Math.cos(d / R) + - Math.cos(lat1) * Math.sin(d / R) * Math.cos(bearing) + Math.cos(lat1) * Math.sin(d / R) * Math.cos(bearing) ); let lon2 = diff --git a/lib/company.js b/lib/company.js index 0dce8a0b..40e5a7de 100644 --- a/lib/company.js +++ b/lib/company.js @@ -3,7 +3,6 @@ * @namespace blaver.company */ const Company = function (blaver) { - const self = this; const f = blaver.fake; /** @@ -26,7 +25,7 @@ const Company = function (blaver) { const formats = [ "{{name.lastName}} {{company.companySuffix}}", "{{name.lastName}} - {{name.lastName}}", - "{{name.lastName}}, {{name.lastName}} and {{name.lastName}}", + "{{name.lastName}}, {{name.lastName}} and {{name.lastName}}" ]; if (typeof format !== "number") { diff --git a/lib/database.js b/lib/database.js index fa65b64b..73e264af 100644 --- a/lib/database.js +++ b/lib/database.js @@ -17,7 +17,7 @@ const Database = function (blaver) { self.column.schema = { description: "Generates a column name.", - sampleResults: ["id", "title", "createdAt"], + sampleResults: ["id", "title", "createdAt"] }; /** @@ -33,7 +33,7 @@ const Database = function (blaver) { self.type.schema = { description: "Generates a column type.", - sampleResults: ["byte", "int", "varchar", "timestamp"], + sampleResults: ["byte", "int", "varchar", "timestamp"] }; /** @@ -49,7 +49,7 @@ const Database = function (blaver) { self.collation.schema = { description: "Generates a collation.", - sampleResults: ["utf8_unicode_ci", "utf8_bin"], + sampleResults: ["utf8_unicode_ci", "utf8_bin"] }; /** @@ -65,7 +65,7 @@ const Database = function (blaver) { self.engine.schema = { description: "Generates a storage engine.", - sampleResults: ["MyISAM", "InnoDB"], + sampleResults: ["MyISAM", "InnoDB"] }; }; diff --git a/lib/datatype.js b/lib/datatype.js index 5ba5632d..4d33c459 100644 --- a/lib/datatype.js +++ b/lib/datatype.js @@ -20,7 +20,7 @@ function Datatype(blaver, seed) { this.number = function (options) { if (typeof options === "number") { options = { - max: options, + max: options }; } @@ -64,7 +64,7 @@ function Datatype(blaver, seed) { this.float = function (options) { if (typeof options === "number") { options = { - precision: options, + precision: options }; } options = options || {}; @@ -88,7 +88,7 @@ function Datatype(blaver, seed) { this.datetime = function (options) { if (typeof options === "number") { options = { - max: options, + max: options }; } @@ -127,7 +127,7 @@ function Datatype(blaver, seed) { const charCodeOption = { min: 33, - max: 125, + max: 125 }; let returnString = ""; @@ -199,7 +199,7 @@ function Datatype(blaver, seed) { "C", "D", "E", - "F", + "F" ]); } diff --git a/lib/date.js b/lib/date.js index 5b14a082..690ecde7 100644 --- a/lib/date.js +++ b/lib/date.js @@ -19,7 +19,7 @@ const _Date = function (blaver) { const range = { min: 1000, - max: (years || 1) * 365 * 24 * 3600 * 1000, + max: (years || 1) * 365 * 24 * 3600 * 1000 }; let past = date.getTime(); @@ -44,7 +44,7 @@ const _Date = function (blaver) { const range = { min: 1000, - max: (years || 1) * 365 * 24 * 3600 * 1000, + max: (years || 1) * 365 * 24 * 3600 * 1000 }; let future = date.getTime(); @@ -108,7 +108,7 @@ const _Date = function (blaver) { const range = { min: 1000, - max: (days || 1) * 24 * 3600 * 1000, + max: (days || 1) * 24 * 3600 * 1000 }; let future = date.getTime(); @@ -133,7 +133,7 @@ const _Date = function (blaver) { const range = { min: 1000, - max: (days || 1) * 24 * 3600 * 1000, + max: (days || 1) * 24 * 3600 * 1000 }; let future = date.getTime(); diff --git a/lib/finance.js b/lib/finance.js index d4c83d9e..c60a5a11 100644 --- a/lib/finance.js +++ b/lib/finance.js @@ -32,7 +32,7 @@ const Finance = function (blaver) { self.accountName = function () { return [ Helpers.randomize(blaver.definitions.finance.account_type), - "Account", + "Account" ].join(" "); }; @@ -111,13 +111,13 @@ const Finance = function (blaver) { const randValue = blaver.datatype.number({ max: max, min: min, - precision: Math.pow(10, -dec), + precision: Math.pow(10, -dec) }); let formattedString; if (autoFormat) { formattedString = randValue.toLocaleString(undefined, { - minimumFractionDigits: dec, + minimumFractionDigits: dec }); } else { formattedString = randValue.toFixed(dec); diff --git a/lib/git.js b/lib/git.js index e47a1f51..cef5860c 100644 --- a/lib/git.js +++ b/lib/git.js @@ -22,7 +22,7 @@ const Git = function (blaver) { "c", "d", "e", - "f", + "f" ]; /** diff --git a/lib/hacker.js b/lib/hacker.js index 4be6b007..b4ec5939 100644 --- a/lib/hacker.js +++ b/lib/hacker.js @@ -67,7 +67,7 @@ const Hacker = function (blaver) { adjective: self.adjective, ingverb: self.ingverb, noun: self.noun, - verb: self.verb, + verb: self.verb }; const phrase = blaver.random.arrayElement( diff --git a/lib/iban.js b/lib/iban.js index bd6c570d..6a3dee66 100644 --- a/lib/iban.js +++ b/lib/iban.js @@ -25,7 +25,7 @@ module.exports = { "W", "X", "Y", - "Z", + "Z" ], pattern10: ["01", "02", "03", "04", "05", "06", "07", "08", "09"], pattern100: ["001", "002", "003", "004", "005", "006", "007", "008", "009"], @@ -48,14 +48,14 @@ module.exports = { bban: [ { type: "n", - count: 8, + count: 8 }, { type: "c", - count: 16, - }, + count: 16 + } ], - format: "ALkk bbbs sssx cccc cccc cccc cccc", + format: "ALkk bbbs sssx cccc cccc cccc cccc" }, { country: "AD", @@ -63,14 +63,14 @@ module.exports = { bban: [ { type: "n", - count: 8, + count: 8 }, { type: "c", - count: 12, - }, + count: 12 + } ], - format: "ADkk bbbb ssss cccc cccc cccc", + format: "ADkk bbbb ssss cccc cccc cccc" }, { country: "AT", @@ -78,14 +78,14 @@ module.exports = { bban: [ { type: "n", - count: 5, + count: 5 }, { type: "n", - count: 11, - }, + count: 11 + } ], - format: "ATkk bbbb bccc cccc cccc", + format: "ATkk bbbb bccc cccc cccc" }, { // Azerbaijan @@ -101,14 +101,14 @@ module.exports = { bban: [ { type: "a", - count: 4, + count: 4 }, { type: "n", - count: 20, - }, + count: 20 + } ], - format: "AZkk bbbb cccc cccc cccc cccc cccc", + format: "AZkk bbbb cccc cccc cccc cccc cccc" }, { country: "BH", @@ -116,14 +116,14 @@ module.exports = { bban: [ { type: "a", - count: 4, + count: 4 }, { type: "c", - count: 14, - }, + count: 14 + } ], - format: "BHkk bbbb cccc cccc cccc cc", + format: "BHkk bbbb cccc cccc cccc cc" }, { country: "BE", @@ -131,14 +131,14 @@ module.exports = { bban: [ { type: "n", - count: 3, + count: 3 }, { type: "n", - count: 9, - }, + count: 9 + } ], - format: "BEkk bbbc cccc ccxx", + format: "BEkk bbbc cccc ccxx" }, { country: "BA", @@ -146,14 +146,14 @@ module.exports = { bban: [ { type: "n", - count: 6, + count: 6 }, { type: "n", - count: 10, - }, + count: 10 + } ], - format: "BAkk bbbs sscc cccc ccxx", + format: "BAkk bbbs sscc cccc ccxx" }, { country: "BR", @@ -161,22 +161,22 @@ module.exports = { bban: [ { type: "n", - count: 13, + count: 13 }, { type: "n", - count: 10, + count: 10 }, { type: "a", - count: 1, + count: 1 }, { type: "c", - count: 1, - }, + count: 1 + } ], - format: "BRkk bbbb bbbb ssss sccc cccc ccct n", + format: "BRkk bbbb bbbb ssss sccc cccc ccct n" }, { country: "BG", @@ -184,18 +184,18 @@ module.exports = { bban: [ { type: "a", - count: 4, + count: 4 }, { type: "n", - count: 6, + count: 6 }, { type: "c", - count: 8, - }, + count: 8 + } ], - format: "BGkk bbbb ssss ddcc cccc cc", + format: "BGkk bbbb ssss ddcc cccc cc" }, { country: "CR", @@ -203,14 +203,14 @@ module.exports = { bban: [ { type: "n", - count: 3, + count: 3 }, { type: "n", - count: 14, - }, + count: 14 + } ], - format: "CRkk bbbc cccc cccc cccc c", + format: "CRkk bbbc cccc cccc cccc c" }, { country: "HR", @@ -218,14 +218,14 @@ module.exports = { bban: [ { type: "n", - count: 7, + count: 7 }, { type: "n", - count: 10, - }, + count: 10 + } ], - format: "HRkk bbbb bbbc cccc cccc c", + format: "HRkk bbbb bbbc cccc cccc c" }, { country: "CY", @@ -233,14 +233,14 @@ module.exports = { bban: [ { type: "n", - count: 8, + count: 8 }, { type: "c", - count: 16, - }, + count: 16 + } ], - format: "CYkk bbbs ssss cccc cccc cccc cccc", + format: "CYkk bbbs ssss cccc cccc cccc cccc" }, { country: "CZ", @@ -248,14 +248,14 @@ module.exports = { bban: [ { type: "n", - count: 10, + count: 10 }, { type: "n", - count: 10, - }, + count: 10 + } ], - format: "CZkk bbbb ssss sscc cccc cccc", + format: "CZkk bbbb ssss sscc cccc cccc" }, { country: "DK", @@ -263,14 +263,14 @@ module.exports = { bban: [ { type: "n", - count: 4, + count: 4 }, { type: "n", - count: 10, - }, + count: 10 + } ], - format: "DKkk bbbb cccc cccc cc", + format: "DKkk bbbb cccc cccc cc" }, { country: "DO", @@ -278,14 +278,14 @@ module.exports = { bban: [ { type: "a", - count: 4, + count: 4 }, { type: "n", - count: 20, - }, + count: 20 + } ], - format: "DOkk bbbb cccc cccc cccc cccc cccc", + format: "DOkk bbbb cccc cccc cccc cccc cccc" }, { country: "TL", @@ -293,14 +293,14 @@ module.exports = { bban: [ { type: "n", - count: 3, + count: 3 }, { type: "n", - count: 16, - }, + count: 16 + } ], - format: "TLkk bbbc cccc cccc cccc cxx", + format: "TLkk bbbc cccc cccc cccc cxx" }, { country: "EE", @@ -308,14 +308,14 @@ module.exports = { bban: [ { type: "n", - count: 4, + count: 4 }, { type: "n", - count: 12, - }, + count: 12 + } ], - format: "EEkk bbss cccc cccc cccx", + format: "EEkk bbss cccc cccc cccx" }, { country: "FO", @@ -323,14 +323,14 @@ module.exports = { bban: [ { type: "n", - count: 4, + count: 4 }, { type: "n", - count: 10, - }, + count: 10 + } ], - format: "FOkk bbbb cccc cccc cx", + format: "FOkk bbbb cccc cccc cx" }, { country: "FI", @@ -338,14 +338,14 @@ module.exports = { bban: [ { type: "n", - count: 6, + count: 6 }, { type: "n", - count: 8, - }, + count: 8 + } ], - format: "FIkk bbbb bbcc cccc cx", + format: "FIkk bbbb bbcc cccc cx" }, { country: "FR", @@ -353,18 +353,18 @@ module.exports = { bban: [ { type: "n", - count: 10, + count: 10 }, { type: "c", - count: 11, + count: 11 }, { type: "n", - count: 2, - }, + count: 2 + } ], - format: "FRkk bbbb bggg ggcc cccc cccc cxx", + format: "FRkk bbbb bggg ggcc cccc cccc cxx" }, { country: "GE", @@ -372,14 +372,14 @@ module.exports = { bban: [ { type: "a", - count: 2, + count: 2 }, { type: "n", - count: 16, - }, + count: 16 + } ], - format: "GEkk bbcc cccc cccc cccc cc", + format: "GEkk bbcc cccc cccc cccc cc" }, { country: "DE", @@ -387,14 +387,14 @@ module.exports = { bban: [ { type: "n", - count: 8, + count: 8 }, { type: "n", - count: 10, - }, + count: 10 + } ], - format: "DEkk bbbb bbbb cccc cccc cc", + format: "DEkk bbbb bbbb cccc cccc cc" }, { country: "GI", @@ -402,14 +402,14 @@ module.exports = { bban: [ { type: "a", - count: 4, + count: 4 }, { type: "c", - count: 15, - }, + count: 15 + } ], - format: "GIkk bbbb cccc cccc cccc ccc", + format: "GIkk bbbb cccc cccc cccc ccc" }, { country: "GR", @@ -417,14 +417,14 @@ module.exports = { bban: [ { type: "n", - count: 7, + count: 7 }, { type: "c", - count: 16, - }, + count: 16 + } ], - format: "GRkk bbbs sssc cccc cccc cccc ccc", + format: "GRkk bbbs sssc cccc cccc cccc ccc" }, { country: "GL", @@ -432,14 +432,14 @@ module.exports = { bban: [ { type: "n", - count: 4, + count: 4 }, { type: "n", - count: 10, - }, + count: 10 + } ], - format: "GLkk bbbb cccc cccc cc", + format: "GLkk bbbb cccc cccc cc" }, { country: "GT", @@ -447,18 +447,18 @@ module.exports = { bban: [ { type: "c", - count: 4, + count: 4 }, { type: "c", - count: 4, + count: 4 }, { type: "c", - count: 16, - }, + count: 16 + } ], - format: "GTkk bbbb mmtt cccc cccc cccc cccc", + format: "GTkk bbbb mmtt cccc cccc cccc cccc" }, { country: "HU", @@ -466,14 +466,14 @@ module.exports = { bban: [ { type: "n", - count: 8, + count: 8 }, { type: "n", - count: 16, - }, + count: 16 + } ], - format: "HUkk bbbs sssk cccc cccc cccc cccx", + format: "HUkk bbbs sssk cccc cccc cccc cccx" }, { country: "IS", @@ -481,14 +481,14 @@ module.exports = { bban: [ { type: "n", - count: 6, + count: 6 }, { type: "n", - count: 16, - }, + count: 16 + } ], - format: "ISkk bbbb sscc cccc iiii iiii ii", + format: "ISkk bbbb sscc cccc iiii iiii ii" }, { country: "IE", @@ -496,18 +496,18 @@ module.exports = { bban: [ { type: "c", - count: 4, + count: 4 }, { type: "n", - count: 6, + count: 6 }, { type: "n", - count: 8, - }, + count: 8 + } ], - format: "IEkk aaaa bbbb bbcc cccc cc", + format: "IEkk aaaa bbbb bbcc cccc cc" }, { country: "IL", @@ -515,14 +515,14 @@ module.exports = { bban: [ { type: "n", - count: 6, + count: 6 }, { type: "n", - count: 13, - }, + count: 13 + } ], - format: "ILkk bbbn nncc cccc cccc ccc", + format: "ILkk bbbn nncc cccc cccc ccc" }, { country: "IT", @@ -530,18 +530,18 @@ module.exports = { bban: [ { type: "a", - count: 1, + count: 1 }, { type: "n", - count: 10, + count: 10 }, { type: "c", - count: 12, - }, + count: 12 + } ], - format: "ITkk xaaa aabb bbbc cccc cccc ccc", + format: "ITkk xaaa aabb bbbc cccc cccc ccc" }, { country: "JO", @@ -549,18 +549,18 @@ module.exports = { bban: [ { type: "a", - count: 4, + count: 4 }, { type: "n", - count: 4, + count: 4 }, { type: "n", - count: 18, - }, + count: 18 + } ], - format: "JOkk bbbb nnnn cccc cccc cccc cccc cc", + format: "JOkk bbbb nnnn cccc cccc cccc cccc cc" }, { country: "KZ", @@ -568,14 +568,14 @@ module.exports = { bban: [ { type: "n", - count: 3, + count: 3 }, { type: "c", - count: 13, - }, + count: 13 + } ], - format: "KZkk bbbc cccc cccc cccc", + format: "KZkk bbbc cccc cccc cccc" }, { country: "XK", @@ -583,14 +583,14 @@ module.exports = { bban: [ { type: "n", - count: 4, + count: 4 }, { type: "n", - count: 12, - }, + count: 12 + } ], - format: "XKkk bbbb cccc cccc cccc", + format: "XKkk bbbb cccc cccc cccc" }, { country: "KW", @@ -598,14 +598,14 @@ module.exports = { bban: [ { type: "a", - count: 4, + count: 4 }, { type: "c", - count: 22, - }, + count: 22 + } ], - format: "KWkk bbbb cccc cccc cccc cccc cccc cc", + format: "KWkk bbbb cccc cccc cccc cccc cccc cc" }, { country: "LV", @@ -613,14 +613,14 @@ module.exports = { bban: [ { type: "a", - count: 4, + count: 4 }, { type: "c", - count: 13, - }, + count: 13 + } ], - format: "LVkk bbbb cccc cccc cccc c", + format: "LVkk bbbb cccc cccc cccc c" }, { country: "LB", @@ -628,14 +628,14 @@ module.exports = { bban: [ { type: "n", - count: 4, + count: 4 }, { type: "c", - count: 20, - }, + count: 20 + } ], - format: "LBkk bbbb cccc cccc cccc cccc cccc", + format: "LBkk bbbb cccc cccc cccc cccc cccc" }, { country: "LI", @@ -643,14 +643,14 @@ module.exports = { bban: [ { type: "n", - count: 5, + count: 5 }, { type: "c", - count: 12, - }, + count: 12 + } ], - format: "LIkk bbbb bccc cccc cccc c", + format: "LIkk bbbb bccc cccc cccc c" }, { country: "LT", @@ -658,14 +658,14 @@ module.exports = { bban: [ { type: "n", - count: 5, + count: 5 }, { type: "n", - count: 11, - }, + count: 11 + } ], - format: "LTkk bbbb bccc cccc cccc", + format: "LTkk bbbb bccc cccc cccc" }, { country: "LU", @@ -673,14 +673,14 @@ module.exports = { bban: [ { type: "n", - count: 3, + count: 3 }, { type: "c", - count: 13, - }, + count: 13 + } ], - format: "LUkk bbbc cccc cccc cccc", + format: "LUkk bbbc cccc cccc cccc" }, { country: "MK", @@ -688,18 +688,18 @@ module.exports = { bban: [ { type: "n", - count: 3, + count: 3 }, { type: "c", - count: 10, + count: 10 }, { type: "n", - count: 2, - }, + count: 2 + } ], - format: "MKkk bbbc cccc cccc cxx", + format: "MKkk bbbc cccc cccc cxx" }, { country: "MT", @@ -707,18 +707,18 @@ module.exports = { bban: [ { type: "a", - count: 4, + count: 4 }, { type: "n", - count: 5, + count: 5 }, { type: "c", - count: 18, - }, + count: 18 + } ], - format: "MTkk bbbb ssss sccc cccc cccc cccc ccc", + format: "MTkk bbbb ssss sccc cccc cccc cccc ccc" }, { country: "MR", @@ -726,14 +726,14 @@ module.exports = { bban: [ { type: "n", - count: 10, + count: 10 }, { type: "n", - count: 13, - }, + count: 13 + } ], - format: "MRkk bbbb bsss sscc cccc cccc cxx", + format: "MRkk bbbb bsss sscc cccc cccc cxx" }, { country: "MU", @@ -741,22 +741,22 @@ module.exports = { bban: [ { type: "a", - count: 4, + count: 4 }, { type: "n", - count: 4, + count: 4 }, { type: "n", - count: 15, + count: 15 }, { type: "a", - count: 3, - }, + count: 3 + } ], - format: "MUkk bbbb bbss cccc cccc cccc 000d dd", + format: "MUkk bbbb bbss cccc cccc cccc 000d dd" }, { country: "MC", @@ -764,18 +764,18 @@ module.exports = { bban: [ { type: "n", - count: 10, + count: 10 }, { type: "c", - count: 11, + count: 11 }, { type: "n", - count: 2, - }, + count: 2 + } ], - format: "MCkk bbbb bsss sscc cccc cccc cxx", + format: "MCkk bbbb bsss sscc cccc cccc cxx" }, { country: "MD", @@ -783,14 +783,14 @@ module.exports = { bban: [ { type: "c", - count: 2, + count: 2 }, { type: "c", - count: 18, - }, + count: 18 + } ], - format: "MDkk bbcc cccc cccc cccc cccc", + format: "MDkk bbcc cccc cccc cccc cccc" }, { country: "ME", @@ -798,14 +798,14 @@ module.exports = { bban: [ { type: "n", - count: 3, + count: 3 }, { type: "n", - count: 15, - }, + count: 15 + } ], - format: "MEkk bbbc cccc cccc cccc xx", + format: "MEkk bbbc cccc cccc cccc xx" }, { country: "NL", @@ -813,14 +813,14 @@ module.exports = { bban: [ { type: "a", - count: 4, + count: 4 }, { type: "n", - count: 10, - }, + count: 10 + } ], - format: "NLkk bbbb cccc cccc cc", + format: "NLkk bbbb cccc cccc cc" }, { country: "NO", @@ -828,14 +828,14 @@ module.exports = { bban: [ { type: "n", - count: 4, + count: 4 }, { type: "n", - count: 7, - }, + count: 7 + } ], - format: "NOkk bbbb cccc ccx", + format: "NOkk bbbb cccc ccx" }, { country: "PK", @@ -843,14 +843,14 @@ module.exports = { bban: [ { type: "a", - count: 4, + count: 4 }, { type: "n", - count: 16, - }, + count: 16 + } ], - format: "PKkk bbbb cccc cccc cccc cccc", + format: "PKkk bbbb cccc cccc cccc cccc" }, { country: "PS", @@ -858,18 +858,18 @@ module.exports = { bban: [ { type: "c", - count: 4, + count: 4 }, { type: "n", - count: 9, + count: 9 }, { type: "n", - count: 12, - }, + count: 12 + } ], - format: "PSkk bbbb xxxx xxxx xccc cccc cccc c", + format: "PSkk bbbb xxxx xxxx xccc cccc cccc c" }, { country: "PL", @@ -877,14 +877,14 @@ module.exports = { bban: [ { type: "n", - count: 8, + count: 8 }, { type: "n", - count: 16, - }, + count: 16 + } ], - format: "PLkk bbbs sssx cccc cccc cccc cccc", + format: "PLkk bbbs sssx cccc cccc cccc cccc" }, { country: "PT", @@ -892,14 +892,14 @@ module.exports = { bban: [ { type: "n", - count: 8, + count: 8 }, { type: "n", - count: 13, - }, + count: 13 + } ], - format: "PTkk bbbb ssss cccc cccc cccx x", + format: "PTkk bbbb ssss cccc cccc cccx x" }, { country: "QA", @@ -907,14 +907,14 @@ module.exports = { bban: [ { type: "a", - count: 4, + count: 4 }, { type: "c", - count: 21, - }, + count: 21 + } ], - format: "QAkk bbbb cccc cccc cccc cccc cccc c", + format: "QAkk bbbb cccc cccc cccc cccc cccc c" }, { country: "RO", @@ -922,14 +922,14 @@ module.exports = { bban: [ { type: "a", - count: 4, + count: 4 }, { type: "c", - count: 16, - }, + count: 16 + } ], - format: "ROkk bbbb cccc cccc cccc cccc", + format: "ROkk bbbb cccc cccc cccc cccc" }, { country: "SM", @@ -937,18 +937,18 @@ module.exports = { bban: [ { type: "a", - count: 1, + count: 1 }, { type: "n", - count: 10, + count: 10 }, { type: "c", - count: 12, - }, + count: 12 + } ], - format: "SMkk xaaa aabb bbbc cccc cccc ccc", + format: "SMkk xaaa aabb bbbc cccc cccc ccc" }, { country: "SA", @@ -956,14 +956,14 @@ module.exports = { bban: [ { type: "n", - count: 2, + count: 2 }, { type: "c", - count: 18, - }, + count: 18 + } ], - format: "SAkk bbcc cccc cccc cccc cccc", + format: "SAkk bbcc cccc cccc cccc cccc" }, { country: "RS", @@ -971,14 +971,14 @@ module.exports = { bban: [ { type: "n", - count: 3, + count: 3 }, { type: "n", - count: 15, - }, + count: 15 + } ], - format: "RSkk bbbc cccc cccc cccc xx", + format: "RSkk bbbc cccc cccc cccc xx" }, { country: "SK", @@ -986,14 +986,14 @@ module.exports = { bban: [ { type: "n", - count: 10, + count: 10 }, { type: "n", - count: 10, - }, + count: 10 + } ], - format: "SKkk bbbb ssss sscc cccc cccc", + format: "SKkk bbbb ssss sscc cccc cccc" }, { country: "SI", @@ -1001,14 +1001,14 @@ module.exports = { bban: [ { type: "n", - count: 5, + count: 5 }, { type: "n", - count: 10, - }, + count: 10 + } ], - format: "SIkk bbss sccc cccc cxx", + format: "SIkk bbss sccc cccc cxx" }, { country: "ES", @@ -1016,14 +1016,14 @@ module.exports = { bban: [ { type: "n", - count: 10, + count: 10 }, { type: "n", - count: 10, - }, + count: 10 + } ], - format: "ESkk bbbb gggg xxcc cccc cccc", + format: "ESkk bbbb gggg xxcc cccc cccc" }, { country: "SE", @@ -1031,14 +1031,14 @@ module.exports = { bban: [ { type: "n", - count: 3, + count: 3 }, { type: "n", - count: 17, - }, + count: 17 + } ], - format: "SEkk bbbc cccc cccc cccc cccc", + format: "SEkk bbbc cccc cccc cccc cccc" }, { country: "CH", @@ -1046,14 +1046,14 @@ module.exports = { bban: [ { type: "n", - count: 5, + count: 5 }, { type: "c", - count: 12, - }, + count: 12 + } ], - format: "CHkk bbbb bccc cccc cccc c", + format: "CHkk bbbb bccc cccc cccc c" }, { country: "TN", @@ -1061,14 +1061,14 @@ module.exports = { bban: [ { type: "n", - count: 5, + count: 5 }, { type: "n", - count: 15, - }, + count: 15 + } ], - format: "TNkk bbss sccc cccc cccc cccc", + format: "TNkk bbss sccc cccc cccc cccc" }, { country: "TR", @@ -1076,18 +1076,18 @@ module.exports = { bban: [ { type: "n", - count: 5, + count: 5 }, { type: "n", - count: 1, + count: 1 }, { type: "n", - count: 16, - }, + count: 16 + } ], - format: "TRkk bbbb bxcc cccc cccc cccc cc", + format: "TRkk bbbb bxcc cccc cccc cccc cc" }, { country: "AE", @@ -1095,14 +1095,14 @@ module.exports = { bban: [ { type: "n", - count: 3, + count: 3 }, { type: "n", - count: 16, - }, + count: 16 + } ], - format: "AEkk bbbc cccc cccc cccc ccc", + format: "AEkk bbbc cccc cccc cccc ccc" }, { country: "GB", @@ -1110,18 +1110,18 @@ module.exports = { bban: [ { type: "a", - count: 4, + count: 4 }, { type: "n", - count: 6, + count: 6 }, { type: "n", - count: 8, - }, + count: 8 + } ], - format: "GBkk bbbb ssss sscc cccc cc", + format: "GBkk bbbb ssss sscc cccc cc" }, { country: "VG", @@ -1129,15 +1129,15 @@ module.exports = { bban: [ { type: "c", - count: 4, + count: 4 }, { type: "n", - count: 16, - }, + count: 16 + } ], - format: "VGkk bbbb cccc cccc cccc cccc", - }, + format: "VGkk bbbb cccc cccc cccc cccc" + } ], iso3166: [ "AC", @@ -1406,6 +1406,6 @@ module.exports = { "ZA", "ZM", "ZR", - "ZW", - ], + "ZW" + ] }; diff --git a/lib/image.js b/lib/image.js index c551d0ad..40612471 100644 --- a/lib/image.js +++ b/lib/image.js @@ -34,7 +34,7 @@ const Image = function (blaver) { "nature", "sports", "technics", - "transport", + "transport" ]; return self[blaver.random.arrayElement(categories)]( width, @@ -62,7 +62,7 @@ const Image = function (blaver) { self.imageUrl = function (width, height, category, randomize, https) { const localWidth = width || 640; const localHeight = height || 480; - const protocol = "http://"; + let protocol = "http://"; if (typeof https !== "undefined" && https === true) { protocol = "https://"; } diff --git a/lib/image_providers/lorempicsum.js b/lib/image_providers/lorempicsum.js index 9dd5086f..7345eb36 100644 --- a/lib/image_providers/lorempicsum.js +++ b/lib/image_providers/lorempicsum.js @@ -102,6 +102,6 @@ const LoremPicsum = function (bluffmaster) { return url; }; -} +}; module.exports = LoremPicsum; diff --git a/lib/image_providers/lorempixel.js b/lib/image_providers/lorempixel.js index ca101f14..6f13e65f 100644 --- a/lib/image_providers/lorempixel.js +++ b/lib/image_providers/lorempixel.js @@ -46,7 +46,7 @@ const Lorempixel = function (blaver) { } if (randomize) { - url += '?' + blaver.datatype.number() + url += '?' + blaver.datatype.number(); } return url; @@ -193,7 +193,7 @@ const Lorempixel = function (blaver) { */ self.transport = function (width, height, randomize) { return blaver.image.lorempixel.imageUrl(width, height, 'transport', randomize); - } -} + }; +}; module.exports = Lorempixel; diff --git a/lib/image_providers/unsplash.js b/lib/image_providers/unsplash.js index 1866070d..f553d795 100644 --- a/lib/image_providers/unsplash.js +++ b/lib/image_providers/unsplash.js @@ -6,7 +6,6 @@ const Unsplash = function (blaver) { const self = this; - const categories = ["food", "nature", "people", "technology", "objects", "buildings"]; /** * image @@ -124,6 +123,6 @@ const Unsplash = function (blaver) { self.buildings = function (width, height, keyword) { return blaver.image.unsplash.imageUrl(width, height, 'buildings', keyword); }; -} +}; module.exports = Unsplash; diff --git a/lib/index.js b/lib/index.js index c69f831a..a37535bd 100644 --- a/lib/index.js +++ b/lib/index.js @@ -53,7 +53,7 @@ function Blaver(opts) { "male_middle_name", "female_middle_name", "male_last_name", - "female_last_name", + "female_last_name" ], address: [ "city_name", @@ -71,7 +71,7 @@ function Blaver(opts) { "postcode_by_state", "direction", "direction_abbr", - "time_zone", + "time_zone" ], animal: [ "dog", @@ -87,7 +87,7 @@ function Blaver(opts) { "fish", "rabbit", "horse", - "type", + "type" ], company: [ "adjective", @@ -96,7 +96,7 @@ function Blaver(opts) { "bs_adjective", "bs_noun", "bs_verb", - "suffix", + "suffix" ], lorem: ["words"], hacker: ["abbreviation", "adjective", "noun", "verb", "ingverb", "phrase"], @@ -106,14 +106,14 @@ function Blaver(opts) { "transaction_type", "currency", "iban", - "credit_card", + "credit_card" ], internet: [ "avatar_uri", "domain_suffix", "free_email", "example_email", - "password", + "password" ], commerce: [ "color", @@ -121,7 +121,7 @@ function Blaver(opts) { "product_name", "price", "categories", - "product_description", + "product_description" ], database: ["collation", "column", "engine", "type"], system: ["mimeTypes", "directoryPaths"], @@ -133,7 +133,7 @@ function Blaver(opts) { "type", "fuel", "vin", - "color", + "color" ], music: ["genre"], word: [ @@ -143,10 +143,10 @@ function Blaver(opts) { "interjection", "noun", "preposition", - "verb", + "verb" ], title: "", - separator: "", + separator: "" }; // Create a Getter for all definitions.foo.bar properties @@ -175,7 +175,7 @@ function Blaver(opts) { // return localized data return self.locales[self.locale][d][p]; } - }, + } }); }); }); @@ -267,4 +267,4 @@ Blaver.prototype.seed = function (value) { this.random = new Random(this, this.seedValue); this.datatype = new Datatype(this, this.seedValue); }; -module.exports = Blaver +module.exports = Blaver; diff --git a/lib/internet.js b/lib/internet.js index 698e09f2..3a9c60f2 100644 --- a/lib/internet.js +++ b/lib/internet.js @@ -22,7 +22,7 @@ const Internet = function (blaver) { self.avatar.schema = { description: "Generates a URL for an avatar.", - sampleResults: ["https://i.pravatar.cc/?u=sydlawrence_128.jpg"], + sampleResults: ["https://i.pravatar.cc/?u=sydlawrence_128.jpg"] }; /** @@ -56,19 +56,19 @@ const Internet = function (blaver) { firstName: { type: "string", required: false, - description: "The first name of the user", + description: "The first name of the user" }, lastName: { type: "string", required: false, - description: "The last name of the user", + description: "The last name of the user" }, provider: { type: "string", required: false, - description: "The domain of the user", - }, - }, + description: "The domain of the user" + } + } }; /** * exampleEmail @@ -124,20 +124,20 @@ const Internet = function (blaver) { "Kirstin.Smith", "Kirstin.Smith39", "KirstinSmith", - "KirstinSmith39", + "KirstinSmith39" ], properties: { firstName: { type: "string", required: false, - description: "The first name of the user", + description: "The first name of the user" }, lastName: { type: "string", required: false, - description: "The last name of the user", - }, - }, + description: "The last name of the user" + } + } }; /** @@ -152,7 +152,7 @@ const Internet = function (blaver) { self.protocol.schema = { description: "Randomly generates http or https", - sampleResults: ["https", "http"], + sampleResults: ["https", "http"] }; /** @@ -168,7 +168,7 @@ const Internet = function (blaver) { self.httpMethod.schema = { description: "Randomly generates HTTP Methods (GET, POST, PUT, DELETE, PATCH)", - sampleResults: ["GET", "POST", "PUT", "DELETE", "PATCH"], + sampleResults: ["GET", "POST", "PUT", "DELETE", "PATCH"] }; /** @@ -186,7 +186,7 @@ const Internet = function (blaver) { self.url.schema = { description: "Generates a random URL. The URL could be secure or insecure.", - sampleResults: ["http://rashawn.name", "https://rashawn.name"], + sampleResults: ["http://rashawn.name", "https://rashawn.name"] }; /** @@ -204,7 +204,7 @@ const Internet = function (blaver) { self.domainName.schema = { description: "Generates a random domain name.", - sampleResults: ["marvin.org"], + sampleResults: ["marvin.org"] }; /** @@ -220,7 +220,7 @@ const Internet = function (blaver) { self.domainSuffix.schema = { description: "Generates a random domain suffix.", - sampleResults: ["net"], + sampleResults: ["net"] }; /** @@ -236,7 +236,7 @@ const Internet = function (blaver) { self.domainWord.schema = { description: "Generates a random domain word.", - sampleResults: ["alyce"], + sampleResults: ["alyce"] }; /** @@ -259,7 +259,7 @@ const Internet = function (blaver) { self.ip.schema = { description: "Generates a random IP.", - sampleResults: ["97.238.241.11"], + sampleResults: ["97.238.241.11"] }; /** @@ -287,7 +287,7 @@ const Internet = function (blaver) { "c", "d", "e", - "f", + "f" ]); } return result; @@ -302,7 +302,7 @@ const Internet = function (blaver) { self.ipv6.schema = { description: "Generates a random IPv6 address.", - sampleResults: ["2001:0db8:6276:b1a7:5213:22f1:25df:c8a0"], + sampleResults: ["2001:0db8:6276:b1a7:5213:22f1:25df:c8a0"] }; /** @@ -316,7 +316,7 @@ const Internet = function (blaver) { self.port.schema = { description: "Generates a random port number.", - sampleResults: ["4422"], + sampleResults: ["4422"] }; /** @@ -331,8 +331,8 @@ const Internet = function (blaver) { self.userAgent.schema = { description: "Generates a random user agent.", sampleResults: [ - "Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10_7_5 rv:6.0; SL) AppleWebKit/532.0.1 (KHTML, like Gecko) Version/7.1.6 Safari/532.0.1", - ], + "Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10_7_5 rv:6.0; SL) AppleWebKit/532.0.1 (KHTML, like Gecko) Version/7.1.6 Safari/532.0.1" + ] }; /** @@ -374,19 +374,19 @@ const Internet = function (blaver) { baseRed255: { type: "number", required: false, - description: "The red value. Valid values are 0 - 255.", + description: "The red value. Valid values are 0 - 255." }, baseGreen255: { type: "number", required: false, - description: "The green value. Valid values are 0 - 255.", + description: "The green value. Valid values are 0 - 255." }, baseBlue255: { type: "number", required: false, - description: "The blue value. Valid values are 0 - 255.", - }, - }, + description: "The blue value. Valid values are 0 - 255." + } + } }; /** @@ -417,7 +417,7 @@ const Internet = function (blaver) { self.mac.schema = { description: "Generates a random mac address.", - sampleResults: ["78:06:cc:ae:b3:81"], + sampleResults: ["78:06:cc:ae:b3:81"] }; /** @@ -439,8 +439,7 @@ const Internet = function (blaver) { * Copyright(c) 2011-2013 Bermi Ferrer * MIT Licensed */ - let consonant, letter, vowel; - letter = /[a-zA-Z]$/; + let consonant, vowel; vowel = /[aeiouAEIOU]$/; consonant = /[bcdfghjklmnpqrstvwxyzBCDFGHJKLMNPQRSTVWXYZ]$/; const _password = function (length, memorable, pattern, prefix) { @@ -487,26 +486,26 @@ const Internet = function (blaver) { length: { type: "number", required: false, - description: "The number of characters in the password.", + description: "The number of characters in the password." }, memorable: { type: "boolean", required: false, - description: "Whether a password should be easy to remember.", + description: "Whether a password should be easy to remember." }, pattern: { type: "regex", required: false, description: - "A regex to match each character of the password against. This parameter will be negated if the memorable setting is turned on.", + "A regex to match each character of the password against. This parameter will be negated if the memorable setting is turned on." }, prefix: { type: "string", required: false, description: - "A value to prepend to the generated password. The prefix counts towards the length of the password.", - }, - }, + "A value to prepend to the generated password. The prefix counts towards the length of the password." + } + } }; }; diff --git a/lib/locales/af_ZA/address/index.js b/lib/locales/af_ZA/address/index.js index a8145aa0..ce2eaacd 100644 --- a/lib/locales/af_ZA/address/index.js +++ b/lib/locales/af_ZA/address/index.js @@ -1,4 +1,4 @@ -const address = {}; -module['exports'] = address; -address.default_country = require("./default_country"); -address.postcode = require("./postcode"); +module.exports = { + default_country: require("./default_country"), + postcode: require("./postcode") +}; diff --git a/lib/locales/af_ZA/cell_phone/index.js b/lib/locales/af_ZA/cell_phone/index.js index 1f65f965..6fa921e5 100644 --- a/lib/locales/af_ZA/cell_phone/index.js +++ b/lib/locales/af_ZA/cell_phone/index.js @@ -1,3 +1,3 @@ -const cell_phone = {}; -module['exports'] = cell_phone; -cell_phone.formats = require("./formats"); +module.exports = { + formats: require("./formats") +}; diff --git a/lib/locales/af_ZA/company/index.js b/lib/locales/af_ZA/company/index.js index 15298471..6f1ca338 100644 --- a/lib/locales/af_ZA/company/index.js +++ b/lib/locales/af_ZA/company/index.js @@ -1,3 +1,3 @@ -const company = {}; -module['exports'] = company; -company.suffix = require("./suffix"); +module.exports = { + suffix: require("./suffix") +}; diff --git a/lib/locales/af_ZA/index.js b/lib/locales/af_ZA/index.js index 7c965dcc..9ccab55a 100644 --- a/lib/locales/af_ZA/index.js +++ b/lib/locales/af_ZA/index.js @@ -1,8 +1,8 @@ -const en_ZA = {}; -module['exports'] = en_ZA; -en_ZA.title = "Afrikaans"; -en_ZA.address = require("./address"); -en_ZA.internet = require("./internet"); -en_ZA.phone_number = require("./phone_number"); -en_ZA.cell_phone = require("./cell_phone"); -en_ZA.company = require("./company"); +module.exports = { + title: "Afrikaans", + address: require("./address"), + internet: require("./internet"), + phone_number: require("./phone_number"), + cell_phone: require("./cell_phone"), + company: require("./company") +}; diff --git a/lib/locales/af_ZA/internet/index.js b/lib/locales/af_ZA/internet/index.js index 9251f559..f0555aed 100644 --- a/lib/locales/af_ZA/internet/index.js +++ b/lib/locales/af_ZA/internet/index.js @@ -1,3 +1,3 @@ -const internet = {}; -module['exports'] = internet; -internet.domain_suffix = require("./domain_suffix"); +module.exports = { + domain_suffix: require("./domain_suffix") +}; diff --git a/lib/locales/af_ZA/name/female_first_name.js b/lib/locales/af_ZA/name/female_first_name.js index 01482b8e..ba4cde5c 100644 --- a/lib/locales/af_ZA/name/female_first_name.js +++ b/lib/locales/af_ZA/name/female_first_name.js @@ -110,4 +110,4 @@ module.exports = [ "Elsa", "Elisa", "Kristie" -]; \ No newline at end of file +]; diff --git a/lib/locales/af_ZA/name/index.js b/lib/locales/af_ZA/name/index.js index 8666602b..b40447b3 100644 --- a/lib/locales/af_ZA/name/index.js +++ b/lib/locales/af_ZA/name/index.js @@ -1,6 +1,6 @@ -const name = {}; -module['exports'] = name; -name.male_first_name = require("./male_first_name"); -name.female_first_name = require("./female_first_name"); -name.first_name = require("./first_name"); -name.last_name = require("./last_name"); \ No newline at end of file +module.exports = { + male_first_name: require("./male_first_name"), + female_first_name: require("./female_first_name"), + first_name: require("./first_name"), + last_name: require("./last_name") +}; diff --git a/lib/locales/af_ZA/name/male_first_name.js b/lib/locales/af_ZA/name/male_first_name.js index a55dcf7d..73011f64 100644 --- a/lib/locales/af_ZA/name/male_first_name.js +++ b/lib/locales/af_ZA/name/male_first_name.js @@ -113,4 +113,4 @@ module.exports = [ "Theuns", "Wessel", "Stephaans" -]; \ No newline at end of file +]; diff --git a/lib/locales/af_ZA/phone_number/formats.js b/lib/locales/af_ZA/phone_number/formats.js index 702d1617..b1003076 100644 --- a/lib/locales/af_ZA/phone_number/formats.js +++ b/lib/locales/af_ZA/phone_number/formats.js @@ -7,5 +7,5 @@ module.exports = [ "0800 ### ###", "0860 ### ###", "01#########", - "01# ########", + "01# ########" ]; diff --git a/lib/locales/af_ZA/phone_number/index.js b/lib/locales/af_ZA/phone_number/index.js index 36b6b18a..6fa921e5 100644 --- a/lib/locales/af_ZA/phone_number/index.js +++ b/lib/locales/af_ZA/phone_number/index.js @@ -1,3 +1,3 @@ -const phone_number = {}; -module['exports'] = phone_number; -phone_number.formats = require("./formats"); +module.exports = { + formats: require("./formats") +}; diff --git a/lib/locales/ar/address/index.js b/lib/locales/ar/address/index.js index d113c858..a096ade3 100644 --- a/lib/locales/ar/address/index.js +++ b/lib/locales/ar/address/index.js @@ -1,12 +1,12 @@ -const address = {}; -module['exports'] = address; -address.country = require("./country"); -address.building_number = require("./building_number"); -address.secondary_address = require("./secondary_address"); -address.postcode = require("./postcode"); -address.postcode_by_state = require("./postcode_by_state"); -address.state = require("./state"); -address.city = require("./city"); -address.street_name = require("./street_name"); -address.street_address = require("./street_address"); -address.default_country = require("./default_country"); \ No newline at end of file +module.exports = { + country: require("./country"), + building_number: require("./building_number"), + secondary_address: require("./secondary_address"), + postcode: require("./postcode"), + postcode_by_state: require("./postcode_by_state"), + state: require("./state"), + city: require("./city"), + street_name: require("./street_name"), + street_address: require("./street_address"), + default_country: require("./default_country") +}; diff --git a/lib/locales/ar/address/state.js b/lib/locales/ar/address/state.js index 016b6282..9f041253 100644 --- a/lib/locales/ar/address/state.js +++ b/lib/locales/ar/address/state.js @@ -109,5 +109,5 @@ module.exports = [ "المثنى", "القادسية", " بابل", - "كربلاء", + "كربلاء" ]; diff --git a/lib/locales/ar/cell_phone/index.js b/lib/locales/ar/cell_phone/index.js index 1f65f965..6fa921e5 100644 --- a/lib/locales/ar/cell_phone/index.js +++ b/lib/locales/ar/cell_phone/index.js @@ -1,3 +1,3 @@ -const cell_phone = {}; -module['exports'] = cell_phone; -cell_phone.formats = require("./formats"); +module.exports = { + formats: require("./formats") +}; diff --git a/lib/locales/ar/date/month.js b/lib/locales/ar/date/month.js index 5c440f1b..58406436 100644 --- a/lib/locales/ar/date/month.js +++ b/lib/locales/ar/date/month.js @@ -12,7 +12,7 @@ module.exports = { "أَيْلُول", "تِشْرِين ٱلْأَوَّل", "تِشْرِين ٱلثَّانِي", - "كَانُون ٱلْأَوَّل", + "كَانُون ٱلْأَوَّل" ], // Property "wide_context" is optional, if not set then "wide" will be used instead // It is used to specify a word in context, which may differ from a stand-alone word @@ -28,7 +28,7 @@ module.exports = { "أَيْلُول", "تِشْرِين ٱلْأَوَّل", "تِشْرِين ٱلثَّانِي", - "كَانُون ٱلْأَوَّل", + "كَانُون ٱلْأَوَّل" ], abbr: [ "يناير", @@ -42,7 +42,7 @@ module.exports = { "سبتمبر", "أكتوبر", "نوفمبر", - "ديسمبر", + "ديسمبر" ], // Property "abbr_context" is optional, if not set then "abbr" will be used instead // It is used to specify a word in context, which may differ from a stand-alone word @@ -58,6 +58,6 @@ module.exports = { "سبتمبر", "أكتوبر", "نوفمبر", - "ديسمبر", - ], + "ديسمبر" + ] }; diff --git a/lib/locales/ar/date/weekday.js b/lib/locales/ar/date/weekday.js index 5438da4e..d5bae28a 100644 --- a/lib/locales/ar/date/weekday.js +++ b/lib/locales/ar/date/weekday.js @@ -7,7 +7,7 @@ module.exports = { "الأربعاء", "الخميس", "الجمعة", - "السبت", + "السبت" ], wide_context: [ "الأحَد", @@ -16,6 +16,6 @@ module.exports = { "الأربعاء", "الخميس", "الجمعة", - "السبت", - ], + "السبت" + ] }; diff --git a/lib/locales/ar/name/index.js b/lib/locales/ar/name/index.js index f94a9ecc..a2c8634e 100644 --- a/lib/locales/ar/name/index.js +++ b/lib/locales/ar/name/index.js @@ -1,7 +1,7 @@ -const name = {}; -module['exports'] = name; -name.first_name = require("./first_name"); -name.last_name = require("./last_name"); -name.prefix = require("./prefix"); -name.title = require("./title"); -name.name = require("./name"); +module.exports = { + first_name: require("./first_name"), + last_name: require("./last_name"), + prefix: require("./prefix"), + title: require("./title"), + name: require("./name") +}; diff --git a/lib/locales/ar/phone_number/index.js b/lib/locales/ar/phone_number/index.js index 36b6b18a..6fa921e5 100644 --- a/lib/locales/ar/phone_number/index.js +++ b/lib/locales/ar/phone_number/index.js @@ -1,3 +1,3 @@ -const phone_number = {}; -module['exports'] = phone_number; -phone_number.formats = require("./formats"); +module.exports = { + formats: require("./formats") +}; diff --git a/lib/locales/ar/team/index.js b/lib/locales/ar/team/index.js index b5264b1c..9d1f8164 100644 --- a/lib/locales/ar/team/index.js +++ b/lib/locales/ar/team/index.js @@ -1,4 +1,4 @@ -const team = {}; -module['exports'] = team; -team.creature = require("./creature"); -team.name = require("./name"); +module.exports = { + creature: require("./creature"), + name: require("./name") +}; diff --git a/lib/locales/az/address/index.js b/lib/locales/az/address/index.js index 24d85128..9ac59e00 100644 --- a/lib/locales/az/address/index.js +++ b/lib/locales/az/address/index.js @@ -1,14 +1,14 @@ -const address = {}; -module['exports'] = address; -address.country = require("./country"); -address.building_number = require("./building_number"); -address.street_suffix = require("./street_suffix"); -address.secondary_address = require("./secondary_address"); -address.postcode = require("./postcode"); -address.state = require("./state"); -address.street_title = require("./street_title"); -address.city_name = require("./city_name"); -address.city = require("./city"); -address.street_name = require("./street_name"); -address.street_address = require("./street_address"); -address.default_country = require("./default_country"); +module.exports = { + country: require("./country"), + building_number: require("./building_number"), + street_suffix: require("./street_suffix"), + secondary_address: require("./secondary_address"), + postcode: require("./postcode"), + state: require("./state"), + street_title: require("./street_title"), + city_name: require("./city_name"), + city: require("./city"), + street_name: require("./street_name"), + street_address: require("./street_address"), + default_country: require("./default_country") +}; diff --git a/lib/locales/az/commerce/department.js b/lib/locales/az/commerce/department.js index 23997dbe..537fee75 100644 --- a/lib/locales/az/commerce/department.js +++ b/lib/locales/az/commerce/department.js @@ -16,5 +16,5 @@ module.exports = [ "bəzək", "İdman", "turizm", - "Avtomobil", + "Avtomobil" ]; diff --git a/lib/locales/az/commerce/index.js b/lib/locales/az/commerce/index.js index 271876c5..511ce3be 100644 --- a/lib/locales/az/commerce/index.js +++ b/lib/locales/az/commerce/index.js @@ -1,5 +1,5 @@ -const commerce = {}; -module['exports'] = commerce; -commerce.color = require("./color"); -commerce.department = require("./department"); -commerce.product_name = require("./product_name"); +module.exports = { + color: require("./color"), + department: require("./department"), + product_name: require("./product_name") +}; diff --git a/lib/locales/az/company/index.js b/lib/locales/az/company/index.js index 2d142169..d54eba6c 100644 --- a/lib/locales/az/company/index.js +++ b/lib/locales/az/company/index.js @@ -1,5 +1,5 @@ -const company = {}; -module['exports'] = company; -company.prefix = require("./prefix"); -company.suffix = require("./suffix"); -company.name = require("./name"); +module.exports = { + prefix: require("./prefix"), + suffix: require("./suffix"), + name: require("./name") +}; diff --git a/lib/locales/az/company/prefix.js b/lib/locales/az/company/prefix.js index 853540bb..538b85b8 100644 --- a/lib/locales/az/company/prefix.js +++ b/lib/locales/az/company/prefix.js @@ -1,5 +1,5 @@ module.exports = [ "ASC", "MMC", - "QSC", + "QSC" ]; diff --git a/lib/locales/az/index.js b/lib/locales/az/index.js index 4be34182..8d4d7a78 100644 --- a/lib/locales/az/index.js +++ b/lib/locales/az/index.js @@ -1,11 +1,11 @@ -const az = {}; -module['exports'] = az; -az.title = "Azerbaijani"; -az.separator = " və "; -az.address = require("./address"); -az.internet = require("./internet"); -az.name = require("./name"); -az.phone_number = require("./phone_number"); -az.commerce = require("./commerce"); -az.company = require("./company"); -az.date = require("./date"); +module.exports = { + title: "Azerbaijani", + separator: " və ", + address: require("./address"), + internet: require("./internet"), + name: require("./name"), + phone_number: require("./phone_number"), + commerce: require("./commerce"), + company: require("./company"), + date: require("./date") +}; diff --git a/lib/locales/az/internet/index.js b/lib/locales/az/internet/index.js index c95143c1..3da76a8f 100644 --- a/lib/locales/az/internet/index.js +++ b/lib/locales/az/internet/index.js @@ -1,4 +1,4 @@ -const internet = {}; -module['exports'] = internet; -internet.free_email = require("./free_email"); -internet.domain_suffix = require("./domain_suffix"); +module.exports = { + free_email: require("./free_email"), + domain_suffix: require("./domain_suffix") +}; diff --git a/lib/locales/az/name/index.js b/lib/locales/az/name/index.js index 8960215b..e347f784 100644 --- a/lib/locales/az/name/index.js +++ b/lib/locales/az/name/index.js @@ -1,9 +1,9 @@ -const name = {}; -module['exports'] = name; -name.male_first_name = require("./male_first_name"); -name.male_last_name = require("./male_last_name"); -name.female_first_name = require("./female_first_name"); -name.female_last_name = require("./female_last_name"); -name.prefix = require("./prefix"); -name.suffix = require("./suffix"); -name.name = require("./name"); +module.exports = { + male_first_name: require("./male_first_name"), + male_last_name: require("./male_last_name"), + female_first_name: require("./female_first_name"), + female_last_name: require("./female_last_name"), + prefix: require("./prefix"), + suffix: require("./suffix"), + name: require("./name") +}; diff --git a/lib/locales/az/name/name.js b/lib/locales/az/name/name.js index 828fd4ba..c0770daf 100644 --- a/lib/locales/az/name/name.js +++ b/lib/locales/az/name/name.js @@ -4,5 +4,5 @@ module.exports = [ "#{male_first_name} #{male_last_name}", "#{female_first_name}", "#{female_first_name} #{female_last_name}", - "#{female_last_name} #{female_first_name}", + "#{female_last_name} #{female_first_name}" ]; diff --git a/lib/locales/az/phone_number/index.js b/lib/locales/az/phone_number/index.js index 36b6b18a..6fa921e5 100644 --- a/lib/locales/az/phone_number/index.js +++ b/lib/locales/az/phone_number/index.js @@ -1,3 +1,3 @@ -const phone_number = {}; -module['exports'] = phone_number; -phone_number.formats = require("./formats"); +module.exports = { + formats: require("./formats") +}; diff --git a/lib/locales/cz/address/city_name.js b/lib/locales/cz/address/city_name.js index 8857b4f1..192aa6b9 100644 --- a/lib/locales/cz/address/city_name.js +++ b/lib/locales/cz/address/city_name.js @@ -600,5 +600,5 @@ module.exports = [ "Židlochovice", "Žirovnice", "Žlutice", - "Žulová", + "Žulová" ]; diff --git a/lib/locales/cz/address/country.js b/lib/locales/cz/address/country.js index 0bcd967b..89de9a77 100644 --- a/lib/locales/cz/address/country.js +++ b/lib/locales/cz/address/country.js @@ -193,5 +193,5 @@ module.exports = [ "Vietnam", "Východní Timor", "Zambie", - "Zimbabwe", + "Zimbabwe" ]; diff --git a/lib/locales/cz/address/index.js b/lib/locales/cz/address/index.js index 08d19603..670ab6fd 100644 --- a/lib/locales/cz/address/index.js +++ b/lib/locales/cz/address/index.js @@ -1,14 +1,14 @@ -const address = {}; -module['exports'] = address; -address.country = require("./country"); -address.building_number = require("./building_number"); -address.secondary_address = require("./secondary_address"); -address.postcode = require("./postcode"); -address.state = require("./state"); -address.state_abbr = require("./state_abbr"); -address.city_name = require("./city_name"); -address.city = require("./city"); -address.street = require("./street"); -address.street_name = require("./street_name"); -address.street_address = require("./street_address"); -address.default_country = require("./default_country"); +module.exports = { + country: require("./country"), + building_number: require("./building_number"), + secondary_address: require("./secondary_address"), + postcode: require("./postcode"), + state: require("./state"), + state_abbr: require("./state_abbr"), + city_name: require("./city_name"), + city: require("./city"), + street: require("./street"), + street_name: require("./street_name"), + street_address: require("./street_address"), + default_country: require("./default_country") +}; diff --git a/lib/locales/cz/address/street.js b/lib/locales/cz/address/street.js index ef2c0d98..0ce62870 100644 --- a/lib/locales/cz/address/street.js +++ b/lib/locales/cz/address/street.js @@ -8309,5 +8309,5 @@ module.exports = [ "Žákovská", "Žárovická", "Žíšovská", - "Žďárská", + "Žďárská" ]; diff --git a/lib/locales/cz/company/index.js b/lib/locales/cz/company/index.js index 3fadcca3..e5d516a4 100644 --- a/lib/locales/cz/company/index.js +++ b/lib/locales/cz/company/index.js @@ -1,9 +1,9 @@ -const company = {}; -module['exports'] = company; -company.suffix = require("./suffix"); -company.adjective = require("./adjective"); -company.descriptor = require("./descriptor"); -company.noun = require("./noun"); -company.bs_verb = require("./bs_verb"); -company.bs_noun = require("./bs_noun"); -company.name = require("./name"); +module.exports = { + suffix: require("./suffix"), + adjective: require("./adjective"), + descriptor: require("./descriptor"), + noun: require("./noun"), + bs_verb: require("./bs_verb"), + bs_noun: require("./bs_noun"), + name: require("./name") +}; diff --git a/lib/locales/cz/index.js b/lib/locales/cz/index.js index f89569b9..4797cf86 100644 --- a/lib/locales/cz/index.js +++ b/lib/locales/cz/index.js @@ -1,10 +1,10 @@ -const cz = {}; -module['exports'] = cz; -cz.title = "Czech"; -cz.address = require("./address"); -cz.company = require("./company"); -cz.internet = require("./internet"); -cz.lorem = require("./lorem"); -cz.name = require("./name"); -cz.phone_number = require("./phone_number"); -cz.date = require("./date"); +module.exports = { + title: "Czech", + address: require("./address"), + company: require("./company"), + internet: require("./internet"), + lorem: require("./lorem"), + name: require("./name"), + phone_number: require("./phone_number"), + date: require("./date") +}; diff --git a/lib/locales/cz/internet/index.js b/lib/locales/cz/internet/index.js index c95143c1..3da76a8f 100644 --- a/lib/locales/cz/internet/index.js +++ b/lib/locales/cz/internet/index.js @@ -1,4 +1,4 @@ -const internet = {}; -module['exports'] = internet; -internet.free_email = require("./free_email"); -internet.domain_suffix = require("./domain_suffix"); +module.exports = { + free_email: require("./free_email"), + domain_suffix: require("./domain_suffix") +}; diff --git a/lib/locales/cz/lorem/index.js b/lib/locales/cz/lorem/index.js index 47ae78b5..85491b9b 100644 --- a/lib/locales/cz/lorem/index.js +++ b/lib/locales/cz/lorem/index.js @@ -1,3 +1,3 @@ -const lorem = {}; -module['exports'] = lorem; -lorem.words = require("./words"); +module.exports = { + words: require("./words") +}; diff --git a/lib/locales/cz/name/female_first_name.js b/lib/locales/cz/name/female_first_name.js index f8692620..06817924 100644 --- a/lib/locales/cz/name/female_first_name.js +++ b/lib/locales/cz/name/female_first_name.js @@ -784,5 +784,5 @@ module.exports = [ "Žitoslava", "Živa", "Živana", - "Žofie", + "Žofie" ]; diff --git a/lib/locales/cz/name/female_last_name.js b/lib/locales/cz/name/female_last_name.js index 16205255..894a7175 100644 --- a/lib/locales/cz/name/female_last_name.js +++ b/lib/locales/cz/name/female_last_name.js @@ -997,5 +997,5 @@ module.exports = [ "Zoubková", "Zouharová", "Žůrková", - "Zvěřinová", + "Zvěřinová" ]; diff --git a/lib/locales/cz/name/first_name.js b/lib/locales/cz/name/first_name.js index 25bed99f..61bfe320 100644 --- a/lib/locales/cz/name/first_name.js +++ b/lib/locales/cz/name/first_name.js @@ -1,3 +1,3 @@ const female_first_name = require('./female_first_name'); const male_first_name = require('./male_first_name'); -module.exports = female_first_name.concat(male_first_name); \ No newline at end of file +module.exports = female_first_name.concat(male_first_name); diff --git a/lib/locales/cz/name/index.js b/lib/locales/cz/name/index.js index 5199c2c5..c38a4396 100644 --- a/lib/locales/cz/name/index.js +++ b/lib/locales/cz/name/index.js @@ -1,12 +1,12 @@ -const name = {}; -module['exports'] = name; -name.first_name = require("./first_name"); -name.last_name = require("./last_name"); -name.male_first_name = require("./male_first_name"); -name.female_first_name = require("./female_first_name"); -name.male_last_name = require("./male_last_name"); -name.female_last_name = require("./female_last_name"); -name.prefix = require("./prefix"); -name.suffix = require("./suffix"); -name.title = require("./title"); -name.name = require("./name"); +module.exports = { + first_name: require("./first_name"), + last_name: require("./last_name"), + male_first_name: require("./male_first_name"), + female_first_name: require("./female_first_name"), + male_last_name: require("./male_last_name"), + female_last_name: require("./female_last_name"), + prefix: require("./prefix"), + suffix: require("./suffix"), + title: require("./title"), + name: require("./name") +}; diff --git a/lib/locales/cz/name/last_name.js b/lib/locales/cz/name/last_name.js index d31b601c..d8ce8244 100644 --- a/lib/locales/cz/name/last_name.js +++ b/lib/locales/cz/name/last_name.js @@ -1,3 +1,3 @@ const female_last_name = require('./female_last_name'); const male_last_name = require('./male_last_name'); -module.exports = female_last_name.concat(male_last_name); \ No newline at end of file +module.exports = female_last_name.concat(male_last_name); diff --git a/lib/locales/cz/name/male_first_name.js b/lib/locales/cz/name/male_first_name.js index 563a50f8..19ce921c 100644 --- a/lib/locales/cz/name/male_first_name.js +++ b/lib/locales/cz/name/male_first_name.js @@ -794,5 +794,5 @@ module.exports = [ "Želmír", "Žitomír", "Žitoslav", - "Živan", + "Živan" ]; diff --git a/lib/locales/cz/name/male_last_name.js b/lib/locales/cz/name/male_last_name.js index be4bc6d9..a9471a6e 100644 --- a/lib/locales/cz/name/male_last_name.js +++ b/lib/locales/cz/name/male_last_name.js @@ -997,5 +997,5 @@ module.exports = [ "Zoubek", "Zouhar", "Žůrek", - "Zvěřina", + "Zvěřina" ]; diff --git a/lib/locales/cz/phone_number/index.js b/lib/locales/cz/phone_number/index.js index 36b6b18a..6fa921e5 100644 --- a/lib/locales/cz/phone_number/index.js +++ b/lib/locales/cz/phone_number/index.js @@ -1,3 +1,3 @@ -const phone_number = {}; -module['exports'] = phone_number; -phone_number.formats = require("./formats"); +module.exports = { + formats: require("./formats") +}; diff --git a/lib/locales/de/address/index.js b/lib/locales/de/address/index.js index d7254c48..11a348b9 100644 --- a/lib/locales/de/address/index.js +++ b/lib/locales/de/address/index.js @@ -1,15 +1,15 @@ -const address = {}; -module['exports'] = address; -address.city_prefix = require("./city_prefix"); -address.city_suffix = require("./city_suffix"); -address.country = require("./country"); -address.street_root = require("./street_root"); -address.building_number = require("./building_number"); -address.secondary_address = require("./secondary_address"); -address.postcode = require("./postcode"); -address.state = require("./state"); -address.state_abbr = require("./state_abbr"); -address.city = require("./city"); -address.street_name = require("./street_name"); -address.street_address = require("./street_address"); -address.default_country = require("./default_country"); +module.exports = { + city_prefix: require("./city_prefix"), + city_suffix: require("./city_suffix"), + country: require("./country"), + street_root: require("./street_root"), + building_number: require("./building_number"), + secondary_address: require("./secondary_address"), + postcode: require("./postcode"), + state: require("./state"), + state_abbr: require("./state_abbr"), + city: require("./city"), + street_name: require("./street_name"), + street_address: require("./street_address"), + default_country: require("./default_country") +}; diff --git a/lib/locales/de/cell_phone/index.js b/lib/locales/de/cell_phone/index.js index 1f65f965..6fa921e5 100644 --- a/lib/locales/de/cell_phone/index.js +++ b/lib/locales/de/cell_phone/index.js @@ -1,3 +1,3 @@ -const cell_phone = {}; -module['exports'] = cell_phone; -cell_phone.formats = require("./formats"); +module.exports = { + formats: require("./formats") +}; diff --git a/lib/locales/de/company/index.js b/lib/locales/de/company/index.js index c5324421..2d230f01 100644 --- a/lib/locales/de/company/index.js +++ b/lib/locales/de/company/index.js @@ -1,5 +1,5 @@ -const company = {}; -module['exports'] = company; -company.suffix = require("./suffix"); -company.legal_form = require("./legal_form"); -company.name = require("./name"); +module.exports = { + suffix: require("./suffix"), + legal_form: require("./legal_form"), + name: require("./name") +}; diff --git a/lib/locales/de/date/month.js b/lib/locales/de/date/month.js index 2d6bd7de..f4703017 100644 --- a/lib/locales/de/date/month.js +++ b/lib/locales/de/date/month.js @@ -1,5 +1,5 @@ // Source: http://unicode.org/cldr/trac/browser/tags/release-27/common/main/en.xml#L1799 -module['exports'] = { +module.exports = { wide: [ 'Januar', 'Februar', @@ -12,7 +12,7 @@ module['exports'] = { 'September', 'Oktober', 'November', - 'Dezember', + 'Dezember' ], // Property "wide_context" is optional, if not set then "wide" will be used instead // It is used to specify a word in context, which may differ from a stand-alone word @@ -28,7 +28,7 @@ module['exports'] = { 'September', 'Oktober', 'November', - 'Dezember', + 'Dezember' ], abbr: [ 'Jan', @@ -42,7 +42,7 @@ module['exports'] = { 'Sep', 'Okt', 'Nov', - 'Dez', + 'Dez' ], // Property "abbr_context" is optional, if not set then "abbr" will be used instead // It is used to specify a word in context, which may differ from a stand-alone word @@ -58,6 +58,6 @@ module['exports'] = { 'Sep', 'Okt', 'Nov', - 'Dez', - ], + 'Dez' + ] }; diff --git a/lib/locales/de/index.js b/lib/locales/de/index.js index af900eef..b1e2640c 100644 --- a/lib/locales/de/index.js +++ b/lib/locales/de/index.js @@ -1,11 +1,11 @@ -const de = {}; -module['exports'] = de; -de.title = "German"; -de.address = require("./address"); -de.company = require("./company"); -de.internet = require("./internet"); -de.lorem = require("./lorem"); -de.name = require("./name"); -de.phone_number = require("./phone_number"); -de.cell_phone = require("./cell_phone"); -de.date = require("./date"); +module.exports = { + title: "German", + address: require("./address"), + company: require("./company"), + internet: require("./internet"), + lorem: require("./lorem"), + name: require("./name"), + phone_number: require("./phone_number"), + cell_phone: require("./cell_phone"), + date: require("./date") +}; diff --git a/lib/locales/de/internet/index.js b/lib/locales/de/internet/index.js index c95143c1..3da76a8f 100644 --- a/lib/locales/de/internet/index.js +++ b/lib/locales/de/internet/index.js @@ -1,4 +1,4 @@ -const internet = {}; -module['exports'] = internet; -internet.free_email = require("./free_email"); -internet.domain_suffix = require("./domain_suffix"); +module.exports = { + free_email: require("./free_email"), + domain_suffix: require("./domain_suffix") +}; diff --git a/lib/locales/de/lorem/index.js b/lib/locales/de/lorem/index.js index 47ae78b5..85491b9b 100644 --- a/lib/locales/de/lorem/index.js +++ b/lib/locales/de/lorem/index.js @@ -1,3 +1,3 @@ -const lorem = {}; -module['exports'] = lorem; -lorem.words = require("./words"); +module.exports = { + words: require("./words") +}; diff --git a/lib/locales/de/name/index.js b/lib/locales/de/name/index.js index a1f79b06..89acceb7 100644 --- a/lib/locales/de/name/index.js +++ b/lib/locales/de/name/index.js @@ -1,9 +1,9 @@ -const name = {}; -module['exports'] = name; -name.male_first_name = require("./male_first_name"); -name.female_first_name = require("./female_first_name"); -name.first_name = require("./first_name"); -name.last_name = require("./last_name"); -name.prefix = require("./prefix"); -name.nobility_title_prefix = require("./nobility_title_prefix"); -name.name = require("./name"); +module.exports = { + male_first_name: require("./male_first_name"), + female_first_name: require("./female_first_name"), + first_name: require("./first_name"), + last_name: require("./last_name"), + prefix: require("./prefix"), + nobility_title_prefix: require("./nobility_title_prefix"), + name: require("./name") +}; diff --git a/lib/locales/de/phone_number/index.js b/lib/locales/de/phone_number/index.js index 36b6b18a..6fa921e5 100644 --- a/lib/locales/de/phone_number/index.js +++ b/lib/locales/de/phone_number/index.js @@ -1,3 +1,3 @@ -const phone_number = {}; -module['exports'] = phone_number; -phone_number.formats = require("./formats"); +module.exports = { + formats: require("./formats") +}; diff --git a/lib/locales/de_AT/address/index.js b/lib/locales/de_AT/address/index.js index 838a1e8c..ed614ffc 100644 --- a/lib/locales/de_AT/address/index.js +++ b/lib/locales/de_AT/address/index.js @@ -1,14 +1,14 @@ -const address = {}; -module['exports'] = address; -address.country = require("./country"); -address.street_root = require("./street_root"); -address.building_number = require("./building_number"); -address.secondary_address = require("./secondary_address"); -address.postcode = require("./postcode"); -address.state = require("./state"); -address.state_abbr = require("./state_abbr"); -address.city_name = require("./city_name"); -address.city = require("./city"); -address.street_name = require("./street_name"); -address.street_address = require("./street_address"); -address.default_country = require("./default_country"); +module.exports = { + country: require("./country"), + street_root: require("./street_root"), + building_number: require("./building_number"), + secondary_address: require("./secondary_address"), + postcode: require("./postcode"), + state: require("./state"), + state_abbr: require("./state_abbr"), + city_name: require("./city_name"), + city: require("./city"), + street_name: require("./street_name"), + street_address: require("./street_address"), + default_country: require("./default_country") +}; diff --git a/lib/locales/de_AT/cell_phone/index.js b/lib/locales/de_AT/cell_phone/index.js index 1f65f965..6fa921e5 100644 --- a/lib/locales/de_AT/cell_phone/index.js +++ b/lib/locales/de_AT/cell_phone/index.js @@ -1,3 +1,3 @@ -const cell_phone = {}; -module['exports'] = cell_phone; -cell_phone.formats = require("./formats"); +module.exports = { + formats: require("./formats") +}; diff --git a/lib/locales/de_AT/company/index.js b/lib/locales/de_AT/company/index.js index c5324421..2d230f01 100644 --- a/lib/locales/de_AT/company/index.js +++ b/lib/locales/de_AT/company/index.js @@ -1,5 +1,5 @@ -const company = {}; -module['exports'] = company; -company.suffix = require("./suffix"); -company.legal_form = require("./legal_form"); -company.name = require("./name"); +module.exports = { + suffix: require("./suffix"), + legal_form: require("./legal_form"), + name: require("./name") +}; diff --git a/lib/locales/de_AT/index.js b/lib/locales/de_AT/index.js index 1c298ec7..41b655b5 100644 --- a/lib/locales/de_AT/index.js +++ b/lib/locales/de_AT/index.js @@ -1,9 +1,9 @@ -const de_AT = {}; -module['exports'] = de_AT; -de_AT.title = "German (Austria)"; -de_AT.address = require("./address"); -de_AT.company = require("./company"); -de_AT.internet = require("./internet"); -de_AT.name = require("./name"); -de_AT.phone_number = require("./phone_number"); -de_AT.cell_phone = require("./cell_phone"); +module.exports = { + title: "German (Austria)", + address: require("./address"), + company: require("./company"), + internet: require("./internet"), + name: require("./name"), + phone_number: require("./phone_number"), + cell_phone: require("./cell_phone") +}; diff --git a/lib/locales/de_AT/internet/index.js b/lib/locales/de_AT/internet/index.js index c95143c1..3da76a8f 100644 --- a/lib/locales/de_AT/internet/index.js +++ b/lib/locales/de_AT/internet/index.js @@ -1,4 +1,4 @@ -const internet = {}; -module['exports'] = internet; -internet.free_email = require("./free_email"); -internet.domain_suffix = require("./domain_suffix"); +module.exports = { + free_email: require("./free_email"), + domain_suffix: require("./domain_suffix") +}; diff --git a/lib/locales/de_AT/name/index.js b/lib/locales/de_AT/name/index.js index 32eed4cb..15642149 100644 --- a/lib/locales/de_AT/name/index.js +++ b/lib/locales/de_AT/name/index.js @@ -1,7 +1,7 @@ -const name = {}; -module['exports'] = name; -name.first_name = require("./first_name"); -name.last_name = require("./last_name"); -name.prefix = require("./prefix"); -name.nobility_title_prefix = require("./nobility_title_prefix"); -name.name = require("./name"); +module.exports = { + first_name: require("./first_name"), + last_name: require("./last_name"), + prefix: require("./prefix"), + nobility_title_prefix: require("./nobility_title_prefix"), + name: require("./name") +}; diff --git a/lib/locales/de_AT/phone_number/index.js b/lib/locales/de_AT/phone_number/index.js index 36b6b18a..6fa921e5 100644 --- a/lib/locales/de_AT/phone_number/index.js +++ b/lib/locales/de_AT/phone_number/index.js @@ -1,3 +1,3 @@ -const phone_number = {}; -module['exports'] = phone_number; -phone_number.formats = require("./formats"); +module.exports = { + formats: require("./formats") +}; diff --git a/lib/locales/de_CH/address/city_name.js b/lib/locales/de_CH/address/city_name.js index 810180bf..7ad0125d 100644 --- a/lib/locales/de_CH/address/city_name.js +++ b/lib/locales/de_CH/address/city_name.js @@ -98,5 +98,5 @@ module.exports = [ "Wädenswil", "Yverdon-les-Bains", "Zug", - "Zürich", + "Zürich" ]; diff --git a/lib/locales/de_CH/address/index.js b/lib/locales/de_CH/address/index.js index 938dd0f3..0128051f 100644 --- a/lib/locales/de_CH/address/index.js +++ b/lib/locales/de_CH/address/index.js @@ -1,9 +1,9 @@ -const address = {}; -module['exports'] = address; -address.country_code = require("./country_code"); -address.postcode = require("./postcode"); -address.state = require("./state"); -address.state_abbr = require("./state_abbr"); -address.city_name = require("./city_name"); -address.city = require("./city"); -address.default_country = require("./default_country"); +module.exports = { + country_code: require("./country_code"), + postcode: require("./postcode"), + state: require("./state"), + state_abbr: require("./state_abbr"), + city_name: require("./city_name"), + city: require("./city"), + default_country: require("./default_country") +}; diff --git a/lib/locales/de_CH/address/state_abbr.js b/lib/locales/de_CH/address/state_abbr.js index b157344c..85e2353c 100644 --- a/lib/locales/de_CH/address/state_abbr.js +++ b/lib/locales/de_CH/address/state_abbr.js @@ -24,5 +24,5 @@ module.exports = [ "VD", "VS", "ZG", - "ZH", + "ZH" ]; diff --git a/lib/locales/de_CH/company/index.js b/lib/locales/de_CH/company/index.js index 8f1b8c98..91cbfd95 100644 --- a/lib/locales/de_CH/company/index.js +++ b/lib/locales/de_CH/company/index.js @@ -1,4 +1,4 @@ -const company = {}; -module['exports'] = company; -company.suffix = require("./suffix"); -company.name = require("./name"); +module.exports = { + suffix: require("./suffix"), + name: require("./name") +}; diff --git a/lib/locales/de_CH/index.js b/lib/locales/de_CH/index.js index 2849d3c3..8d642266 100644 --- a/lib/locales/de_CH/index.js +++ b/lib/locales/de_CH/index.js @@ -1,8 +1,8 @@ -const de_CH = {}; -module['exports'] = de_CH; -de_CH.title = "German (Switzerland)"; -de_CH.address = require("./address"); -de_CH.company = require("./company"); -de_CH.internet = require("./internet"); -de_CH.name = require("./name"); -de_CH.phone_number = require("./phone_number"); +module.exports = { + title: "German (Switzerland)", + address: require("./address"), + company: require("./company"), + internet: require("./internet"), + name: require("./name"), + phone_number: require("./phone_number") +}; diff --git a/lib/locales/de_CH/internet/index.js b/lib/locales/de_CH/internet/index.js index 9251f559..f0555aed 100644 --- a/lib/locales/de_CH/internet/index.js +++ b/lib/locales/de_CH/internet/index.js @@ -1,3 +1,3 @@ -const internet = {}; -module['exports'] = internet; -internet.domain_suffix = require("./domain_suffix"); +module.exports = { + domain_suffix: require("./domain_suffix") +}; diff --git a/lib/locales/de_CH/name/first_name.js b/lib/locales/de_CH/name/first_name.js index c3bf0133..a0104fb1 100644 --- a/lib/locales/de_CH/name/first_name.js +++ b/lib/locales/de_CH/name/first_name.js @@ -334,6 +334,6 @@ module.exports = [ "Yolande", "Yves", "Yvette", - "Yvonne", + "Yvonne" ]; diff --git a/lib/locales/de_CH/name/index.js b/lib/locales/de_CH/name/index.js index 9860b50d..5136bb3f 100644 --- a/lib/locales/de_CH/name/index.js +++ b/lib/locales/de_CH/name/index.js @@ -1,6 +1,6 @@ -const name = {}; -module['exports'] = name; -name.first_name = require("./first_name"); -name.last_name = require("./last_name"); -name.prefix = require("./prefix"); -name.name = require("./name"); +module.exports = { + first_name: require("./first_name"), + last_name: require("./last_name"), + prefix: require("./prefix"), + name: require("./name") +}; diff --git a/lib/locales/de_CH/phone_number/index.js b/lib/locales/de_CH/phone_number/index.js index 36b6b18a..6fa921e5 100644 --- a/lib/locales/de_CH/phone_number/index.js +++ b/lib/locales/de_CH/phone_number/index.js @@ -1,3 +1,3 @@ -const phone_number = {}; -module['exports'] = phone_number; -phone_number.formats = require("./formats"); +module.exports = { + formats: require("./formats") +}; diff --git a/lib/locales/el/address/index.js b/lib/locales/el/address/index.js index ae1f8c34..4c27349b 100644 --- a/lib/locales/el/address/index.js +++ b/lib/locales/el/address/index.js @@ -1,4 +1,4 @@ -const address = {}; -module['exports'] = address; -address.county = require("./county"); -address.default_country = require("./default_country"); +module.exports = { + county: require("./county"), + default_country: require("./default_country") +}; diff --git a/lib/locales/el/app/index.js b/lib/locales/el/app/index.js index 10449c4b..5ab39f4f 100644 --- a/lib/locales/el/app/index.js +++ b/lib/locales/el/app/index.js @@ -1,5 +1,5 @@ -const app = {}; -module['exports'] = app; -app.name = require("./name"); -app.version = require("./version"); -app.author = require("./author"); +module.exports = { + name: require("./name"), + version: require("./version"), + author: require("./author") +}; diff --git a/lib/locales/el/app/name.js b/lib/locales/el/app/name.js index 53d560b8..27b33f62 100644 --- a/lib/locales/el/app/name.js +++ b/lib/locales/el/app/name.js @@ -30,5 +30,5 @@ module.exports = [ "FASHION BOX ΕΛΛΑΣ ΑΕ", "Ι. ΚΛΟΥΚΙΝΑΣ - Ι. ΛΑΠΠΑΣ ΤΕΧΝΙΚΗ ΚΑΙ ΕΜΠΟΡΙΚΗ Α.Ε.", "ΕΛΙΝΟΙΛ ΕΛΛΗΝΙΚΗ ΕΤΑΙΡΙΑ ΠΕΤΡΕΛΑΙΩΝ ΑΝΩΝΥΜΗ ΕΤΑΙΡΙΑ", - "ΔΕΛΤΑ ΜΗΧΑΝΟΛΟΓΙΚΟΣ ΕΞΟΠΛΙΣΜΟΣ & ΟΛΟΚΛΗΡΩΜΕΝΑ ΕΡΓΑ ΑΒΕΤΕ", + "ΔΕΛΤΑ ΜΗΧΑΝΟΛΟΓΙΚΟΣ ΕΞΟΠΛΙΣΜΟΣ & ΟΛΟΚΛΗΡΩΜΕΝΑ ΕΡΓΑ ΑΒΕΤΕ" ]; diff --git a/lib/locales/el/business/index.js b/lib/locales/el/business/index.js index 3146faad..b7c62956 100644 --- a/lib/locales/el/business/index.js +++ b/lib/locales/el/business/index.js @@ -1,5 +1,5 @@ -const business = {}; -module['exports'] = business; -business.credit_card_numbers = require("./credit_card_numbers"); -business.credit_card_expiry_dates = require("./credit_card_expiry_dates"); -business.credit_card_types = require("./credit_card_types"); +module.exports = { + credit_card_numbers: require("./credit_card_numbers"), + credit_card_expiry_dates: require("./credit_card_expiry_dates"), + credit_card_types: require("./credit_card_types") +}; diff --git a/lib/locales/el/cell_phone/index.js b/lib/locales/el/cell_phone/index.js index 1f65f965..6fa921e5 100644 --- a/lib/locales/el/cell_phone/index.js +++ b/lib/locales/el/cell_phone/index.js @@ -1,3 +1,3 @@ -const cell_phone = {}; -module['exports'] = cell_phone; -cell_phone.formats = require("./formats"); +module.exports = { + formats: require("./formats") +}; diff --git a/lib/locales/el/commerce/index.js b/lib/locales/el/commerce/index.js index 271876c5..511ce3be 100644 --- a/lib/locales/el/commerce/index.js +++ b/lib/locales/el/commerce/index.js @@ -1,5 +1,5 @@ -const commerce = {}; -module['exports'] = commerce; -commerce.color = require("./color"); -commerce.department = require("./department"); -commerce.product_name = require("./product_name"); +module.exports = { + color: require("./color"), + department: require("./department"), + product_name: require("./product_name") +}; diff --git a/lib/locales/el/company/index.js b/lib/locales/el/company/index.js index 79469daa..e8c78228 100644 --- a/lib/locales/el/company/index.js +++ b/lib/locales/el/company/index.js @@ -1,10 +1,10 @@ -const company = {}; -module['exports'] = company; -company.suffix = require("./suffix"); -company.adjective = require("./adjective"); -company.descriptor = require("./descriptor"); -company.noun = require("./noun"); -company.bs_verb = require("./bs_verb"); -company.bs_adjective = require("./bs_adjective"); -company.bs_noun = require("./bs_noun"); -company.name = require("./name"); +module.exports = { + suffix: require("./suffix"), + adjective: require("./adjective"), + descriptor: require("./descriptor"), + noun: require("./noun"), + bs_verb: require("./bs_verb"), + bs_adjective: require("./bs_adjective"), + bs_noun: require("./bs_noun"), + name: require("./name") +}; diff --git a/lib/locales/el/credit_card/index.js b/lib/locales/el/credit_card/index.js index d4517e8e..68566427 100644 --- a/lib/locales/el/credit_card/index.js +++ b/lib/locales/el/credit_card/index.js @@ -1,7 +1,7 @@ -const credit_card = {}; -module['exports'] = credit_card; -credit_card.visa = require("./visa"); -credit_card.mastercard = require("./mastercard"); -credit_card.discover = require("./discover"); -credit_card.american_express = require("./american_express"); -credit_card.maestro = require("./maestro"); +module.exports = { + visa: require("./visa"), + mastercard: require("./mastercard"), + discover: require("./discover"), + american_express: require("./american_express"), + maestro: require("./maestro") +}; diff --git a/lib/locales/el/finance/index.js b/lib/locales/el/finance/index.js index 1701c1d3..7c685689 100644 --- a/lib/locales/el/finance/index.js +++ b/lib/locales/el/finance/index.js @@ -1,5 +1,5 @@ -const finance = {}; -module['exports'] = finance; -finance.account_type = require("./account_type"); -finance.transaction_type = require("./transaction_type"); -finance.currency = require("./currency"); +module.exports = { + account_type: require("./account_type"), + transaction_type: require("./transaction_type"), + currency: require("./currency") +}; diff --git a/lib/locales/el/hacker/index.js b/lib/locales/el/hacker/index.js index af3832e6..4ff6c898 100644 --- a/lib/locales/el/hacker/index.js +++ b/lib/locales/el/hacker/index.js @@ -1,6 +1,6 @@ -const hacker = {}; -module['exports'] = hacker; -hacker.abbreviation = require("./abbreviation"); -hacker.adjective = require("./adjective"); -hacker.noun = require("./noun"); -hacker.verb = require("./verb"); +module.exports = { + abbreviation: require("./abbreviation"), + adjective: require("./adjective"), + noun: require("./noun"), + verb: require("./verb") +}; diff --git a/lib/locales/el/index.js b/lib/locales/el/index.js index 9c810b15..04ff60ee 100644 --- a/lib/locales/el/index.js +++ b/lib/locales/el/index.js @@ -1,18 +1,18 @@ -const el = {}; -module['exports'] = el; -el.title = "Greek"; -el.separator = " & "; -el.address = require("./address"); -el.credit_card = require("./credit_card"); -el.company = require("./company"); -el.internet = require("./internet"); -el.lorem = require("./lorem"); -el.name = require("./name"); -el.phone_number = require("./phone_number"); -el.cell_phone = require("./cell_phone"); -el.business = require("./business"); -el.commerce = require("./commerce"); -el.team = require("./team"); -el.hacker = require("./hacker"); -el.app = require("./app"); -el.finance = require("./finance"); +module.exports = { + title: "Greek", + separator: " & ", + address: require("./address"), + credit_card: require("./credit_card"), + company: require("./company"), + internet: require("./internet"), + lorem: require("./lorem"), + name: require("./name"), + phone_number: require("./phone_number"), + cell_phone: require("./cell_phone"), + business: require("./business"), + commerce: require("./commerce"), + team: require("./team"), + hacker: require("./hacker"), + app: require("./app"), + finance: require("./finance") +}; diff --git a/lib/locales/el/internet/index.js b/lib/locales/el/internet/index.js index 9251f559..f0555aed 100644 --- a/lib/locales/el/internet/index.js +++ b/lib/locales/el/internet/index.js @@ -1,3 +1,3 @@ -const internet = {}; -module['exports'] = internet; -internet.domain_suffix = require("./domain_suffix"); +module.exports = { + domain_suffix: require("./domain_suffix") +}; diff --git a/lib/locales/el/lorem/index.js b/lib/locales/el/lorem/index.js index 47ae78b5..85491b9b 100644 --- a/lib/locales/el/lorem/index.js +++ b/lib/locales/el/lorem/index.js @@ -1,3 +1,3 @@ -const lorem = {}; -module['exports'] = lorem; -lorem.words = require("./words"); +module.exports = { + words: require("./words") +}; diff --git a/lib/locales/el/name/first_name.js b/lib/locales/el/name/first_name.js index 6ddb5157..a1ec4dd9 100644 --- a/lib/locales/el/name/first_name.js +++ b/lib/locales/el/name/first_name.js @@ -35,4 +35,4 @@ module.exports = [ "Παρασκευάς", "Αριστείδης", "Λεωνίδας" -]; \ No newline at end of file +]; diff --git a/lib/locales/el/name/index.js b/lib/locales/el/name/index.js index f94a9ecc..a2c8634e 100644 --- a/lib/locales/el/name/index.js +++ b/lib/locales/el/name/index.js @@ -1,7 +1,7 @@ -const name = {}; -module['exports'] = name; -name.first_name = require("./first_name"); -name.last_name = require("./last_name"); -name.prefix = require("./prefix"); -name.title = require("./title"); -name.name = require("./name"); +module.exports = { + first_name: require("./first_name"), + last_name: require("./last_name"), + prefix: require("./prefix"), + title: require("./title"), + name: require("./name") +}; diff --git a/lib/locales/el/phone_number/index.js b/lib/locales/el/phone_number/index.js index 36b6b18a..6fa921e5 100644 --- a/lib/locales/el/phone_number/index.js +++ b/lib/locales/el/phone_number/index.js @@ -1,3 +1,3 @@ -const phone_number = {}; -module['exports'] = phone_number; -phone_number.formats = require("./formats"); +module.exports = { + formats: require("./formats") +}; diff --git a/lib/locales/el/team/index.js b/lib/locales/el/team/index.js index b5264b1c..9d1f8164 100644 --- a/lib/locales/el/team/index.js +++ b/lib/locales/el/team/index.js @@ -1,4 +1,4 @@ -const team = {}; -module['exports'] = team; -team.creature = require("./creature"); -team.name = require("./name"); +module.exports = { + creature: require("./creature"), + name: require("./name") +}; diff --git a/lib/locales/en/address/city_name.js b/lib/locales/en/address/city_name.js index dd9901f6..b322109a 100644 --- a/lib/locales/en/address/city_name.js +++ b/lib/locales/en/address/city_name.js @@ -999,4 +999,4 @@ module.exports = [ "Yuba City", "Yucaipa", "Yuma" -]; \ No newline at end of file +]; diff --git a/lib/locales/en/address/country_code_alpha_3.js b/lib/locales/en/address/country_code_alpha_3.js index 673f5a9e..227b06e8 100644 --- a/lib/locales/en/address/country_code_alpha_3.js +++ b/lib/locales/en/address/country_code_alpha_3.js @@ -249,4 +249,4 @@ module.exports = [ "UKR", "QAT", "MOZ" -]; \ No newline at end of file +]; diff --git a/lib/locales/en/address/index.js b/lib/locales/en/address/index.js index 3c76e5ea..98345d61 100644 --- a/lib/locales/en/address/index.js +++ b/lib/locales/en/address/index.js @@ -1,23 +1,23 @@ -const address = {}; -module['exports'] = address; -address.city_prefix = require("./city_prefix"); -address.city_suffix = require("./city_suffix"); -address.city_name = require("./city_name"); -address.county = require("./county"); -address.country = require("./country"); -address.country_code = require("./country_code"); -address.country_code_alpha_3 = require("./country_code_alpha_3"); -address.building_number = require("./building_number"); -address.street_suffix = require("./street_suffix"); -address.secondary_address = require("./secondary_address"); -address.postcode = require("./postcode"); -address.postcode_by_state = require("./postcode_by_state"); -address.state = require("./state"); -address.state_abbr = require("./state_abbr"); -address.time_zone = require("./time_zone"); -address.city = require("./city"); -address.street_name = require("./street_name"); -address.street_address = require("./street_address"); -address.default_country = require("./default_country"); -address.direction = require("./direction"); -address.direction_abbr = require("./direction_abbr"); +module.exports = { + city_prefix: require("./city_prefix"), + city_suffix: require("./city_suffix"), + city_name: require("./city_name"), + county: require("./county"), + country: require("./country"), + country_code: require("./country_code"), + country_code_alpha_3: require("./country_code_alpha_3"), + building_number: require("./building_number"), + street_suffix: require("./street_suffix"), + secondary_address: require("./secondary_address"), + postcode: require("./postcode"), + postcode_by_state: require("./postcode_by_state"), + state: require("./state"), + state_abbr: require("./state_abbr"), + time_zone: require("./time_zone"), + city: require("./city"), + street_name: require("./street_name"), + street_address: require("./street_address"), + default_country: require("./default_country"), + direction: require("./direction"), + direction_abbr: require("./direction_abbr") +}; diff --git a/lib/locales/en/animal/bear.js b/lib/locales/en/animal/bear.js index 03d96b8a..556a5697 100644 --- a/lib/locales/en/animal/bear.js +++ b/lib/locales/en/animal/bear.js @@ -7,4 +7,4 @@ module.exports = [ "Asian black bear", "Brown bear", "Polar bear" -] \ No newline at end of file +]; diff --git a/lib/locales/en/animal/bird.js b/lib/locales/en/animal/bird.js index d189ffa8..b41db2d4 100644 --- a/lib/locales/en/animal/bird.js +++ b/lib/locales/en/animal/bird.js @@ -913,4 +913,4 @@ module.exports = [ "Hawfinch", "House Sparrow", "Eurasian Tree Sparrow" -] \ No newline at end of file +]; diff --git a/lib/locales/en/animal/cat.js b/lib/locales/en/animal/cat.js index 3723c9e1..431882b5 100644 --- a/lib/locales/en/animal/cat.js +++ b/lib/locales/en/animal/cat.js @@ -54,4 +54,4 @@ module.exports = [ "Toyger", "Turkish Angora", "Turkish Van" -] \ No newline at end of file +]; diff --git a/lib/locales/en/animal/cetacean.js b/lib/locales/en/animal/cetacean.js index dc97b352..37e31d13 100644 --- a/lib/locales/en/animal/cetacean.js +++ b/lib/locales/en/animal/cetacean.js @@ -53,4 +53,4 @@ module.exports = [ "Southern Bottlenose Whale", "Longman's Beaked Whale", "Arnoux's Beaked Whale" -] \ No newline at end of file +]; diff --git a/lib/locales/en/animal/cow.js b/lib/locales/en/animal/cow.js index 709a701a..ebaa139f 100644 --- a/lib/locales/en/animal/cow.js +++ b/lib/locales/en/animal/cow.js @@ -518,4 +518,4 @@ module.exports = [ "Breed", "Żubroń", "Zebu" -] \ No newline at end of file +]; diff --git a/lib/locales/en/animal/crocodilia.js b/lib/locales/en/animal/crocodilia.js index aff9fd91..c635b80c 100644 --- a/lib/locales/en/animal/crocodilia.js +++ b/lib/locales/en/animal/crocodilia.js @@ -23,4 +23,4 @@ module.exports = [ "Siamese Crocodile", "Gharial", "Tomistoma" -] \ No newline at end of file +]; diff --git a/lib/locales/en/animal/dog.js b/lib/locales/en/animal/dog.js index 7fcde961..c5dfc15c 100644 --- a/lib/locales/en/animal/dog.js +++ b/lib/locales/en/animal/dog.js @@ -495,5 +495,5 @@ module.exports = [ "Xiasi Dog", "Xoloitzcuintli", "Yakutian Laika", - "Yorkshire Terrier", + "Yorkshire Terrier" ]; diff --git a/lib/locales/en/animal/fish.js b/lib/locales/en/animal/fish.js index d4d1177a..9bf96387 100644 --- a/lib/locales/en/animal/fish.js +++ b/lib/locales/en/animal/fish.js @@ -95,4 +95,4 @@ module.exports = [ "Pacific sand lance", "Pacific sandlance", "Goldstripe sardinella" -] \ No newline at end of file +]; diff --git a/lib/locales/en/animal/horse.js b/lib/locales/en/animal/horse.js index a3288227..960523e2 100644 --- a/lib/locales/en/animal/horse.js +++ b/lib/locales/en/animal/horse.js @@ -344,4 +344,4 @@ module.exports = [ "Žemaitukas", "Zhemaichu", "Zweibrücker" -] \ No newline at end of file +]; diff --git a/lib/locales/en/animal/index.js b/lib/locales/en/animal/index.js index d91f3151..df83cfce 100644 --- a/lib/locales/en/animal/index.js +++ b/lib/locales/en/animal/index.js @@ -1,16 +1,16 @@ -const animal = {}; -module['exports'] = animal; -animal.dog = require("./dog"); -animal.cat = require("./cat"); -animal.snake = require("./snake"); -animal.horse = require("./horse"); -animal.cetacean = require("./cetacean"); -animal.rabbit = require("./rabbit"); -animal.insect = require("./insect"); -animal.bear = require("./bear"); -animal.lion = require("./lion"); -animal.cow = require("./cow"); -animal.bird = require("./bird"); -animal.fish = require("./fish"); -animal.crocodilia = require("./crocodilia"); -animal.type = require("./type"); \ No newline at end of file +module.exports = { + dog: require("./dog"), + cat: require("./cat"), + snake: require("./snake"), + horse: require("./horse"), + cetacean: require("./cetacean"), + rabbit: require("./rabbit"), + insect: require("./insect"), + bear: require("./bear"), + lion: require("./lion"), + cow: require("./cow"), + bird: require("./bird"), + fish: require("./fish"), + crocodilia: require("./crocodilia"), + type: require("./type") +}; diff --git a/lib/locales/en/animal/insect.js b/lib/locales/en/animal/insect.js index 9766458e..4933aa34 100644 --- a/lib/locales/en/animal/insect.js +++ b/lib/locales/en/animal/insect.js @@ -129,4 +129,4 @@ module.exports = [ "Yellow and black potter wasp", "Yellow Crazy Ant", "Yellow-horned horntail" -] \ No newline at end of file +]; diff --git a/lib/locales/en/animal/lion.js b/lib/locales/en/animal/lion.js index c41ec624..0f286bca 100644 --- a/lib/locales/en/animal/lion.js +++ b/lib/locales/en/animal/lion.js @@ -6,4 +6,4 @@ module.exports = [ "Masai Lion", "Transvaal lion", "Cape lion" -] \ No newline at end of file +]; diff --git a/lib/locales/en/animal/rabbit.js b/lib/locales/en/animal/rabbit.js index dfaa82bd..287a6896 100644 --- a/lib/locales/en/animal/rabbit.js +++ b/lib/locales/en/animal/rabbit.js @@ -48,4 +48,4 @@ module.exports = [ "Standard Chinchilla", "Tan", "Thrianta" -] \ No newline at end of file +]; diff --git a/lib/locales/en/animal/snake.js b/lib/locales/en/animal/snake.js index 753c7384..debc5f5f 100644 --- a/lib/locales/en/animal/snake.js +++ b/lib/locales/en/animal/snake.js @@ -580,4 +580,4 @@ module.exports = [ "Wutu", "Yarara", "Zebra snake" -] \ No newline at end of file +]; diff --git a/lib/locales/en/animal/type.js b/lib/locales/en/animal/type.js index 6f831af3..75797382 100644 --- a/lib/locales/en/animal/type.js +++ b/lib/locales/en/animal/type.js @@ -12,4 +12,4 @@ module.exports = [ "fish", "rabbit", "horse" -] \ No newline at end of file +]; diff --git a/lib/locales/en/app/index.js b/lib/locales/en/app/index.js index 10449c4b..5ab39f4f 100644 --- a/lib/locales/en/app/index.js +++ b/lib/locales/en/app/index.js @@ -1,5 +1,5 @@ -const app = {}; -module['exports'] = app; -app.name = require("./name"); -app.version = require("./version"); -app.author = require("./author"); +module.exports = { + name: require("./name"), + version: require("./version"), + author: require("./author") +}; diff --git a/lib/locales/en/business/index.js b/lib/locales/en/business/index.js index 3146faad..b7c62956 100644 --- a/lib/locales/en/business/index.js +++ b/lib/locales/en/business/index.js @@ -1,5 +1,5 @@ -const business = {}; -module['exports'] = business; -business.credit_card_numbers = require("./credit_card_numbers"); -business.credit_card_expiry_dates = require("./credit_card_expiry_dates"); -business.credit_card_types = require("./credit_card_types"); +module.exports = { + credit_card_numbers: require("./credit_card_numbers"), + credit_card_expiry_dates: require("./credit_card_expiry_dates"), + credit_card_types: require("./credit_card_types") +}; diff --git a/lib/locales/en/cell_phone/index.js b/lib/locales/en/cell_phone/index.js index 1f65f965..6fa921e5 100644 --- a/lib/locales/en/cell_phone/index.js +++ b/lib/locales/en/cell_phone/index.js @@ -1,3 +1,3 @@ -const cell_phone = {}; -module['exports'] = cell_phone; -cell_phone.formats = require("./formats"); +module.exports = { + formats: require("./formats") +}; diff --git a/lib/locales/en/commerce/index.js b/lib/locales/en/commerce/index.js index ac1d8e5c..fb833daf 100644 --- a/lib/locales/en/commerce/index.js +++ b/lib/locales/en/commerce/index.js @@ -1,6 +1,6 @@ -const commerce = {}; -module['exports'] = commerce; -commerce.color = require("./color"); -commerce.department = require("./department"); -commerce.product_name = require("./product_name"); -commerce.product_description = require("./product_description"); +module.exports = { + color: require("./color"), + department: require("./department"), + product_name: require("./product_name"), + product_description: require("./product_description") +}; diff --git a/lib/locales/en/commerce/product_description.js b/lib/locales/en/commerce/product_description.js index 007e5c44..5bba1b1e 100644 --- a/lib/locales/en/commerce/product_description.js +++ b/lib/locales/en/commerce/product_description.js @@ -11,4 +11,4 @@ module.exports = [ "New range of formal shirts are designed keeping you in mind. With fits and styling that will make you stand apart", "The beautiful range of Apple Naturalé that has an exciting mix of natural ingredients. With the Goodness of 100% Natural Ingredients", "Andy shoes are designed to keeping in mind durability as well as trends, the most stylish range of shoes & sandals" -]; \ No newline at end of file +]; diff --git a/lib/locales/en/company/index.js b/lib/locales/en/company/index.js index 79469daa..e8c78228 100644 --- a/lib/locales/en/company/index.js +++ b/lib/locales/en/company/index.js @@ -1,10 +1,10 @@ -const company = {}; -module['exports'] = company; -company.suffix = require("./suffix"); -company.adjective = require("./adjective"); -company.descriptor = require("./descriptor"); -company.noun = require("./noun"); -company.bs_verb = require("./bs_verb"); -company.bs_adjective = require("./bs_adjective"); -company.bs_noun = require("./bs_noun"); -company.name = require("./name"); +module.exports = { + suffix: require("./suffix"), + adjective: require("./adjective"), + descriptor: require("./descriptor"), + noun: require("./noun"), + bs_verb: require("./bs_verb"), + bs_adjective: require("./bs_adjective"), + bs_noun: require("./bs_noun"), + name: require("./name") +}; diff --git a/lib/locales/en/database/index.js b/lib/locales/en/database/index.js index 8f6fa9b4..176ab966 100644 --- a/lib/locales/en/database/index.js +++ b/lib/locales/en/database/index.js @@ -1,6 +1,6 @@ -const database = {}; -module['exports'] = database; -database.collation = require("./collation"); -database.column = require("./column"); -database.engine = require("./engine"); -database.type = require("./type"); \ No newline at end of file +module.exports = { + collation: require("./collation"), + column: require("./column"), + engine: require("./engine"), + type: require("./type") +}; diff --git a/lib/locales/en/finance/credit_card/index.js b/lib/locales/en/finance/credit_card/index.js index b7418d5f..344e8cd4 100644 --- a/lib/locales/en/finance/credit_card/index.js +++ b/lib/locales/en/finance/credit_card/index.js @@ -1,13 +1,13 @@ -const credit_card = {}; -module['exports'] = credit_card; -credit_card.visa = require("./visa"); -credit_card.mastercard = require("./mastercard"); -credit_card.discover = require("./discover"); -credit_card.american_express = require("./american_express"); -credit_card.diners_club = require("./diners_club"); -credit_card.jcb = require("./jcb"); -credit_card.switch = require("./switch"); -credit_card.solo = require("./solo"); -credit_card.maestro = require("./maestro"); -credit_card.laser = require("./laser"); -credit_card.instapayment = require("./instapayment.js") +module.exports = { + visa: require("./visa"), + mastercard: require("./mastercard"), + discover: require("./discover"), + american_express: require("./american_express"), + diners_club: require("./diners_club"), + jcb: require("./jcb"), + switch: require("./switch"), + solo: require("./solo"), + maestro: require("./maestro"), + laser: require("./laser"), + instapayment: require("./instapayment.js") +}; diff --git a/lib/locales/en/finance/credit_card/maestro.js b/lib/locales/en/finance/credit_card/maestro.js index e60fb879..47ad5897 100644 --- a/lib/locales/en/finance/credit_card/maestro.js +++ b/lib/locales/en/finance/credit_card/maestro.js @@ -12,7 +12,7 @@ module.exports = [ "5893#{11,15}L", "6304#{11,15}L", "6759#{11,15}L", - "676[1-3]#{11,15}L", + "676[1-3]#{11,15}L" ]; // 5018 xxxx xxxx xxxx xxL diff --git a/lib/locales/en/finance/index.js b/lib/locales/en/finance/index.js index 4cbb809c..53060f35 100644 --- a/lib/locales/en/finance/index.js +++ b/lib/locales/en/finance/index.js @@ -1,6 +1,6 @@ -const finance = {}; -module['exports'] = finance; -finance.account_type = require("./account_type"); -finance.transaction_type = require("./transaction_type"); -finance.currency = require("./currency"); -finance.credit_card = require("./credit_card"); +module.exports = { + account_type: require("./account_type"), + transaction_type: require("./transaction_type"), + currency: require("./currency"), + credit_card: require("./credit_card") +}; diff --git a/lib/locales/en/hacker/index.js b/lib/locales/en/hacker/index.js index 423da495..63d0213e 100644 --- a/lib/locales/en/hacker/index.js +++ b/lib/locales/en/hacker/index.js @@ -1,8 +1,8 @@ -const hacker = {}; -module['exports'] = hacker; -hacker.abbreviation = require("./abbreviation"); -hacker.adjective = require("./adjective"); -hacker.noun = require("./noun"); -hacker.verb = require("./verb"); -hacker.ingverb = require("./ingverb"); -hacker.phrase = require("./phrase"); +module.exports = { + abbreviation: require("./abbreviation"), + adjective: require("./adjective"), + noun: require("./noun"), + verb: require("./verb"), + ingverb: require("./ingverb"), + phrase: require("./phrase") +}; diff --git a/lib/locales/en/hacker/phrase.js b/lib/locales/en/hacker/phrase.js index bc13c796..46985df9 100644 --- a/lib/locales/en/hacker/phrase.js +++ b/lib/locales/en/hacker/phrase.js @@ -7,4 +7,4 @@ module.exports = [ "The {{abbreviation}} {{noun}} is down, {{verb}} the {{adjective}} {{noun}} so we can {{verb}} the {{abbreviation}} {{noun}}!", "{{ingverb}} the {{noun}} won't do anything, we need to {{verb}} the {{adjective}} {{abbreviation}} {{noun}}!", "I'll {{verb}} the {{adjective}} {{abbreviation}} {{noun}}, that should {{noun}} the {{abbreviation}} {{noun}}!" -]; \ No newline at end of file +]; diff --git a/lib/locales/en/index.js b/lib/locales/en/index.js index a209566c..fb0f8dff 100644 --- a/lib/locales/en/index.js +++ b/lib/locales/en/index.js @@ -1,24 +1,24 @@ -const en = {}; -module['exports'] = en; -en.title = "English"; -en.separator = " & "; -en.address = require("./address"); -en.animal = require("./animal"); -en.company = require("./company"); -en.internet = require("./internet"); -en.database = require("./database"); -en.lorem = require("./lorem"); -en.name = require("./name"); -en.phone_number = require("./phone_number"); -en.cell_phone = require("./cell_phone"); -en.business = require("./business"); -en.commerce = require("./commerce"); -en.team = require("./team"); -en.hacker = require("./hacker"); -en.app = require("./app"); -en.finance = require("./finance"); -en.date = require("./date"); -en.system = require("./system"); -en.vehicle = require("./vehicle"); -en.music = require("./music"); -en.word = require("./word"); +module.exports = { + title: "English", + separator: " & ", + address: require("./address"), + animal: require("./animal"), + company: require("./company"), + internet: require("./internet"), + database: require("./database"), + lorem: require("./lorem"), + name: require("./name"), + phone_number: require("./phone_number"), + cell_phone: require("./cell_phone"), + business: require("./business"), + commerce: require("./commerce"), + team: require("./team"), + hacker: require("./hacker"), + app: require("./app"), + finance: require("./finance"), + date: require("./date"), + system: require("./system"), + vehicle: require("./vehicle"), + music: require("./music"), + word: require("./word") +}; diff --git a/lib/locales/en/internet/avatar_uri.js b/lib/locales/en/internet/avatar_uri.js index 7ec26f27..3a8e1633 100644 --- a/lib/locales/en/internet/avatar_uri.js +++ b/lib/locales/en/internet/avatar_uri.js @@ -1248,5 +1248,5 @@ module.exports = [ "zaki3d_128.jpg", "zauerkraut_128.jpg", "zforrester_128.jpg", - "zvchkelly_128.jpg", + "zvchkelly_128.jpg" ]; diff --git a/lib/locales/en/internet/index.js b/lib/locales/en/internet/index.js index 44e47490..bc81c533 100644 --- a/lib/locales/en/internet/index.js +++ b/lib/locales/en/internet/index.js @@ -1,6 +1,6 @@ -const internet = {}; -module['exports'] = internet; -internet.free_email = require("./free_email"); -internet.example_email = require("./example_email"); -internet.domain_suffix = require("./domain_suffix"); -internet.avatar_uri = require("./avatar_uri"); +module.exports = { + free_email: require("./free_email"), + example_email: require("./example_email"), + domain_suffix: require("./domain_suffix"), + avatar_uri: require("./avatar_uri") +}; diff --git a/lib/locales/en/lorem/index.js b/lib/locales/en/lorem/index.js index 82b2e52a..28940b0d 100644 --- a/lib/locales/en/lorem/index.js +++ b/lib/locales/en/lorem/index.js @@ -1,4 +1,4 @@ -const lorem = {}; -module['exports'] = lorem; -lorem.words = require("./words"); -lorem.supplemental = require("./supplemental"); +module.exports = { + words: require("./words"), + supplemental: require("./supplemental") +}; diff --git a/lib/locales/en/music/index.js b/lib/locales/en/music/index.js index 6c5f2f65..213f46a5 100644 --- a/lib/locales/en/music/index.js +++ b/lib/locales/en/music/index.js @@ -1,3 +1,3 @@ -const music = {}; -module['exports'] = music; -music.genre = require("./genre"); +module.exports = { + genre: require("./genre") +}; diff --git a/lib/locales/en/name/binary_gender.js b/lib/locales/en/name/binary_gender.js index f5a2b068..d6e5bd78 100644 --- a/lib/locales/en/name/binary_gender.js +++ b/lib/locales/en/name/binary_gender.js @@ -1,4 +1,4 @@ module.exports = [ "Female", "Male" -]; \ No newline at end of file +]; diff --git a/lib/locales/en/name/female_first_name.js b/lib/locales/en/name/female_first_name.js index b1283a6d..88d87aa0 100644 --- a/lib/locales/en/name/female_first_name.js +++ b/lib/locales/en/name/female_first_name.js @@ -499,4 +499,4 @@ module.exports = [ "Jaime", "Winifred", "Kristie" -]; \ No newline at end of file +]; diff --git a/lib/locales/en/name/index.js b/lib/locales/en/name/index.js index aada383d..e826ffe8 100644 --- a/lib/locales/en/name/index.js +++ b/lib/locales/en/name/index.js @@ -1,12 +1,12 @@ -const name = {}; -module['exports'] = name; -name.male_first_name = require("./male_first_name"); -name.female_first_name = require("./female_first_name"); -name.first_name = require("./first_name"); -name.last_name = require("./last_name"); -name.binary_gender = require("./binary_gender"); -name.gender = require("./gender"); -name.prefix = require("./prefix"); -name.suffix = require("./suffix"); -name.title = require("./title"); -name.name = require("./name"); \ No newline at end of file +module.exports = { + male_first_name: require("./male_first_name"), + female_first_name: require("./female_first_name"), + first_name: require("./first_name"), + last_name: require("./last_name"), + binary_gender: require("./binary_gender"), + gender: require("./gender"), + prefix: require("./prefix"), + suffix: require("./suffix"), + title: require("./title"), + name: require("./name") +}; diff --git a/lib/locales/en/name/male_first_name.js b/lib/locales/en/name/male_first_name.js index 30863904..c2587ec5 100644 --- a/lib/locales/en/name/male_first_name.js +++ b/lib/locales/en/name/male_first_name.js @@ -499,4 +499,4 @@ module.exports = [ "Emanuel", "Jerald", "Edmond" -]; \ No newline at end of file +]; diff --git a/lib/locales/en/phone_number/index.js b/lib/locales/en/phone_number/index.js index 36b6b18a..6fa921e5 100644 --- a/lib/locales/en/phone_number/index.js +++ b/lib/locales/en/phone_number/index.js @@ -1,3 +1,3 @@ -const phone_number = {}; -module['exports'] = phone_number; -phone_number.formats = require("./formats"); +module.exports = { + formats: require("./formats") +}; diff --git a/lib/locales/en/system/directoryPaths.js b/lib/locales/en/system/directoryPaths.js index c5eba7f6..2657a5d8 100644 --- a/lib/locales/en/system/directoryPaths.js +++ b/lib/locales/en/system/directoryPaths.js @@ -1,4 +1,4 @@ -module['exports'] = [ +module.exports = [ "/Applications", "/bin", "/boot", diff --git a/lib/locales/en/system/index.js b/lib/locales/en/system/index.js index 8f30655d..f6d21730 100644 --- a/lib/locales/en/system/index.js +++ b/lib/locales/en/system/index.js @@ -1,4 +1,4 @@ -const system = {}; -module['exports'] = system; -system.directoryPaths = require("./directoryPaths"); -system.mimeTypes = require("./mimeTypes"); +module.exports = { + directoryPaths: require("./directoryPaths"), + mimeTypes: require("./mimeTypes") +}; diff --git a/lib/locales/en/system/mimeTypes.js b/lib/locales/en/system/mimeTypes.js index 8803086a..d321c02e 100644 --- a/lib/locales/en/system/mimeTypes.js +++ b/lib/locales/en/system/mimeTypes.js @@ -27,7 +27,7 @@ For updates check: https://github.com/jshttp/mime-db/blob/master/db.json */ -module['exports'] = { +module.exports = { "application/1d-interleaved-parityfec": { "source": "iana" }, @@ -6578,4 +6578,4 @@ module['exports'] = { "x-shader/x-vertex": { "compressible": true } -} \ No newline at end of file +}; diff --git a/lib/locales/en/team/index.js b/lib/locales/en/team/index.js index b5264b1c..9d1f8164 100644 --- a/lib/locales/en/team/index.js +++ b/lib/locales/en/team/index.js @@ -1,4 +1,4 @@ -const team = {}; -module['exports'] = team; -team.creature = require("./creature"); -team.name = require("./name"); +module.exports = { + creature: require("./creature"), + name: require("./name") +}; diff --git a/lib/locales/en/vehicle/bicycle.js b/lib/locales/en/vehicle/bicycle.js index 9c3cf0f0..10d51bad 100644 --- a/lib/locales/en/vehicle/bicycle.js +++ b/lib/locales/en/vehicle/bicycle.js @@ -17,4 +17,4 @@ module.exports = [ "Track/Fixed-Gear Bicycle", "Triathlon/Time Trial Bicycle", "Tricycle" -]; \ No newline at end of file +]; diff --git a/lib/locales/en/vehicle/index.js b/lib/locales/en/vehicle/index.js index 90bc7f1d..8d6719c0 100644 --- a/lib/locales/en/vehicle/index.js +++ b/lib/locales/en/vehicle/index.js @@ -4,4 +4,4 @@ vehicle.manufacturer = require("./manufacturer"); vehicle.model = require("./model"); vehicle.type = require("./vehicle_type"); vehicle.fuel = require("./fuel"); -vehicle.bicycle = require("./bicycle"); \ No newline at end of file +vehicle.bicycle = require("./bicycle"); diff --git a/lib/locales/en/vehicle/model.js b/lib/locales/en/vehicle/model.js index ee3f115c..fd0ff845 100644 --- a/lib/locales/en/vehicle/model.js +++ b/lib/locales/en/vehicle/model.js @@ -56,5 +56,5 @@ module.exports = [ "Fortwo", "V90", "XC90", - "CX-9", + "CX-9" ]; diff --git a/lib/locales/en/word/adjective.js b/lib/locales/en/word/adjective.js index 5760d01e..e65b0e1c 100644 --- a/lib/locales/en/word/adjective.js +++ b/lib/locales/en/word/adjective.js @@ -1345,5 +1345,5 @@ module.exports = [ "zany", "zealous", "zesty", - "zigzag", + "zigzag" ]; diff --git a/lib/locales/en/word/adverb.js b/lib/locales/en/word/adverb.js index 60a75d40..65465e0e 100644 --- a/lib/locales/en/word/adverb.js +++ b/lib/locales/en/word/adverb.js @@ -324,5 +324,5 @@ module.exports = [ "yearningly", "yesterday", "yieldingly", - "youthfully", + "youthfully" ]; diff --git a/lib/locales/en/word/conjunction.js b/lib/locales/en/word/conjunction.js index e85f64ab..6e59660c 100644 --- a/lib/locales/en/word/conjunction.js +++ b/lib/locales/en/word/conjunction.js @@ -60,5 +60,5 @@ module.exports = [ "wherever", "which", "who", - "yet", + "yet" ]; diff --git a/lib/locales/en/word/interjection.js b/lib/locales/en/word/interjection.js index 15c5a88a..f6477fdc 100644 --- a/lib/locales/en/word/interjection.js +++ b/lib/locales/en/word/interjection.js @@ -45,5 +45,5 @@ module.exports = [ "er", "ick", "oof", - "um", + "um" ]; diff --git a/lib/locales/en/word/noun.js b/lib/locales/en/word/noun.js index 599708fb..c93447b2 100644 --- a/lib/locales/en/word/noun.js +++ b/lib/locales/en/word/noun.js @@ -6799,5 +6799,5 @@ module.exports = [ "zoologist", "zoology", "zoot-suit", - "zucchini", + "zucchini" ]; diff --git a/lib/locales/en/word/preposition.js b/lib/locales/en/word/preposition.js index fb9f7165..66022fbe 100644 --- a/lib/locales/en/word/preposition.js +++ b/lib/locales/en/word/preposition.js @@ -107,5 +107,5 @@ module.exports = [ "with", "within", "without", - "worth", + "worth" ]; diff --git a/lib/locales/en/word/verb.js b/lib/locales/en/word/verb.js index 2107e27c..6cc1abb8 100644 --- a/lib/locales/en/word/verb.js +++ b/lib/locales/en/word/verb.js @@ -6055,5 +6055,5 @@ module.exports = [ "zing", "zip", "zone", - "zoom", -]; \ No newline at end of file + "zoom" +]; diff --git a/lib/locales/en_AU/address/index.js b/lib/locales/en_AU/address/index.js index d5d8fda8..dffcfb29 100644 --- a/lib/locales/en_AU/address/index.js +++ b/lib/locales/en_AU/address/index.js @@ -1,8 +1,8 @@ -const address = {}; -module['exports'] = address; -address.state_abbr = require("./state_abbr"); -address.state = require("./state"); -address.postcode = require("./postcode"); -address.building_number = require("./building_number"); -address.street_suffix = require("./street_suffix"); -address.default_country = require("./default_country"); +module.exports = { + state_abbr: require("./state_abbr"), + state: require("./state"), + postcode: require("./postcode"), + building_number: require("./building_number"), + street_suffix: require("./street_suffix"), + default_country: require("./default_country") +}; diff --git a/lib/locales/en_AU/company/index.js b/lib/locales/en_AU/company/index.js index 15298471..6f1ca338 100644 --- a/lib/locales/en_AU/company/index.js +++ b/lib/locales/en_AU/company/index.js @@ -1,3 +1,3 @@ -const company = {}; -module['exports'] = company; -company.suffix = require("./suffix"); +module.exports = { + suffix: require("./suffix") +}; diff --git a/lib/locales/en_AU/index.js b/lib/locales/en_AU/index.js index 97dd8991..eb490116 100644 --- a/lib/locales/en_AU/index.js +++ b/lib/locales/en_AU/index.js @@ -1,8 +1,8 @@ -const en_AU = {}; -module['exports'] = en_AU; -en_AU.title = "English (Australia)"; -en_AU.name = require("./name"); -en_AU.company = require("./company"); -en_AU.internet = require("./internet"); -en_AU.address = require("./address"); -en_AU.phone_number = require("./phone_number"); +module.exports = { + title: "English (Australia)", + name: require("./name"), + company: require("./company"), + internet: require("./internet"), + address: require("./address"), + phone_number: require("./phone_number") +}; diff --git a/lib/locales/en_AU/internet/index.js b/lib/locales/en_AU/internet/index.js index 9251f559..f0555aed 100644 --- a/lib/locales/en_AU/internet/index.js +++ b/lib/locales/en_AU/internet/index.js @@ -1,3 +1,3 @@ -const internet = {}; -module['exports'] = internet; -internet.domain_suffix = require("./domain_suffix"); +module.exports = { + domain_suffix: require("./domain_suffix") +}; diff --git a/lib/locales/en_AU/name/index.js b/lib/locales/en_AU/name/index.js index 3b2c09f9..9a572323 100644 --- a/lib/locales/en_AU/name/index.js +++ b/lib/locales/en_AU/name/index.js @@ -1,4 +1,4 @@ -const name = {}; -module['exports'] = name; -name.first_name = require("./first_name"); -name.last_name = require("./last_name"); +module.exports = { + first_name: require("./first_name"), + last_name: require("./last_name") +}; diff --git a/lib/locales/en_AU/phone_number/index.js b/lib/locales/en_AU/phone_number/index.js index 36b6b18a..6fa921e5 100644 --- a/lib/locales/en_AU/phone_number/index.js +++ b/lib/locales/en_AU/phone_number/index.js @@ -1,3 +1,3 @@ -const phone_number = {}; -module['exports'] = phone_number; -phone_number.formats = require("./formats"); +module.exports = { + formats: require("./formats") +}; diff --git a/lib/locales/en_AU_ocker/address/index.js b/lib/locales/en_AU_ocker/address/index.js index 387a75f4..9a323fdd 100644 --- a/lib/locales/en_AU_ocker/address/index.js +++ b/lib/locales/en_AU_ocker/address/index.js @@ -1,13 +1,13 @@ -const address = {}; -module['exports'] = address; -address.street_root = require("./street_root"); -address.street_name = require("./street_name"); -address.city_prefix = require("./city_prefix"); -address.city = require("./city"); -address.state_abbr = require("./state_abbr"); -address.region = require("./region"); -address.state = require("./state"); -address.postcode = require("./postcode"); -address.building_number = require("./building_number"); -address.street_suffix = require("./street_suffix"); -address.default_country = require("./default_country"); +module.exports = { + street_root: require("./street_root"), + street_name: require("./street_name"), + city_prefix: require("./city_prefix"), + city: require("./city"), + state_abbr: require("./state_abbr"), + region: require("./region"), + state: require("./state"), + postcode: require("./postcode"), + building_number: require("./building_number"), + street_suffix: require("./street_suffix"), + default_country: require("./default_country") +}; diff --git a/lib/locales/en_AU_ocker/company/index.js b/lib/locales/en_AU_ocker/company/index.js index 15298471..c285225f 100644 --- a/lib/locales/en_AU_ocker/company/index.js +++ b/lib/locales/en_AU_ocker/company/index.js @@ -1,3 +1,4 @@ -const company = {}; -module['exports'] = company; -company.suffix = require("./suffix"); +module.exports = { + suffix: require("./suffix") +}; + diff --git a/lib/locales/en_AU_ocker/index.js b/lib/locales/en_AU_ocker/index.js index 32c2392f..538f47b9 100644 --- a/lib/locales/en_AU_ocker/index.js +++ b/lib/locales/en_AU_ocker/index.js @@ -1,8 +1,8 @@ -const en_AU_ocker = {}; -module['exports'] = en_AU_ocker; -en_AU_ocker.title = "English (Australia Ocker)"; -en_AU_ocker.name = require("./name"); -en_AU_ocker.company = require("./company"); -en_AU_ocker.internet = require("./internet"); -en_AU_ocker.address = require("./address"); -en_AU_ocker.phone_number = require("./phone_number"); +module.exports = { + title: "English (Australia Ocker)", + name: require("./name"), + company: require("./company"), + internet: require("./internet"), + address: require("./address"), + phone_number: require("./phone_number") +}; diff --git a/lib/locales/en_AU_ocker/internet/index.js b/lib/locales/en_AU_ocker/internet/index.js index 9251f559..f0555aed 100644 --- a/lib/locales/en_AU_ocker/internet/index.js +++ b/lib/locales/en_AU_ocker/internet/index.js @@ -1,3 +1,3 @@ -const internet = {}; -module['exports'] = internet; -internet.domain_suffix = require("./domain_suffix"); +module.exports = { + domain_suffix: require("./domain_suffix") +}; diff --git a/lib/locales/en_AU_ocker/name/index.js b/lib/locales/en_AU_ocker/name/index.js index d934098d..30447082 100644 --- a/lib/locales/en_AU_ocker/name/index.js +++ b/lib/locales/en_AU_ocker/name/index.js @@ -1,5 +1,5 @@ -const name = {}; -module['exports'] = name; -name.first_name = require("./first_name"); -name.last_name = require("./last_name"); -name.ocker_first_name = require("./ocker_first_name"); +module.exports = { + first_name: require("./first_name"), + last_name: require("./last_name"), + ocker_first_name: require("./ocker_first_name") +}; diff --git a/lib/locales/en_AU_ocker/phone_number/index.js b/lib/locales/en_AU_ocker/phone_number/index.js index 36b6b18a..6fa921e5 100644 --- a/lib/locales/en_AU_ocker/phone_number/index.js +++ b/lib/locales/en_AU_ocker/phone_number/index.js @@ -1,3 +1,3 @@ -const phone_number = {}; -module['exports'] = phone_number; -phone_number.formats = require("./formats"); +module.exports = { + formats: require("./formats") +}; diff --git a/lib/locales/en_BORK/index.js b/lib/locales/en_BORK/index.js index 62df2d95..830fc374 100644 --- a/lib/locales/en_BORK/index.js +++ b/lib/locales/en_BORK/index.js @@ -1,4 +1,4 @@ -const en_BORK = {}; -module['exports'] = en_BORK; -en_BORK.title = "English (Bork)"; -en_BORK.lorem = require("./lorem"); +module.exports = { + title: "English (Bork)", + lorem: require("./lorem") +}; diff --git a/lib/locales/en_BORK/lorem/index.js b/lib/locales/en_BORK/lorem/index.js index 47ae78b5..85491b9b 100644 --- a/lib/locales/en_BORK/lorem/index.js +++ b/lib/locales/en_BORK/lorem/index.js @@ -1,3 +1,3 @@ -const lorem = {}; -module['exports'] = lorem; -lorem.words = require("./words"); +module.exports = { + words: require("./words") +}; diff --git a/lib/locales/en_CA/address/index.js b/lib/locales/en_CA/address/index.js index 3ddcf7db..e7bb3823 100644 --- a/lib/locales/en_CA/address/index.js +++ b/lib/locales/en_CA/address/index.js @@ -1,6 +1,6 @@ -const address = {}; -module['exports'] = address; -address.state = require("./state"); -address.state_abbr = require("./state_abbr"); -address.default_country = require("./default_country"); -address.postcode = require('./postcode.js'); +module.exports = { + state: require("./state"), + state_abbr: require("./state_abbr"), + default_country: require("./default_country"), + postcode: require('./postcode.js') +}; diff --git a/lib/locales/en_CA/address/postcode.js b/lib/locales/en_CA/address/postcode.js index 17774acb..b9c495e3 100644 --- a/lib/locales/en_CA/address/postcode.js +++ b/lib/locales/en_CA/address/postcode.js @@ -16,5 +16,5 @@ module.exports = [ "T#? #?#", "V#? #?#", "X#? #?#", - "Y#? #?#", + "Y#? #?#" ]; diff --git a/lib/locales/en_CA/index.js b/lib/locales/en_CA/index.js index 4596d43c..05be169b 100644 --- a/lib/locales/en_CA/index.js +++ b/lib/locales/en_CA/index.js @@ -1,6 +1,6 @@ -const en_CA = {}; -module['exports'] = en_CA; -en_CA.title = "English (Canada)"; -en_CA.address = require("./address"); -en_CA.internet = require("./internet"); -en_CA.phone_number = require("./phone_number"); +module.exports = { + title: "English (Canada)", + address: require("./address"), + internet: require("./internet"), + phone_number: require("./phone_number") +}; diff --git a/lib/locales/en_CA/internet/index.js b/lib/locales/en_CA/internet/index.js index c95143c1..3da76a8f 100644 --- a/lib/locales/en_CA/internet/index.js +++ b/lib/locales/en_CA/internet/index.js @@ -1,4 +1,4 @@ -const internet = {}; -module['exports'] = internet; -internet.free_email = require("./free_email"); -internet.domain_suffix = require("./domain_suffix"); +module.exports = { + free_email: require("./free_email"), + domain_suffix: require("./domain_suffix") +}; diff --git a/lib/locales/en_CA/phone_number/index.js b/lib/locales/en_CA/phone_number/index.js index 36b6b18a..6fa921e5 100644 --- a/lib/locales/en_CA/phone_number/index.js +++ b/lib/locales/en_CA/phone_number/index.js @@ -1,3 +1,3 @@ -const phone_number = {}; -module['exports'] = phone_number; -phone_number.formats = require("./formats"); +module.exports = { + formats: require("./formats") +}; diff --git a/lib/locales/en_GB/address/index.js b/lib/locales/en_GB/address/index.js index 5789264e..a8c62406 100644 --- a/lib/locales/en_GB/address/index.js +++ b/lib/locales/en_GB/address/index.js @@ -1,6 +1,6 @@ -const address = {}; -module['exports'] = address; -address.county = require("./county"); -address.uk_country = require("./uk_country"); -address.default_country = require("./default_country"); -address.postcode = require("./postcode"); +module.exports = { + county: require("./county"), + uk_country: require("./uk_country"), + default_country: require("./default_country"), + postcode: require("./postcode") +}; diff --git a/lib/locales/en_GB/address/postcode.js b/lib/locales/en_GB/address/postcode.js index 20459dba..96b8e6af 100644 --- a/lib/locales/en_GB/address/postcode.js +++ b/lib/locales/en_GB/address/postcode.js @@ -1,4 +1,4 @@ module.exports = [ "??# #??", - "??## #??", + "??## #??" ]; diff --git a/lib/locales/en_GB/cell_phone/index.js b/lib/locales/en_GB/cell_phone/index.js index 1f65f965..6fa921e5 100644 --- a/lib/locales/en_GB/cell_phone/index.js +++ b/lib/locales/en_GB/cell_phone/index.js @@ -1,3 +1,3 @@ -const cell_phone = {}; -module['exports'] = cell_phone; -cell_phone.formats = require("./formats"); +module.exports = { + formats: require("./formats") +}; diff --git a/lib/locales/en_GB/index.js b/lib/locales/en_GB/index.js index 7f2a0433..3f148e8c 100644 --- a/lib/locales/en_GB/index.js +++ b/lib/locales/en_GB/index.js @@ -1,7 +1,7 @@ -const en_GB = {}; -module['exports'] = en_GB; -en_GB.title = "English (Great Britain)"; -en_GB.address = require("./address"); -en_GB.internet = require("./internet"); -en_GB.phone_number = require("./phone_number"); -en_GB.cell_phone = require("./cell_phone"); +module.exports = { + title: "English (Great Britain)", + address: require("./address"), + internet: require("./internet"), + phone_number: require("./phone_number"), + cell_phone: require("./cell_phone") +}; diff --git a/lib/locales/en_GB/internet/index.js b/lib/locales/en_GB/internet/index.js index 9251f559..f0555aed 100644 --- a/lib/locales/en_GB/internet/index.js +++ b/lib/locales/en_GB/internet/index.js @@ -1,3 +1,3 @@ -const internet = {}; -module['exports'] = internet; -internet.domain_suffix = require("./domain_suffix"); +module.exports = { + domain_suffix: require("./domain_suffix") +}; diff --git a/lib/locales/en_GB/phone_number/index.js b/lib/locales/en_GB/phone_number/index.js index 36b6b18a..6fa921e5 100644 --- a/lib/locales/en_GB/phone_number/index.js +++ b/lib/locales/en_GB/phone_number/index.js @@ -1,3 +1,3 @@ -const phone_number = {}; -module['exports'] = phone_number; -phone_number.formats = require("./formats"); +module.exports = { + formats: require("./formats") +}; diff --git a/lib/locales/en_GH/address/default_country.js b/lib/locales/en_GH/address/default_country.js index b3796bc3..6c41d34d 100644 --- a/lib/locales/en_GH/address/default_country.js +++ b/lib/locales/en_GH/address/default_country.js @@ -1,3 +1,3 @@ module.exports = [ - "Ghana", + "Ghana" ]; diff --git a/lib/locales/en_GH/address/index.js b/lib/locales/en_GH/address/index.js index bfc9f847..36c8a502 100644 --- a/lib/locales/en_GH/address/index.js +++ b/lib/locales/en_GH/address/index.js @@ -1,12 +1,12 @@ -const address = {}; -module['exports'] = address; -address.city = require("./city"); -address.city_name = require("./city_name"); -address.default_country = require("./default_country"); -address.postcode = require("./postcode"); -address.state = require("./state"); -address.building_number = require("./building_number"); -address.street_address = require("./street_address"); -address.street_name = require("./street_name"); -address.street_prefix = require("./street_prefix"); -address.street_suffix = require("./street_suffix"); \ No newline at end of file +module.exports = { + city: require("./city"), + city_name: require("./city_name"), + default_country: require("./default_country"), + postcode: require("./postcode"), + state: require("./state"), + building_number: require("./building_number"), + street_address: require("./street_address"), + street_name: require("./street_name"), + street_prefix: require("./street_prefix"), + street_suffix: require("./street_suffix") +}; diff --git a/lib/locales/en_GH/address/postcode.js b/lib/locales/en_GH/address/postcode.js index 80680d40..cc911259 100644 --- a/lib/locales/en_GH/address/postcode.js +++ b/lib/locales/en_GH/address/postcode.js @@ -1,4 +1,4 @@ module.exports = [ "??-###-####", - "??-####-####", + "??-####-####" ]; diff --git a/lib/locales/en_GH/address/street_name.js b/lib/locales/en_GH/address/street_name.js index 46637384..6d084693 100644 --- a/lib/locales/en_GH/address/street_name.js +++ b/lib/locales/en_GH/address/street_name.js @@ -1,4 +1,4 @@ module.exports = [ "#{Name.last_name} #{street_suffix}", - "#{street_prefix} #{street_suffix}", + "#{street_prefix} #{street_suffix}" ]; diff --git a/lib/locales/en_GH/address/street_prefix.js b/lib/locales/en_GH/address/street_prefix.js index 77f0bf77..8944ac92 100644 --- a/lib/locales/en_GH/address/street_prefix.js +++ b/lib/locales/en_GH/address/street_prefix.js @@ -1,3 +1,3 @@ module.exports = [ - "Boame", + "Boame" ]; diff --git a/lib/locales/en_GH/company/index.js b/lib/locales/en_GH/company/index.js index 8f1b8c98..91cbfd95 100644 --- a/lib/locales/en_GH/company/index.js +++ b/lib/locales/en_GH/company/index.js @@ -1,4 +1,4 @@ -const company = {}; -module['exports'] = company; -company.suffix = require("./suffix"); -company.name = require("./name"); +module.exports = { + suffix: require("./suffix"), + name: require("./name") +}; diff --git a/lib/locales/en_GH/company/suffix.js b/lib/locales/en_GH/company/suffix.js index 09163cb0..67af16bb 100644 --- a/lib/locales/en_GH/company/suffix.js +++ b/lib/locales/en_GH/company/suffix.js @@ -1,4 +1,4 @@ module.exports = [ "Venture", - "Ltd", + "Ltd" ]; diff --git a/lib/locales/en_GH/index.js b/lib/locales/en_GH/index.js index 7c34b790..3490b6c9 100644 --- a/lib/locales/en_GH/index.js +++ b/lib/locales/en_GH/index.js @@ -1,8 +1,8 @@ -const en_GH = {}; -module['exports'] = en_GH; -en_GH.title = "English (Ghana)"; -en_GH.name = require("./name"); -en_GH.address = require("./address"); -en_GH.internet = require("./internet"); -en_GH.company = require("./company"); -en_GH.phone_number = require("./phone_number"); \ No newline at end of file +module.exports = { + title: "English (Ghana)", + name: require("./name"), + address: require("./address"), + internet: require("./internet"), + company: require("./company"), + phone_number: require("./phone_number") +}; diff --git a/lib/locales/en_GH/internet/domain_suffix.js b/lib/locales/en_GH/internet/domain_suffix.js index ec47b7f3..374ff6dc 100644 --- a/lib/locales/en_GH/internet/domain_suffix.js +++ b/lib/locales/en_GH/internet/domain_suffix.js @@ -8,4 +8,4 @@ module.exports = [ 'org', 'biz', 'co' -]; \ No newline at end of file +]; diff --git a/lib/locales/en_GH/internet/index.js b/lib/locales/en_GH/internet/index.js index 9251f559..f0555aed 100644 --- a/lib/locales/en_GH/internet/index.js +++ b/lib/locales/en_GH/internet/index.js @@ -1,3 +1,3 @@ -const internet = {}; -module['exports'] = internet; -internet.domain_suffix = require("./domain_suffix"); +module.exports = { + domain_suffix: require("./domain_suffix") +}; diff --git a/lib/locales/en_GH/name/female_first_name.js b/lib/locales/en_GH/name/female_first_name.js index 7a31868e..7923d6e9 100644 --- a/lib/locales/en_GH/name/female_first_name.js +++ b/lib/locales/en_GH/name/female_first_name.js @@ -142,5 +142,5 @@ module.exports = [ 'Vida', 'Wendy', 'Yaa', - 'Yvonne', -]; \ No newline at end of file + 'Yvonne' +]; diff --git a/lib/locales/en_GH/name/first_name.js b/lib/locales/en_GH/name/first_name.js index fdf9c70f..13114552 100644 --- a/lib/locales/en_GH/name/first_name.js +++ b/lib/locales/en_GH/name/first_name.js @@ -1,4 +1,4 @@ module.exports = [ '#{female_first_name}', - '#{male_first_name}', -]; \ No newline at end of file + '#{male_first_name}' +]; diff --git a/lib/locales/en_GH/name/index.js b/lib/locales/en_GH/name/index.js index 620bd3e6..0ee155ec 100644 --- a/lib/locales/en_GH/name/index.js +++ b/lib/locales/en_GH/name/index.js @@ -1,7 +1,7 @@ -const name = {}; -module['exports'] = name; -name.name = require("./name"); -name.male_first_name = require("./male_first_name"); -name.female_first_name = require("./female_first_name"); -name.first_name = require("./first_name"); -name.last_name = require("./last_name"); \ No newline at end of file +module.exports = { + name: require("./name"), + male_first_name: require("./male_first_name"), + female_first_name: require("./female_first_name"), + first_name: require("./first_name"), + last_name: require("./last_name") +}; diff --git a/lib/locales/en_GH/name/last_name.js b/lib/locales/en_GH/name/last_name.js index 7d964d04..56768869 100644 --- a/lib/locales/en_GH/name/last_name.js +++ b/lib/locales/en_GH/name/last_name.js @@ -120,5 +120,5 @@ module.exports = [ 'Yawson', 'Yeboa', 'Yeboah', - 'Yirenkyi', -]; \ No newline at end of file + 'Yirenkyi' +]; diff --git a/lib/locales/en_GH/name/male_first_name.js b/lib/locales/en_GH/name/male_first_name.js index 14faf015..70b4916b 100644 --- a/lib/locales/en_GH/name/male_first_name.js +++ b/lib/locales/en_GH/name/male_first_name.js @@ -130,5 +130,5 @@ module.exports = [ 'Victor', 'Vincent', 'William', - 'Yaw', -]; \ No newline at end of file + 'Yaw' +]; diff --git a/lib/locales/en_GH/name/name.js b/lib/locales/en_GH/name/name.js index 7134d00f..96ea9471 100644 --- a/lib/locales/en_GH/name/name.js +++ b/lib/locales/en_GH/name/name.js @@ -2,5 +2,5 @@ module.exports = [ "#{female_first_name} #{last_name}", "#{female_first_name} #{last_name}-#{last_name}", "#{male_first_name} #{last_name}", - "#{male_first_name} #{last_name}-#{last_name}", + "#{male_first_name} #{last_name}-#{last_name}" ]; diff --git a/lib/locales/en_GH/phone_number/formats.js b/lib/locales/en_GH/phone_number/formats.js index 66ac07a9..9d41d86d 100644 --- a/lib/locales/en_GH/phone_number/formats.js +++ b/lib/locales/en_GH/phone_number/formats.js @@ -24,5 +24,5 @@ module.exports = [ '+23355#######', '+23356#######', '+23357#######', - '+23358#######', -]; \ No newline at end of file + '+23358#######' +]; diff --git a/lib/locales/en_GH/phone_number/index.js b/lib/locales/en_GH/phone_number/index.js index 36b6b18a..6fa921e5 100644 --- a/lib/locales/en_GH/phone_number/index.js +++ b/lib/locales/en_GH/phone_number/index.js @@ -1,3 +1,3 @@ -const phone_number = {}; -module['exports'] = phone_number; -phone_number.formats = require("./formats"); +module.exports = { + formats: require("./formats") +}; diff --git a/lib/locales/en_IE/address/index.js b/lib/locales/en_IE/address/index.js index ae1f8c34..4c27349b 100644 --- a/lib/locales/en_IE/address/index.js +++ b/lib/locales/en_IE/address/index.js @@ -1,4 +1,4 @@ -const address = {}; -module['exports'] = address; -address.county = require("./county"); -address.default_country = require("./default_country"); +module.exports = { + county: require("./county"), + default_country: require("./default_country") +}; diff --git a/lib/locales/en_IE/cell_phone/index.js b/lib/locales/en_IE/cell_phone/index.js index 1f65f965..6fa921e5 100644 --- a/lib/locales/en_IE/cell_phone/index.js +++ b/lib/locales/en_IE/cell_phone/index.js @@ -1,3 +1,3 @@ -const cell_phone = {}; -module['exports'] = cell_phone; -cell_phone.formats = require("./formats"); +module.exports = { + formats: require("./formats") +}; diff --git a/lib/locales/en_IE/index.js b/lib/locales/en_IE/index.js index 493b578b..ea884b42 100644 --- a/lib/locales/en_IE/index.js +++ b/lib/locales/en_IE/index.js @@ -1,7 +1,7 @@ -const en_IE = {}; -module['exports'] = en_IE; -en_IE.title = "English (Ireland)"; -en_IE.address = require("./address"); -en_IE.internet = require("./internet"); -en_IE.phone_number = require("./phone_number"); -en_IE.cell_phone = require("./cell_phone"); +module.exports = { + title: "English (Ireland)", + address: require("./address"), + internet: require("./internet"), + phone_number: require("./phone_number"), + cell_phone: require("./cell_phone") +}; diff --git a/lib/locales/en_IE/internet/index.js b/lib/locales/en_IE/internet/index.js index 9251f559..f0555aed 100644 --- a/lib/locales/en_IE/internet/index.js +++ b/lib/locales/en_IE/internet/index.js @@ -1,3 +1,3 @@ -const internet = {}; -module['exports'] = internet; -internet.domain_suffix = require("./domain_suffix"); +module.exports = { + domain_suffix: require("./domain_suffix") +}; diff --git a/lib/locales/en_IE/phone_number/index.js b/lib/locales/en_IE/phone_number/index.js index 36b6b18a..6fa921e5 100644 --- a/lib/locales/en_IE/phone_number/index.js +++ b/lib/locales/en_IE/phone_number/index.js @@ -1,3 +1,3 @@ -const phone_number = {}; -module['exports'] = phone_number; -phone_number.formats = require("./formats"); +module.exports = { + formats: require("./formats") +}; diff --git a/lib/locales/en_IND/address/city_name.js b/lib/locales/en_IND/address/city_name.js index ece18df5..0b0c50ca 100644 --- a/lib/locales/en_IND/address/city_name.js +++ b/lib/locales/en_IND/address/city_name.js @@ -1215,5 +1215,5 @@ module.exports = [ "Zamania", "Zira", "Zirakpur", - "Zunheboto", + "Zunheboto" ]; diff --git a/lib/locales/en_IND/company/index.js b/lib/locales/en_IND/company/index.js index 15298471..6f1ca338 100644 --- a/lib/locales/en_IND/company/index.js +++ b/lib/locales/en_IND/company/index.js @@ -1,3 +1,3 @@ -const company = {}; -module['exports'] = company; -company.suffix = require("./suffix"); +module.exports = { + suffix: require("./suffix") +}; diff --git a/lib/locales/en_IND/index.js b/lib/locales/en_IND/index.js index fe7b9e0c..c69aa0f6 100644 --- a/lib/locales/en_IND/index.js +++ b/lib/locales/en_IND/index.js @@ -1,8 +1,8 @@ -const en_IND = {}; -module['exports'] = en_IND; -en_IND.title = "English (India)"; -en_IND.name = require("./name"); -en_IND.address = require("./address"); -en_IND.internet = require("./internet"); -en_IND.company = require("./company"); -en_IND.phone_number = require("./phone_number"); +module.exports = { + title: "English (India)", + name: require("./name"), + address: require("./address"), + internet: require("./internet"), + company: require("./company"), + phone_number: require("./phone_number") +}; diff --git a/lib/locales/en_IND/internet/index.js b/lib/locales/en_IND/internet/index.js index c95143c1..3da76a8f 100644 --- a/lib/locales/en_IND/internet/index.js +++ b/lib/locales/en_IND/internet/index.js @@ -1,4 +1,4 @@ -const internet = {}; -module['exports'] = internet; -internet.free_email = require("./free_email"); -internet.domain_suffix = require("./domain_suffix"); +module.exports = { + free_email: require("./free_email"), + domain_suffix: require("./domain_suffix") +}; diff --git a/lib/locales/en_IND/name/index.js b/lib/locales/en_IND/name/index.js index 3b2c09f9..9a572323 100644 --- a/lib/locales/en_IND/name/index.js +++ b/lib/locales/en_IND/name/index.js @@ -1,4 +1,4 @@ -const name = {}; -module['exports'] = name; -name.first_name = require("./first_name"); -name.last_name = require("./last_name"); +module.exports = { + first_name: require("./first_name"), + last_name: require("./last_name") +}; diff --git a/lib/locales/en_IND/phone_number/formats.js b/lib/locales/en_IND/phone_number/formats.js index 806e1a40..c61e294d 100644 --- a/lib/locales/en_IND/phone_number/formats.js +++ b/lib/locales/en_IND/phone_number/formats.js @@ -10,5 +10,5 @@ module.exports = [ "+91-7##-#######", "+916##-###-####", "+916#########", - "+91-6##-#######", + "+91-6##-#######" ]; diff --git a/lib/locales/en_IND/phone_number/index.js b/lib/locales/en_IND/phone_number/index.js index 36b6b18a..6fa921e5 100644 --- a/lib/locales/en_IND/phone_number/index.js +++ b/lib/locales/en_IND/phone_number/index.js @@ -1,3 +1,3 @@ -const phone_number = {}; -module['exports'] = phone_number; -phone_number.formats = require("./formats"); +module.exports = { + formats: require("./formats") +}; diff --git a/lib/locales/en_NG/address/index.js b/lib/locales/en_NG/address/index.js index e60c19bd..4a983479 100644 --- a/lib/locales/en_NG/address/index.js +++ b/lib/locales/en_NG/address/index.js @@ -1,7 +1,7 @@ -const address = {}; -module['exports'] = address; -address.city = require("./city"); -address.city_prefix = require("./city_prefix"); -address.default_country = require("./default_country"); -address.postcode = require("./postcode"); -address.state = require("./state"); \ No newline at end of file +module.exports = { + city: require("./city"), + city_prefix: require("./city_prefix"), + default_country: require("./default_country"), + postcode: require("./postcode"), + state: require("./state") +}; diff --git a/lib/locales/en_NG/address/state.js b/lib/locales/en_NG/address/state.js index 4d519cb0..e4b3a0bc 100644 --- a/lib/locales/en_NG/address/state.js +++ b/lib/locales/en_NG/address/state.js @@ -35,5 +35,5 @@ module.exports = [ 'Sokoto', 'Taraba', 'Yobe', - 'Zamfara', + 'Zamfara' ]; diff --git a/lib/locales/en_NG/company/index.js b/lib/locales/en_NG/company/index.js index 15298471..6f1ca338 100644 --- a/lib/locales/en_NG/company/index.js +++ b/lib/locales/en_NG/company/index.js @@ -1,3 +1,3 @@ -const company = {}; -module['exports'] = company; -company.suffix = require("./suffix"); +module.exports = { + suffix: require("./suffix") +}; diff --git a/lib/locales/en_NG/index.js b/lib/locales/en_NG/index.js index caba9385..230d48c3 100644 --- a/lib/locales/en_NG/index.js +++ b/lib/locales/en_NG/index.js @@ -1,8 +1,8 @@ -const en_NG = {}; -module['exports'] = en_NG; -en_NG.title = "Nigeria (English)"; -en_NG.address = require("./address"); -en_NG.internet = require("./internet"); -en_NG.name = require("./name"); -en_NG.phone_number = require("./phone_number"); -en_NG.company = require("./company"); \ No newline at end of file +module.exports = { + title: "Nigeria (English)", + address: require("./address"), + internet: require("./internet"), + name: require("./name"), + phone_number: require("./phone_number"), + company: require("./company") +}; diff --git a/lib/locales/en_NG/internet/domain_suffix.js b/lib/locales/en_NG/internet/domain_suffix.js index 53a4ee7d..11f11b06 100644 --- a/lib/locales/en_NG/internet/domain_suffix.js +++ b/lib/locales/en_NG/internet/domain_suffix.js @@ -4,4 +4,4 @@ module.exports = [ "org.ng", "com", "ng" -]; \ No newline at end of file +]; diff --git a/lib/locales/en_NG/internet/index.js b/lib/locales/en_NG/internet/index.js index 9251f559..f0555aed 100644 --- a/lib/locales/en_NG/internet/index.js +++ b/lib/locales/en_NG/internet/index.js @@ -1,3 +1,3 @@ -const internet = {}; -module['exports'] = internet; -internet.domain_suffix = require("./domain_suffix"); +module.exports = { + domain_suffix: require("./domain_suffix") +}; diff --git a/lib/locales/en_NG/name/female_first_name.js b/lib/locales/en_NG/name/female_first_name.js index ccf85558..7717c7f9 100644 --- a/lib/locales/en_NG/name/female_first_name.js +++ b/lib/locales/en_NG/name/female_first_name.js @@ -11,4 +11,4 @@ module.exports = [ 'Sekinat', 'Simisola', 'Sumayyah', 'Titi', 'Titilayo', 'Toluwani', 'Zainab' -]; \ No newline at end of file +]; diff --git a/lib/locales/en_NG/name/first_name.js b/lib/locales/en_NG/name/first_name.js index 760f64c1..3738c005 100644 --- a/lib/locales/en_NG/name/first_name.js +++ b/lib/locales/en_NG/name/first_name.js @@ -31,5 +31,5 @@ module.exports = [ 'Tari', 'Temitope', 'Titilope', 'Tobiloba', 'Toke', 'Tomiloba', 'Tope', 'Uzodimma', 'Wale', - 'Yakubu', 'Yusuf', 'Yusuf', -]; \ No newline at end of file + 'Yakubu', 'Yusuf', 'Yusuf' +]; diff --git a/lib/locales/en_NG/name/index.js b/lib/locales/en_NG/name/index.js index 620bd3e6..0ee155ec 100644 --- a/lib/locales/en_NG/name/index.js +++ b/lib/locales/en_NG/name/index.js @@ -1,7 +1,7 @@ -const name = {}; -module['exports'] = name; -name.name = require("./name"); -name.male_first_name = require("./male_first_name"); -name.female_first_name = require("./female_first_name"); -name.first_name = require("./first_name"); -name.last_name = require("./last_name"); \ No newline at end of file +module.exports = { + name: require("./name"), + male_first_name: require("./male_first_name"), + female_first_name: require("./female_first_name"), + first_name: require("./first_name"), + last_name: require("./last_name") +}; diff --git a/lib/locales/en_NG/name/last_name.js b/lib/locales/en_NG/name/last_name.js index 49b68d8f..0df836b2 100644 --- a/lib/locales/en_NG/name/last_name.js +++ b/lib/locales/en_NG/name/last_name.js @@ -20,4 +20,4 @@ module.exports = [ 'Uchechi', 'Wasiu', 'Wilcox', 'Wuraola', 'Yaqub', 'Yussuf' -]; \ No newline at end of file +]; diff --git a/lib/locales/en_NG/name/male_first_name.js b/lib/locales/en_NG/name/male_first_name.js index 41527a36..2fa36935 100644 --- a/lib/locales/en_NG/name/male_first_name.js +++ b/lib/locales/en_NG/name/male_first_name.js @@ -19,5 +19,5 @@ module.exports = [ 'Tari', 'Temitope', 'Titilope', 'Tobiloba', 'Toke', 'Tomiloba', 'Tope', 'Uzodimma', 'Wale', - 'Yakubu', 'Yusuf', 'Yusuf', -]; \ No newline at end of file + 'Yakubu', 'Yusuf', 'Yusuf' +]; diff --git a/lib/locales/en_NG/phone_number/formats.js b/lib/locales/en_NG/phone_number/formats.js index ad02c918..3a769715 100644 --- a/lib/locales/en_NG/phone_number/formats.js +++ b/lib/locales/en_NG/phone_number/formats.js @@ -4,4 +4,4 @@ module.exports = [ '234809 ### ####', '+234 802 ### ####', '0805### ####' -]; \ No newline at end of file +]; diff --git a/lib/locales/en_NG/phone_number/index.js b/lib/locales/en_NG/phone_number/index.js index 1f65f965..6fa921e5 100644 --- a/lib/locales/en_NG/phone_number/index.js +++ b/lib/locales/en_NG/phone_number/index.js @@ -1,3 +1,3 @@ -const cell_phone = {}; -module['exports'] = cell_phone; -cell_phone.formats = require("./formats"); +module.exports = { + formats: require("./formats") +}; diff --git a/lib/locales/en_US/address/index.js b/lib/locales/en_US/address/index.js index cfca5ebd..5de66588 100644 --- a/lib/locales/en_US/address/index.js +++ b/lib/locales/en_US/address/index.js @@ -1,4 +1,4 @@ -const address = {}; -module['exports'] = address; -address.default_country = require("./default_country"); -address.postcode_by_state = require("./postcode_by_state"); +module.exports = { + default_country: require("./default_country"), + postcode_by_state: require("./postcode_by_state") +}; diff --git a/lib/locales/en_US/address/postcode_by_state.js b/lib/locales/en_US/address/postcode_by_state.js index 4a02eb25..602fe213 100644 --- a/lib/locales/en_US/address/postcode_by_state.js +++ b/lib/locales/en_US/address/postcode_by_state.js @@ -1,210 +1,210 @@ module.exports = { - AK:{ - min:99501, - max:99950 + AK: { + min: 99501, + max: 99950 }, - AL:{ - min:35004, - max:36925 + AL: { + min: 35004, + max: 36925 }, - AR:{ - min:71601, - max:72959 + AR: { + min: 71601, + max: 72959 }, - AZ:{ - min:85001, - max:86556 + AZ: { + min: 85001, + max: 86556 }, - CA:{ - min:90001, - max:96162 + CA: { + min: 90001, + max: 96162 }, - CO:{ - min:80001, - max:81658 + CO: { + min: 80001, + max: 81658 }, - CT:{ - min:6001, - max:6389 + CT: { + min: 6001, + max: 6389 }, - DC:{ - min:20001, - max:20039 + DC: { + min: 20001, + max: 20039 }, - DE:{ - min:19701, - max:19980 + DE: { + min: 19701, + max: 19980 }, - FL:{ - min:32004, - max:34997 + FL: { + min: 32004, + max: 34997 }, - GA:{ - min:30001, - max:31999 + GA: { + min: 30001, + max: 31999 }, - HI:{ - min:96701, - max:96898 + HI: { + min: 96701, + max: 96898 }, - IA:{ - min:50001, - max:52809 + IA: { + min: 50001, + max: 52809 }, - ID:{ - min:83201, - max:83876 + ID: { + min: 83201, + max: 83876 }, - IL:{ - min:60001, - max:62999 + IL: { + min: 60001, + max: 62999 }, - IN:{ - min:46001, - max:47997 + IN: { + min: 46001, + max: 47997 }, - KS:{ - min:66002, - max:67954 + KS: { + min: 66002, + max: 67954 }, - KY:{ - min:40003, - max:42788 + KY: { + min: 40003, + max: 42788 }, - LA:{ - min:70001, - max:71232 + LA: { + min: 70001, + max: 71232 }, - MA:{ - min:1001, - max:2791 + MA: { + min: 1001, + max: 2791 }, - MD:{ - min:20331, - max:20331 + MD: { + min: 20331, + max: 20331 }, - ME:{ - min:3901, - max:4992 + ME: { + min: 3901, + max: 4992 }, - MI:{ - min:48001, - max:49971 + MI: { + min: 48001, + max: 49971 }, - MN:{ - min:55001, - max:56763 + MN: { + min: 55001, + max: 56763 }, - MO:{ - min:63001, - max:65899 + MO: { + min: 63001, + max: 65899 }, - MS:{ - min:38601, - max:39776 + MS: { + min: 38601, + max: 39776 }, - MT:{ - min:59001, - max:59937 + MT: { + min: 59001, + max: 59937 }, - NC:{ - min:27006, - max:28909 + NC: { + min: 27006, + max: 28909 }, - ND:{ - min:58001, - max:58856 + ND: { + min: 58001, + max: 58856 }, - NE:{ - min:68001, - max:68118 + NE: { + min: 68001, + max: 68118 }, - NH:{ - min:3031, - max:3897 + NH: { + min: 3031, + max: 3897 }, - NJ:{ - min:7001, - max:8989 + NJ: { + min: 7001, + max: 8989 }, - NM:{ - min:87001, - max:88441 + NM: { + min: 87001, + max: 88441 }, - NV:{ - min:88901, - max:89883 + NV: { + min: 88901, + max: 89883 }, - NY:{ - min:6390, - max:6390 + NY: { + min: 6390, + max: 6390 }, - OH:{ - min:43001, - max:45999 + OH: { + min: 43001, + max: 45999 }, - OK:{ - min:73001, - max:73199 + OK: { + min: 73001, + max: 73199 }, - OR:{ - min:97001, - max:97920 + OR: { + min: 97001, + max: 97920 }, - PA:{ - min:15001, - max:19640 + PA: { + min: 15001, + max: 19640 }, - PR:{ - min:0, - max:0 + PR: { + min: 0, + max: 0 }, - RI:{ - min:2801, - max:2940 + RI: { + min: 2801, + max: 2940 }, - SC:{ - min:29001, - max:29948 + SC: { + min: 29001, + max: 29948 }, - SD:{ - min:57001, - max:57799 + SD: { + min: 57001, + max: 57799 }, - TN:{ - min:37010, - max:38589 + TN: { + min: 37010, + max: 38589 }, - TX:{ - min:75503, - max:79999 + TX: { + min: 75503, + max: 79999 }, - UT:{ - min:84001, - max:84784 + UT: { + min: 84001, + max: 84784 }, - VA:{ - min:20040, - max:20041 + VA: { + min: 20040, + max: 20041 }, - VT:{ - min:5001, - max:5495 + VT: { + min: 5001, + max: 5495 }, - WA:{ - min:98001, - max:99403 + WA: { + min: 98001, + max: 99403 }, - WI:{ - min:53001, - max:54990 + WI: { + min: 53001, + max: 54990 }, - WV:{ - min:24701, - max:26886 + WV: { + min: 24701, + max: 26886 }, - WY:{ - min:82001, - max:83128 + WY: { + min: 82001, + max: 83128 } -} +}; diff --git a/lib/locales/en_US/index.js b/lib/locales/en_US/index.js index 18902c23..89946689 100644 --- a/lib/locales/en_US/index.js +++ b/lib/locales/en_US/index.js @@ -1,6 +1,6 @@ -const en_US = {}; -module['exports'] = en_US; -en_US.title = "English (United States)"; -en_US.internet = require("./internet"); -en_US.address = require("./address"); -en_US.phone_number = require("./phone_number"); +module.exports = { + title: "English (United States)", + internet: require("./internet"), + address: require("./address"), + phone_number: require("./phone_number") +}; diff --git a/lib/locales/en_US/internet/index.js b/lib/locales/en_US/internet/index.js index 9251f559..f0555aed 100644 --- a/lib/locales/en_US/internet/index.js +++ b/lib/locales/en_US/internet/index.js @@ -1,3 +1,3 @@ -const internet = {}; -module['exports'] = internet; -internet.domain_suffix = require("./domain_suffix"); +module.exports = { + domain_suffix: require("./domain_suffix") +}; diff --git a/lib/locales/en_US/phone_number/index.js b/lib/locales/en_US/phone_number/index.js index ba49bb5e..b49f8595 100644 --- a/lib/locales/en_US/phone_number/index.js +++ b/lib/locales/en_US/phone_number/index.js @@ -1,4 +1,4 @@ -const phone_number = {}; -module['exports'] = phone_number; -phone_number.area_code = require("./area_code"); -phone_number.exchange_code = require("./exchange_code"); +module.exports = { + area_code: require("./area_code"), + exchange_code: require("./exchange_code") +}; diff --git a/lib/locales/en_ZA/address/index.js b/lib/locales/en_ZA/address/index.js index e60c19bd..4a983479 100644 --- a/lib/locales/en_ZA/address/index.js +++ b/lib/locales/en_ZA/address/index.js @@ -1,7 +1,7 @@ -const address = {}; -module['exports'] = address; -address.city = require("./city"); -address.city_prefix = require("./city_prefix"); -address.default_country = require("./default_country"); -address.postcode = require("./postcode"); -address.state = require("./state"); \ No newline at end of file +module.exports = { + city: require("./city"), + city_prefix: require("./city_prefix"), + default_country: require("./default_country"), + postcode: require("./postcode"), + state: require("./state") +}; diff --git a/lib/locales/en_ZA/cell_phone/formats.js b/lib/locales/en_ZA/cell_phone/formats.js index 274c551a..be604d91 100644 --- a/lib/locales/en_ZA/cell_phone/formats.js +++ b/lib/locales/en_ZA/cell_phone/formats.js @@ -17,4 +17,4 @@ module.exports = [ "065 ### ####", "082#######", "082 #######" -]; \ No newline at end of file +]; diff --git a/lib/locales/en_ZA/cell_phone/index.js b/lib/locales/en_ZA/cell_phone/index.js index 1f65f965..6fa921e5 100644 --- a/lib/locales/en_ZA/cell_phone/index.js +++ b/lib/locales/en_ZA/cell_phone/index.js @@ -1,3 +1,3 @@ -const cell_phone = {}; -module['exports'] = cell_phone; -cell_phone.formats = require("./formats"); +module.exports = { + formats: require("./formats") +}; diff --git a/lib/locales/en_ZA/company/index.js b/lib/locales/en_ZA/company/index.js index 15298471..6f1ca338 100644 --- a/lib/locales/en_ZA/company/index.js +++ b/lib/locales/en_ZA/company/index.js @@ -1,3 +1,3 @@ -const company = {}; -module['exports'] = company; -company.suffix = require("./suffix"); +module.exports = { + suffix: require("./suffix") +}; diff --git a/lib/locales/en_ZA/index.js b/lib/locales/en_ZA/index.js index 5a23c564..e40342b6 100644 --- a/lib/locales/en_ZA/index.js +++ b/lib/locales/en_ZA/index.js @@ -1,9 +1,9 @@ -const en_ZA = {}; -module['exports'] = en_ZA; -en_ZA.title = "English (South Africa)"; -en_ZA.address = require("./address"); -en_ZA.internet = require("./internet"); -en_ZA.name = require("./name"); -en_ZA.phone_number = require("./phone_number"); -en_ZA.cell_phone = require("./cell_phone"); -en_ZA.company = require("./company"); +module.exports = { + title: "English (South Africa)", + address: require("./address"), + internet: require("./internet"), + name: require("./name"), + phone_number: require("./phone_number"), + cell_phone: require("./cell_phone"), + company: require("./company") +}; diff --git a/lib/locales/en_ZA/internet/domain_suffix.js b/lib/locales/en_ZA/internet/domain_suffix.js index 2e090686..5fc34aba 100644 --- a/lib/locales/en_ZA/internet/domain_suffix.js +++ b/lib/locales/en_ZA/internet/domain_suffix.js @@ -4,4 +4,4 @@ module.exports = [ "org.za", "info", "net.za" -]; \ No newline at end of file +]; diff --git a/lib/locales/en_ZA/internet/index.js b/lib/locales/en_ZA/internet/index.js index 9251f559..f0555aed 100644 --- a/lib/locales/en_ZA/internet/index.js +++ b/lib/locales/en_ZA/internet/index.js @@ -1,3 +1,3 @@ -const internet = {}; -module['exports'] = internet; -internet.domain_suffix = require("./domain_suffix"); +module.exports = { + domain_suffix: require("./domain_suffix") +}; diff --git a/lib/locales/en_ZA/name/female_first_name.js b/lib/locales/en_ZA/name/female_first_name.js index ddd9cef1..215978fb 100644 --- a/lib/locales/en_ZA/name/female_first_name.js +++ b/lib/locales/en_ZA/name/female_first_name.js @@ -290,4 +290,4 @@ module.exports = [ "Tami", "Elisa", "Kristie" -]; \ No newline at end of file +]; diff --git a/lib/locales/en_ZA/name/first_name.js b/lib/locales/en_ZA/name/first_name.js index f086c012..00aa3339 100644 --- a/lib/locales/en_ZA/name/first_name.js +++ b/lib/locales/en_ZA/name/first_name.js @@ -549,4 +549,4 @@ module.exports = [ "Percy", "Tommie", "Jan" -]; \ No newline at end of file +]; diff --git a/lib/locales/en_ZA/name/index.js b/lib/locales/en_ZA/name/index.js index 620bd3e6..0ee155ec 100644 --- a/lib/locales/en_ZA/name/index.js +++ b/lib/locales/en_ZA/name/index.js @@ -1,7 +1,7 @@ -const name = {}; -module['exports'] = name; -name.name = require("./name"); -name.male_first_name = require("./male_first_name"); -name.female_first_name = require("./female_first_name"); -name.first_name = require("./first_name"); -name.last_name = require("./last_name"); \ No newline at end of file +module.exports = { + name: require("./name"), + male_first_name: require("./male_first_name"), + female_first_name: require("./female_first_name"), + first_name: require("./first_name"), + last_name: require("./last_name") +}; diff --git a/lib/locales/en_ZA/name/last_name.js b/lib/locales/en_ZA/name/last_name.js index 227b2b98..99ade532 100644 --- a/lib/locales/en_ZA/name/last_name.js +++ b/lib/locales/en_ZA/name/last_name.js @@ -240,4 +240,4 @@ module.exports = [ "Zungu", "Zuma", "Zwane" -]; \ No newline at end of file +]; diff --git a/lib/locales/en_ZA/name/male_first_name.js b/lib/locales/en_ZA/name/male_first_name.js index 02b74fe5..b6693e21 100644 --- a/lib/locales/en_ZA/name/male_first_name.js +++ b/lib/locales/en_ZA/name/male_first_name.js @@ -250,4 +250,4 @@ module.exports = [ "Percy", "Tommie", "Jan" -]; \ No newline at end of file +]; diff --git a/lib/locales/en_ZA/phone_number/formats.js b/lib/locales/en_ZA/phone_number/formats.js index abd9da79..04711f73 100644 --- a/lib/locales/en_ZA/phone_number/formats.js +++ b/lib/locales/en_ZA/phone_number/formats.js @@ -11,4 +11,4 @@ module.exports = [ "0860 ### ###", "01#########", "01# ########" -]; \ No newline at end of file +]; diff --git a/lib/locales/en_ZA/phone_number/index.js b/lib/locales/en_ZA/phone_number/index.js index 4f74b369..a8b6f6ed 100644 --- a/lib/locales/en_ZA/phone_number/index.js +++ b/lib/locales/en_ZA/phone_number/index.js @@ -1,5 +1,5 @@ -const phone_number = {}; -module['exports'] = phone_number; -phone_number.area_code = require("./area_code"); -phone_number.exchange_code = require("./exchange_code"); -phone_number.formats = require("./formats"); \ No newline at end of file +module.exports = { + area_code: require("./area_code"), + exchange_code: require("./exchange_code"), + formats: require("./formats") +}; diff --git a/lib/locales/es/address/index.js b/lib/locales/es/address/index.js index c8c9ca64..3b3aefbf 100644 --- a/lib/locales/es/address/index.js +++ b/lib/locales/es/address/index.js @@ -1,16 +1,16 @@ -const address = {}; -module['exports'] = address; -address.city_prefix = require("./city_prefix"); -address.country = require("./country"); -address.building_number = require("./building_number"); -address.street_suffix = require("./street_suffix"); -address.secondary_address = require("./secondary_address"); -address.postcode = require("./postcode"); -address.province = require("./province"); -address.state = require("./state"); -address.state_abbr = require("./state_abbr"); -address.time_zone = require("./time_zone"); -address.city = require("./city"); -address.street_name = require("./street_name"); -address.street_address = require("./street_address"); -address.default_country = require("./default_country"); +module.exports = { + city_prefix: require("./city_prefix"), + country: require("./country"), + building_number: require("./building_number"), + street_suffix: require("./street_suffix"), + secondary_address: require("./secondary_address"), + postcode: require("./postcode"), + province: require("./province"), + state: require("./state"), + state_abbr: require("./state_abbr"), + time_zone: require("./time_zone"), + city: require("./city"), + street_name: require("./street_name"), + street_address: require("./street_address"), + default_country: require("./default_country") +}; diff --git a/lib/locales/es/cell_phone/index.js b/lib/locales/es/cell_phone/index.js index 1f65f965..6fa921e5 100644 --- a/lib/locales/es/cell_phone/index.js +++ b/lib/locales/es/cell_phone/index.js @@ -1,3 +1,3 @@ -const cell_phone = {}; -module['exports'] = cell_phone; -cell_phone.formats = require("./formats"); +module.exports = { + formats: require("./formats") +}; diff --git a/lib/locales/es/commerce/color.js b/lib/locales/es/commerce/color.js index 4759ffa8..0028bc9f 100644 --- a/lib/locales/es/commerce/color.js +++ b/lib/locales/es/commerce/color.js @@ -8,4 +8,4 @@ module.exports = [ "Verde", "Morado", "Violeta" -] \ No newline at end of file +]; diff --git a/lib/locales/es/commerce/department.js b/lib/locales/es/commerce/department.js index b4f00c69..89ac843c 100644 --- a/lib/locales/es/commerce/department.js +++ b/lib/locales/es/commerce/department.js @@ -18,4 +18,4 @@ module.exports = [ "Música", "Hogar", "Decoración" -] \ No newline at end of file +]; diff --git a/lib/locales/es/commerce/product_name.js b/lib/locales/es/commerce/product_name.js index 8d6d45c5..42531d05 100644 --- a/lib/locales/es/commerce/product_name.js +++ b/lib/locales/es/commerce/product_name.js @@ -53,4 +53,4 @@ module.exports = { "Patatas fritas" ] }; - \ No newline at end of file + diff --git a/lib/locales/es/company/index.js b/lib/locales/es/company/index.js index 28548e19..c0b695be 100644 --- a/lib/locales/es/company/index.js +++ b/lib/locales/es/company/index.js @@ -1,7 +1,7 @@ -const company = {}; -module['exports'] = company; -company.suffix = require("./suffix"); -company.noun = require("./noun"); -company.descriptor = require("./descriptor"); -company.adjective = require("./adjective"); -company.name = require("./name"); +module.exports = { + suffix: require("./suffix"), + noun: require("./noun"), + descriptor: require("./descriptor"), + adjective: require("./adjective"), + name: require("./name") +}; diff --git a/lib/locales/es/index.js b/lib/locales/es/index.js index 0bfcbfb7..8d783f80 100644 --- a/lib/locales/es/index.js +++ b/lib/locales/es/index.js @@ -1,10 +1,10 @@ -const es = {}; -module['exports'] = es; -es.title = "Spanish"; -es.address = require("./address"); -es.company = require("./company"); -es.internet = require("./internet"); -es.name = require("./name"); -es.phone_number = require("./phone_number"); -es.cell_phone = require("./cell_phone"); -es.commerce = require("./commerce"); +module.exports = { + title: "Spanish", + address: require("./address"), + company: require("./company"), + internet: require("./internet"), + name: require("./name"), + phone_number: require("./phone_number"), + cell_phone: require("./cell_phone"), + commerce: require("./commerce") +}; diff --git a/lib/locales/es/internet/index.js b/lib/locales/es/internet/index.js index c95143c1..3da76a8f 100644 --- a/lib/locales/es/internet/index.js +++ b/lib/locales/es/internet/index.js @@ -1,4 +1,4 @@ -const internet = {}; -module['exports'] = internet; -internet.free_email = require("./free_email"); -internet.domain_suffix = require("./domain_suffix"); +module.exports = { + free_email: require("./free_email"), + domain_suffix: require("./domain_suffix") +}; diff --git a/lib/locales/es/name/female_first_name.js b/lib/locales/es/name/female_first_name.js index 56ce289d..3605394f 100644 --- a/lib/locales/es/name/female_first_name.js +++ b/lib/locales/es/name/female_first_name.js @@ -9,5 +9,5 @@ module.exports = [ "Lorena", "Matilde", "Jennifer", - "Roser", + "Roser" ]; diff --git a/lib/locales/es/name/index.js b/lib/locales/es/name/index.js index fdb7f543..0e7d6744 100644 --- a/lib/locales/es/name/index.js +++ b/lib/locales/es/name/index.js @@ -1,10 +1,10 @@ -const name = {}; -module['exports'] = name; -name.first_name = require("./first_name"); -name.last_name = require("./last_name"); -name.male_first_name = require("./male_first_name"); -name.female_first_name = require("./female_first_name"); -name.prefix = require("./prefix"); -name.suffix = require("./suffix"); -name.title = require("./title"); -name.name = require("./name"); +module.exports = { + first_name: require("./first_name"), + last_name: require("./last_name"), + male_first_name: require("./male_first_name"), + female_first_name: require("./female_first_name"), + prefix: require("./prefix"), + suffix: require("./suffix"), + title: require("./title"), + name: require("./name") +}; diff --git a/lib/locales/es/phone_number/index.js b/lib/locales/es/phone_number/index.js index 36b6b18a..6fa921e5 100644 --- a/lib/locales/es/phone_number/index.js +++ b/lib/locales/es/phone_number/index.js @@ -1,3 +1,3 @@ -const phone_number = {}; -module['exports'] = phone_number; -phone_number.formats = require("./formats"); +module.exports = { + formats: require("./formats") +}; diff --git a/lib/locales/es_MX/address/index.js b/lib/locales/es_MX/address/index.js index f80efb81..daeb6b17 100644 --- a/lib/locales/es_MX/address/index.js +++ b/lib/locales/es_MX/address/index.js @@ -1,17 +1,17 @@ -const address = {}; -module['exports'] = address; -address.city_prefix = require("./city_prefix"); -address.city_suffix = require("./city_suffix"); -address.country = require("./country"); -address.building_number = require("./building_number"); -address.street_suffix = require("./street_suffix"); -address.secondary_address = require("./secondary_address"); -address.postcode = require("./postcode"); -address.state = require("./state"); -address.state_abbr = require("./state_abbr"); -address.time_zone = require("./time_zone"); -address.city = require("./city"); -address.street = require("./street"); -address.street_name = require("./street_name"); -address.street_address = require("./street_address"); -address.default_country = require("./default_country"); \ No newline at end of file +module.exports = { + city_prefix: require("./city_prefix"), + city_suffix: require("./city_suffix"), + country: require("./country"), + building_number: require("./building_number"), + street_suffix: require("./street_suffix"), + secondary_address: require("./secondary_address"), + postcode: require("./postcode"), + state: require("./state"), + state_abbr: require("./state_abbr"), + time_zone: require("./time_zone"), + city: require("./city"), + street: require("./street"), + street_name: require("./street_name"), + street_address: require("./street_address"), + default_country: require("./default_country") +}; diff --git a/lib/locales/es_MX/address/street.js b/lib/locales/es_MX/address/street.js index ab6ad4a9..59f2d386 100644 --- a/lib/locales/es_MX/address/street.js +++ b/lib/locales/es_MX/address/street.js @@ -38,4 +38,4 @@ module.exports = [ "Cedro", "Jalisco", "Avena" -]; \ No newline at end of file +]; diff --git a/lib/locales/es_MX/cell_phone/index.js b/lib/locales/es_MX/cell_phone/index.js index 1f65f965..6fa921e5 100644 --- a/lib/locales/es_MX/cell_phone/index.js +++ b/lib/locales/es_MX/cell_phone/index.js @@ -1,3 +1,3 @@ -const cell_phone = {}; -module['exports'] = cell_phone; -cell_phone.formats = require("./formats"); +module.exports = { + formats: require("./formats") +}; diff --git a/lib/locales/es_MX/commerce/index.js b/lib/locales/es_MX/commerce/index.js index 271876c5..511ce3be 100644 --- a/lib/locales/es_MX/commerce/index.js +++ b/lib/locales/es_MX/commerce/index.js @@ -1,5 +1,5 @@ -const commerce = {}; -module['exports'] = commerce; -commerce.color = require("./color"); -commerce.department = require("./department"); -commerce.product_name = require("./product_name"); +module.exports = { + color: require("./color"), + department: require("./department"), + product_name: require("./product_name") +}; diff --git a/lib/locales/es_MX/company/bs_verb.js b/lib/locales/es_MX/company/bs_verb.js index a585dc5f..f3f31ad4 100644 --- a/lib/locales/es_MX/company/bs_verb.js +++ b/lib/locales/es_MX/company/bs_verb.js @@ -59,4 +59,4 @@ module.exports = [ "productize", "redefinir", "recontextualizar" -] +]; diff --git a/lib/locales/es_MX/company/index.js b/lib/locales/es_MX/company/index.js index 90f3ffd0..cf9c511a 100644 --- a/lib/locales/es_MX/company/index.js +++ b/lib/locales/es_MX/company/index.js @@ -1,10 +1,10 @@ -const company = {}; -module['exports'] = company; -company.suffix = require("./suffix"); -company.adjective = require("./adjective"); -company.descriptor = require("./descriptor"); -company.noun = require("./noun"); -company.bs_verb = require("./bs_verb"); -company.name = require("./name"); -company.bs_adjective = require("./bs_adjective"); -company.bs_noun = require("./bs_noun"); +module.exports = { + suffix: require("./suffix"), + adjective: require("./adjective"), + descriptor: require("./descriptor"), + noun: require("./noun"), + bs_verb: require("./bs_verb"), + name: require("./name"), + bs_adjective: require("./bs_adjective"), + bs_noun: require("./bs_noun") +}; diff --git a/lib/locales/es_MX/index.js b/lib/locales/es_MX/index.js index f9447a64..f3690af0 100644 --- a/lib/locales/es_MX/index.js +++ b/lib/locales/es_MX/index.js @@ -1,13 +1,13 @@ -const es_MX = {}; -module['exports'] = es_MX; -es_MX.title = "Spanish (Mexico)"; -es_MX.separator = " & "; -es_MX.name = require("./name"); -es_MX.address = require("./address"); -es_MX.company = require("./company"); -es_MX.internet = require("./internet"); -es_MX.phone_number = require("./phone_number"); -es_MX.cell_phone = require("./cell_phone"); -es_MX.lorem = require("./lorem"); -es_MX.commerce = require("./commerce"); -es_MX.team = require("./team"); +module.exports = { + title: "Spanish (Mexico)", + separator: " & ", + name: require("./name"), + address: require("./address"), + company: require("./company"), + internet: require("./internet"), + phone_number: require("./phone_number"), + cell_phone: require("./cell_phone"), + lorem: require("./lorem"), + commerce: require("./commerce"), + team: require("./team") +}; diff --git a/lib/locales/es_MX/internet/index.js b/lib/locales/es_MX/internet/index.js index c95143c1..3da76a8f 100644 --- a/lib/locales/es_MX/internet/index.js +++ b/lib/locales/es_MX/internet/index.js @@ -1,4 +1,4 @@ -const internet = {}; -module['exports'] = internet; -internet.free_email = require("./free_email"); -internet.domain_suffix = require("./domain_suffix"); +module.exports = { + free_email: require("./free_email"), + domain_suffix: require("./domain_suffix") +}; diff --git a/lib/locales/es_MX/lorem/index.js b/lib/locales/es_MX/lorem/index.js index 47ae78b5..85491b9b 100644 --- a/lib/locales/es_MX/lorem/index.js +++ b/lib/locales/es_MX/lorem/index.js @@ -1,3 +1,3 @@ -const lorem = {}; -module['exports'] = lorem; -lorem.words = require("./words"); +module.exports = { + words: require("./words") +}; diff --git a/lib/locales/es_MX/name/first_name.js b/lib/locales/es_MX/name/first_name.js index d9ee81ee..382bd7eb 100644 --- a/lib/locales/es_MX/name/first_name.js +++ b/lib/locales/es_MX/name/first_name.js @@ -303,4 +303,4 @@ module.exports = [ "Yamileth", "Yaretzi", "Zoe" -] \ No newline at end of file +]; diff --git a/lib/locales/es_MX/name/index.js b/lib/locales/es_MX/name/index.js index 3c443270..442605de 100644 --- a/lib/locales/es_MX/name/index.js +++ b/lib/locales/es_MX/name/index.js @@ -1,8 +1,8 @@ -const name = {}; -module['exports'] = name; -name.first_name = require("./first_name"); -name.last_name = require("./last_name"); -name.prefix = require("./prefix"); -name.suffix = require("./suffix"); -name.title = require("./title"); -name.name = require("./name"); +module.exports = { + first_name: require("./first_name"), + last_name: require("./last_name"), + prefix: require("./prefix"), + suffix: require("./suffix"), + title: require("./title"), + name: require("./name") +}; diff --git a/lib/locales/es_MX/phone_number/index.js b/lib/locales/es_MX/phone_number/index.js index 36b6b18a..6fa921e5 100644 --- a/lib/locales/es_MX/phone_number/index.js +++ b/lib/locales/es_MX/phone_number/index.js @@ -1,3 +1,3 @@ -const phone_number = {}; -module['exports'] = phone_number; -phone_number.formats = require("./formats"); +module.exports = { + formats: require("./formats") +}; diff --git a/lib/locales/es_MX/team/index.js b/lib/locales/es_MX/team/index.js index b5264b1c..9d1f8164 100644 --- a/lib/locales/es_MX/team/index.js +++ b/lib/locales/es_MX/team/index.js @@ -1,4 +1,4 @@ -const team = {}; -module['exports'] = team; -team.creature = require("./creature"); -team.name = require("./name"); +module.exports = { + creature: require("./creature"), + name: require("./name") +}; diff --git a/lib/locales/fa/address/index.js b/lib/locales/fa/address/index.js index 2718998c..5a9f4b1d 100644 --- a/lib/locales/fa/address/index.js +++ b/lib/locales/fa/address/index.js @@ -1,18 +1,17 @@ -const address = {}; -module['exports'] = address; -address.building_number = require("./building_number"); -address.street_prefix = require("./street_prefix"); -address.secondary_address = require("./secondary_address"); -address.postcode = require("./postcode"); -address.state = require("./state"); -address.city_name = require("./city_name"); -address.city = require("./city"); -address.street_suffix = require("./street_suffix"); -address.street_name = require("./street_name"); -address.street_address = require("./street_address"); -address.default_country = require("./default_country"); -address.city_prefix = require("./city_prefix"); -address.city_suffix = require("./city_suffix"); -address.country = require("./country"); -address.country_code = require("./country_code"); - +module.exports = { + building_number: require("./building_number"), + street_prefix: require("./street_prefix"), + secondary_address: require("./secondary_address"), + postcode: require("./postcode"), + state: require("./state"), + city_name: require("./city_name"), + city: require("./city"), + street_suffix: require("./street_suffix"), + street_name: require("./street_name"), + street_address: require("./street_address"), + default_country: require("./default_country"), + city_prefix: require("./city_prefix"), + city_suffix: require("./city_suffix"), + country: require("./country"), + country_code: require("./country_code") +}; diff --git a/lib/locales/fa/cell_phone/index.js b/lib/locales/fa/cell_phone/index.js index 1f65f965..6fa921e5 100644 --- a/lib/locales/fa/cell_phone/index.js +++ b/lib/locales/fa/cell_phone/index.js @@ -1,3 +1,3 @@ -const cell_phone = {}; -module['exports'] = cell_phone; -cell_phone.formats = require("./formats"); +module.exports = { + formats: require("./formats") +}; diff --git a/lib/locales/fa/commerce/index.js b/lib/locales/fa/commerce/index.js index 271876c5..511ce3be 100644 --- a/lib/locales/fa/commerce/index.js +++ b/lib/locales/fa/commerce/index.js @@ -1,5 +1,5 @@ -const commerce = {}; -module['exports'] = commerce; -commerce.color = require("./color"); -commerce.department = require("./department"); -commerce.product_name = require("./product_name"); +module.exports = { + color: require("./color"), + department: require("./department"), + product_name: require("./product_name") +}; diff --git a/lib/locales/fa/company/adjective.js b/lib/locales/fa/company/adjective.js index 9a015639..be45d545 100644 --- a/lib/locales/fa/company/adjective.js +++ b/lib/locales/fa/company/adjective.js @@ -67,5 +67,5 @@ module.exports = [ "خود توانمندی", "همه کاره", "مجازی", - "بینایی", + "بینایی" ]; diff --git a/lib/locales/fa/company/index.js b/lib/locales/fa/company/index.js index 79469daa..e8c78228 100644 --- a/lib/locales/fa/company/index.js +++ b/lib/locales/fa/company/index.js @@ -1,10 +1,10 @@ -const company = {}; -module['exports'] = company; -company.suffix = require("./suffix"); -company.adjective = require("./adjective"); -company.descriptor = require("./descriptor"); -company.noun = require("./noun"); -company.bs_verb = require("./bs_verb"); -company.bs_adjective = require("./bs_adjective"); -company.bs_noun = require("./bs_noun"); -company.name = require("./name"); +module.exports = { + suffix: require("./suffix"), + adjective: require("./adjective"), + descriptor: require("./descriptor"), + noun: require("./noun"), + bs_verb: require("./bs_verb"), + bs_adjective: require("./bs_adjective"), + bs_noun: require("./bs_noun"), + name: require("./name") +}; diff --git a/lib/locales/fa/finance/credit_card/index.js b/lib/locales/fa/finance/credit_card/index.js index 1684658f..28149125 100644 --- a/lib/locales/fa/finance/credit_card/index.js +++ b/lib/locales/fa/finance/credit_card/index.js @@ -1,5 +1,4 @@ -const credit_card = {}; -module['exports'] = credit_card; -credit_card.visa = require("./visa"); -credit_card.mastercard = require("./mastercard"); - +module.exports = { + visa: require("./visa"), + mastercard: require("./mastercard") +}; diff --git a/lib/locales/fa/finance/currency.js b/lib/locales/fa/finance/currency.js index 6818cfc9..ea631c3e 100644 --- a/lib/locales/fa/finance/currency.js +++ b/lib/locales/fa/finance/currency.js @@ -106,5 +106,5 @@ module.exports = { "دلار سنگاپور": { "code": "SGD", "symbol": "$" - }, + } }; diff --git a/lib/locales/fa/finance/index.js b/lib/locales/fa/finance/index.js index 4cbb809c..53060f35 100644 --- a/lib/locales/fa/finance/index.js +++ b/lib/locales/fa/finance/index.js @@ -1,6 +1,6 @@ -const finance = {}; -module['exports'] = finance; -finance.account_type = require("./account_type"); -finance.transaction_type = require("./transaction_type"); -finance.currency = require("./currency"); -finance.credit_card = require("./credit_card"); +module.exports = { + account_type: require("./account_type"), + transaction_type: require("./transaction_type"), + currency: require("./currency"), + credit_card: require("./credit_card") +}; diff --git a/lib/locales/fa/index.js b/lib/locales/fa/index.js index dbb45f2a..0131f4bc 100644 --- a/lib/locales/fa/index.js +++ b/lib/locales/fa/index.js @@ -1,14 +1,14 @@ -const fa = {}; -module['exports'] = fa; -fa.title = "Farsi"; -fa.name = require("./name"); -fa.address = require("./address"); -fa.phone_number = require("./phone_number"); -fa.lorem = require("./lorem"); -fa.cell_phone = require("./cell_phone"); -fa.date = require("./date"); -fa.vehicle = require("./vehicle"); -fa.internet = require("./internet"); -fa.commerce = require("./commerce"); -fa.company = require("./company"); -fa.finance = require("./finance"); +module.exports = { + title: "Farsi", + name: require("./name"), + address: require("./address"), + phone_number: require("./phone_number"), + lorem: require("./lorem"), + cell_phone: require("./cell_phone"), + date: require("./date"), + vehicle: require("./vehicle"), + internet: require("./internet"), + commerce: require("./commerce"), + company: require("./company"), + finance: require("./finance") +}; diff --git a/lib/locales/fa/internet/index.js b/lib/locales/fa/internet/index.js index 70528b18..ce698e42 100644 --- a/lib/locales/fa/internet/index.js +++ b/lib/locales/fa/internet/index.js @@ -1,6 +1,6 @@ -const internet = {}; -module['exports'] = internet; -internet.free_email = require("./free_email"); -internet.example_email = require("./example_email"); -internet.domain_suffix = require("./domain_suffix"); +module.exports = { + free_email: require("./free_email"), + example_email: require("./example_email"), + domain_suffix: require("./domain_suffix") +}; diff --git a/lib/locales/fa/lorem/index.js b/lib/locales/fa/lorem/index.js index 47ae78b5..85491b9b 100644 --- a/lib/locales/fa/lorem/index.js +++ b/lib/locales/fa/lorem/index.js @@ -1,3 +1,3 @@ -const lorem = {}; -module['exports'] = lorem; -lorem.words = require("./words"); +module.exports = { + words: require("./words") +}; diff --git a/lib/locales/fa/name/index.js b/lib/locales/fa/name/index.js index 260f70f2..694402b1 100644 --- a/lib/locales/fa/name/index.js +++ b/lib/locales/fa/name/index.js @@ -1,8 +1,8 @@ -const name = {}; -module['exports'] = name; -name.male_first_name = require("./male_first_name"); -name.female_first_name = require("./female_first_name"); -name.first_name = require("./first_name"); -name.last_name = require("./last_name"); -name.prefix = require("./prefix"); -name.title = require("./title"); +module.exports = { + male_first_name: require("./male_first_name"), + female_first_name: require("./female_first_name"), + first_name: require("./first_name"), + last_name: require("./last_name"), + prefix: require("./prefix"), + title: require("./title") +}; diff --git a/lib/locales/fa/phone_number/index.js b/lib/locales/fa/phone_number/index.js index 36b6b18a..6fa921e5 100644 --- a/lib/locales/fa/phone_number/index.js +++ b/lib/locales/fa/phone_number/index.js @@ -1,3 +1,3 @@ -const phone_number = {}; -module['exports'] = phone_number; -phone_number.formats = require("./formats"); +module.exports = { + formats: require("./formats") +}; diff --git a/lib/locales/fa/vehicle/model.js b/lib/locales/fa/vehicle/model.js index faf035b1..631f8398 100644 --- a/lib/locales/fa/vehicle/model.js +++ b/lib/locales/fa/vehicle/model.js @@ -33,5 +33,5 @@ module.exports = [ "اسپایدر", "کونتاچ", "مورسیه لاگو", - "اونتادور", + "اونتادور" ]; diff --git a/lib/locales/fi/index.js b/lib/locales/fi/index.js index 086d805d..9f05728c 100644 --- a/lib/locales/fi/index.js +++ b/lib/locales/fi/index.js @@ -1,4 +1,4 @@ -const fi = {}; -module['exports'] = fi; -fi.title = "Finnish"; -fi.name = require("./name"); \ No newline at end of file +module.exports = { + title: "Finnish", + name: require("./name") +}; diff --git a/lib/locales/fi/name/female_first_name.js b/lib/locales/fi/name/female_first_name.js index 1c6ff5e4..29be35aa 100644 --- a/lib/locales/fi/name/female_first_name.js +++ b/lib/locales/fi/name/female_first_name.js @@ -49,4 +49,4 @@ module.exports = [ "Tiina", "Tuula", "Tuulikki" -]; \ No newline at end of file +]; diff --git a/lib/locales/fi/name/first_name.js b/lib/locales/fi/name/first_name.js index 20ba439e..35637893 100644 --- a/lib/locales/fi/name/first_name.js +++ b/lib/locales/fi/name/first_name.js @@ -99,4 +99,4 @@ module.exports = [ "Tiina", "Tuula", "Tuulikki" -]; \ No newline at end of file +]; diff --git a/lib/locales/fi/name/index.js b/lib/locales/fi/name/index.js index 6e5c30cd..0e80e6c1 100644 --- a/lib/locales/fi/name/index.js +++ b/lib/locales/fi/name/index.js @@ -1,7 +1,7 @@ -const name = {}; -module['exports'] = name; -name.male_first_name = require("./male_first_name"); -name.female_first_name = require("./female_first_name"); -name.first_name = require("./first_name"); -name.last_name = require("./last_name"); -name.name = require("./name"); \ No newline at end of file +module.exports = { + male_first_name: require("./male_first_name"), + female_first_name: require("./female_first_name"), + first_name: require("./first_name"), + last_name: require("./last_name"), + name: require("./name") +}; diff --git a/lib/locales/fi/name/last_name.js b/lib/locales/fi/name/last_name.js index 1e6085d7..476d72ed 100644 --- a/lib/locales/fi/name/last_name.js +++ b/lib/locales/fi/name/last_name.js @@ -49,4 +49,4 @@ module.exports = [ "Turunen", "Virtanen", "Väisänen" -] \ No newline at end of file +]; diff --git a/lib/locales/fi/name/male_first_name.js b/lib/locales/fi/name/male_first_name.js index 1cf3a6b8..02cd037a 100644 --- a/lib/locales/fi/name/male_first_name.js +++ b/lib/locales/fi/name/male_first_name.js @@ -49,4 +49,4 @@ module.exports = [ "Valtteri", "Veikko", "Ville" -] \ No newline at end of file +]; diff --git a/lib/locales/fi/name/name.js b/lib/locales/fi/name/name.js index c880ab64..1c9adb8a 100644 --- a/lib/locales/fi/name/name.js +++ b/lib/locales/fi/name/name.js @@ -3,4 +3,4 @@ module.exports = [ "#{first_name} #{last_name}", "#{male_first_name} #{last_name}", "#{female_first_name} #{last_name}" -]; \ No newline at end of file +]; diff --git a/lib/locales/fr/address/country.js b/lib/locales/fr/address/country.js index 6801ac78..5f544688 100644 --- a/lib/locales/fr/address/country.js +++ b/lib/locales/fr/address/country.js @@ -192,4 +192,4 @@ module.exports = [ "Yémen", "Zambie", "Zimbabwe" -]; \ No newline at end of file +]; diff --git a/lib/locales/fr/address/index.js b/lib/locales/fr/address/index.js index fff49c02..a10ee56b 100644 --- a/lib/locales/fr/address/index.js +++ b/lib/locales/fr/address/index.js @@ -1,14 +1,14 @@ -const address = {}; -module['exports'] = address; -address.building_number = require("./building_number"); -address.street_prefix = require("./street_prefix"); -address.secondary_address = require("./secondary_address"); -address.postcode = require("./postcode"); -address.state = require("./state"); -address.city_name = require("./city_name"); -address.city = require("./city"); -address.country = require("./country"); -address.street_suffix = require("./street_suffix"); -address.street_name = require("./street_name"); -address.street_address = require("./street_address"); -address.default_country = require("./default_country"); +module.exports = { + building_number: require("./building_number"), + street_prefix: require("./street_prefix"), + secondary_address: require("./secondary_address"), + postcode: require("./postcode"), + state: require("./state"), + city_name: require("./city_name"), + city: require("./city"), + country: require("./country"), + street_suffix: require("./street_suffix"), + street_name: require("./street_name"), + street_address: require("./street_address"), + default_country: require("./default_country") +}; diff --git a/lib/locales/fr/company/index.js b/lib/locales/fr/company/index.js index 79469daa..e8c78228 100644 --- a/lib/locales/fr/company/index.js +++ b/lib/locales/fr/company/index.js @@ -1,10 +1,10 @@ -const company = {}; -module['exports'] = company; -company.suffix = require("./suffix"); -company.adjective = require("./adjective"); -company.descriptor = require("./descriptor"); -company.noun = require("./noun"); -company.bs_verb = require("./bs_verb"); -company.bs_adjective = require("./bs_adjective"); -company.bs_noun = require("./bs_noun"); -company.name = require("./name"); +module.exports = { + suffix: require("./suffix"), + adjective: require("./adjective"), + descriptor: require("./descriptor"), + noun: require("./noun"), + bs_verb: require("./bs_verb"), + bs_adjective: require("./bs_adjective"), + bs_noun: require("./bs_noun"), + name: require("./name") +}; diff --git a/lib/locales/fr/date/month.js b/lib/locales/fr/date/month.js index 39b49c48..3639e288 100644 --- a/lib/locales/fr/date/month.js +++ b/lib/locales/fr/date/month.js @@ -1,5 +1,5 @@ // Source: http://unicode.org/cldr/trac/browser/tags/release-27/common/main/en.xml#L1799 -module['exports'] = { +module.exports = { wide: [ 'janvier', 'février', @@ -12,7 +12,7 @@ module['exports'] = { 'septembre', 'octobre', 'novembre', - 'décembre', + 'décembre' ], // Property "wide_context" is optional, if not set then "wide" will be used instead // It is used to specify a word in context, which may differ from a stand-alone word @@ -28,7 +28,7 @@ module['exports'] = { 'septembre', 'octobre', 'novembre', - 'décembre', + 'décembre' ], abbr: [ 'janv.', @@ -42,7 +42,7 @@ module['exports'] = { 'sept.', 'oct.', 'nov.', - 'déc.', + 'déc.' ], // Property "abbr_context" is optional, if not set then "abbr" will be used instead // It is used to specify a word in context, which may differ from a stand-alone word @@ -58,6 +58,6 @@ module['exports'] = { 'sept.', 'oct.', 'nov.', - 'déc.', - ], + 'déc.' + ] }; diff --git a/lib/locales/fr/index.js b/lib/locales/fr/index.js index 53c69ac7..f44d5ac4 100644 --- a/lib/locales/fr/index.js +++ b/lib/locales/fr/index.js @@ -1,10 +1,10 @@ -const fr = {}; -module['exports'] = fr; -fr.title = "French"; -fr.address = require("./address"); -fr.company = require("./company"); -fr.internet = require("./internet"); -fr.lorem = require("./lorem"); -fr.name = require("./name"); -fr.phone_number = require("./phone_number"); -fr.date = require("./date"); +module.exports = { + title: "French", + address: require("./address"), + company: require("./company"), + internet: require("./internet"), + lorem: require("./lorem"), + name: require("./name"), + phone_number: require("./phone_number"), + date: require("./date") +}; diff --git a/lib/locales/fr/internet/index.js b/lib/locales/fr/internet/index.js index c95143c1..0f06b43d 100644 --- a/lib/locales/fr/internet/index.js +++ b/lib/locales/fr/internet/index.js @@ -1,4 +1,4 @@ const internet = {}; -module['exports'] = internet; +module.exports = internet; internet.free_email = require("./free_email"); internet.domain_suffix = require("./domain_suffix"); diff --git a/lib/locales/fr/lorem/index.js b/lib/locales/fr/lorem/index.js index 47ae78b5..85491b9b 100644 --- a/lib/locales/fr/lorem/index.js +++ b/lib/locales/fr/lorem/index.js @@ -1,3 +1,3 @@ -const lorem = {}; -module['exports'] = lorem; -lorem.words = require("./words"); +module.exports = { + words: require("./words") +}; diff --git a/lib/locales/fr/name/female_first_name.js b/lib/locales/fr/name/female_first_name.js index 47493c41..eb5795bf 100644 --- a/lib/locales/fr/name/female_first_name.js +++ b/lib/locales/fr/name/female_first_name.js @@ -450,4 +450,4 @@ module.exports = [ "Yvonne", "Zoé", "Zoéva" -] +]; diff --git a/lib/locales/fr/name/index.js b/lib/locales/fr/name/index.js index 71f2f068..2e904ec7 100644 --- a/lib/locales/fr/name/index.js +++ b/lib/locales/fr/name/index.js @@ -1,9 +1,9 @@ -const name = {}; -module['exports'] = name; -name.first_name = require("./first_name"); -name.male_first_name = require("./male_first_name") -name.female_first_name = require("./female_first_name") -name.last_name = require("./last_name"); -name.prefix = require("./prefix"); -name.title = require("./title"); -name.name = require("./name"); +module.exports = { + first_name: require("./first_name"), + male_first_name: require("./male_first_name"), + female_first_name: require("./female_first_name"), + last_name: require("./last_name"), + prefix: require("./prefix"), + title: require("./title"), + name: require("./name") +}; diff --git a/lib/locales/fr/name/male_first_name.js b/lib/locales/fr/name/male_first_name.js index 7c84bbad..754d9b0c 100644 --- a/lib/locales/fr/name/male_first_name.js +++ b/lib/locales/fr/name/male_first_name.js @@ -495,4 +495,4 @@ module.exports = [ "Zacharie", "Zaché", "Zéphirin" -] +]; diff --git a/lib/locales/fr/phone_number/index.js b/lib/locales/fr/phone_number/index.js index 36b6b18a..6fa921e5 100644 --- a/lib/locales/fr/phone_number/index.js +++ b/lib/locales/fr/phone_number/index.js @@ -1,3 +1,3 @@ -const phone_number = {}; -module['exports'] = phone_number; -phone_number.formats = require("./formats"); +module.exports = { + formats: require("./formats") +}; diff --git a/lib/locales/fr_BE/adresses/building_number.js b/lib/locales/fr_BE/adresses/building_number.js index f979455c..eb16e8b8 100644 --- a/lib/locales/fr_BE/adresses/building_number.js +++ b/lib/locales/fr_BE/adresses/building_number.js @@ -8,5 +8,5 @@ module.exports = [ "###a", "###b", "###c", - "###/2", + "###/2" ]; diff --git a/lib/locales/fr_BE/adresses/city_suffix.js b/lib/locales/fr_BE/adresses/city_suffix.js index c2202dd2..ae5e4603 100644 --- a/lib/locales/fr_BE/adresses/city_suffix.js +++ b/lib/locales/fr_BE/adresses/city_suffix.js @@ -3,4 +3,4 @@ module.exports = [ "plage", "Sud", "Nord" -] +]; diff --git a/lib/locales/fr_BE/adresses/index.js b/lib/locales/fr_BE/adresses/index.js index 13aba66d..4f96ffd8 100644 --- a/lib/locales/fr_BE/adresses/index.js +++ b/lib/locales/fr_BE/adresses/index.js @@ -1,25 +1,11 @@ -const address = {}; -module['exports'] = address; -//address.building_number = require("./building_number"); -address.city = require("./city"); -address.city_prefix = require("./city_prefix"); -address.city_suffix = require("./city_suffix"); -//address.county = require("./county"); -//address.country = require("./country"); -//address.country_code = require("./country_code"); - -address.default_country = require("./default_country"); -//address.direction = require("./direction"); // la version fr suffit -//address.direction_abbr = require("./direction_abbr"); // la version fr suffit - -address.postcode = require("./postcode"); -//address.postcode_by_state = require("./postcode_by_state"); - -address.state = require("./state"); -address.state_abbr = require("./state_abbr"); -address.street_name = require("./street_name"); -address.street_address = require("./street_address"); - -//address.street_suffix = require("./street_suffix"); -//address.secondary_address = require("./secondary_address"); -//address.time_zone = require("./time_zone"); // traduction inutile +module.exports = { + city: require("./city"), + city_prefix: require("./city_prefix"), + city_suffix: require("./city_suffix"), + default_country: require("./default_country"), + postcode: require("./postcode"), + state: require("./state"), + state_abbr: require("./state_abbr"), + street_name: require("./street_name"), + street_address: require("./street_address") +}; diff --git a/lib/locales/fr_BE/cell_phone/index.js b/lib/locales/fr_BE/cell_phone/index.js index 1f65f965..6fa921e5 100644 --- a/lib/locales/fr_BE/cell_phone/index.js +++ b/lib/locales/fr_BE/cell_phone/index.js @@ -1,3 +1,3 @@ -const cell_phone = {}; -module['exports'] = cell_phone; -cell_phone.formats = require("./formats"); +module.exports = { + formats: require("./formats") +}; diff --git a/lib/locales/fr_BE/index.js b/lib/locales/fr_BE/index.js index 29c29483..d909e836 100644 --- a/lib/locales/fr_BE/index.js +++ b/lib/locales/fr_BE/index.js @@ -1,20 +1,8 @@ -const fr_BE = {}; -module['exports'] = fr_BE; -fr_BE.title = "Français (Belgique)"; -fr_BE.address = require("./adresses"); -//fr_BE.company = require("./company"); -fr_BE.internet = require("./internet"); -//fr_BE.database = require("./database"); -//fr_BE.lorem = require("./lorem"); -fr_BE.name = require("./name"); -fr_BE.phone_number = require("./phone_number"); -fr_BE.cell_phone = require("./cell_phone"); -//fr_BE.business = require("./business"); -//fr_BE.commerce = require("./commerce"); -//fr_BE.team = require("./team"); -//fr_BE.hacker = require("./hacker"); -//fr_BE.app = require("./app"); -//fr_BE.finance = require("./finance"); -//fr_BE.date = require("./date"); -//fr_BE.system = require("./system"); -//fr_BE.vehicle = require("./vehicle"); +module.exports = { + title: "Français (Belgique)", + address: require("./adresses"), + internet: require("./internet"), + name: require("./name"), + phone_number: require("./phone_number"), + cell_phone: require("./cell_phone") +}; diff --git a/lib/locales/fr_BE/internet/index.js b/lib/locales/fr_BE/internet/index.js index c95143c1..3da76a8f 100644 --- a/lib/locales/fr_BE/internet/index.js +++ b/lib/locales/fr_BE/internet/index.js @@ -1,4 +1,4 @@ -const internet = {}; -module['exports'] = internet; -internet.free_email = require("./free_email"); -internet.domain_suffix = require("./domain_suffix"); +module.exports = { + free_email: require("./free_email"), + domain_suffix: require("./domain_suffix") +}; diff --git a/lib/locales/fr_BE/name/index.js b/lib/locales/fr_BE/name/index.js index e8755aac..57ecc8cb 100644 --- a/lib/locales/fr_BE/name/index.js +++ b/lib/locales/fr_BE/name/index.js @@ -1,11 +1,11 @@ -const name = {}; -module['exports'] = name; -name.male_first_name = require("./first_name_male"); -name.female_first_name = require("./first_name_female"); -name.first_name = require("./first_name"); -name.last_name = require("./last_name"); -name.gender = require("./gender"); -name.prefix = require("./prefix"); -name.suffix = require("./suffix"); -name.title = require("./title"); -name.name = require("./name"); +module.exports = { + male_first_name: require("./first_name_male"), + female_first_name: require("./first_name_female"), + first_name: require("./first_name"), + last_name: require("./last_name"), + gender: require("./gender"), + prefix: require("./prefix"), + suffix: require("./suffix"), + title: require("./title"), + name: require("./name") +}; diff --git a/lib/locales/fr_BE/phone_number/index.js b/lib/locales/fr_BE/phone_number/index.js index 36b6b18a..6fa921e5 100644 --- a/lib/locales/fr_BE/phone_number/index.js +++ b/lib/locales/fr_BE/phone_number/index.js @@ -1,3 +1,3 @@ -const phone_number = {}; -module['exports'] = phone_number; -phone_number.formats = require("./formats"); +module.exports = { + formats: require("./formats") +}; diff --git a/lib/locales/fr_CA/address/index.js b/lib/locales/fr_CA/address/index.js index cb8522f7..49f2959c 100644 --- a/lib/locales/fr_CA/address/index.js +++ b/lib/locales/fr_CA/address/index.js @@ -1,6 +1,6 @@ -const address = {}; -module['exports'] = address; -address.postcode = require("./postcode"); -address.state = require("./state"); -address.state_abbr = require("./state_abbr"); -address.default_country = require("./default_country"); +module.exports = { + postcode: require("./postcode"), + state: require("./state"), + state_abbr: require("./state_abbr"), + default_country: require("./default_country") +}; diff --git a/lib/locales/fr_CA/address/postcode.js b/lib/locales/fr_CA/address/postcode.js index 17774acb..b9c495e3 100644 --- a/lib/locales/fr_CA/address/postcode.js +++ b/lib/locales/fr_CA/address/postcode.js @@ -16,5 +16,5 @@ module.exports = [ "T#? #?#", "V#? #?#", "X#? #?#", - "Y#? #?#", + "Y#? #?#" ]; diff --git a/lib/locales/fr_CA/index.js b/lib/locales/fr_CA/index.js index 0e90bab2..3facab60 100644 --- a/lib/locales/fr_CA/index.js +++ b/lib/locales/fr_CA/index.js @@ -1,6 +1,6 @@ -const fr_CA = {}; -module['exports'] = fr_CA; -fr_CA.title = "French (Canada)"; -fr_CA.address = require("./address"); -fr_CA.internet = require("./internet"); -fr_CA.phone_number = require("./phone_number"); +module.exports = { + title: "French (Canada)", + address: require("./address"), + internet: require("./internet"), + phone_number: require("./phone_number") +}; diff --git a/lib/locales/fr_CA/internet/index.js b/lib/locales/fr_CA/internet/index.js index c95143c1..3da76a8f 100644 --- a/lib/locales/fr_CA/internet/index.js +++ b/lib/locales/fr_CA/internet/index.js @@ -1,4 +1,4 @@ -const internet = {}; -module['exports'] = internet; -internet.free_email = require("./free_email"); -internet.domain_suffix = require("./domain_suffix"); +module.exports = { + free_email: require("./free_email"), + domain_suffix: require("./domain_suffix") +}; diff --git a/lib/locales/fr_CA/phone_number/index.js b/lib/locales/fr_CA/phone_number/index.js index 36b6b18a..6fa921e5 100644 --- a/lib/locales/fr_CA/phone_number/index.js +++ b/lib/locales/fr_CA/phone_number/index.js @@ -1,3 +1,3 @@ -const phone_number = {}; -module['exports'] = phone_number; -phone_number.formats = require("./formats"); +module.exports = { + formats: require("./formats") +}; diff --git a/lib/locales/fr_CH/address/country_code.js b/lib/locales/fr_CH/address/country_code.js index e6cd28c5..800fe415 100644 --- a/lib/locales/fr_CH/address/country_code.js +++ b/lib/locales/fr_CH/address/country_code.js @@ -1,3 +1,3 @@ module.exports = [ - "CH", + "CH" ]; diff --git a/lib/locales/fr_CH/address/index.js b/lib/locales/fr_CH/address/index.js index 10f85dee..0ed0edc4 100644 --- a/lib/locales/fr_CH/address/index.js +++ b/lib/locales/fr_CH/address/index.js @@ -1,9 +1,8 @@ -const address = {}; -module['exports'] = address; -address.country_code = require("./country_code"); -address.city = require("./city"); -address.city_name = require("./city_name"); -address.default_country = require("./default_country"); -address.postcode = require("./postcode"); -address.state = require("./state"); - +module.exports = { + country_code: require("./country_code"), + city: require("./city"), + city_name: require("./city_name"), + default_country: require("./default_country"), + postcode: require("./postcode"), + state: require("./state") +}; diff --git a/lib/locales/fr_CH/index.js b/lib/locales/fr_CH/index.js index ead1b9c0..a3ac1522 100644 --- a/lib/locales/fr_CH/index.js +++ b/lib/locales/fr_CH/index.js @@ -1,6 +1,6 @@ -const fr_CH = {}; -module['exports'] = fr_CH; -fr_CH.title = "French (Switzerland)"; -fr_CH.address = require("./address"); -fr_CH.internet = require("./internet"); -fr_CH.phone_number = require("./phone_number"); +module.exports = { + title: "French (Switzerland)", + address: require("./address"), + internet: require("./internet"), + phone_number: require("./phone_number") +}; diff --git a/lib/locales/fr_CH/internet/index.js b/lib/locales/fr_CH/internet/index.js index 9251f559..f0555aed 100644 --- a/lib/locales/fr_CH/internet/index.js +++ b/lib/locales/fr_CH/internet/index.js @@ -1,3 +1,3 @@ -const internet = {}; -module['exports'] = internet; -internet.domain_suffix = require("./domain_suffix"); +module.exports = { + domain_suffix: require("./domain_suffix") +}; diff --git a/lib/locales/fr_CH/phone_number/formats.js b/lib/locales/fr_CH/phone_number/formats.js index 9b07d1a3..4d2b65e1 100644 --- a/lib/locales/fr_CH/phone_number/formats.js +++ b/lib/locales/fr_CH/phone_number/formats.js @@ -13,5 +13,5 @@ module.exports = [ "+4179 ### ## ##", "0041 76 ### ## ##", "0041 78 ### ## ##", - "0041 79 ### ## ##", + "0041 79 ### ## ##" ]; diff --git a/lib/locales/fr_CH/phone_number/index.js b/lib/locales/fr_CH/phone_number/index.js index 36b6b18a..6fa921e5 100644 --- a/lib/locales/fr_CH/phone_number/index.js +++ b/lib/locales/fr_CH/phone_number/index.js @@ -1,3 +1,3 @@ -const phone_number = {}; -module['exports'] = phone_number; -phone_number.formats = require("./formats"); +module.exports = { + formats: require("./formats") +}; diff --git a/lib/locales/ge/address/index.js b/lib/locales/ge/address/index.js index ce42e698..175f8f1b 100644 --- a/lib/locales/ge/address/index.js +++ b/lib/locales/ge/address/index.js @@ -1,15 +1,15 @@ -const address = {}; -module['exports'] = address; -address.city_prefix = require("./city_prefix"); -address.city_suffix = require("./city_suffix"); -address.city = require("./city"); -address.country = require("./country"); -address.building_number = require("./building_number"); -address.street_suffix = require("./street_suffix"); -address.secondary_address = require("./secondary_address"); -address.postcode = require("./postcode"); -address.city_name = require("./city_name"); -address.street_title = require("./street_title"); -address.street_name = require("./street_name"); -address.street_address = require("./street_address"); -address.default_country = require("./default_country"); +module.exports = { + city_prefix: require("./city_prefix"), + city_suffix: require("./city_suffix"), + city: require("./city"), + country: require("./country"), + building_number: require("./building_number"), + street_suffix: require("./street_suffix"), + secondary_address: require("./secondary_address"), + postcode: require("./postcode"), + city_name: require("./city_name"), + street_title: require("./street_title"), + street_name: require("./street_name"), + street_address: require("./street_address"), + default_country: require("./default_country") +}; diff --git a/lib/locales/ge/cell_phone/index.js b/lib/locales/ge/cell_phone/index.js index 1f65f965..6fa921e5 100644 --- a/lib/locales/ge/cell_phone/index.js +++ b/lib/locales/ge/cell_phone/index.js @@ -1,3 +1,3 @@ -const cell_phone = {}; -module['exports'] = cell_phone; -cell_phone.formats = require("./formats"); +module.exports = { + formats: require("./formats") +}; diff --git a/lib/locales/ge/company/index.js b/lib/locales/ge/company/index.js index 2d142169..d54eba6c 100644 --- a/lib/locales/ge/company/index.js +++ b/lib/locales/ge/company/index.js @@ -1,5 +1,5 @@ -const company = {}; -module['exports'] = company; -company.prefix = require("./prefix"); -company.suffix = require("./suffix"); -company.name = require("./name"); +module.exports = { + prefix: require("./prefix"), + suffix: require("./suffix"), + name: require("./name") +}; diff --git a/lib/locales/ge/index.js b/lib/locales/ge/index.js index 1f13f714..ffc5db76 100644 --- a/lib/locales/ge/index.js +++ b/lib/locales/ge/index.js @@ -1,10 +1,10 @@ -const ge = {}; -module['exports'] = ge; -ge.title = "Georgian"; -ge.separator = " და "; -ge.name = require("./name"); -ge.address = require("./address"); -ge.internet = require("./internet"); -ge.company = require("./company"); -ge.phone_number = require("./phone_number"); -ge.cell_phone = require("./cell_phone"); +module.exports = { + title: "Georgian", + separator: " და ", + name: require("./name"), + address: require("./address"), + internet: require("./internet"), + company: require("./company"), + phone_number: require("./phone_number"), + cell_phone: require("./cell_phone") +}; diff --git a/lib/locales/ge/internet/index.js b/lib/locales/ge/internet/index.js index c95143c1..3da76a8f 100644 --- a/lib/locales/ge/internet/index.js +++ b/lib/locales/ge/internet/index.js @@ -1,4 +1,4 @@ -const internet = {}; -module['exports'] = internet; -internet.free_email = require("./free_email"); -internet.domain_suffix = require("./domain_suffix"); +module.exports = { + free_email: require("./free_email"), + domain_suffix: require("./domain_suffix") +}; diff --git a/lib/locales/ge/name/index.js b/lib/locales/ge/name/index.js index f94a9ecc..a2c8634e 100644 --- a/lib/locales/ge/name/index.js +++ b/lib/locales/ge/name/index.js @@ -1,7 +1,7 @@ -const name = {}; -module['exports'] = name; -name.first_name = require("./first_name"); -name.last_name = require("./last_name"); -name.prefix = require("./prefix"); -name.title = require("./title"); -name.name = require("./name"); +module.exports = { + first_name: require("./first_name"), + last_name: require("./last_name"), + prefix: require("./prefix"), + title: require("./title"), + name: require("./name") +}; diff --git a/lib/locales/ge/phone_number/index.js b/lib/locales/ge/phone_number/index.js index 36b6b18a..6fa921e5 100644 --- a/lib/locales/ge/phone_number/index.js +++ b/lib/locales/ge/phone_number/index.js @@ -1,3 +1,3 @@ -const phone_number = {}; -module['exports'] = phone_number; -phone_number.formats = require("./formats"); +module.exports = { + formats: require("./formats") +}; diff --git a/lib/locales/he/address/country.js b/lib/locales/he/address/country.js index 137bfa2c..2af9f372 100644 --- a/lib/locales/he/address/country.js +++ b/lib/locales/he/address/country.js @@ -1,177 +1,177 @@ module.exports = [ "אוגנדה", -"אוזבקיסטאן", -"אוסטריה", -"אוסטרליה", -"אוקראינה", -"אורוגואי", -"אזרביג'אן", -"איטליה", -"איי הבהאמס", -"איי מרשל", -"איי סיישל", -"איי קוק", -"איי שלמה", -"איסלנד", -"איראן", -"אירלנד", -"אל סלבדור", -"אלבניה", -"אנגולה", -"אנדורה", -"אנטיגואהברבודה", -"אסוואטיני", -"אסטוניה", -"אקוואדור", -"ארגנטינה", -"אריתריאה", -"ארמניה", -"ארצות הברית", -"אתיופיה", -"בולגריה", -"בוליביה", -"בוסניה הרצגובינה", -"בורונדי", -"בורקינה פסו", -"בחריין", -"בלארוס", -"בלגיה", -"בליז", -"בנין", -"ברבדוס", -"ברזיל", -"בריטניה", -"ג'מאיקה", -"גאבון", -"גאנה", -"גואטמלה", -"גויאנה", -"גיאורגיה", -"גינאה", -"גינאה המשוונית", -"גינאהביסאו", -"גמביה", -"גרמניה", -"גרנדה", -"דומיניקה", -"דנמרק", -"דרום אפריקה", -"דרום סודאן", -"האיטי", -"הודו", -"הולנד", -"הונגריה", -"הונדורס", -"הרפובליקה הדומיניקנית", -"הרפובליקה הדמוקרטית של קונגו", -"ואטיקאןהכס הקדוש", -"ויטנאם", -"ונואטו", -"ונצואלה", -"זימבאבווה", -"זמביה", -"חוף השנהב (קוט דיוואר)", -"טג'קיסטאן", -"טובלו", -"טוגו", -"טונגה", -"טייואן", -"טנזניה", -"טרינידד וטובגו", -"יוון", -"יפן", -"ירדן", -"לאוס רפובליקה דמוקרטית עממית", -"לבנון", -"לוקסמבורג", -"לטביה", -"ליבריה", -"ליטא", -"ליכטנשטיין", -"לסוטו", -"מאוריטניה", -"מאוריציוס", -"מאלי", -"מאע׳׳מ אמירויות ערביות מאוחדות", -"מדגסקר", -"מוזמביק", -"מולדובה", -"מונגוליה", -"מונטנגרו", -"מונקו", -"מזרח טימור", -"מיאנמר", -"מיקרונזיה", -"מכסיקו", -"מלאווי", -"מלטה", -"מצרים", -"מקדוניה", -"מרוקו", -"נאורו", -"נורבגיה", -"ניגריה", -"ניו זילנד", -"ניז'ר", -"ניקרגואה", -"נמיביה", -"נפאל", -"סאו תומה ופרינציפה", -"סורינם", -"סט' וינסנט והגרנדינים", -"סט' לוציה", -"סט' קיטס ונביס", -"סיירה ליאונה", -"סין", -"סינגפור", -"סלובניה", -"סלובקיה", -"סמואה", -"סן מרינו", -"סנגל", -"ספרד", -"סרביה", -"סרי לנקה", -"עומאן", -"פולין", -"פורטוגל", -"פיג'י", -"פיליפינים", -"פינלנד", -"פלאו", -"פנמה", -"פפואה ניו גיני", -"פרגוואי", -"פרו", -"צ'אד", -"צ'ילה", -"צ'כיה", -"צרפת", -"קובה", -"קולומביה", -"קומורוס", -"קונגו", -"קוסטה ריקה", -"קוריאה", -"קזחסטאן", -"קטר", -"קייפ ורדה", -"קירגיסטאן", -"קיריבטי", -"קמבודיה", -"קמרון", -"קנדה", -"קניה", -"קפריסין", -"קרואטיה", -"רואנדה", -"רומניה", -"רוסיה", -"רפובליקה מרכז אפריקנית", -"שבדיה", -"שווייץ", -"תאילנד", -"תוניסיה", -"תורכיה", -"תורכמניסטאן" + "אוזבקיסטאן", + "אוסטריה", + "אוסטרליה", + "אוקראינה", + "אורוגואי", + "אזרביג'אן", + "איטליה", + "איי הבהאמס", + "איי מרשל", + "איי סיישל", + "איי קוק", + "איי שלמה", + "איסלנד", + "איראן", + "אירלנד", + "אל סלבדור", + "אלבניה", + "אנגולה", + "אנדורה", + "אנטיגואהברבודה", + "אסוואטיני", + "אסטוניה", + "אקוואדור", + "ארגנטינה", + "אריתריאה", + "ארמניה", + "ארצות הברית", + "אתיופיה", + "בולגריה", + "בוליביה", + "בוסניה הרצגובינה", + "בורונדי", + "בורקינה פסו", + "בחריין", + "בלארוס", + "בלגיה", + "בליז", + "בנין", + "ברבדוס", + "ברזיל", + "בריטניה", + "ג'מאיקה", + "גאבון", + "גאנה", + "גואטמלה", + "גויאנה", + "גיאורגיה", + "גינאה", + "גינאה המשוונית", + "גינאהביסאו", + "גמביה", + "גרמניה", + "גרנדה", + "דומיניקה", + "דנמרק", + "דרום אפריקה", + "דרום סודאן", + "האיטי", + "הודו", + "הולנד", + "הונגריה", + "הונדורס", + "הרפובליקה הדומיניקנית", + "הרפובליקה הדמוקרטית של קונגו", + "ואטיקאןהכס הקדוש", + "ויטנאם", + "ונואטו", + "ונצואלה", + "זימבאבווה", + "זמביה", + "חוף השנהב (קוט דיוואר)", + "טג'קיסטאן", + "טובלו", + "טוגו", + "טונגה", + "טייואן", + "טנזניה", + "טרינידד וטובגו", + "יוון", + "יפן", + "ירדן", + "לאוס רפובליקה דמוקרטית עממית", + "לבנון", + "לוקסמבורג", + "לטביה", + "ליבריה", + "ליטא", + "ליכטנשטיין", + "לסוטו", + "מאוריטניה", + "מאוריציוס", + "מאלי", + "מאע׳׳מ אמירויות ערביות מאוחדות", + "מדגסקר", + "מוזמביק", + "מולדובה", + "מונגוליה", + "מונטנגרו", + "מונקו", + "מזרח טימור", + "מיאנמר", + "מיקרונזיה", + "מכסיקו", + "מלאווי", + "מלטה", + "מצרים", + "מקדוניה", + "מרוקו", + "נאורו", + "נורבגיה", + "ניגריה", + "ניו זילנד", + "ניז'ר", + "ניקרגואה", + "נמיביה", + "נפאל", + "סאו תומה ופרינציפה", + "סורינם", + "סט' וינסנט והגרנדינים", + "סט' לוציה", + "סט' קיטס ונביס", + "סיירה ליאונה", + "סין", + "סינגפור", + "סלובניה", + "סלובקיה", + "סמואה", + "סן מרינו", + "סנגל", + "ספרד", + "סרביה", + "סרי לנקה", + "עומאן", + "פולין", + "פורטוגל", + "פיג'י", + "פיליפינים", + "פינלנד", + "פלאו", + "פנמה", + "פפואה ניו גיני", + "פרגוואי", + "פרו", + "צ'אד", + "צ'ילה", + "צ'כיה", + "צרפת", + "קובה", + "קולומביה", + "קומורוס", + "קונגו", + "קוסטה ריקה", + "קוריאה", + "קזחסטאן", + "קטר", + "קייפ ורדה", + "קירגיסטאן", + "קיריבטי", + "קמבודיה", + "קמרון", + "קנדה", + "קניה", + "קפריסין", + "קרואטיה", + "רואנדה", + "רומניה", + "רוסיה", + "רפובליקה מרכז אפריקנית", + "שבדיה", + "שווייץ", + "תאילנד", + "תוניסיה", + "תורכיה", + "תורכמניסטאן" ]; diff --git a/lib/locales/he/address/country_code_alpha_3.js b/lib/locales/he/address/country_code_alpha_3.js index 12b867b5..227b06e8 100644 --- a/lib/locales/he/address/country_code_alpha_3.js +++ b/lib/locales/he/address/country_code_alpha_3.js @@ -1,252 +1,252 @@ module.exports = [ - "BGD", - "BEL", - "BFA", - "BGR", - "BIH", - "BRB", - "WLF", - "BLM", - "BMU", - "BRN", - "BOL", - "BHR", - "BDI", - "BEN", - "BTN", - "JAM", - "BVT", - "BWA", - "WSM", - "BES", - "BRA", - "BHS", - "JEY", - "BLR", - "BLZ", - "RUS", - "RWA", - "SRB", - "TLS", - "REU", - "TKM", - "TJK", - "ROU", - "TKL", - "GNB", - "GUM", - "GTM", - "SGS", - "GRC", - "GNQ", - "GLP", - "JPN", - "GUY", - "GGY", - "GUF", - "GEO", - "GRD", - "GBR", - "GAB", - "SLV", - "GIN", - "GMB", - "GRL", - "GIB", - "GHA", - "OMN", - "TUN", - "JOR", - "HRV", - "HTI", - "HUN", - "HKG", - "HND", - "HMD", - "VEN", - "PRI", - "PSE", - "PLW", - "PRT", - "SJM", - "PRY", - "IRQ", - "PAN", - "PYF", - "PNG", - "PER", - "PAK", - "PHL", - "PCN", - "POL", - "SPM", - "ZMB", - "ESH", - "EST", - "EGY", - "ZAF", - "ECU", - "ITA", - "VNM", - "SLB", - "ETH", - "SOM", - "ZWE", - "SAU", - "ESP", - "ERI", - "MNE", - "MDA", - "MDG", - "MAF", - "MAR", - "MCO", - "UZB", - "MMR", - "MLI", - "MAC", - "MNG", - "MHL", - "MKD", - "MUS", - "MLT", - "MWI", - "MDV", - "MTQ", - "MNP", - "MSR", - "MRT", - "IMN", - "UGA", - "TZA", - "MYS", - "MEX", - "ISR", - "FRA", - "IOT", - "SHN", - "FIN", - "FJI", - "FLK", - "FSM", - "FRO", - "NIC", - "NLD", - "NOR", - "NAM", - "VUT", - "NCL", - "NER", - "NFK", - "NGA", - "NZL", - "NPL", - "NRU", - "NIU", - "COK", - "XKX", - "CIV", - "CHE", - "COL", - "CHN", - "CMR", - "CHL", - "CCK", - "CAN", - "COG", - "CAF", - "COD", - "CZE", - "CYP", - "CXR", - "CRI", - "CUW", - "CPV", - "CUB", - "SWZ", - "SYR", - "SXM", - "KGZ", - "KEN", - "SSD", - "SUR", - "KIR", - "KHM", - "KNA", - "COM", - "STP", - "SVK", - "KOR", - "SVN", - "PRK", - "KWT", - "SEN", - "SMR", - "SLE", - "SYC", - "KAZ", - "CYM", - "SGP", - "SWE", - "SDN", - "DOM", - "DMA", - "DJI", - "DNK", - "VGB", - "DEU", - "YEM", - "DZA", - "USA", - "URY", - "MYT", - "UMI", - "LBN", - "LCA", - "LAO", - "TUV", - "TWN", - "TTO", - "TUR", - "LKA", - "LIE", - "LVA", - "TON", - "LTU", - "LUX", - "LBR", - "LSO", - "THA", - "ATF", - "TGO", - "TCD", - "TCA", - "LBY", - "VAT", - "VCT", - "ARE", - "AND", - "ATG", - "AFG", - "AIA", - "VIR", - "ISL", - "IRN", - "ARM", - "ALB", - "AGO", - "ATA", - "ASM", - "ARG", - "AUS", - "AUT", - "ABW", - "IND", - "ALA", - "AZE", - "IRL", - "IDN", - "UKR", - "QAT", - "MOZ" -]; \ No newline at end of file + "BGD", + "BEL", + "BFA", + "BGR", + "BIH", + "BRB", + "WLF", + "BLM", + "BMU", + "BRN", + "BOL", + "BHR", + "BDI", + "BEN", + "BTN", + "JAM", + "BVT", + "BWA", + "WSM", + "BES", + "BRA", + "BHS", + "JEY", + "BLR", + "BLZ", + "RUS", + "RWA", + "SRB", + "TLS", + "REU", + "TKM", + "TJK", + "ROU", + "TKL", + "GNB", + "GUM", + "GTM", + "SGS", + "GRC", + "GNQ", + "GLP", + "JPN", + "GUY", + "GGY", + "GUF", + "GEO", + "GRD", + "GBR", + "GAB", + "SLV", + "GIN", + "GMB", + "GRL", + "GIB", + "GHA", + "OMN", + "TUN", + "JOR", + "HRV", + "HTI", + "HUN", + "HKG", + "HND", + "HMD", + "VEN", + "PRI", + "PSE", + "PLW", + "PRT", + "SJM", + "PRY", + "IRQ", + "PAN", + "PYF", + "PNG", + "PER", + "PAK", + "PHL", + "PCN", + "POL", + "SPM", + "ZMB", + "ESH", + "EST", + "EGY", + "ZAF", + "ECU", + "ITA", + "VNM", + "SLB", + "ETH", + "SOM", + "ZWE", + "SAU", + "ESP", + "ERI", + "MNE", + "MDA", + "MDG", + "MAF", + "MAR", + "MCO", + "UZB", + "MMR", + "MLI", + "MAC", + "MNG", + "MHL", + "MKD", + "MUS", + "MLT", + "MWI", + "MDV", + "MTQ", + "MNP", + "MSR", + "MRT", + "IMN", + "UGA", + "TZA", + "MYS", + "MEX", + "ISR", + "FRA", + "IOT", + "SHN", + "FIN", + "FJI", + "FLK", + "FSM", + "FRO", + "NIC", + "NLD", + "NOR", + "NAM", + "VUT", + "NCL", + "NER", + "NFK", + "NGA", + "NZL", + "NPL", + "NRU", + "NIU", + "COK", + "XKX", + "CIV", + "CHE", + "COL", + "CHN", + "CMR", + "CHL", + "CCK", + "CAN", + "COG", + "CAF", + "COD", + "CZE", + "CYP", + "CXR", + "CRI", + "CUW", + "CPV", + "CUB", + "SWZ", + "SYR", + "SXM", + "KGZ", + "KEN", + "SSD", + "SUR", + "KIR", + "KHM", + "KNA", + "COM", + "STP", + "SVK", + "KOR", + "SVN", + "PRK", + "KWT", + "SEN", + "SMR", + "SLE", + "SYC", + "KAZ", + "CYM", + "SGP", + "SWE", + "SDN", + "DOM", + "DMA", + "DJI", + "DNK", + "VGB", + "DEU", + "YEM", + "DZA", + "USA", + "URY", + "MYT", + "UMI", + "LBN", + "LCA", + "LAO", + "TUV", + "TWN", + "TTO", + "TUR", + "LKA", + "LIE", + "LVA", + "TON", + "LTU", + "LUX", + "LBR", + "LSO", + "THA", + "ATF", + "TGO", + "TCD", + "TCA", + "LBY", + "VAT", + "VCT", + "ARE", + "AND", + "ATG", + "AFG", + "AIA", + "VIR", + "ISL", + "IRN", + "ARM", + "ALB", + "AGO", + "ATA", + "ASM", + "ARG", + "AUS", + "AUT", + "ABW", + "IND", + "ALA", + "AZE", + "IRL", + "IDN", + "UKR", + "QAT", + "MOZ" +]; diff --git a/lib/locales/he/address/index.js b/lib/locales/he/address/index.js index 4c0b955e..0ada1f8c 100644 --- a/lib/locales/he/address/index.js +++ b/lib/locales/he/address/index.js @@ -1,22 +1,22 @@ -const address = {}; -module['exports'] = address; -address.city_prefix = require("./city_prefix"); -address.city_suffix = require("./city_suffix"); -address.county = require("./county"); -address.country = require("./country"); -address.country_code = require("./country_code"); -address.country_code_alpha_3 = require("./country_code_alpha_3"); -address.building_number = require("./building_number"); -address.street_suffix = require("./street_suffix"); -address.secondary_address = require("./secondary_address"); -address.postcode = require("./postcode"); -address.postcode_by_state = require("./postcode_by_state"); -address.state = require("./state"); -address.state_abbr = require("./state_abbr"); -address.time_zone = require("./time_zone"); -address.city = require("./city"); -address.street_name = require("./street_name"); -address.street_address = require("./street_address"); -address.default_country = require("./default_country"); -address.direction = require("./direction"); -address.direction_abbr = require("./direction_abbr"); +module.exports = { + city_prefix: require("./city_prefix"), + city_suffix: require("./city_suffix"), + county: require("./county"), + country: require("./country"), + country_code: require("./country_code"), + country_code_alpha_3: require("./country_code_alpha_3"), + building_number: require("./building_number"), + street_suffix: require("./street_suffix"), + secondary_address: require("./secondary_address"), + postcode: require("./postcode"), + postcode_by_state: require("./postcode_by_state"), + state: require("./state"), + state_abbr: require("./state_abbr"), + time_zone: require("./time_zone"), + city: require("./city"), + street_name: require("./street_name"), + street_address: require("./street_address"), + default_country: require("./default_country"), + direction: require("./direction"), + direction_abbr: require("./direction_abbr") +}; diff --git a/lib/locales/he/cell_phone/index.js b/lib/locales/he/cell_phone/index.js index 1f65f965..6fa921e5 100644 --- a/lib/locales/he/cell_phone/index.js +++ b/lib/locales/he/cell_phone/index.js @@ -1,3 +1,3 @@ -const cell_phone = {}; -module['exports'] = cell_phone; -cell_phone.formats = require("./formats"); +module.exports = { + formats: require("./formats") +}; diff --git a/lib/locales/he/commerce/index.js b/lib/locales/he/commerce/index.js index ac1d8e5c..fb833daf 100644 --- a/lib/locales/he/commerce/index.js +++ b/lib/locales/he/commerce/index.js @@ -1,6 +1,6 @@ -const commerce = {}; -module['exports'] = commerce; -commerce.color = require("./color"); -commerce.department = require("./department"); -commerce.product_name = require("./product_name"); -commerce.product_description = require("./product_description"); +module.exports = { + color: require("./color"), + department: require("./department"), + product_name: require("./product_name"), + product_description: require("./product_description") +}; diff --git a/lib/locales/he/commerce/product_description.js b/lib/locales/he/commerce/product_description.js index f24fce0d..4115fbf4 100644 --- a/lib/locales/he/commerce/product_description.js +++ b/lib/locales/he/commerce/product_description.js @@ -11,4 +11,4 @@ module.exports = [ "מגוון חדש של חולצות רשמיות מעוצבות תוך התחשבות בך. עם התאמות ועיצוב שיגרמו לך להתבלט", "המגוון היפה של תפוח נטורל שיש בו שילוב מרגש של מרכיבים טבעיים. עם הטוב של 100% מרכיבים טבעיים", "נעלי אנדי נועדו לזכור עמידות כמו גם טרנדים, מגוון הנעליים והסנדלים המסוגננים ביותר" -]; \ No newline at end of file +]; diff --git a/lib/locales/he/index.js b/lib/locales/he/index.js index 25aa5c6e..79825ac0 100644 --- a/lib/locales/he/index.js +++ b/lib/locales/he/index.js @@ -1,22 +1,12 @@ -const he = {}; -module['exports'] = he; -he.title = "Hebrew"; -he.separator = "ו "; -he.address = require("./address"); -// he.company = require("./company"); -// he.internet = require("./internet"); -// he.database = require("./database"); -he.lorem = require("./lorem"); -he.name = require("./name"); -he.phone_number = require("./phone_number"); -he.cell_phone = require("./cell_phone"); -// he.business = require("./business"); -he.commerce = require("./commerce"); -// he.team = require("./team"); -// he.hacker = require("./hacker"); -// he.app = require("./app"); -// he.finance = require("./finance"); -he.date = require("./date"); -// he.system = require("./system"); -// he.vehicle = require("./vehicle"); -he.music = require("./music"); +module.exports = { + title: "Hebrew", + separator: "ו ", + address: require("./address"), + lorem: require("./lorem"), + name: require("./name"), + phone_number: require("./phone_number"), + cell_phone: require("./cell_phone"), + commerce: require("./commerce"), + date: require("./date"), + music: require("./music") +}; diff --git a/lib/locales/he/lorem/index.js b/lib/locales/he/lorem/index.js index 82b2e52a..28940b0d 100644 --- a/lib/locales/he/lorem/index.js +++ b/lib/locales/he/lorem/index.js @@ -1,4 +1,4 @@ -const lorem = {}; -module['exports'] = lorem; -lorem.words = require("./words"); -lorem.supplemental = require("./supplemental"); +module.exports = { + words: require("./words"), + supplemental: require("./supplemental") +}; diff --git a/lib/locales/he/lorem/words.js b/lib/locales/he/lorem/words.js index 11ebdfb4..d8fa2473 100644 --- a/lib/locales/he/lorem/words.js +++ b/lib/locales/he/lorem/words.js @@ -1,225 +1,225 @@ module.exports = [ -"לורם", -"איפסום", -"דולור", -"סיט", -"אמט", -"קונסקטורר", -"אדיפיסינג", -"אלית", -"צש", -"בליא", -"מנסוטו", -"צמלח", -"לביקו", -"ננבי", -"צמוקו", -"בלוקריה", -"שיצמה", -"ברורק", -"נולום", -"ארווס", -"סאפיאן", -"פוסיליס", -"קוויס", -"אקווזמן", -"קוואזי", -"במר", -"מודוף", -"אודיפו", -"בלאסטיק", -"מונופץ", -"קליר", -"בנפת", -"נפקט", -"למסון", -"בלרק", -"וענוף", -"קוואזי", -"במר", -"מודוף", -"אודיפו", -"בלאסטיק", -"מונופץ", -"קליר", -"בנפת", -"נפקט", -"למסון", -"בלרק", -"וענוף", -"לפרומי", -"בלוף", -"קינץ", -"תתיח", -"לרעח", -"לת", -"צשחמי", -"צש", -"בליא", -"מנסוטו", -"צמלח", -"לביקו", -"ננבי", -"צמוקו", -"בלוקריה", -"שיצמה", -"ברורק", -"סחטיר", -"בלובק", -"תצטנפל", -"בלינדו", -"למרקל", -"אס", -"לכימפו", -"דול", -"צוט", -"ומעיוט", -"לפתיעם", -"ברשג", -"ולתיעם", -"גדדיש", -"קוויז", -"דומור", -"ליאמום", -"בלינך", -"רוגצה", -"לפמעט", -"מוסן", -"מנת", -"הועניב", -"היושבב", -"שערש", -"שמחויט", -"שלושע", -"ותלברו", -"חשלו", -"שעותלשך", -"וחאית", -"נובש", -"ערששף", -"זותה", -"מנק", -"הבקיץ", -"אפאח", -"דלאמת", -"יבש", -"כאנה", -"ניצאחו", -"נמרגי", -"שהכים", -"תוק", -"הדש", -"שנרא", -"התידם", -"הכייר", -"וק", -"קולהע", -"צופעט", -"למרקוח", -"איבן", -"איף", -"ברומץ", -"כלרשט", -"מיחוצים", -"קלאצי", -"סחטיר", -"בלובק", -"תצטנפל", -"בלינדו", -"למרקל", -"אס", -"לכימפו", -"דול", -"צוט", -"ומעיוט", -"", -"לפתיעם", -"ברשג", -"", -"ולתיעם", -"גדדיש", -"קוויז", -"דומור", -"ליאמום", -"בלינך", -"רוגצה", -"לפמעט", -"נולום", -"ארווס", -"סאפיאן", -"", -"פוסיליס", -"קוויס", -"אקווזמן", -"קוואזי", -"במר", -"מודוף", -"אודיפו", -"בלאסטיק", -"מונופץ", -"קליר", -"בנפת", -"נפקט", -"למסון", -"בלרק", -"", -"וענוף", -"לפרומי", -"בלוף", -"קינץ", -"תתיח", -"לרעח", -"לת", -"צשחמי", -"נולום", -"ארווס", -"סאפיאן", -"", -"פוסיליס", -"קוויס", -"אקווזמן", -"לורם", -"איפסום", -"דולור", -"סיט", -"אמט", -"לורם", -"איפסום", -"דולור", -"סיט", -"אמט", -"קונסקטורר", -"אדיפיסינג", -"אלית", -"סת", -"אלמנקום", -"ניסי", -"נון", -"ניבאה", -"דס", -"איאקוליס", -"וולופטה", -"דיאם", -"וסטיבולום", -"אט", -"דולור", -"קראס", -"אגת", -"לקטוס", -"וואל", -"אאוגו", -"וסטיבולום", -"סוליסי", -"טידום", -"בעליק", -"קונדימנטום", -"קורוס", -"בליקרה", -"נונסטי", -"קלובר", -"בריקנה", -"סטום", -"לפריקך", -"תצטריק", -"לרטי" + "לורם", + "איפסום", + "דולור", + "סיט", + "אמט", + "קונסקטורר", + "אדיפיסינג", + "אלית", + "צש", + "בליא", + "מנסוטו", + "צמלח", + "לביקו", + "ננבי", + "צמוקו", + "בלוקריה", + "שיצמה", + "ברורק", + "נולום", + "ארווס", + "סאפיאן", + "פוסיליס", + "קוויס", + "אקווזמן", + "קוואזי", + "במר", + "מודוף", + "אודיפו", + "בלאסטיק", + "מונופץ", + "קליר", + "בנפת", + "נפקט", + "למסון", + "בלרק", + "וענוף", + "קוואזי", + "במר", + "מודוף", + "אודיפו", + "בלאסטיק", + "מונופץ", + "קליר", + "בנפת", + "נפקט", + "למסון", + "בלרק", + "וענוף", + "לפרומי", + "בלוף", + "קינץ", + "תתיח", + "לרעח", + "לת", + "צשחמי", + "צש", + "בליא", + "מנסוטו", + "צמלח", + "לביקו", + "ננבי", + "צמוקו", + "בלוקריה", + "שיצמה", + "ברורק", + "סחטיר", + "בלובק", + "תצטנפל", + "בלינדו", + "למרקל", + "אס", + "לכימפו", + "דול", + "צוט", + "ומעיוט", + "לפתיעם", + "ברשג", + "ולתיעם", + "גדדיש", + "קוויז", + "דומור", + "ליאמום", + "בלינך", + "רוגצה", + "לפמעט", + "מוסן", + "מנת", + "הועניב", + "היושבב", + "שערש", + "שמחויט", + "שלושע", + "ותלברו", + "חשלו", + "שעותלשך", + "וחאית", + "נובש", + "ערששף", + "זותה", + "מנק", + "הבקיץ", + "אפאח", + "דלאמת", + "יבש", + "כאנה", + "ניצאחו", + "נמרגי", + "שהכים", + "תוק", + "הדש", + "שנרא", + "התידם", + "הכייר", + "וק", + "קולהע", + "צופעט", + "למרקוח", + "איבן", + "איף", + "ברומץ", + "כלרשט", + "מיחוצים", + "קלאצי", + "סחטיר", + "בלובק", + "תצטנפל", + "בלינדו", + "למרקל", + "אס", + "לכימפו", + "דול", + "צוט", + "ומעיוט", + "", + "לפתיעם", + "ברשג", + "", + "ולתיעם", + "גדדיש", + "קוויז", + "דומור", + "ליאמום", + "בלינך", + "רוגצה", + "לפמעט", + "נולום", + "ארווס", + "סאפיאן", + "", + "פוסיליס", + "קוויס", + "אקווזמן", + "קוואזי", + "במר", + "מודוף", + "אודיפו", + "בלאסטיק", + "מונופץ", + "קליר", + "בנפת", + "נפקט", + "למסון", + "בלרק", + "", + "וענוף", + "לפרומי", + "בלוף", + "קינץ", + "תתיח", + "לרעח", + "לת", + "צשחמי", + "נולום", + "ארווס", + "סאפיאן", + "", + "פוסיליס", + "קוויס", + "אקווזמן", + "לורם", + "איפסום", + "דולור", + "סיט", + "אמט", + "לורם", + "איפסום", + "דולור", + "סיט", + "אמט", + "קונסקטורר", + "אדיפיסינג", + "אלית", + "סת", + "אלמנקום", + "ניסי", + "נון", + "ניבאה", + "דס", + "איאקוליס", + "וולופטה", + "דיאם", + "וסטיבולום", + "אט", + "דולור", + "קראס", + "אגת", + "לקטוס", + "וואל", + "אאוגו", + "וסטיבולום", + "סוליסי", + "טידום", + "בעליק", + "קונדימנטום", + "קורוס", + "בליקרה", + "נונסטי", + "קלובר", + "בריקנה", + "סטום", + "לפריקך", + "תצטריק", + "לרטי" ]; diff --git a/lib/locales/he/music/genre.js b/lib/locales/he/music/genre.js index 412289c1..17826c01 100644 --- a/lib/locales/he/music/genre.js +++ b/lib/locales/he/music/genre.js @@ -1,20 +1,20 @@ module.exports = [ - "רוק", - "רוק מטאלי", - "פופ", - "אלקטרוני", - "עממית", - "עולם", - "קאנטרי", - "ג'אז", - "פאנק", - "נשמה", - "היפ הופ", - "קלאסית", - "לטינית", - "רגאיי", - "במה ומסך", - "בלוז", - "לא מוסיקה", - "ראפ" + "רוק", + "רוק מטאלי", + "פופ", + "אלקטרוני", + "עממית", + "עולם", + "קאנטרי", + "ג'אז", + "פאנק", + "נשמה", + "היפ הופ", + "קלאסית", + "לטינית", + "רגאיי", + "במה ומסך", + "בלוז", + "לא מוסיקה", + "ראפ" ]; diff --git a/lib/locales/he/music/index.js b/lib/locales/he/music/index.js index 6c5f2f65..213f46a5 100644 --- a/lib/locales/he/music/index.js +++ b/lib/locales/he/music/index.js @@ -1,3 +1,3 @@ -const music = {}; -module['exports'] = music; -music.genre = require("./genre"); +module.exports = { + genre: require("./genre") +}; diff --git a/lib/locales/he/name/female_first_name.js b/lib/locales/he/name/female_first_name.js index 96e766e2..d08c1b0f 100644 --- a/lib/locales/he/name/female_first_name.js +++ b/lib/locales/he/name/female_first_name.js @@ -1,340 +1,340 @@ module.exports = [ - "אביב", - "אביבית", - "אביגיל", - "אביה", - "אביטל", - "אבישג", - "אגם", - "אדווה", - "אדל", - "אדר", - "אהבה", - "אודיה", - "אודליה", - "אווה", - "אופיר", - "אופירה", - "אופל", - "אופק", - "אור", - "אביגיל", - "אורטל", - "אורי", - "אוריה", - "אורית", - "אורלי", - "אושרי", - "איב", - "איה", - "איילה", - "איילת", - "אילנה", - "אילנית", - "אימרי", - "אירית", - "אלה", - "אלומה", - "אליאנה", - "אליה", - "אלין", - "אלינור", - "אליענה", - "אלירז", - "אלישבע", - "אלכס", - "אלמוג", - "אמונה", - "אמור", - "אן", - "אנאבל", - "אנה", - "אסיף", - "אסנת", - "אסתר", - "אפיק", - "אפריל", - "אפרת", - "אראלה", - "ארבל", - "אריאל", - "אריאלה", - "אריאנה", - "ארייה", - "בארי", - "בל", - "בלה", - "בר", - "ברית", - "ברקת", - "בת", - "בת אל", - "בת חן", - "בת שבע", - "בתיה", - "גאיה", - "גבריאל", - "גבריאלה", - "גוון", - "ג'וי", - "ג'ון", - "גוני", - "גורן", - "גיל", - "גילי", - "גילת", - "גל", - "גלי", - "גליה", - "גלית", - "גפן", - "דבורה", - "דגן", - "דגנית", - "דור", - "דורון", - "דורין", - "דורית", - "דיאנה", - "דינה", - "דליה", - "דנה", - "דניאל", - "דניאלה", - "דנית", - "דפנה", - "דקל", - "דקלה", - "הגר", - "הדס", - "הדסה", - "הדר", - "הודיה", - "הילה", - "הלל", - "ויויאן", - "ויטה", - "ויקטוריה", - "ורד", - "זהבה", - "זוהר", - "זיו", - "חגית", - "חושן", - "חיננית", - "חירות", - "חמוטל", - "חן", - "חנה", - "חנית", - "טובה", - "טופז", - "טל", - "טלי", - "טליה", - "טנא", - "יהב", - "יהודית", - "יהל", - "יהלום", - "יהלי", - "יובל", - "יודפת", - "יוכבד", - "יוליה", - "יונית", - "יונת", - "ים", - "ימית", - "יסכה", - "יסמין", - "יעל", - "יעלה", - "יערה", - "יפה", - "יפית", - "יפעת", - "ירדן", - "כוכב", - "כליל", - "כרם", - "כרמי", - "כרמית", - "כרמל", - "לאה", - "לבנה", - "לוטם", - "לוטן", - "לוסי", - "לי", - "ליאור", - "ליאורה", - "ליאל", - "ליאם", - "ליאן", - "ליאת", - "ליב", - "ליבי", - "לידור", - "ליה", - "ליהיא", - "ליזה", - "ליטל", - "לילי", - "ליליה", - "לילך", - "לימור", - "ליעד", - "ליר", - "לירון", - "לירז", - "לירן", - "לשם", - "מאור", - "מאי", - "מאיה", - "מגי", - "מגל", - "מור", - "מוריה", - "מורן", - "מיה", - "מיטב", - "מיטל", - "מיכאל", - "מיכאלה", - "מיכל", - "מיקה", - "מירן", - "מלכה", - "מעיין", - "מצדה", - "מרב", - "מריה", - "מרים", - "מרינה", - "מתנה", - "מתת", - "נאוה", - "נגה", - "נוי", - "נויה", - "נועה", - "נועם", - "נופר", - "נורית", - "נטלי", - "נטע", - "נטעלי", - "ניב", - "נילי", - "נינט", - "ניצן", - "נעמה", - "נעמי", - "נרי", - "נריה", - "סביון", - "סהר", - "סול", - "סופיה", - "סיגלית", - "סיון", - "סמדר", - "ספיר", - "סשה", - "סתיו", - "עדי", - "עדן", - "עדנה", - "עומר", - "עופרי", - "עיינה", - "עינב", - "עינת", - "עלמא", - "עלמה", - "עמית", - "עמליה", - "עמנואל", - "ענבל", - "ענבר", - "ענהאל", - "ענת", - "עפרה", - "ערגה", - "פלג", - "צאלה", - "צוף", - "צופיה", - "צליל", - "צמרת", - "קורין", - "קורל", - "קטיה", - "קליה", - "קמה", - "קסם", - "קסניה", - "קרן", - "קשת", - "רביד", - "רבקה", - "רויטל", - "רוית", - "רומי", - "רון", - "רונהלי", - "רוני", - "רונית", - "רות", - "רותם", - "רז", - "רחל", - "ריטה", - "רימון", - "רינת", - "רננה", - "רעות", - "שגב", - "שגית", - "שובל", - "שוהם", - "שולמית", - "שונית", - "שושנה", - "שחף", - "שחר", - "שי", - "שי לי", - "שיר", - "שיראל", - "שירה", - "שירז", - "שירי", - "שלהבת", - "שלומית", - "שלי", - "שמחה", - "שמרית", - "שני", - "שקד", - "שקמה", - "שרה", - "שרון", - "שרית", - "תאיר", - "תאנה", - "תבור", - "תהילה", - "תו", - "תום", - "תומר", - "תכלת", - "תלמה", - "תמר", - "תמרה", - "תפארת", - "תקווה" + "אביב", + "אביבית", + "אביגיל", + "אביה", + "אביטל", + "אבישג", + "אגם", + "אדווה", + "אדל", + "אדר", + "אהבה", + "אודיה", + "אודליה", + "אווה", + "אופיר", + "אופירה", + "אופל", + "אופק", + "אור", + "אביגיל", + "אורטל", + "אורי", + "אוריה", + "אורית", + "אורלי", + "אושרי", + "איב", + "איה", + "איילה", + "איילת", + "אילנה", + "אילנית", + "אימרי", + "אירית", + "אלה", + "אלומה", + "אליאנה", + "אליה", + "אלין", + "אלינור", + "אליענה", + "אלירז", + "אלישבע", + "אלכס", + "אלמוג", + "אמונה", + "אמור", + "אן", + "אנאבל", + "אנה", + "אסיף", + "אסנת", + "אסתר", + "אפיק", + "אפריל", + "אפרת", + "אראלה", + "ארבל", + "אריאל", + "אריאלה", + "אריאנה", + "ארייה", + "בארי", + "בל", + "בלה", + "בר", + "ברית", + "ברקת", + "בת", + "בת אל", + "בת חן", + "בת שבע", + "בתיה", + "גאיה", + "גבריאל", + "גבריאלה", + "גוון", + "ג'וי", + "ג'ון", + "גוני", + "גורן", + "גיל", + "גילי", + "גילת", + "גל", + "גלי", + "גליה", + "גלית", + "גפן", + "דבורה", + "דגן", + "דגנית", + "דור", + "דורון", + "דורין", + "דורית", + "דיאנה", + "דינה", + "דליה", + "דנה", + "דניאל", + "דניאלה", + "דנית", + "דפנה", + "דקל", + "דקלה", + "הגר", + "הדס", + "הדסה", + "הדר", + "הודיה", + "הילה", + "הלל", + "ויויאן", + "ויטה", + "ויקטוריה", + "ורד", + "זהבה", + "זוהר", + "זיו", + "חגית", + "חושן", + "חיננית", + "חירות", + "חמוטל", + "חן", + "חנה", + "חנית", + "טובה", + "טופז", + "טל", + "טלי", + "טליה", + "טנא", + "יהב", + "יהודית", + "יהל", + "יהלום", + "יהלי", + "יובל", + "יודפת", + "יוכבד", + "יוליה", + "יונית", + "יונת", + "ים", + "ימית", + "יסכה", + "יסמין", + "יעל", + "יעלה", + "יערה", + "יפה", + "יפית", + "יפעת", + "ירדן", + "כוכב", + "כליל", + "כרם", + "כרמי", + "כרמית", + "כרמל", + "לאה", + "לבנה", + "לוטם", + "לוטן", + "לוסי", + "לי", + "ליאור", + "ליאורה", + "ליאל", + "ליאם", + "ליאן", + "ליאת", + "ליב", + "ליבי", + "לידור", + "ליה", + "ליהיא", + "ליזה", + "ליטל", + "לילי", + "ליליה", + "לילך", + "לימור", + "ליעד", + "ליר", + "לירון", + "לירז", + "לירן", + "לשם", + "מאור", + "מאי", + "מאיה", + "מגי", + "מגל", + "מור", + "מוריה", + "מורן", + "מיה", + "מיטב", + "מיטל", + "מיכאל", + "מיכאלה", + "מיכל", + "מיקה", + "מירן", + "מלכה", + "מעיין", + "מצדה", + "מרב", + "מריה", + "מרים", + "מרינה", + "מתנה", + "מתת", + "נאוה", + "נגה", + "נוי", + "נויה", + "נועה", + "נועם", + "נופר", + "נורית", + "נטלי", + "נטע", + "נטעלי", + "ניב", + "נילי", + "נינט", + "ניצן", + "נעמה", + "נעמי", + "נרי", + "נריה", + "סביון", + "סהר", + "סול", + "סופיה", + "סיגלית", + "סיון", + "סמדר", + "ספיר", + "סשה", + "סתיו", + "עדי", + "עדן", + "עדנה", + "עומר", + "עופרי", + "עיינה", + "עינב", + "עינת", + "עלמא", + "עלמה", + "עמית", + "עמליה", + "עמנואל", + "ענבל", + "ענבר", + "ענהאל", + "ענת", + "עפרה", + "ערגה", + "פלג", + "צאלה", + "צוף", + "צופיה", + "צליל", + "צמרת", + "קורין", + "קורל", + "קטיה", + "קליה", + "קמה", + "קסם", + "קסניה", + "קרן", + "קשת", + "רביד", + "רבקה", + "רויטל", + "רוית", + "רומי", + "רון", + "רונהלי", + "רוני", + "רונית", + "רות", + "רותם", + "רז", + "רחל", + "ריטה", + "רימון", + "רינת", + "רננה", + "רעות", + "שגב", + "שגית", + "שובל", + "שוהם", + "שולמית", + "שונית", + "שושנה", + "שחף", + "שחר", + "שי", + "שי לי", + "שיר", + "שיראל", + "שירה", + "שירז", + "שירי", + "שלהבת", + "שלומית", + "שלי", + "שמחה", + "שמרית", + "שני", + "שקד", + "שקמה", + "שרה", + "שרון", + "שרית", + "תאיר", + "תאנה", + "תבור", + "תהילה", + "תו", + "תום", + "תומר", + "תכלת", + "תלמה", + "תמר", + "תמרה", + "תפארת", + "תקווה" - ]; \ No newline at end of file +]; diff --git a/lib/locales/he/name/gender.js b/lib/locales/he/name/gender.js index 1b8f0322..34ff6c1f 100644 --- a/lib/locales/he/name/gender.js +++ b/lib/locales/he/name/gender.js @@ -1,73 +1,73 @@ module.exports = [ -"Asexual", -"Female to male trans man", -"Female to male transgender man", -"Female to male transsexual man", -"F2M", -"Gender neutral", -"Hermaphrodite", -"Intersex man", -"Intersex person", -"Intersex woman", -"Male to female trans woman", -"Male to female transgender woman", -"Male to female transsexual woman", -"Man", -"M2F", -"Polygender", -"T* man", -"T* woman", -"Two* person", -"Two-spirit person", -"Woman", -"Agender", -"Androgyne", -"Androgynes", -"Androgynous", -"Bigender", -"Cis", -"Cis Female", -"Cis Male", -"Cis Man", -"Cis Woman", -"Cisgender", -"Cisgender Female", -"Cisgender Male", -"Cisgender Man", -"Cisgender Woman", -"Female to Male", -"FTM", -"Gender Fluid", -"Gender Nonconforming", -"Gender Questioning", -"Gender Variant", -"Genderqueer", -"Intersex", -"Male to Female", -"MTF", -"Neither", -"Neutrois", -"Non-binary", -"Other", -"Pangender", -"Trans", -"Trans Female", -"Trans Male", -"Trans Man", -"Trans Person", -"Trans*Female", -"Trans*Male", -"Trans*Man", -"Trans*Person", -"Trans*Woman", -"Transexual", -"Transexual Female", -"Transexual Male", -"Transexual Man", -"Transexual Person", -"Transexual Woman", -"Transgender Female", -"Transgender Person", -"Transmasculine", -"Two-spirit" + "Asexual", + "Female to male trans man", + "Female to male transgender man", + "Female to male transsexual man", + "F2M", + "Gender neutral", + "Hermaphrodite", + "Intersex man", + "Intersex person", + "Intersex woman", + "Male to female trans woman", + "Male to female transgender woman", + "Male to female transsexual woman", + "Man", + "M2F", + "Polygender", + "T* man", + "T* woman", + "Two* person", + "Two-spirit person", + "Woman", + "Agender", + "Androgyne", + "Androgynes", + "Androgynous", + "Bigender", + "Cis", + "Cis Female", + "Cis Male", + "Cis Man", + "Cis Woman", + "Cisgender", + "Cisgender Female", + "Cisgender Male", + "Cisgender Man", + "Cisgender Woman", + "Female to Male", + "FTM", + "Gender Fluid", + "Gender Nonconforming", + "Gender Questioning", + "Gender Variant", + "Genderqueer", + "Intersex", + "Male to Female", + "MTF", + "Neither", + "Neutrois", + "Non-binary", + "Other", + "Pangender", + "Trans", + "Trans Female", + "Trans Male", + "Trans Man", + "Trans Person", + "Trans*Female", + "Trans*Male", + "Trans*Man", + "Trans*Person", + "Trans*Woman", + "Transexual", + "Transexual Female", + "Transexual Male", + "Transexual Man", + "Transexual Person", + "Transexual Woman", + "Transgender Female", + "Transgender Person", + "Transmasculine", + "Two-spirit" ]; diff --git a/lib/locales/he/name/index.js b/lib/locales/he/name/index.js index 4a659f42..e89d1fd4 100644 --- a/lib/locales/he/name/index.js +++ b/lib/locales/he/name/index.js @@ -1,11 +1,11 @@ -const name = {}; -module['exports'] = name; -name.male_first_name = require("./male_first_name"); -name.female_first_name = require("./female_first_name"); -name.first_name = require("./first_name"); -name.last_name = require("./last_name"); -name.gender = require("./gender"); -name.prefix = require("./prefix"); -name.suffix = require("./suffix"); -name.title = require("./title"); -name.name = require("./name"); \ No newline at end of file +module.exports = { + male_first_name: require("./male_first_name"), + female_first_name: require("./female_first_name"), + first_name: require("./first_name"), + last_name: require("./last_name"), + gender: require("./gender"), + prefix: require("./prefix"), + suffix: require("./suffix"), + title: require("./title"), + name: require("./name") +}; diff --git a/lib/locales/he/name/last_name.js b/lib/locales/he/name/last_name.js index 05a1a85c..51e16444 100644 --- a/lib/locales/he/name/last_name.js +++ b/lib/locales/he/name/last_name.js @@ -1,761 +1,761 @@ module.exports = [ "עברות", -"אביב", -"אביבי", -"אביגור", -"אבידור", -"אבידן", -"אביטל", -"אבינועם", -"אבינר", -"אבינרי", -"אביעד", -"אביעזר", -"אבירם", -"אבישי", -"אבישר", -"אביתר", -"אבן", -"אבן זהב", -"אבן חן", -"אבן צור", -"אבן שושן", -"אבנון", -"אבני", -"אבניאל", -"אבנר", -"אבנרי", -"אברהם", -"אברהמי", -"אברון", -"אבריאל", -"אגוז", -"אגוזי", -"אגמון", -"אגרון", -"אדוני", -"אדיב", -"אדירי", -"אדם", -"אדמון", -"אדמוני", -"אדר", -"אהרוני", -"אהרן", -"אוהד", -"און", -"אופיר", -"אופק", -"אור", -"אורון", -"אוריאל", -"אוריה", -"אוריון", -"אוריין", -"אורן", -"אזרחי", -"אחז", -"אחיטוב", -"אחרון", -"אייל", -"איילון", -"אילון", -"אילן", -"אילני", -"אילת", -"איש כסית", -"איששלום", -"איתם", -"איתן", -"אלדד", -"אלדד", -"אלדן", -"אלול", -"אלון", -"אלוני", -"אלוף", -"אלחנני", -"אליאב", -"אליהו", -"אליעז", -"אליעזר", -"אליצור", -"אליקים", -"אלישיב", -"אלמגור", -"אלמוג", -"אלעד", -"אלעזר", -"אלרום", -"אלרון", -"אמיר", -"אמית", -"אמיתי", -"אנקורי", -"אסא", -"אסיא", -"אסיף", -"אסף", -"אפעל", -"אפק", -"אפרת", -"אראל", -"ארבל", -"ארגוב", -"ארגמן", -"ארד", -"ארדון", -"ארוך", -"ארז", -"ארזי", -"אריאב", -"אריאל", -"אריאלי", -"ארידור", -"אריה", -"אריכא", -"ארם", -"ארמוני", -"ארנון", -"ארצי", -"אשבל", -"אשד", -"אשור", -"אשכול", -"אשכנזי", -"אשל", -"אשר", -"אשרי", -"אשרת", -"אתגר", -"אתר", -"אתרוג", -"ב׳׳ק", -"באב׳׳ד", -"באר", -"בארי", -"בבלי", -"בהט", -"בוצר", -"בורר", -"בחור", -"ביצור", -"בית הלחמי", -"בית יוסף", -"בית לחם", -"בכור", -"בן", -"בן אברהם", -"בן אליעזר", -"בן אמוץ", -"בן ארי", -"בן אריה", -"בן ארצי", -"בן אשר", -"בן ברוך", -"בן ברק", -"בן גל", -"בן גרא", -"בן דב", -"בן דוד", -"בן דור", -"בן דיין", -"בן זאב", -"בן זכאי", -"בן זקן", -"בן חור", -"בן חיים", -"בן חנן", -"בן חנניה", -"בן יהודה", -"בן יעקב", -"בן יצחק", -"בן ישי", -"בן ישראל", -"בן מלך", -"בן מנחם", -"בן נון", -"בן נחום", -"בן נר", -"בן נתן", -"בן עמי", -"בן ענת", -"בן פורת", -"בן צבי", -"בן צור", -"בן ציון", -"בן ראובן", -"בן שאול", -"בן שחר", -"בן שלום", -"בן שמחון", -"בן שמעון", -"בןגוריון", -"בןחורין", -"בןמאיר", -"בןסירה", -"בןתור", -"בנאי", -"משפחת בנאי", -"בנטוב", -"בנימין", -"בנימיני", -"בצלאל", -"בר", -"בר אור", -"בר גיורא", -"בר זוהר", -"בר יהודה", -"בר יעקב", -"בר נתן", -"בר שלום", -"בראון", -"בראילן", -"ברהלל", -"בריוסף", -"ברלב", -"ברעוז", -"בראל", -"ברוך", -"ברוש", -"ברושי", -"ברזילי", -"ברזל", -"ברטוב", -"ברטל", -"ברנע", -"ברעם", -"ברק", -"ברקאי", -"ברקין", -"ברקן", -"ברקת", -"בשן", -"גאון", -"גבאי", -"גביש", -"גבע", -"גבעול", -"גבעון", -"גבעתי", -"גבתון", -"גד", -"גדות", -"גדיש", -"גדליה", -"גדרון", -"גודר", -"גולן", -"גונן", -"גופר", -"גור אריה", -"גוריון", -"גורלי", -"גורן", -"גושן", -"גזית", -"גיא", -"גידור", -"גיל", -"גילון", -"גילת", -"גינוסר", -"גינת", -"גינתון", -"גל", -"גלבוע", -"גליל", -"גלילי", -"גלעד", -"גלעדי", -"גלרון", -"גמזו", -"גמליאל", -"גנור", -"גפן", -"גפני", -"גרא", -"גרינבלט", -"גרנות", -"גרשון", -"גת", -"דביר", -"דברת", -"דגן", -"דגני", -"דוד", -"דוידי", -"דולב", -"דור", -"דורי", -"דותן", -"דן", -"דניאלי", -"דקל", -"דר", -"דרומי", -"דרור", -"דרורי", -"דשא", -"הדס", -"הדר", -"הלוי", -"הללי", -"המאירי", -"הנגבי", -"העצני", -"הר נוי", -"הר שפי", -"הראבן", -"הראבן", -"הראובני", -"הראל", -"הרטוב", -"הרפז", -"הררי", -"הללי", -"המאירי", -"הנגבי", -"העצני", -"הר נוי", -"הר שפי", -"הראבן", -"הראבן", -"הראובני", -"הראל", -"הרטוב", -"הרפז", -"הררי", -"וילנאי", -"ורד", -"ורדי", -"ורדימון", -"זזאב", -"זאבי", -"זבולון", -"זהבי", -"זוהר", -"זורע", -"זיו", -"זיואב", -"זכאי", -"זכות", -"זכריה", -"זמורה", -"זמיר", -"זמר", -"זמרי", -"זעירא", -"זק", -"זק׳׳ש", -"זר", -"זר", -"זרובבל", -"זרטל", -"חדש", -"חובה", -"חורש", -"חזן", -"חזני", -"חזקיה", -"חי", -"חייט", -"חיים", -"חכם", -"חלד", -"חלמיש", -"חן", -"חנוך", -"חנוכה", -"חנני", -"חסון", -"חסיד", -"חפץ", -"חפר", -"חץ", -"חצור", -"חצרוני", -"חרובי", -"חרותי", -"חריף", -"חרל׳׳פ", -"חרמון", -"חרמוני", -"חת", -"טבת", -"טוביה", -"טלמור", -"טלשיר", -"יאיר", -"יבין", -"יגור", -"ידיד", -"ידין", -"ידעיה", -"יהב", -"יהודאי", -"יהודה", -"יהושע", -"יהלום", -"יובל", -"יוגב", -"יוטבת", -"יונה", -"יוסף", -"יושע", -"יחזקאל", -"יחיאל", -"יכין", -"ימיני", -"ינון", -"יניב", -"יעקבי", -"יער", -"יערי", -"יפה", -"יפרח", -"יפת", -"יצחק", -"יצחקי", -"יקיר", -"ירדני", -"ירוחם", -"ירום", -"ירון", -"ירושלמי", -"יריב", -"ירקוני", -"ישורון", -"ישי", -"ישר", -"ישראל", -"ישראלי", -"יששכר", -"כהן", -"משפחות כהן", -"משפחת כהןסקלי", -"כוכבי", -"כנען", -"כנעני", -"כנר", -"כספי", -"כפיר", -"כפרי", -"כרמון", -"כרמי", -"כרמל", -"כרמלי", -"לאור", -"לב", -"לב ארי", -"לבבי", -"לביא", -"לבנון", -"לבני", -"לבנת", -"להב", -"להבי", -"לוטם", -"לוטן", -"לוי (יהדות)", -"לוי (שם משפחה)", -"לוי נחום", -"לויתן", -"לחמן", -"ליאור", -"לידור", -"ליטאי", -"לימור", -"ליש", -"לשם", -"מאור", -"מאיר", -"מאירי", -"מגד", -"מגל", -"מואב", -"מוקד", -"מוקדי", -"מורג", -"מוריה", -"מורשת", -"מזא׳׳ה", -"מזור", -"מזל", -"מזר", -"מאיר מיבר", -"מיכה", -"מילוא", -"מישורי", -"מלכה", -"מלכי", -"מלמד", -"מנור", -"מנחם", -"מנשה", -"מעוז", -"מעיין", -"מעייני", -"מערבי", -"מרגליות", -"מרגלית", -"מרגנית", -"מרום", -"מרון", -"מרידור", -"משה", -"משולח", -"משיח", -"משעול", -"משעל", -"משען", -"משעני", -"מתניה", -"מתתיהו", -"נאור", -"נאמן", -"נבון", -"נגבי", -"נוב", -"נווה", -"נוימרק", -"נועם", -"נוריאל", -"נחום", -"נחושתן", -"נחשון", -"ניב", -"ניסני", -"ניצן", -"נמרי", -"נסים", -"נץ", -"נריה", -"נשר", -"נשרי", -"נתיב", -"נתן", -"נתנאל", -"נתניהו", -"סבוראי", -"סביר", -"סגל", -"סדן", -"סהר", -"סופר", -"סימן טוב", -"סיני", -"סכנין", -"סלע", -"סמדר", -"סנונית", -"סעד", -"סער", -"ספיר", -"סתוי", -"סתיו", -"עברון", -"עברי", -"עדיני", -"עדר", -"עובד", -"עובדיה", -"עובדיהו", -"עוגן", -"עוז", -"עוזר", -"עומר", -"עופר", -"עופרים", -"עזוז", -"עזריאל", -"עזריה", -"עזרתי", -"עידן", -"עילם", -"עינב", -"עמוס", -"עמיאל", -"עמיקם", -"עמיר", -"עמירן", -"עמית", -"עמרמי", -"ענבל", -"ענבר", -"עסיס", -"עפרת", -"עצמון", -"ערד", -"ערמון", -"ערן", -"עשת", -"פאר", -"פדהצור", -"פולני", -"פורת", -"פז", -"פלאי", -"פלד", -"פלס", -"פניני", -"פסח", -"פרג", -"פרוש", -"פרח", -"פרי", -"פריגת", -"פרימור", -"פרץ", -"פת", -"צבר", -"צדוק", -"צדקה", -"צדקיהו", -"צוק", -"צור", -"צורי", -"צוריאל", -"צורף", -"צידון", -"צמח", -"צפיר", -"צפריר", -"קדמון", -"קדמי", -"קדר", -"קדרון", -"קהת", -"קורח", -"קורן", -"קטן", -"קידר", -"קינן", -"קיסרי", -"קישון", -"קם", -"קמה", -"קמחי", -"קנר", -"קנת", -"קצב", -"קצין", -"קציר", -"קשת", -"קשתי", -"ראובני", -"רבי", -"רביב", -"רביד", -"רגב", -"רהב", -"רוגל", -"רווה", -"רווח", -"רוח", -"רום", -"רועה", -"רז", -"רזיאל", -"רחמים", -"רכס", -"רם", -"רמון", -"רמז", -"רמתי", -"רן", -"רענן", -"רשף", -"שאול", -"שאולי", -"שאלתיאל", -"שבח", -"שביב", -"שבת", -"שבתאי", -"שבתי", -"שגב", -"שגיא", -"שדה", -"שדר", -"שוב", -"שובל", -"שוהם", -"שוחט", -"שומרון", -"שוער", -"שופט", -"שור", -"שורק", -"שושן", -"שושני", -"שחור", -"שחורי", -"שחל", -"שחם", -"שחף", -"שחק", -"שחר", -"שילה", -"שילוח", -"שילון", -"שילוני", -"שיר", -"שיש", -"שלג", -"שלו", -"שלום", -"שלומי", -"שלח", -"שלם", -"שלמון", -"שם אור", -"שםטוב", -"שמואל", -"שמואלי", -"שמחון", -"שמחוני", -"שמחי", -"שמעון", -"שמרון", -"שמש (שם משפחה)", -"שמשון", -"שמשוני", -"שמשי", -"שנהר", -"שני", -"שנער", -"שער", -"שפיר", -"שפע", -"שץ", -"שקד", -"שקדי", -"שקלים", -"שרביט", -"שרון", -"שרוני", -"שריג", -"שריד", -"שריף", -"שריר", -"ששון", -"תאומים", -"תאני", -"תבור", -"תבורי", -"תגר", -"תדמור", -"תומר", -"תורן", -"תירוש", -"תל צור", -"תלם", -"תמוז", -"תמיר", -"תמרי", -"תקווה", -"תקוע", -"תרשיש", -"תשבי" + "אביב", + "אביבי", + "אביגור", + "אבידור", + "אבידן", + "אביטל", + "אבינועם", + "אבינר", + "אבינרי", + "אביעד", + "אביעזר", + "אבירם", + "אבישי", + "אבישר", + "אביתר", + "אבן", + "אבן זהב", + "אבן חן", + "אבן צור", + "אבן שושן", + "אבנון", + "אבני", + "אבניאל", + "אבנר", + "אבנרי", + "אברהם", + "אברהמי", + "אברון", + "אבריאל", + "אגוז", + "אגוזי", + "אגמון", + "אגרון", + "אדוני", + "אדיב", + "אדירי", + "אדם", + "אדמון", + "אדמוני", + "אדר", + "אהרוני", + "אהרן", + "אוהד", + "און", + "אופיר", + "אופק", + "אור", + "אורון", + "אוריאל", + "אוריה", + "אוריון", + "אוריין", + "אורן", + "אזרחי", + "אחז", + "אחיטוב", + "אחרון", + "אייל", + "איילון", + "אילון", + "אילן", + "אילני", + "אילת", + "איש כסית", + "איששלום", + "איתם", + "איתן", + "אלדד", + "אלדד", + "אלדן", + "אלול", + "אלון", + "אלוני", + "אלוף", + "אלחנני", + "אליאב", + "אליהו", + "אליעז", + "אליעזר", + "אליצור", + "אליקים", + "אלישיב", + "אלמגור", + "אלמוג", + "אלעד", + "אלעזר", + "אלרום", + "אלרון", + "אמיר", + "אמית", + "אמיתי", + "אנקורי", + "אסא", + "אסיא", + "אסיף", + "אסף", + "אפעל", + "אפק", + "אפרת", + "אראל", + "ארבל", + "ארגוב", + "ארגמן", + "ארד", + "ארדון", + "ארוך", + "ארז", + "ארזי", + "אריאב", + "אריאל", + "אריאלי", + "ארידור", + "אריה", + "אריכא", + "ארם", + "ארמוני", + "ארנון", + "ארצי", + "אשבל", + "אשד", + "אשור", + "אשכול", + "אשכנזי", + "אשל", + "אשר", + "אשרי", + "אשרת", + "אתגר", + "אתר", + "אתרוג", + "ב׳׳ק", + "באב׳׳ד", + "באר", + "בארי", + "בבלי", + "בהט", + "בוצר", + "בורר", + "בחור", + "ביצור", + "בית הלחמי", + "בית יוסף", + "בית לחם", + "בכור", + "בן", + "בן אברהם", + "בן אליעזר", + "בן אמוץ", + "בן ארי", + "בן אריה", + "בן ארצי", + "בן אשר", + "בן ברוך", + "בן ברק", + "בן גל", + "בן גרא", + "בן דב", + "בן דוד", + "בן דור", + "בן דיין", + "בן זאב", + "בן זכאי", + "בן זקן", + "בן חור", + "בן חיים", + "בן חנן", + "בן חנניה", + "בן יהודה", + "בן יעקב", + "בן יצחק", + "בן ישי", + "בן ישראל", + "בן מלך", + "בן מנחם", + "בן נון", + "בן נחום", + "בן נר", + "בן נתן", + "בן עמי", + "בן ענת", + "בן פורת", + "בן צבי", + "בן צור", + "בן ציון", + "בן ראובן", + "בן שאול", + "בן שחר", + "בן שלום", + "בן שמחון", + "בן שמעון", + "בןגוריון", + "בןחורין", + "בןמאיר", + "בןסירה", + "בןתור", + "בנאי", + "משפחת בנאי", + "בנטוב", + "בנימין", + "בנימיני", + "בצלאל", + "בר", + "בר אור", + "בר גיורא", + "בר זוהר", + "בר יהודה", + "בר יעקב", + "בר נתן", + "בר שלום", + "בראון", + "בראילן", + "ברהלל", + "בריוסף", + "ברלב", + "ברעוז", + "בראל", + "ברוך", + "ברוש", + "ברושי", + "ברזילי", + "ברזל", + "ברטוב", + "ברטל", + "ברנע", + "ברעם", + "ברק", + "ברקאי", + "ברקין", + "ברקן", + "ברקת", + "בשן", + "גאון", + "גבאי", + "גביש", + "גבע", + "גבעול", + "גבעון", + "גבעתי", + "גבתון", + "גד", + "גדות", + "גדיש", + "גדליה", + "גדרון", + "גודר", + "גולן", + "גונן", + "גופר", + "גור אריה", + "גוריון", + "גורלי", + "גורן", + "גושן", + "גזית", + "גיא", + "גידור", + "גיל", + "גילון", + "גילת", + "גינוסר", + "גינת", + "גינתון", + "גל", + "גלבוע", + "גליל", + "גלילי", + "גלעד", + "גלעדי", + "גלרון", + "גמזו", + "גמליאל", + "גנור", + "גפן", + "גפני", + "גרא", + "גרינבלט", + "גרנות", + "גרשון", + "גת", + "דביר", + "דברת", + "דגן", + "דגני", + "דוד", + "דוידי", + "דולב", + "דור", + "דורי", + "דותן", + "דן", + "דניאלי", + "דקל", + "דר", + "דרומי", + "דרור", + "דרורי", + "דשא", + "הדס", + "הדר", + "הלוי", + "הללי", + "המאירי", + "הנגבי", + "העצני", + "הר נוי", + "הר שפי", + "הראבן", + "הראבן", + "הראובני", + "הראל", + "הרטוב", + "הרפז", + "הררי", + "הללי", + "המאירי", + "הנגבי", + "העצני", + "הר נוי", + "הר שפי", + "הראבן", + "הראבן", + "הראובני", + "הראל", + "הרטוב", + "הרפז", + "הררי", + "וילנאי", + "ורד", + "ורדי", + "ורדימון", + "זזאב", + "זאבי", + "זבולון", + "זהבי", + "זוהר", + "זורע", + "זיו", + "זיואב", + "זכאי", + "זכות", + "זכריה", + "זמורה", + "זמיר", + "זמר", + "זמרי", + "זעירא", + "זק", + "זק׳׳ש", + "זר", + "זר", + "זרובבל", + "זרטל", + "חדש", + "חובה", + "חורש", + "חזן", + "חזני", + "חזקיה", + "חי", + "חייט", + "חיים", + "חכם", + "חלד", + "חלמיש", + "חן", + "חנוך", + "חנוכה", + "חנני", + "חסון", + "חסיד", + "חפץ", + "חפר", + "חץ", + "חצור", + "חצרוני", + "חרובי", + "חרותי", + "חריף", + "חרל׳׳פ", + "חרמון", + "חרמוני", + "חת", + "טבת", + "טוביה", + "טלמור", + "טלשיר", + "יאיר", + "יבין", + "יגור", + "ידיד", + "ידין", + "ידעיה", + "יהב", + "יהודאי", + "יהודה", + "יהושע", + "יהלום", + "יובל", + "יוגב", + "יוטבת", + "יונה", + "יוסף", + "יושע", + "יחזקאל", + "יחיאל", + "יכין", + "ימיני", + "ינון", + "יניב", + "יעקבי", + "יער", + "יערי", + "יפה", + "יפרח", + "יפת", + "יצחק", + "יצחקי", + "יקיר", + "ירדני", + "ירוחם", + "ירום", + "ירון", + "ירושלמי", + "יריב", + "ירקוני", + "ישורון", + "ישי", + "ישר", + "ישראל", + "ישראלי", + "יששכר", + "כהן", + "משפחות כהן", + "משפחת כהןסקלי", + "כוכבי", + "כנען", + "כנעני", + "כנר", + "כספי", + "כפיר", + "כפרי", + "כרמון", + "כרמי", + "כרמל", + "כרמלי", + "לאור", + "לב", + "לב ארי", + "לבבי", + "לביא", + "לבנון", + "לבני", + "לבנת", + "להב", + "להבי", + "לוטם", + "לוטן", + "לוי (יהדות)", + "לוי (שם משפחה)", + "לוי נחום", + "לויתן", + "לחמן", + "ליאור", + "לידור", + "ליטאי", + "לימור", + "ליש", + "לשם", + "מאור", + "מאיר", + "מאירי", + "מגד", + "מגל", + "מואב", + "מוקד", + "מוקדי", + "מורג", + "מוריה", + "מורשת", + "מזא׳׳ה", + "מזור", + "מזל", + "מזר", + "מאיר מיבר", + "מיכה", + "מילוא", + "מישורי", + "מלכה", + "מלכי", + "מלמד", + "מנור", + "מנחם", + "מנשה", + "מעוז", + "מעיין", + "מעייני", + "מערבי", + "מרגליות", + "מרגלית", + "מרגנית", + "מרום", + "מרון", + "מרידור", + "משה", + "משולח", + "משיח", + "משעול", + "משעל", + "משען", + "משעני", + "מתניה", + "מתתיהו", + "נאור", + "נאמן", + "נבון", + "נגבי", + "נוב", + "נווה", + "נוימרק", + "נועם", + "נוריאל", + "נחום", + "נחושתן", + "נחשון", + "ניב", + "ניסני", + "ניצן", + "נמרי", + "נסים", + "נץ", + "נריה", + "נשר", + "נשרי", + "נתיב", + "נתן", + "נתנאל", + "נתניהו", + "סבוראי", + "סביר", + "סגל", + "סדן", + "סהר", + "סופר", + "סימן טוב", + "סיני", + "סכנין", + "סלע", + "סמדר", + "סנונית", + "סעד", + "סער", + "ספיר", + "סתוי", + "סתיו", + "עברון", + "עברי", + "עדיני", + "עדר", + "עובד", + "עובדיה", + "עובדיהו", + "עוגן", + "עוז", + "עוזר", + "עומר", + "עופר", + "עופרים", + "עזוז", + "עזריאל", + "עזריה", + "עזרתי", + "עידן", + "עילם", + "עינב", + "עמוס", + "עמיאל", + "עמיקם", + "עמיר", + "עמירן", + "עמית", + "עמרמי", + "ענבל", + "ענבר", + "עסיס", + "עפרת", + "עצמון", + "ערד", + "ערמון", + "ערן", + "עשת", + "פאר", + "פדהצור", + "פולני", + "פורת", + "פז", + "פלאי", + "פלד", + "פלס", + "פניני", + "פסח", + "פרג", + "פרוש", + "פרח", + "פרי", + "פריגת", + "פרימור", + "פרץ", + "פת", + "צבר", + "צדוק", + "צדקה", + "צדקיהו", + "צוק", + "צור", + "צורי", + "צוריאל", + "צורף", + "צידון", + "צמח", + "צפיר", + "צפריר", + "קדמון", + "קדמי", + "קדר", + "קדרון", + "קהת", + "קורח", + "קורן", + "קטן", + "קידר", + "קינן", + "קיסרי", + "קישון", + "קם", + "קמה", + "קמחי", + "קנר", + "קנת", + "קצב", + "קצין", + "קציר", + "קשת", + "קשתי", + "ראובני", + "רבי", + "רביב", + "רביד", + "רגב", + "רהב", + "רוגל", + "רווה", + "רווח", + "רוח", + "רום", + "רועה", + "רז", + "רזיאל", + "רחמים", + "רכס", + "רם", + "רמון", + "רמז", + "רמתי", + "רן", + "רענן", + "רשף", + "שאול", + "שאולי", + "שאלתיאל", + "שבח", + "שביב", + "שבת", + "שבתאי", + "שבתי", + "שגב", + "שגיא", + "שדה", + "שדר", + "שוב", + "שובל", + "שוהם", + "שוחט", + "שומרון", + "שוער", + "שופט", + "שור", + "שורק", + "שושן", + "שושני", + "שחור", + "שחורי", + "שחל", + "שחם", + "שחף", + "שחק", + "שחר", + "שילה", + "שילוח", + "שילון", + "שילוני", + "שיר", + "שיש", + "שלג", + "שלו", + "שלום", + "שלומי", + "שלח", + "שלם", + "שלמון", + "שם אור", + "שםטוב", + "שמואל", + "שמואלי", + "שמחון", + "שמחוני", + "שמחי", + "שמעון", + "שמרון", + "שמש (שם משפחה)", + "שמשון", + "שמשוני", + "שמשי", + "שנהר", + "שני", + "שנער", + "שער", + "שפיר", + "שפע", + "שץ", + "שקד", + "שקדי", + "שקלים", + "שרביט", + "שרון", + "שרוני", + "שריג", + "שריד", + "שריף", + "שריר", + "ששון", + "תאומים", + "תאני", + "תבור", + "תבורי", + "תגר", + "תדמור", + "תומר", + "תורן", + "תירוש", + "תל צור", + "תלם", + "תמוז", + "תמיר", + "תמרי", + "תקווה", + "תקוע", + "תרשיש", + "תשבי" ]; diff --git a/lib/locales/he/name/male_first_name.js b/lib/locales/he/name/male_first_name.js index 85ae3e66..4e70b324 100644 --- a/lib/locales/he/name/male_first_name.js +++ b/lib/locales/he/name/male_first_name.js @@ -1,361 +1,361 @@ module.exports = [ - "אביאל", - "אביגדור", - "אביה", - "אביחי", - "אבינועם", - "אביעד", - "אבירם", - "אבירן", - "אבישי", - "אביתר", - "אברהם", - "אבשלום", - "אגם", - "אדיר", - "אדם", - "אדר", - "אהוד", - "אהרון", - "אוהד", - "אופיר", - "אופק", - "אור", - "אורי", - "אוריאל", - "אוריה", - "אורן", - "אושרי", - "אחיה", - "אייל", - "איל", - "אילון", - "אילן", - "אימרי", - "איתי", - "איתם", - "איתמר", - "איתן", - "אלדד", - "אלדר", - "אלון", - "אלחי", - "אלחנן", - "אליאב", - "אליאור", - "אליאס", - "אליה", - "אליהו", - "אלימלך", - "אליסף", - "אלירז", - "אלירן", - "אלישיב", - "אלישמע", - "אלישע", - "אלכס", - "אלכסנדר", - "אלמוג", - "אלעד", - "אלקנה", - "אלרועי", - "אמור", - "אמיר", - "אמיתי", - "אמנון", - "אסיף", - "אסף", - "אפיק", - "אפרים", - "אראל", - "ארבל", - "ארז", - "ארטיום", - "ארי", - "אריאל", - "אריה", - "ארנון", - "ארתור", - "אשד", - "אשל", - "אשר", - "בארי", - "בועז", - "בן אל", - "בן ציון", - "בניה", - "בנימין", - "בצלאל", - "בר", - "בראל", - "ברוך", - "ברי", - "ברק", - "גד", - "גדעון", - "גוון", - "ג'וי", - "גולן", - "ג'ון", - "גוני", - "גור", - "גורן", - "גיא", - "גיורא", - "גיל", - "גילי", - "גל", - "גלבוע", - "גלעד", - "גפן", - "דביר", - "דגן", - "דוד", - "דולב", - "דור", - "דורון", - "דן", - "דני", - "דניאל", - "דקל", - "דרור", - "הדר", - "הוד", - "הלל", - "הראל", - "ולדימיר", - "זאב", - "זבולון", - "זוהר", - "זיו", - "חביב", - "חגי", - "חושן", - "חי", - "חיים", - "חמי", - "חן", - "חנוך", - "חנן", - "חסד", - "טל", - "טנא", - "יאיר", - "יאן", - "יגאל", - "יגל", - "ידיד", - "ידידיה", - "יהב", - "יהודה", - "יהונתן", - "יהורם", - "יהושע", - "יהל", - "יהלום", - "יהלי", - "יואב", - "יואל", - "יובל", - "יוגב", - "יוחאי", - "יונתן", - "יוסף", - "יורם", - "יותם", - "יחזקאל", - "ים", - "ינון", - "יניב", - "יעקב", - "יפתח", - "יצחק", - "יקיר", - "ירדן", - "ירון", - "יריב", - "ישי", - "ישראל", - "יששכר", - "יאיר", - "יאן", - "יגאל", - "יגל", - "ידיד", - "ידידיה", - "יהב", - "יהודה", - "יהונתן", - "יהורם", - "יהושע", - "יהל", - "יהלום", - "יהלי", - "יואב", - "יואל", - "יובל", - "יוגב", - "יוחאי", - "יונתן", - "יוסף", - "יורם", - "יותם", - "יחזקאל", - "ים", - "ינון", - "יניב", - "יעקב", - "יפתח", - "יצחק", - "יקיר", - "ירדן", - "ירון", - "יריב", - "ישי", - "ישראל", - "יששכר", - "כוכב", - "כליל", - "כפיר", - "כרם", - "כרמי", - "כרמל", - "לב", - "לביא", - "לוטם", - "לוטן", - "לוי", - "לי", - "ליאון", - "ליאור", - "ליאל", - "ליאם", - "לידור", - "ליעד", - "ליר", - "לירוי", - "לירון", - "לירז", - "לירן", - "מאור", - "מאיר", - "מגל", - "מור", - "מורן", - "מיטב", - "מיכאל", - "מירן", - "מלאכי", - "מנחם", - "מנשה", - "מעיין", - "מרדכי", - "משה", - "מתן", - "נבו", - "נדב", - "נהוראי", - "נוב", - "נוי", - "נועם", - "נח", - "נחשון", - "נטע", - "ניב", - "ניסן", - "ניצן", - "ניקולס", - "ניר", - "ניתאי", - "נמרוד", - "נפתלי", - "נרי", - "נריה", - "נתיב", - "נתן", - "נתנאל", - "סביון", - "סהר", - "סול", - "סטפן", - "סיני", - "סער", - "סרגיי", - "סשה", - "סתיו", - "עברי", - "עדי", - "עדן", - "עודד", - "עוז", - "עוזיה", - "עומר", - "עומרי", - "עופר", - "עופרי", - "עידו", - "עידן", - "עילאי", - "עלי", - "עמוס", - "עמיחי", - "עמית", - "עמנואל", - "עקיבא", - "ערן", - "פלא", - "פלג", - "צבי", - "צדק", - "צוף", - "צוק", - "צור", - "צח", - "צחי", - "ציון", - "צליל", - "קסם", - "ראובן", - "ראם", - "רביב", - "רביד", - "רגב", - "רון", - "רוני", - "רועי", - "רותם", - "רז", - "ריי", - "רימון", - "רם", - "רן", - "רעי", - "רפאל", - "שאול", - "שגב", - "שגיא", - "שובל", - "שוהם", - "שחף", - "שחק", - "שחר", - "שי", - "שי לי", - "שילה", - "שיר", - "שלום", - "שלומי", - "שלמה", - "שמאי", - "שמואל", - "שמחה", - "שמעון", - "שקד", - "שרון", - "תבור", - "תו", - "תום", - "תומר", - "תיאו", - "תמיר" - ]; \ No newline at end of file + "אביאל", + "אביגדור", + "אביה", + "אביחי", + "אבינועם", + "אביעד", + "אבירם", + "אבירן", + "אבישי", + "אביתר", + "אברהם", + "אבשלום", + "אגם", + "אדיר", + "אדם", + "אדר", + "אהוד", + "אהרון", + "אוהד", + "אופיר", + "אופק", + "אור", + "אורי", + "אוריאל", + "אוריה", + "אורן", + "אושרי", + "אחיה", + "אייל", + "איל", + "אילון", + "אילן", + "אימרי", + "איתי", + "איתם", + "איתמר", + "איתן", + "אלדד", + "אלדר", + "אלון", + "אלחי", + "אלחנן", + "אליאב", + "אליאור", + "אליאס", + "אליה", + "אליהו", + "אלימלך", + "אליסף", + "אלירז", + "אלירן", + "אלישיב", + "אלישמע", + "אלישע", + "אלכס", + "אלכסנדר", + "אלמוג", + "אלעד", + "אלקנה", + "אלרועי", + "אמור", + "אמיר", + "אמיתי", + "אמנון", + "אסיף", + "אסף", + "אפיק", + "אפרים", + "אראל", + "ארבל", + "ארז", + "ארטיום", + "ארי", + "אריאל", + "אריה", + "ארנון", + "ארתור", + "אשד", + "אשל", + "אשר", + "בארי", + "בועז", + "בן אל", + "בן ציון", + "בניה", + "בנימין", + "בצלאל", + "בר", + "בראל", + "ברוך", + "ברי", + "ברק", + "גד", + "גדעון", + "גוון", + "ג'וי", + "גולן", + "ג'ון", + "גוני", + "גור", + "גורן", + "גיא", + "גיורא", + "גיל", + "גילי", + "גל", + "גלבוע", + "גלעד", + "גפן", + "דביר", + "דגן", + "דוד", + "דולב", + "דור", + "דורון", + "דן", + "דני", + "דניאל", + "דקל", + "דרור", + "הדר", + "הוד", + "הלל", + "הראל", + "ולדימיר", + "זאב", + "זבולון", + "זוהר", + "זיו", + "חביב", + "חגי", + "חושן", + "חי", + "חיים", + "חמי", + "חן", + "חנוך", + "חנן", + "חסד", + "טל", + "טנא", + "יאיר", + "יאן", + "יגאל", + "יגל", + "ידיד", + "ידידיה", + "יהב", + "יהודה", + "יהונתן", + "יהורם", + "יהושע", + "יהל", + "יהלום", + "יהלי", + "יואב", + "יואל", + "יובל", + "יוגב", + "יוחאי", + "יונתן", + "יוסף", + "יורם", + "יותם", + "יחזקאל", + "ים", + "ינון", + "יניב", + "יעקב", + "יפתח", + "יצחק", + "יקיר", + "ירדן", + "ירון", + "יריב", + "ישי", + "ישראל", + "יששכר", + "יאיר", + "יאן", + "יגאל", + "יגל", + "ידיד", + "ידידיה", + "יהב", + "יהודה", + "יהונתן", + "יהורם", + "יהושע", + "יהל", + "יהלום", + "יהלי", + "יואב", + "יואל", + "יובל", + "יוגב", + "יוחאי", + "יונתן", + "יוסף", + "יורם", + "יותם", + "יחזקאל", + "ים", + "ינון", + "יניב", + "יעקב", + "יפתח", + "יצחק", + "יקיר", + "ירדן", + "ירון", + "יריב", + "ישי", + "ישראל", + "יששכר", + "כוכב", + "כליל", + "כפיר", + "כרם", + "כרמי", + "כרמל", + "לב", + "לביא", + "לוטם", + "לוטן", + "לוי", + "לי", + "ליאון", + "ליאור", + "ליאל", + "ליאם", + "לידור", + "ליעד", + "ליר", + "לירוי", + "לירון", + "לירז", + "לירן", + "מאור", + "מאיר", + "מגל", + "מור", + "מורן", + "מיטב", + "מיכאל", + "מירן", + "מלאכי", + "מנחם", + "מנשה", + "מעיין", + "מרדכי", + "משה", + "מתן", + "נבו", + "נדב", + "נהוראי", + "נוב", + "נוי", + "נועם", + "נח", + "נחשון", + "נטע", + "ניב", + "ניסן", + "ניצן", + "ניקולס", + "ניר", + "ניתאי", + "נמרוד", + "נפתלי", + "נרי", + "נריה", + "נתיב", + "נתן", + "נתנאל", + "סביון", + "סהר", + "סול", + "סטפן", + "סיני", + "סער", + "סרגיי", + "סשה", + "סתיו", + "עברי", + "עדי", + "עדן", + "עודד", + "עוז", + "עוזיה", + "עומר", + "עומרי", + "עופר", + "עופרי", + "עידו", + "עידן", + "עילאי", + "עלי", + "עמוס", + "עמיחי", + "עמית", + "עמנואל", + "עקיבא", + "ערן", + "פלא", + "פלג", + "צבי", + "צדק", + "צוף", + "צוק", + "צור", + "צח", + "צחי", + "ציון", + "צליל", + "קסם", + "ראובן", + "ראם", + "רביב", + "רביד", + "רגב", + "רון", + "רוני", + "רועי", + "רותם", + "רז", + "ריי", + "רימון", + "רם", + "רן", + "רעי", + "רפאל", + "שאול", + "שגב", + "שגיא", + "שובל", + "שוהם", + "שחף", + "שחק", + "שחר", + "שי", + "שי לי", + "שילה", + "שיר", + "שלום", + "שלומי", + "שלמה", + "שמאי", + "שמואל", + "שמחה", + "שמעון", + "שקד", + "שרון", + "תבור", + "תו", + "תום", + "תומר", + "תיאו", + "תמיר" +]; diff --git a/lib/locales/he/phone_number/index.js b/lib/locales/he/phone_number/index.js index 36b6b18a..6fa921e5 100644 --- a/lib/locales/he/phone_number/index.js +++ b/lib/locales/he/phone_number/index.js @@ -1,3 +1,3 @@ -const phone_number = {}; -module['exports'] = phone_number; -phone_number.formats = require("./formats"); +module.exports = { + formats: require("./formats") +}; diff --git a/lib/locales/hr/address/city_name.js b/lib/locales/hr/address/city_name.js index 26f877fd..97215d01 100644 --- a/lib/locales/hr/address/city_name.js +++ b/lib/locales/hr/address/city_name.js @@ -1,4 +1,4 @@ -module['exports'] = [ +module.exports = [ 'Bakar', 'Beli Manastir', 'Belišće', diff --git a/lib/locales/hr/address/index.js b/lib/locales/hr/address/index.js index c389870f..037e2d07 100644 --- a/lib/locales/hr/address/index.js +++ b/lib/locales/hr/address/index.js @@ -1,13 +1,13 @@ -const address = {}; -module['exports'] = address; -address.country = require("./country"); -address.building_number = require("./building_number"); -address.secondary_address = require("./secondary_address"); -address.postcode = require("./postcode"); -address.time_zone = require("./time_zone"); -address.city_name = require("./city_name"); -address.city = require("./city"); -address.street = require("./street"); -address.street_name = require("./street_name"); -address.street_address = require("./street_address"); -address.default_country = require("./default_country"); +module.exports = { + country: require("./country"), + building_number: require("./building_number"), + secondary_address: require("./secondary_address"), + postcode: require("./postcode"), + time_zone: require("./time_zone"), + city_name: require("./city_name"), + city: require("./city"), + street: require("./street"), + street_name: require("./street_name"), + street_address: require("./street_address"), + default_country: require("./default_country") +}; diff --git a/lib/locales/hr/cell_phone/index.js b/lib/locales/hr/cell_phone/index.js index 84c66e94..48dfb61f 100644 --- a/lib/locales/hr/cell_phone/index.js +++ b/lib/locales/hr/cell_phone/index.js @@ -1,3 +1,3 @@ -const cell_phone = {}; -module['exports'] = cell_phone; -cell_phone.formats = require("./formats"); +module.exports = { + formats: require("./formats") +}; diff --git a/lib/locales/hr/index.js b/lib/locales/hr/index.js index f75dab4a..f1d21f77 100644 --- a/lib/locales/hr/index.js +++ b/lib/locales/hr/index.js @@ -1,9 +1,9 @@ -const hr = {}; -module['exports'] = hr; -hr.title = "Hrvatski"; -hr.address = require("./address"); -hr.internet = require("./internet"); -hr.name = require("./name"); -hr.phone_number = require("./phone_number"); -hr.cell_phone = require("./phone_number"); -hr.date = require("./date"); +module.exports = { + title: "Hrvatski", + address: require("./address"), + internet: require("./internet"), + name: require("./name"), + phone_number: require("./phone_number"), + cell_phone: require("./phone_number"), + date: require("./date") +}; diff --git a/lib/locales/hr/internet/index.js b/lib/locales/hr/internet/index.js index c95143c1..3da76a8f 100644 --- a/lib/locales/hr/internet/index.js +++ b/lib/locales/hr/internet/index.js @@ -1,4 +1,4 @@ -const internet = {}; -module['exports'] = internet; -internet.free_email = require("./free_email"); -internet.domain_suffix = require("./domain_suffix"); +module.exports = { + free_email: require("./free_email"), + domain_suffix: require("./domain_suffix") +}; diff --git a/lib/locales/hr/name/index.js b/lib/locales/hr/name/index.js index 6851cea3..a2f6d390 100644 --- a/lib/locales/hr/name/index.js +++ b/lib/locales/hr/name/index.js @@ -1,10 +1,10 @@ -const name = {}; -module['exports'] = name; -name.male_first_name = require("./male_first_name"); -name.first_name = require("./first_name"); -name.female_first_name = require("./female_first_name"); -name.last_name = require("./last_name"); -name.prefix = require("./prefix"); -name.suffix = require("./suffix"); -name.title = require("./title"); -name.name = require("./name"); +module.exports = { + male_first_name: require("./male_first_name"), + first_name: require("./first_name"), + female_first_name: require("./female_first_name"), + last_name: require("./last_name"), + prefix: require("./prefix"), + suffix: require("./suffix"), + title: require("./title"), + name: require("./name") +}; diff --git a/lib/locales/hr/name/last_name.js b/lib/locales/hr/name/last_name.js index cb9f82c0..48571b42 100644 --- a/lib/locales/hr/name/last_name.js +++ b/lib/locales/hr/name/last_name.js @@ -11616,4 +11616,4 @@ module.exports = [ 'Žužanić', 'ŽužanićKlapan', 'Žvab' -] +]; diff --git a/lib/locales/hr/name/male_first_name.js b/lib/locales/hr/name/male_first_name.js index 90edca5d..b2ef66e6 100644 --- a/lib/locales/hr/name/male_first_name.js +++ b/lib/locales/hr/name/male_first_name.js @@ -169,6 +169,6 @@ module.exports = [ "Zoltan", "Zrinislav", "Zrinko", - "Zvonimir", + "Zvonimir" ]; diff --git a/lib/locales/hr/phone_number/index.js b/lib/locales/hr/phone_number/index.js index 36b6b18a..6fa921e5 100644 --- a/lib/locales/hr/phone_number/index.js +++ b/lib/locales/hr/phone_number/index.js @@ -1,3 +1,3 @@ -const phone_number = {}; -module['exports'] = phone_number; -phone_number.formats = require("./formats"); +module.exports = { + formats: require("./formats") +}; diff --git a/lib/locales/hy/address/country.js b/lib/locales/hy/address/country.js index ebd090ca..bc022097 100644 --- a/lib/locales/hy/address/country.js +++ b/lib/locales/hy/address/country.js @@ -228,4 +228,4 @@ module.exports = [ "Ֆոլկլենդյան կղզիներ", "Ֆրանսիա", "Ֆրանսիական Պոլինեզիա" -]; \ No newline at end of file +]; diff --git a/lib/locales/hy/address/index.js b/lib/locales/hy/address/index.js index 7b628980..57856c11 100644 --- a/lib/locales/hy/address/index.js +++ b/lib/locales/hy/address/index.js @@ -1,14 +1,14 @@ -const address = {}; -module['exports'] = address; -address.city_prefix = require("./city_prefix"); -address.city_suffix = require("./city_suffix"); -address.country = require("./country"); -address.building_number = require("./building_number"); -address.street_suffix = require("./street_suffix"); -address.secondary_address = require("./secondary_address"); -address.state = require("./state"); -address.city = require("./city"); -address.street_name = require("./street_name"); -address.street_address = require("./street_address"); -address.default_country = require("./default_country"); -address.direction = require("./direction"); +module.exports = { + city_prefix: require("./city_prefix"), + city_suffix: require("./city_suffix"), + country: require("./country"), + building_number: require("./building_number"), + street_suffix: require("./street_suffix"), + secondary_address: require("./secondary_address"), + state: require("./state"), + city: require("./city"), + street_name: require("./street_name"), + street_address: require("./street_address"), + default_country: require("./default_country"), + direction: require("./direction") +}; diff --git a/lib/locales/hy/commerce/index.js b/lib/locales/hy/commerce/index.js index a46a78ce..2a2c4413 100644 --- a/lib/locales/hy/commerce/index.js +++ b/lib/locales/hy/commerce/index.js @@ -1,3 +1,3 @@ -const commerce = {}; -module['exports'] = commerce; -commerce.color = require("./color"); \ No newline at end of file +module.exports = { + color: require("./color") +}; diff --git a/lib/locales/hy/date/month.js b/lib/locales/hy/date/month.js index db910ae8..88129cc9 100644 --- a/lib/locales/hy/date/month.js +++ b/lib/locales/hy/date/month.js @@ -26,5 +26,5 @@ module.exports = { "Հկտ", "Նմբ", "Դկտ" - ], + ] }; diff --git a/lib/locales/hy/date/weekday.js b/lib/locales/hy/date/weekday.js index 5a7fdc85..66cd2456 100644 --- a/lib/locales/hy/date/weekday.js +++ b/lib/locales/hy/date/weekday.js @@ -17,5 +17,5 @@ module.exports = { "հնգ", "ուրբ", "շբթ" - ], + ] }; diff --git a/lib/locales/hy/index.js b/lib/locales/hy/index.js index 7c49a908..418a96b0 100644 --- a/lib/locales/hy/index.js +++ b/lib/locales/hy/index.js @@ -1,11 +1,11 @@ -const hy = {}; -module['exports'] = hy; -hy.title = "Armenian"; -hy.separator = " և "; -hy.address = require("./address"); -hy.internet = require("./internet"); -hy.lorem = require("./lorem"); -hy.name = require("./name"); -hy.phone_number = require("./phone_number"); -hy.commerce = require("./commerce"); -hy.date = require("./date"); +module.exports = { + title: "Armenian", + separator: " և ", + address: require("./address"), + internet: require("./internet"), + lorem: require("./lorem"), + name: require("./name"), + phone_number: require("./phone_number"), + commerce: require("./commerce"), + date: require("./date") +}; diff --git a/lib/locales/hy/internet/index.js b/lib/locales/hy/internet/index.js index 9251f559..f0555aed 100644 --- a/lib/locales/hy/internet/index.js +++ b/lib/locales/hy/internet/index.js @@ -1,3 +1,3 @@ -const internet = {}; -module['exports'] = internet; -internet.domain_suffix = require("./domain_suffix"); +module.exports = { + domain_suffix: require("./domain_suffix") +}; diff --git a/lib/locales/hy/lorem/index.js b/lib/locales/hy/lorem/index.js index 3de161de..85491b9b 100644 --- a/lib/locales/hy/lorem/index.js +++ b/lib/locales/hy/lorem/index.js @@ -1,3 +1,3 @@ -const lorem = {}; -module['exports'] = lorem; -lorem.words = require("./words"); \ No newline at end of file +module.exports = { + words: require("./words") +}; diff --git a/lib/locales/hy/name/female_first_name.js b/lib/locales/hy/name/female_first_name.js index c866e82c..78ae1a14 100644 --- a/lib/locales/hy/name/female_first_name.js +++ b/lib/locales/hy/name/female_first_name.js @@ -45,4 +45,4 @@ module.exports = [ "Լիա", "Նարինե", "Լուսինե" -]; \ No newline at end of file +]; diff --git a/lib/locales/hy/name/first_name.js b/lib/locales/hy/name/first_name.js index 781bb95d..8f716b73 100644 --- a/lib/locales/hy/name/first_name.js +++ b/lib/locales/hy/name/first_name.js @@ -90,4 +90,4 @@ module.exports = [ "Ալբերտ", "Գարիկ", "Համլետ" -]; \ No newline at end of file +]; diff --git a/lib/locales/hy/name/index.js b/lib/locales/hy/name/index.js index 6e5c30cd..0e80e6c1 100644 --- a/lib/locales/hy/name/index.js +++ b/lib/locales/hy/name/index.js @@ -1,7 +1,7 @@ -const name = {}; -module['exports'] = name; -name.male_first_name = require("./male_first_name"); -name.female_first_name = require("./female_first_name"); -name.first_name = require("./first_name"); -name.last_name = require("./last_name"); -name.name = require("./name"); \ No newline at end of file +module.exports = { + male_first_name: require("./male_first_name"), + female_first_name: require("./female_first_name"), + first_name: require("./first_name"), + last_name: require("./last_name"), + name: require("./name") +}; diff --git a/lib/locales/hy/name/last_name.js b/lib/locales/hy/name/last_name.js index 95721893..d85371b4 100644 --- a/lib/locales/hy/name/last_name.js +++ b/lib/locales/hy/name/last_name.js @@ -91,4 +91,4 @@ module.exports = [ "Ներսիսյան", "Մնացականյան", "Մովսիսյան" -]; \ No newline at end of file +]; diff --git a/lib/locales/hy/name/male_first_name.js b/lib/locales/hy/name/male_first_name.js index 3f8f01e3..91d270fb 100644 --- a/lib/locales/hy/name/male_first_name.js +++ b/lib/locales/hy/name/male_first_name.js @@ -44,4 +44,4 @@ module.exports = [ "Ալբերտ", "Գարիկ", "Համլետ" -]; \ No newline at end of file +]; diff --git a/lib/locales/hy/phone_number/index.js b/lib/locales/hy/phone_number/index.js index 36b6b18a..6fa921e5 100644 --- a/lib/locales/hy/phone_number/index.js +++ b/lib/locales/hy/phone_number/index.js @@ -1,3 +1,3 @@ -const phone_number = {}; -module['exports'] = phone_number; -phone_number.formats = require("./formats"); +module.exports = { + formats: require("./formats") +}; diff --git a/lib/locales/id_ID/address/city_name.js b/lib/locales/id_ID/address/city_name.js index 3ab15a56..335476f3 100644 --- a/lib/locales/id_ID/address/city_name.js +++ b/lib/locales/id_ID/address/city_name.js @@ -226,4 +226,4 @@ module.exports = [ "Singaraja", "Tabanan", "Bangli" -]; \ No newline at end of file +]; diff --git a/lib/locales/id_ID/address/index.js b/lib/locales/id_ID/address/index.js index 4848a73e..8412b8e8 100644 --- a/lib/locales/id_ID/address/index.js +++ b/lib/locales/id_ID/address/index.js @@ -1,11 +1,11 @@ -const address = {}; -module['exports'] = address; -address.building_number = require("./building_number"); -address.postcode = require("./postcode"); -address.state = require("./state"); -address.city_name = require("./city_name"); -address.city = require("./city"); -address.street_prefix = require("./street_prefix"); -address.street_name = require("./street_name"); -address.street_address = require("./street_address"); -address.default_country = require("./default_country"); +module.exports = { + building_number: require("./building_number"), + postcode: require("./postcode"), + state: require("./state"), + city_name: require("./city_name"), + city: require("./city"), + street_prefix: require("./street_prefix"), + street_name: require("./street_name"), + street_address: require("./street_address"), + default_country: require("./default_country") +}; diff --git a/lib/locales/id_ID/address/postcode.js b/lib/locales/id_ID/address/postcode.js index 5af11030..8091ecaa 100644 --- a/lib/locales/id_ID/address/postcode.js +++ b/lib/locales/id_ID/address/postcode.js @@ -1,3 +1,3 @@ module.exports = [ "#####" -]; \ No newline at end of file +]; diff --git a/lib/locales/id_ID/address/state.js b/lib/locales/id_ID/address/state.js index 2dea0359..36bdaa1d 100644 --- a/lib/locales/id_ID/address/state.js +++ b/lib/locales/id_ID/address/state.js @@ -33,4 +33,4 @@ module.exports = [ "Maluku Utara", "Papua Barat", "Papua" -]; \ No newline at end of file +]; diff --git a/lib/locales/id_ID/address/street_address.js b/lib/locales/id_ID/address/street_address.js index 6cae68df..ffba1e9a 100644 --- a/lib/locales/id_ID/address/street_address.js +++ b/lib/locales/id_ID/address/street_address.js @@ -1,3 +1,3 @@ module.exports = [ "#{street_name} no #{building_number}" -]; \ No newline at end of file +]; diff --git a/lib/locales/id_ID/address/street_name.js b/lib/locales/id_ID/address/street_name.js index 12e46c7a..d298c063 100644 --- a/lib/locales/id_ID/address/street_name.js +++ b/lib/locales/id_ID/address/street_name.js @@ -1,4 +1,4 @@ module.exports = [ "#{street_prefix} #{Name.first_name}", "#{street_prefix} #{Name.last_name}" -]; \ No newline at end of file +]; diff --git a/lib/locales/id_ID/address/street_prefix.js b/lib/locales/id_ID/address/street_prefix.js index d1abae9c..2c1d0992 100644 --- a/lib/locales/id_ID/address/street_prefix.js +++ b/lib/locales/id_ID/address/street_prefix.js @@ -7,4 +7,4 @@ module.exports = [ "Kpg.", "Ki.", "Psr." -]; \ No newline at end of file +]; diff --git a/lib/locales/id_ID/company/index.js b/lib/locales/id_ID/company/index.js index 2d142169..d54eba6c 100644 --- a/lib/locales/id_ID/company/index.js +++ b/lib/locales/id_ID/company/index.js @@ -1,5 +1,5 @@ -const company = {}; -module['exports'] = company; -company.prefix = require("./prefix"); -company.suffix = require("./suffix"); -company.name = require("./name"); +module.exports = { + prefix: require("./prefix"), + suffix: require("./suffix"), + name: require("./name") +}; diff --git a/lib/locales/id_ID/company/prefix.js b/lib/locales/id_ID/company/prefix.js index f3c7c391..3cd8e741 100644 --- a/lib/locales/id_ID/company/prefix.js +++ b/lib/locales/id_ID/company/prefix.js @@ -4,4 +4,4 @@ module.exports = [ "UD", "PD", "Perum" -]; \ No newline at end of file +]; diff --git a/lib/locales/id_ID/company/suffix.js b/lib/locales/id_ID/company/suffix.js index c11cb4ee..07df9551 100644 --- a/lib/locales/id_ID/company/suffix.js +++ b/lib/locales/id_ID/company/suffix.js @@ -1,4 +1,4 @@ module.exports = [ "(Persero) Tbk", "Tbk" -]; \ No newline at end of file +]; diff --git a/lib/locales/id_ID/index.js b/lib/locales/id_ID/index.js index 4cf104bd..e52778f9 100644 --- a/lib/locales/id_ID/index.js +++ b/lib/locales/id_ID/index.js @@ -1,9 +1,9 @@ -const id = {}; -module['exports'] = id; -id.title = "Indonesia"; -id.address = require("./address"); -id.company = require("./company"); -id.internet = require("./internet"); -id.date = require("./date"); -id.name = require("./name"); -id.phone_number = require("./phone_number"); +module.exports = { + title: "Indonesia", + address: require("./address"), + company: require("./company"), + internet: require("./internet"), + date: require("./date"), + name: require("./name"), + phone_number: require("./phone_number") +}; diff --git a/lib/locales/id_ID/internet/domain_suffix.js b/lib/locales/id_ID/internet/domain_suffix.js index 64b84675..0bffe3c0 100644 --- a/lib/locales/id_ID/internet/domain_suffix.js +++ b/lib/locales/id_ID/internet/domain_suffix.js @@ -19,4 +19,4 @@ module.exports = [ "my.id", "biz.id", "desa.id" -]; \ No newline at end of file +]; diff --git a/lib/locales/id_ID/internet/free_email.js b/lib/locales/id_ID/internet/free_email.js index b728c40f..3bebed8f 100644 --- a/lib/locales/id_ID/internet/free_email.js +++ b/lib/locales/id_ID/internet/free_email.js @@ -3,4 +3,4 @@ module.exports = [ 'yahoo.com', 'gmail.co.id', 'yahoo.co.id' -]; \ No newline at end of file +]; diff --git a/lib/locales/id_ID/internet/index.js b/lib/locales/id_ID/internet/index.js index c95143c1..3da76a8f 100644 --- a/lib/locales/id_ID/internet/index.js +++ b/lib/locales/id_ID/internet/index.js @@ -1,4 +1,4 @@ -const internet = {}; -module['exports'] = internet; -internet.free_email = require("./free_email"); -internet.domain_suffix = require("./domain_suffix"); +module.exports = { + free_email: require("./free_email"), + domain_suffix: require("./domain_suffix") +}; diff --git a/lib/locales/id_ID/name/female_first_name.js b/lib/locales/id_ID/name/female_first_name.js index ae56fcf3..33bfeb2f 100644 --- a/lib/locales/id_ID/name/female_first_name.js +++ b/lib/locales/id_ID/name/female_first_name.js @@ -264,4 +264,4 @@ module.exports = [ "Zamira", "Zelda", "Zelaya" -]; \ No newline at end of file +]; diff --git a/lib/locales/id_ID/name/female_last_name.js b/lib/locales/id_ID/name/female_last_name.js index 94b8d9d9..458b7167 100644 --- a/lib/locales/id_ID/name/female_last_name.js +++ b/lib/locales/id_ID/name/female_last_name.js @@ -108,4 +108,4 @@ module.exports = [ "Wastuti", "Zulaika", "Zahrah" -]; \ No newline at end of file +]; diff --git a/lib/locales/id_ID/name/female_title.js b/lib/locales/id_ID/name/female_title.js index c321f2b1..6944851f 100644 --- a/lib/locales/id_ID/name/female_title.js +++ b/lib/locales/id_ID/name/female_title.js @@ -3,4 +3,4 @@ module.exports = [ "drg.", "Dr.", "Hj." -]; \ No newline at end of file +]; diff --git a/lib/locales/id_ID/name/index.js b/lib/locales/id_ID/name/index.js index 8960215b..e347f784 100644 --- a/lib/locales/id_ID/name/index.js +++ b/lib/locales/id_ID/name/index.js @@ -1,9 +1,9 @@ -const name = {}; -module['exports'] = name; -name.male_first_name = require("./male_first_name"); -name.male_last_name = require("./male_last_name"); -name.female_first_name = require("./female_first_name"); -name.female_last_name = require("./female_last_name"); -name.prefix = require("./prefix"); -name.suffix = require("./suffix"); -name.name = require("./name"); +module.exports = { + male_first_name: require("./male_first_name"), + male_last_name: require("./male_last_name"), + female_first_name: require("./female_first_name"), + female_last_name: require("./female_last_name"), + prefix: require("./prefix"), + suffix: require("./suffix"), + name: require("./name") +}; diff --git a/lib/locales/id_ID/name/male_last_name.js b/lib/locales/id_ID/name/male_last_name.js index 3b5d0f35..e562a84c 100644 --- a/lib/locales/id_ID/name/male_last_name.js +++ b/lib/locales/id_ID/name/male_last_name.js @@ -150,4 +150,4 @@ module.exports = [ "Yanuar", "Yudhistira", "Zulkarnain" -]; \ No newline at end of file +]; diff --git a/lib/locales/id_ID/name/male_title.js b/lib/locales/id_ID/name/male_title.js index 21e67066..8084791f 100644 --- a/lib/locales/id_ID/name/male_title.js +++ b/lib/locales/id_ID/name/male_title.js @@ -5,4 +5,4 @@ module.exports = [ "Drs.", "Ir.", "H." -]; \ No newline at end of file +]; diff --git a/lib/locales/id_ID/name/prefix.js b/lib/locales/id_ID/name/prefix.js index 744c39bc..e0a30c5d 100644 --- a/lib/locales/id_ID/name/prefix.js +++ b/lib/locales/id_ID/name/prefix.js @@ -1 +1 @@ -module.exports = []; \ No newline at end of file +module.exports = []; diff --git a/lib/locales/id_ID/name/suffix.js b/lib/locales/id_ID/name/suffix.js index db3e8e3f..9933bf9a 100644 --- a/lib/locales/id_ID/name/suffix.js +++ b/lib/locales/id_ID/name/suffix.js @@ -19,4 +19,4 @@ module.exports = [ "M.Pd", "M.Farm", "M.Ak" -]; \ No newline at end of file +]; diff --git a/lib/locales/id_ID/phone_number/formats.js b/lib/locales/id_ID/phone_number/formats.js index 2e944bf9..5f50117e 100644 --- a/lib/locales/id_ID/phone_number/formats.js +++ b/lib/locales/id_ID/phone_number/formats.js @@ -37,4 +37,4 @@ module.exports = [ "(+62) 7## #### ####", "(+62) 8## #### ####", "(+62) 9## #### ####" -]; \ No newline at end of file +]; diff --git a/lib/locales/id_ID/phone_number/index.js b/lib/locales/id_ID/phone_number/index.js index 36b6b18a..6fa921e5 100644 --- a/lib/locales/id_ID/phone_number/index.js +++ b/lib/locales/id_ID/phone_number/index.js @@ -1,3 +1,3 @@ -const phone_number = {}; -module['exports'] = phone_number; -phone_number.formats = require("./formats"); +module.exports = { + formats: require("./formats") +}; diff --git a/lib/locales/it/address/city_name.js b/lib/locales/it/address/city_name.js index f7d52047..8f7a941f 100644 --- a/lib/locales/it/address/city_name.js +++ b/lib/locales/it/address/city_name.js @@ -978,4 +978,4 @@ module.exports = [ "Villacidro", "Villaperuccio", "Villaspeciosa" -]; \ No newline at end of file +]; diff --git a/lib/locales/it/address/index.js b/lib/locales/it/address/index.js index cf774fed..ad8746d7 100644 --- a/lib/locales/it/address/index.js +++ b/lib/locales/it/address/index.js @@ -1,16 +1,16 @@ -const address = {}; -module['exports'] = address; -address.city_prefix = require("./city_prefix"); -address.city_suffix = require("./city_suffix"); -address.city_name = require("./city_name"); -address.country = require("./country"); -address.building_number = require("./building_number"); -address.street_suffix = require("./street_suffix"); -address.secondary_address = require("./secondary_address"); -address.postcode = require("./postcode"); -address.state = require("./state"); -address.state_abbr = require("./state_abbr"); -address.city = require("./city"); -address.street_name = require("./street_name"); -address.street_address = require("./street_address"); -address.default_country = require("./default_country"); +module.exports = { + city_prefix: require("./city_prefix"), + city_suffix: require("./city_suffix"), + city_name: require("./city_name"), + country: require("./country"), + building_number: require("./building_number"), + street_suffix: require("./street_suffix"), + secondary_address: require("./secondary_address"), + postcode: require("./postcode"), + state: require("./state"), + state_abbr: require("./state_abbr"), + city: require("./city"), + street_name: require("./street_name"), + street_address: require("./street_address"), + default_country: require("./default_country") +}; diff --git a/lib/locales/it/company/index.js b/lib/locales/it/company/index.js index 85540855..4ea8fb22 100644 --- a/lib/locales/it/company/index.js +++ b/lib/locales/it/company/index.js @@ -1,10 +1,10 @@ -const company = {}; -module['exports'] = company; -company.suffix = require("./suffix"); -company.noun = require("./noun"); -company.descriptor = require("./descriptor"); -company.adjective = require("./adjective"); -company.bs_noun = require("./bs_noun"); -company.bs_verb = require("./bs_verb"); -company.bs_adjective = require("./bs_adjective"); -company.name = require("./name"); +module.exports = { + suffix: require("./suffix"), + noun: require("./noun"), + descriptor: require("./descriptor"), + adjective: require("./adjective"), + bs_noun: require("./bs_noun"), + bs_verb: require("./bs_verb"), + bs_adjective: require("./bs_adjective"), + name: require("./name") +}; diff --git a/lib/locales/it/index.js b/lib/locales/it/index.js index 4d7eb0bf..f2608836 100644 --- a/lib/locales/it/index.js +++ b/lib/locales/it/index.js @@ -1,8 +1,8 @@ -const it = {}; -module['exports'] = it; -it.title = "Italian"; -it.address = require("./address"); -it.company = require("./company"); -it.internet = require("./internet"); -it.name = require("./name"); -it.phone_number = require("./phone_number"); +module.exports = { + title: "Italian", + addres: require("./address"), + compan: require("./company"), + interne: require("./internet"), + nam: require("./name"), + phone_numbe: require("./phone_number") +}; diff --git a/lib/locales/it/internet/index.js b/lib/locales/it/internet/index.js index c95143c1..3da76a8f 100644 --- a/lib/locales/it/internet/index.js +++ b/lib/locales/it/internet/index.js @@ -1,4 +1,4 @@ -const internet = {}; -module['exports'] = internet; -internet.free_email = require("./free_email"); -internet.domain_suffix = require("./domain_suffix"); +module.exports = { + free_email: require("./free_email"), + domain_suffix: require("./domain_suffix") +}; diff --git a/lib/locales/it/name/female_first_name.js b/lib/locales/it/name/female_first_name.js index 1edb7df8..9b3f7fc6 100644 --- a/lib/locales/it/name/female_first_name.js +++ b/lib/locales/it/name/female_first_name.js @@ -1,4 +1,4 @@ -module['exports'] = [ +module.exports = [ 'Abbondanza', 'Acilia', 'Ada', diff --git a/lib/locales/it/name/index.js b/lib/locales/it/name/index.js index 31dce2eb..57f025e4 100644 --- a/lib/locales/it/name/index.js +++ b/lib/locales/it/name/index.js @@ -1,9 +1,9 @@ -const name = {}; -module['exports'] = name; -name.male_first_name = require("./male_first_name"); -name.female_first_name = require("./female_first_name"); -name.first_name = require("./first_name"); -name.last_name = require("./last_name"); -name.prefix = require("./prefix"); -name.suffix = require("./suffix"); -name.name = require("./name"); +module.exports = { + male_first_name: require("./male_first_name"), + female_first_name: require("./female_first_name"), + first_name: require("./first_name"), + last_name: require("./last_name"), + prefix: require("./prefix"), + suffix: require("./suffix"), + name: require("./name") +}; diff --git a/lib/locales/it/name/last_name.js b/lib/locales/it/name/last_name.js index 631505c9..31faa52c 100644 --- a/lib/locales/it/name/last_name.js +++ b/lib/locales/it/name/last_name.js @@ -1,4 +1,4 @@ -module['exports'] = [ +module.exports = [ "Abate", "Abbate", "Abbondanza", @@ -2169,4 +2169,4 @@ module['exports'] = [ "Zullo", "Zumbo", "Zunino" -]; \ No newline at end of file +]; diff --git a/lib/locales/it/name/male_first_name.js b/lib/locales/it/name/male_first_name.js index 7d7494c3..4ff730c8 100644 --- a/lib/locales/it/name/male_first_name.js +++ b/lib/locales/it/name/male_first_name.js @@ -1,4 +1,4 @@ -module['exports'] = [ +module.exports = [ 'Abaco', 'Abbondanzio', 'Abbondio', diff --git a/lib/locales/it/phone_number/index.js b/lib/locales/it/phone_number/index.js index 36b6b18a..6fa921e5 100644 --- a/lib/locales/it/phone_number/index.js +++ b/lib/locales/it/phone_number/index.js @@ -1,3 +1,3 @@ -const phone_number = {}; -module['exports'] = phone_number; -phone_number.formats = require("./formats"); +module.exports = { + formats: require("./formats") +}; diff --git a/lib/locales/ja/address/country.js b/lib/locales/ja/address/country.js index 9a3665c8..a0dfd771 100644 --- a/lib/locales/ja/address/country.js +++ b/lib/locales/ja/address/country.js @@ -166,4 +166,4 @@ module.exports = [ "ザイール", "ザンビア", "ジンバブエ" -]; \ No newline at end of file +]; diff --git a/lib/locales/ja/address/index.js b/lib/locales/ja/address/index.js index 5805fa37..7d5ea18d 100644 --- a/lib/locales/ja/address/index.js +++ b/lib/locales/ja/address/index.js @@ -1,10 +1,10 @@ -const address = {}; -module['exports'] = address; -address.postcode = require("./postcode"); -address.state = require("./state"); -address.state_abbr = require("./state_abbr"); -address.city_prefix = require("./city_prefix"); -address.city_suffix = require("./city_suffix"); -address.city = require("./city"); -address.country = require("./country"); -address.street_name = require("./street_name"); +module.exports = { + postcode: require("./postcode"), + state: require("./state"), + state_abbr: require("./state_abbr"), + city_prefix: require("./city_prefix"), + city_suffix: require("./city_suffix"), + city: require("./city"), + country: require("./country"), + street_name: require("./street_name") +}; diff --git a/lib/locales/ja/cell_phone/index.js b/lib/locales/ja/cell_phone/index.js index 1f65f965..6fa921e5 100644 --- a/lib/locales/ja/cell_phone/index.js +++ b/lib/locales/ja/cell_phone/index.js @@ -1,3 +1,3 @@ -const cell_phone = {}; -module['exports'] = cell_phone; -cell_phone.formats = require("./formats"); +module.exports = { + formats: require("./formats") +}; diff --git a/lib/locales/ja/name/index.js b/lib/locales/ja/name/index.js index bf9cb13f..e3f2bd84 100644 --- a/lib/locales/ja/name/index.js +++ b/lib/locales/ja/name/index.js @@ -1,5 +1,5 @@ -const name = {}; -module['exports'] = name; -name.last_name = require("./last_name"); -name.first_name = require("./first_name"); -name.name = require("./name"); +module.exports = { + last_name: require("./last_name"), + first_name: require("./first_name"), + name: require("./name") +}; diff --git a/lib/locales/ja/phone_number/index.js b/lib/locales/ja/phone_number/index.js index 36b6b18a..6fa921e5 100644 --- a/lib/locales/ja/phone_number/index.js +++ b/lib/locales/ja/phone_number/index.js @@ -1,3 +1,3 @@ -const phone_number = {}; -module['exports'] = phone_number; -phone_number.formats = require("./formats"); +module.exports = { + formats: require("./formats") +}; diff --git a/lib/locales/ko/address/index.js b/lib/locales/ko/address/index.js index 3b0c34ee..8300d102 100644 --- a/lib/locales/ko/address/index.js +++ b/lib/locales/ko/address/index.js @@ -1,11 +1,11 @@ -const address = {}; -module['exports'] = address; -address.postcode = require("./postcode"); -address.state = require("./state"); -address.state_abbr = require("./state_abbr"); -address.city_suffix = require("./city_suffix"); -address.city_name = require("./city_name"); -address.city = require("./city"); -address.street_root = require("./street_root"); -address.street_suffix = require("./street_suffix"); -address.street_name = require("./street_name"); +module.exports = { + postcode: require("./postcode"), + state: require("./state"), + state_abbr: require("./state_abbr"), + city_suffix: require("./city_suffix"), + city_name: require("./city_name"), + city: require("./city"), + street_root: require("./street_root"), + street_suffix: require("./street_suffix"), + street_name: require("./street_name") +}; diff --git a/lib/locales/ko/company/index.js b/lib/locales/ko/company/index.js index 2fb19265..2955bf87 100644 --- a/lib/locales/ko/company/index.js +++ b/lib/locales/ko/company/index.js @@ -1,5 +1,5 @@ -const company = {}; -module['exports'] = company; -company.suffix = require("./suffix"); -company.prefix = require("./prefix"); -company.name = require("./name"); +module.exports = { + suffix: require("./suffix"), + prefix: require("./prefix"), + name: require("./name") +}; diff --git a/lib/locales/ko/index.js b/lib/locales/ko/index.js index a3c37035..7e601cbb 100644 --- a/lib/locales/ko/index.js +++ b/lib/locales/ko/index.js @@ -1,9 +1,9 @@ -const ko = {}; -module['exports'] = ko; -ko.title = "Korean"; -ko.address = require("./address"); -ko.phone_number = require("./phone_number"); -ko.company = require("./company"); -ko.internet = require("./internet"); -ko.lorem = require("./lorem"); -ko.name = require("./name"); +module.exports = { + title: "Korean", + address: require("./address"), + phone_number: require("./phone_number"), + company: require("./company"), + internet: require("./internet"), + lorem: require("./lorem"), + name: require("./name") +}; diff --git a/lib/locales/ko/internet/index.js b/lib/locales/ko/internet/index.js index c95143c1..3da76a8f 100644 --- a/lib/locales/ko/internet/index.js +++ b/lib/locales/ko/internet/index.js @@ -1,4 +1,4 @@ -const internet = {}; -module['exports'] = internet; -internet.free_email = require("./free_email"); -internet.domain_suffix = require("./domain_suffix"); +module.exports = { + free_email: require("./free_email"), + domain_suffix: require("./domain_suffix") +}; diff --git a/lib/locales/ko/lorem/index.js b/lib/locales/ko/lorem/index.js index 47ae78b5..85491b9b 100644 --- a/lib/locales/ko/lorem/index.js +++ b/lib/locales/ko/lorem/index.js @@ -1,3 +1,3 @@ -const lorem = {}; -module['exports'] = lorem; -lorem.words = require("./words"); +module.exports = { + words: require("./words") +}; diff --git a/lib/locales/ko/name/index.js b/lib/locales/ko/name/index.js index bf9cb13f..e3f2bd84 100644 --- a/lib/locales/ko/name/index.js +++ b/lib/locales/ko/name/index.js @@ -1,5 +1,5 @@ -const name = {}; -module['exports'] = name; -name.last_name = require("./last_name"); -name.first_name = require("./first_name"); -name.name = require("./name"); +module.exports = { + last_name: require("./last_name"), + first_name: require("./first_name"), + name: require("./name") +}; diff --git a/lib/locales/ko/phone_number/index.js b/lib/locales/ko/phone_number/index.js index 36b6b18a..6fa921e5 100644 --- a/lib/locales/ko/phone_number/index.js +++ b/lib/locales/ko/phone_number/index.js @@ -1,3 +1,3 @@ -const phone_number = {}; -module['exports'] = phone_number; -phone_number.formats = require("./formats"); +module.exports = { + formats: require("./formats") +}; diff --git a/lib/locales/lv/address/index.js b/lib/locales/lv/address/index.js index 24d85128..9ac59e00 100644 --- a/lib/locales/lv/address/index.js +++ b/lib/locales/lv/address/index.js @@ -1,14 +1,14 @@ -const address = {}; -module['exports'] = address; -address.country = require("./country"); -address.building_number = require("./building_number"); -address.street_suffix = require("./street_suffix"); -address.secondary_address = require("./secondary_address"); -address.postcode = require("./postcode"); -address.state = require("./state"); -address.street_title = require("./street_title"); -address.city_name = require("./city_name"); -address.city = require("./city"); -address.street_name = require("./street_name"); -address.street_address = require("./street_address"); -address.default_country = require("./default_country"); +module.exports = { + country: require("./country"), + building_number: require("./building_number"), + street_suffix: require("./street_suffix"), + secondary_address: require("./secondary_address"), + postcode: require("./postcode"), + state: require("./state"), + street_title: require("./street_title"), + city_name: require("./city_name"), + city: require("./city"), + street_name: require("./street_name"), + street_address: require("./street_address"), + default_country: require("./default_country") +}; diff --git a/lib/locales/lv/cell_phone/index.js b/lib/locales/lv/cell_phone/index.js index 1f65f965..6fa921e5 100644 --- a/lib/locales/lv/cell_phone/index.js +++ b/lib/locales/lv/cell_phone/index.js @@ -1,3 +1,3 @@ -const cell_phone = {}; -module['exports'] = cell_phone; -cell_phone.formats = require("./formats"); +module.exports = { + formats: require("./formats") +}; diff --git a/lib/locales/lv/commerce/index.js b/lib/locales/lv/commerce/index.js index 271876c5..511ce3be 100644 --- a/lib/locales/lv/commerce/index.js +++ b/lib/locales/lv/commerce/index.js @@ -1,5 +1,5 @@ -const commerce = {}; -module['exports'] = commerce; -commerce.color = require("./color"); -commerce.department = require("./department"); -commerce.product_name = require("./product_name"); +module.exports = { + color: require("./color"), + department: require("./department"), + product_name: require("./product_name") +}; diff --git a/lib/locales/lv/company/index.js b/lib/locales/lv/company/index.js index 2d142169..d54eba6c 100644 --- a/lib/locales/lv/company/index.js +++ b/lib/locales/lv/company/index.js @@ -1,5 +1,5 @@ -const company = {}; -module['exports'] = company; -company.prefix = require("./prefix"); -company.suffix = require("./suffix"); -company.name = require("./name"); +module.exports = { + prefix: require("./prefix"), + suffix: require("./suffix"), + name: require("./name") +}; diff --git a/lib/locales/lv/index.js b/lib/locales/lv/index.js index 3afa412c..5abdeddf 100644 --- a/lib/locales/lv/index.js +++ b/lib/locales/lv/index.js @@ -1,13 +1,13 @@ -const lv = {}; -module['exports'] = lv; -lv.title = "Latvian"; -lv.separator = " un "; -lv.name = require("./name"); -lv.date = require("./date"); -lv.address = require("./address"); -lv.phone_number = require("./phone_number"); -lv.cell_phone = require("./cell_phone"); -lv.commerce = require("./commerce"); -lv.company = require("./company"); -lv.internet = require("./internet"); -lv.lorem = require("./lorem"); \ No newline at end of file +module.exports = { + title: "Latvian", + separator: " un ", + name: require("./name"), + date: require("./date"), + address: require("./address"), + phone_number: require("./phone_number"), + cell_phone: require("./cell_phone"), + commerce: require("./commerce"), + company: require("./company"), + internet: require("./internet"), + lorem: require("./lorem") +}; diff --git a/lib/locales/lv/internet/index.js b/lib/locales/lv/internet/index.js index c95143c1..3da76a8f 100644 --- a/lib/locales/lv/internet/index.js +++ b/lib/locales/lv/internet/index.js @@ -1,4 +1,4 @@ -const internet = {}; -module['exports'] = internet; -internet.free_email = require("./free_email"); -internet.domain_suffix = require("./domain_suffix"); +module.exports = { + free_email: require("./free_email"), + domain_suffix: require("./domain_suffix") +}; diff --git a/lib/locales/lv/lorem/index.js b/lib/locales/lv/lorem/index.js index 82b2e52a..28940b0d 100644 --- a/lib/locales/lv/lorem/index.js +++ b/lib/locales/lv/lorem/index.js @@ -1,4 +1,4 @@ -const lorem = {}; -module['exports'] = lorem; -lorem.words = require("./words"); -lorem.supplemental = require("./supplemental"); +module.exports = { + words: require("./words"), + supplemental: require("./supplemental") +}; diff --git a/lib/locales/lv/lorem/supplemental.js b/lib/locales/lv/lorem/supplemental.js index 7600bb89..17f16167 100644 --- a/lib/locales/lv/lorem/supplemental.js +++ b/lib/locales/lv/lorem/supplemental.js @@ -838,5 +838,5 @@ module.exports = [ "vulpēs", "vultīculus", "vultūosus", - "xīphīās", + "xīphīās" ]; diff --git a/lib/locales/lv/name/female_first_name.js b/lib/locales/lv/name/female_first_name.js index 67d3baa6..9f1dde0e 100644 --- a/lib/locales/lv/name/female_first_name.js +++ b/lib/locales/lv/name/female_first_name.js @@ -104,4 +104,4 @@ module.exports = [ "Žanna", "Ženija", "Žubīte" -]; \ No newline at end of file +]; diff --git a/lib/locales/lv/name/female_last_name.js b/lib/locales/lv/name/female_last_name.js index 878f2bc2..d31d8b72 100644 --- a/lib/locales/lv/name/female_last_name.js +++ b/lib/locales/lv/name/female_last_name.js @@ -208,4 +208,4 @@ module.exports = [ "Pauļuka", "Sosāre", "Meškūne" -]; \ No newline at end of file +]; diff --git a/lib/locales/lv/name/index.js b/lib/locales/lv/name/index.js index 99471e44..4b139e17 100644 --- a/lib/locales/lv/name/index.js +++ b/lib/locales/lv/name/index.js @@ -1,10 +1,10 @@ -const name = {}; -module['exports'] = name; -name.male_first_name = require("./male_first_name"); -name.male_last_name = require("./male_last_name"); -name.female_first_name = require("./female_first_name"); -name.female_last_name = require("./female_last_name"); -name.title = require("./title"); -name.prefix = require("./prefix"); -name.suffix = require("./suffix"); -name.name = require("./name"); \ No newline at end of file +module.exports = { + male_first_name: require("./male_first_name"), + male_last_name: require("./male_last_name"), + female_first_name: require("./female_first_name"), + female_last_name: require("./female_last_name"), + title: require("./title"), + prefix: require("./prefix"), + suffix: require("./suffix"), + name: require("./name") +}; diff --git a/lib/locales/lv/name/male_first_name.js b/lib/locales/lv/name/male_first_name.js index c001eafe..ae0abde6 100644 --- a/lib/locales/lv/name/male_first_name.js +++ b/lib/locales/lv/name/male_first_name.js @@ -90,4 +90,4 @@ module.exports = [ "Zigfrīds", "Zigmārs", "Žanis" -]; \ No newline at end of file +]; diff --git a/lib/locales/lv/name/male_last_name.js b/lib/locales/lv/name/male_last_name.js index ee305fac..7611b024 100644 --- a/lib/locales/lv/name/male_last_name.js +++ b/lib/locales/lv/name/male_last_name.js @@ -208,4 +208,4 @@ module.exports = [ "Pauļuks", "Sosārs", "Meškūns" -]; \ No newline at end of file +]; diff --git a/lib/locales/lv/name/name.js b/lib/locales/lv/name/name.js index a8739c4b..2dc56488 100644 --- a/lib/locales/lv/name/name.js +++ b/lib/locales/lv/name/name.js @@ -9,5 +9,5 @@ module.exports = [ "#{female_first_name} #{female_last_name}", "#{female_last_name} #{female_first_name}", "#{female_first_name} #{female_first_name} #{female_last_name}", - "#{female_first_name} #{female_last_name}-#{female_last_name}", -]; \ No newline at end of file + "#{female_first_name} #{female_last_name}-#{female_last_name}" +]; diff --git a/lib/locales/lv/phone_number/index.js b/lib/locales/lv/phone_number/index.js index 36b6b18a..ee3d6047 100644 --- a/lib/locales/lv/phone_number/index.js +++ b/lib/locales/lv/phone_number/index.js @@ -1,3 +1,4 @@ -const phone_number = {}; -module['exports'] = phone_number; -phone_number.formats = require("./formats"); +module.exports = { + formats: require("./formats") +}; + diff --git a/lib/locales/mk/address/index.js b/lib/locales/mk/address/index.js index c74d9c11..ce5c53e0 100644 --- a/lib/locales/mk/address/index.js +++ b/lib/locales/mk/address/index.js @@ -1,12 +1,12 @@ -const address = {}; -module['exports'] = address; -address.country = require("./country"); -address.building_number = require("./building_number"); -address.secondary_address = require("./secondary_address"); -address.postcode = require("./postcode"); -address.city_name = require("./city_name"); -address.city = require("./city"); -address.street = require("./street"); -address.street_name = require("./street_name"); -address.street_address = require("./street_address"); -address.default_country = require("./default_country"); +module.exports = { + country: require("./country"), + building_number: require("./building_number"), + secondary_address: require("./secondary_address"), + postcode: require("./postcode"), + city_name: require("./city_name"), + city: require("./city"), + street: require("./street"), + street_name: require("./street_name"), + street_address: require("./street_address"), + default_country: require("./default_country") +}; diff --git a/lib/locales/mk/cell_phone/index.js b/lib/locales/mk/cell_phone/index.js index 1f65f965..6fa921e5 100644 --- a/lib/locales/mk/cell_phone/index.js +++ b/lib/locales/mk/cell_phone/index.js @@ -1,3 +1,3 @@ -const cell_phone = {}; -module['exports'] = cell_phone; -cell_phone.formats = require("./formats"); +module.exports = { + formats: require("./formats") +}; diff --git a/lib/locales/mk/company/index.js b/lib/locales/mk/company/index.js index 8f1b8c98..91cbfd95 100644 --- a/lib/locales/mk/company/index.js +++ b/lib/locales/mk/company/index.js @@ -1,4 +1,4 @@ -const company = {}; -module['exports'] = company; -company.suffix = require("./suffix"); -company.name = require("./name"); +module.exports = { + suffix: require("./suffix"), + name: require("./name") +}; diff --git a/lib/locales/mk/date/month.js b/lib/locales/mk/date/month.js index 0e61ec5a..c5c703a9 100644 --- a/lib/locales/mk/date/month.js +++ b/lib/locales/mk/date/month.js @@ -59,5 +59,5 @@ module.exports = { "окт", "ное", "дек" - ], + ] }; diff --git a/lib/locales/mk/index.js b/lib/locales/mk/index.js index 691d78b0..0c9589b9 100644 --- a/lib/locales/mk/index.js +++ b/lib/locales/mk/index.js @@ -1,11 +1,11 @@ -const mk = {}; -module['exports'] = mk; -mk.title = "Macedonian"; -mk.separator = " и "; -mk.address = require("./address"); -mk.cell_phone = require("./cell_phone"); -mk.phone_number = require("./phone_number"); -mk.name = require("./name"); -mk.date = require("./date"); -mk.internet = require("./internet"); -mk.company = require("./company"); +module.exports = { + title: "Macedonian", + separator: " и ", + address: require("./address"), + cell_phone: require("./cell_phone"), + phone_number: require("./phone_number"), + name: require("./name"), + date: require("./date"), + internet: require("./internet"), + company: require("./company") +}; diff --git a/lib/locales/mk/internet/index.js b/lib/locales/mk/internet/index.js index c95143c1..3da76a8f 100644 --- a/lib/locales/mk/internet/index.js +++ b/lib/locales/mk/internet/index.js @@ -1,4 +1,4 @@ -const internet = {}; -module['exports'] = internet; -internet.free_email = require("./free_email"); -internet.domain_suffix = require("./domain_suffix"); +module.exports = { + free_email: require("./free_email"), + domain_suffix: require("./domain_suffix") +}; diff --git a/lib/locales/mk/name/female_prefix.js b/lib/locales/mk/name/female_prefix.js index 1f50769f..d4ee1049 100644 --- a/lib/locales/mk/name/female_prefix.js +++ b/lib/locales/mk/name/female_prefix.js @@ -2,5 +2,5 @@ module.exports = [ "г-ѓа", "г-ца", "д-р", - "м-р", + "м-р" ]; diff --git a/lib/locales/mk/name/index.js b/lib/locales/mk/name/index.js index c431d980..f136bb28 100644 --- a/lib/locales/mk/name/index.js +++ b/lib/locales/mk/name/index.js @@ -1,14 +1,14 @@ -const name = {}; -module['exports'] = name; -name.male_prefix = require("./male_prefix"); -name.male_first_name = require("./male_first_name"); -name.male_last_name = require("./male_last_name"); -name.female_prefix = require("./female_prefix"); -name.female_first_name = require("./female_first_name"); -name.female_last_name = require("./female_last_name"); -name.first_name = require("./first_name"); -name.last_name = require("./last_name"); -name.prefix = require("./prefix"); -name.suffix = require("./suffix"); -name.name = require("./name"); -name.title = require("./title"); +module.exports = { + male_prefix: require("./male_prefix"), + male_first_name: require("./male_first_name"), + male_last_name: require("./male_last_name"), + female_prefix: require("./female_prefix"), + female_first_name: require("./female_first_name"), + female_last_name: require("./female_last_name"), + first_name: require("./first_name"), + last_name: require("./last_name"), + prefix: require("./prefix"), + suffix: require("./suffix"), + name: require("./name"), + title: require("./title") +}; diff --git a/lib/locales/mk/name/male_prefix.js b/lib/locales/mk/name/male_prefix.js index 10a93ad1..6c436b4d 100644 --- a/lib/locales/mk/name/male_prefix.js +++ b/lib/locales/mk/name/male_prefix.js @@ -1,5 +1,5 @@ module.exports = [ "г-дин", "д-р", - "м-р", + "м-р" ]; diff --git a/lib/locales/mk/phone_number/index.js b/lib/locales/mk/phone_number/index.js index 36b6b18a..59b81270 100644 --- a/lib/locales/mk/phone_number/index.js +++ b/lib/locales/mk/phone_number/index.js @@ -1,3 +1,3 @@ -const phone_number = {}; -module['exports'] = phone_number; -phone_number.formats = require("./formats"); +module.exports = { + pformats: require("./formats") +}; diff --git a/lib/locales/nb_NO/address/index.js b/lib/locales/nb_NO/address/index.js index f9a18a01..880d651e 100644 --- a/lib/locales/nb_NO/address/index.js +++ b/lib/locales/nb_NO/address/index.js @@ -1,16 +1,16 @@ -const address = {}; -module['exports'] = address; -address.city_root = require("./city_root"); -address.city_suffix = require("./city_suffix"); -address.street_prefix = require("./street_prefix"); -address.street_root = require("./street_root"); -address.street_suffix = require("./street_suffix"); -address.common_street_suffix = require("./common_street_suffix"); -address.building_number = require("./building_number"); -address.secondary_address = require("./secondary_address"); -address.postcode = require("./postcode"); -address.state = require("./state"); -address.city = require("./city"); -address.street_name = require("./street_name"); -address.street_address = require("./street_address"); -address.default_country = require("./default_country"); +module.exports = { + city_root: require("./city_root"), + city_suffix: require("./city_suffix"), + street_prefix: require("./street_prefix"), + street_root: require("./street_root"), + street_suffix: require("./street_suffix"), + common_street_suffix: require("./common_street_suffix"), + building_number: require("./building_number"), + secondary_address: require("./secondary_address"), + postcode: require("./postcode"), + state: require("./state"), + city: require("./city"), + street_name: require("./street_name"), + street_address: require("./street_address"), + default_country: require("./default_country") +}; diff --git a/lib/locales/nb_NO/company/index.js b/lib/locales/nb_NO/company/index.js index 8f1b8c98..91cbfd95 100644 --- a/lib/locales/nb_NO/company/index.js +++ b/lib/locales/nb_NO/company/index.js @@ -1,4 +1,4 @@ -const company = {}; -module['exports'] = company; -company.suffix = require("./suffix"); -company.name = require("./name"); +module.exports = { + suffix: require("./suffix"), + name: require("./name") +}; diff --git a/lib/locales/nb_NO/index.js b/lib/locales/nb_NO/index.js index dfee0048..73ae35ae 100644 --- a/lib/locales/nb_NO/index.js +++ b/lib/locales/nb_NO/index.js @@ -1,8 +1,8 @@ -const nb_NO = {}; -module['exports'] = nb_NO; -nb_NO.title = "Norwegian"; -nb_NO.address = require("./address"); -nb_NO.company = require("./company"); -nb_NO.internet = require("./internet"); -nb_NO.name = require("./name"); -nb_NO.phone_number = require("./phone_number"); +module.exports = { + title: "Norwegian", + address: require("./address"), + company: require("./company"), + internet: require("./internet"), + name: require("./name"), + phone_number: require("./phone_number") +}; diff --git a/lib/locales/nb_NO/internet/index.js b/lib/locales/nb_NO/internet/index.js index 9251f559..f0555aed 100644 --- a/lib/locales/nb_NO/internet/index.js +++ b/lib/locales/nb_NO/internet/index.js @@ -1,3 +1,3 @@ -const internet = {}; -module['exports'] = internet; -internet.domain_suffix = require("./domain_suffix"); +module.exports = { + domain_suffix: require("./domain_suffix") +}; diff --git a/lib/locales/nb_NO/name/index.js b/lib/locales/nb_NO/name/index.js index bd1bdef1..78f808c8 100644 --- a/lib/locales/nb_NO/name/index.js +++ b/lib/locales/nb_NO/name/index.js @@ -1,9 +1,9 @@ -const name = {}; -module['exports'] = name; -name.first_name = require("./first_name"); -name.female_first_name = require("./feminine_name"); -name.male_first_name = require("./masculine_name"); -name.last_name = require("./last_name"); -name.prefix = require("./prefix"); -name.suffix = require("./suffix"); -name.name = require("./name"); +module.exports = { + first_name: require("./first_name"), + female_first_name: require("./feminine_name"), + male_first_name: require("./masculine_name"), + last_name: require("./last_name"), + prefix: require("./prefix"), + suffix: require("./suffix"), + name: require("./name") +}; diff --git a/lib/locales/nb_NO/phone_number/index.js b/lib/locales/nb_NO/phone_number/index.js index 36b6b18a..59b81270 100644 --- a/lib/locales/nb_NO/phone_number/index.js +++ b/lib/locales/nb_NO/phone_number/index.js @@ -1,3 +1,3 @@ -const phone_number = {}; -module['exports'] = phone_number; -phone_number.formats = require("./formats"); +module.exports = { + pformats: require("./formats") +}; diff --git a/lib/locales/ne/address/index.js b/lib/locales/ne/address/index.js index 1f4e550e..17f7bd30 100644 --- a/lib/locales/ne/address/index.js +++ b/lib/locales/ne/address/index.js @@ -1,6 +1,6 @@ -const address = {}; -module['exports'] = address; -address.postcode = require("./postcode"); -address.state = require("./state"); -address.city = require("./city"); -address.default_country = require("./default_country"); +module.exports = { + postcode: require("./postcode"), + state: require("./state"), + city: require("./city"), + default_country: require("./default_country") +}; diff --git a/lib/locales/ne/company/index.js b/lib/locales/ne/company/index.js index 15298471..6f1ca338 100644 --- a/lib/locales/ne/company/index.js +++ b/lib/locales/ne/company/index.js @@ -1,3 +1,3 @@ -const company = {}; -module['exports'] = company; -company.suffix = require("./suffix"); +module.exports = { + suffix: require("./suffix") +}; diff --git a/lib/locales/ne/index.js b/lib/locales/ne/index.js index efb1d8fe..1abbb9f9 100644 --- a/lib/locales/ne/index.js +++ b/lib/locales/ne/index.js @@ -1,8 +1,8 @@ -const ne = {}; -module['exports'] = ne; -ne.title = "Nepalese"; -ne.name = require("./name"); -ne.address = require("./address"); -ne.internet = require("./internet"); -ne.company = require("./company"); -ne.phone_number = require("./phone_number"); +module.exports = { + title: "Nepalese", + name: require("./name"), + address: require("./address"), + internet: require("./internet"), + company: require("./company"), + phone_number: require("./phone_number") +}; diff --git a/lib/locales/ne/internet/index.js b/lib/locales/ne/internet/index.js index c95143c1..3da76a8f 100644 --- a/lib/locales/ne/internet/index.js +++ b/lib/locales/ne/internet/index.js @@ -1,4 +1,4 @@ -const internet = {}; -module['exports'] = internet; -internet.free_email = require("./free_email"); -internet.domain_suffix = require("./domain_suffix"); +module.exports = { + free_email: require("./free_email"), + domain_suffix: require("./domain_suffix") +}; diff --git a/lib/locales/ne/name/index.js b/lib/locales/ne/name/index.js index 3b2c09f9..9a572323 100644 --- a/lib/locales/ne/name/index.js +++ b/lib/locales/ne/name/index.js @@ -1,4 +1,4 @@ -const name = {}; -module['exports'] = name; -name.first_name = require("./first_name"); -name.last_name = require("./last_name"); +module.exports = { + first_name: require("./first_name"), + last_name: require("./last_name") +}; diff --git a/lib/locales/ne/phone_number/index.js b/lib/locales/ne/phone_number/index.js index 36b6b18a..6fa921e5 100644 --- a/lib/locales/ne/phone_number/index.js +++ b/lib/locales/ne/phone_number/index.js @@ -1,3 +1,3 @@ -const phone_number = {}; -module['exports'] = phone_number; -phone_number.formats = require("./formats"); +module.exports = { + formats: require("./formats") +}; diff --git a/lib/locales/nl/address/index.js b/lib/locales/nl/address/index.js index cd82f30d..220f63d8 100644 --- a/lib/locales/nl/address/index.js +++ b/lib/locales/nl/address/index.js @@ -1,14 +1,14 @@ -const address = {}; -module['exports'] = address; -address.city_prefix = require("./city_prefix"); -address.city_suffix = require("./city_suffix"); -address.city = require("./city"); -address.country = require("./country"); -address.building_number = require("./building_number"); -address.street_suffix = require("./street_suffix"); -address.secondary_address = require("./secondary_address"); -address.street_name = require("./street_name"); -address.street_address = require("./street_address"); -address.postcode = require("./postcode"); -address.state = require("./state"); -address.default_country = require("./default_country"); +module.exports = { + city_prefix: require("./city_prefix"), + city_suffix: require("./city_suffix"), + city: require("./city"), + country: require("./country"), + building_number: require("./building_number"), + street_suffix: require("./street_suffix"), + secondary_address: require("./secondary_address"), + street_name: require("./street_name"), + street_address: require("./street_address"), + postcode: require("./postcode"), + state: require("./state"), + default_country: require("./default_country") +}; diff --git a/lib/locales/nl/commerce/index.js b/lib/locales/nl/commerce/index.js index db445cc6..511ce3be 100644 --- a/lib/locales/nl/commerce/index.js +++ b/lib/locales/nl/commerce/index.js @@ -1,5 +1,5 @@ -const commerce = {}; -module['exports'] = commerce; -commerce.color = require("./color"); -commerce.department = require("./department"); -commerce.product_name = require("./product_name"); +module.exports = { + color: require("./color"), + department: require("./department"), + product_name: require("./product_name") +}; diff --git a/lib/locales/nl/company/index.js b/lib/locales/nl/company/index.js index 15298471..6f1ca338 100644 --- a/lib/locales/nl/company/index.js +++ b/lib/locales/nl/company/index.js @@ -1,3 +1,3 @@ -const company = {}; -module['exports'] = company; -company.suffix = require("./suffix"); +module.exports = { + suffix: require("./suffix") +}; diff --git a/lib/locales/nl/hacker/index.js b/lib/locales/nl/hacker/index.js index 98c0816d..b49c21a3 100644 --- a/lib/locales/nl/hacker/index.js +++ b/lib/locales/nl/hacker/index.js @@ -1,6 +1,6 @@ -const hacker = {}; -module['exports'] = hacker; -hacker.adjective = require("./adjective"); -hacker.noun = require("./noun"); -hacker.verb = require("./verb"); -hacker.phrase = require("./phrase"); +module.exports = { + adjective: require("./adjective"), + noun: require("./noun"), + verb: require("./verb"), + phrase: require("./phrase") +}; diff --git a/lib/locales/nl/hacker/phrase.js b/lib/locales/nl/hacker/phrase.js index 261d6573..3bae3458 100644 --- a/lib/locales/nl/hacker/phrase.js +++ b/lib/locales/nl/hacker/phrase.js @@ -7,4 +7,4 @@ module.exports = [ "De {{abbreviation}} {{noun}} ligt eruit, jullie moeten de {{adjective}} {{noun}} {{verb}} zodat we de {{abbreviation}} {{noun}} kunnen {{verb}}!", "Het maakt niet uit of we de {{noun}} {{verb}}, we moeten de {{adjective}} {{abbreviation}} {{noun}} {{verb}}!", "Ik ga de {{adjective}} {{abbreviation}} {{noun}} {{verb}}, dat zou de {{noun}} moeten {{verb}}!" -]; \ No newline at end of file +]; diff --git a/lib/locales/nl/index.js b/lib/locales/nl/index.js index 873e3f5b..2304af3f 100644 --- a/lib/locales/nl/index.js +++ b/lib/locales/nl/index.js @@ -1,12 +1,12 @@ -const nl = {}; -module['exports'] = nl; -nl.title = "Dutch"; -nl.address = require("./address"); -nl.commerce = require("./commerce"); -nl.company = require("./company"); -nl.date = require("./date"); -nl.hacker = require("./hacker"); -nl.internet = require("./internet"); -nl.lorem = require("./lorem"); -nl.name = require("./name"); -nl.phone_number = require("./phone_number"); +module.exports = { + title: "Dutch", + address: require("./address"), + commerce: require("./commerce"), + company: require("./company"), + date: require("./date"), + hacker: require("./hacker"), + internet: require("./internet"), + lorem: require("./lorem"), + name: require("./name"), + phone_number: require("./phone_number") +}; diff --git a/lib/locales/nl/internet/index.js b/lib/locales/nl/internet/index.js index c95143c1..3da76a8f 100644 --- a/lib/locales/nl/internet/index.js +++ b/lib/locales/nl/internet/index.js @@ -1,4 +1,4 @@ -const internet = {}; -module['exports'] = internet; -internet.free_email = require("./free_email"); -internet.domain_suffix = require("./domain_suffix"); +module.exports = { + free_email: require("./free_email"), + domain_suffix: require("./domain_suffix") +}; diff --git a/lib/locales/nl/lorem/index.js b/lib/locales/nl/lorem/index.js index 47ae78b5..85491b9b 100644 --- a/lib/locales/nl/lorem/index.js +++ b/lib/locales/nl/lorem/index.js @@ -1,3 +1,3 @@ -const lorem = {}; -module['exports'] = lorem; -lorem.words = require("./words"); +module.exports = { + words: require("./words") +}; diff --git a/lib/locales/nl/name/female_first_name.js b/lib/locales/nl/name/female_first_name.js index c360f7f8..4a5b0acc 100644 --- a/lib/locales/nl/name/female_first_name.js +++ b/lib/locales/nl/name/female_first_name.js @@ -514,4 +514,4 @@ module.exports = [ "Sophie", "Mila", "Emma" -]; \ No newline at end of file +]; diff --git a/lib/locales/nl/name/index.js b/lib/locales/nl/name/index.js index 97c9e2fc..848f354a 100644 --- a/lib/locales/nl/name/index.js +++ b/lib/locales/nl/name/index.js @@ -1,10 +1,10 @@ -const name = {}; -module['exports'] = name; -name.female_first_name = require("./female_first_name"); -name.first_name = require("./first_name"); -name.tussenvoegsel = require("./tussenvoegsel"); -name.last_name = require("./last_name"); -name.male_first_name = require("./male_first_name"); -name.prefix = require("./prefix"); -name.suffix = require("./suffix"); -name.name = require("./name"); +module.exports = { + female_first_name: require("./female_first_name"), + first_name: require("./first_name"), + tussenvoegsel: require("./tussenvoegsel"), + last_name: require("./last_name"), + male_first_name: require("./male_first_name"), + prefix: require("./prefix"), + suffix: require("./suffix"), + name: require("./name") +}; diff --git a/lib/locales/nl/name/male_first_name.js b/lib/locales/nl/name/male_first_name.js index 2a825766..cf9f21d2 100644 --- a/lib/locales/nl/name/male_first_name.js +++ b/lib/locales/nl/name/male_first_name.js @@ -586,5 +586,5 @@ module.exports = [ "Levi", "Lucas", "Daan", - "Noah", -]; \ No newline at end of file + "Noah" +]; diff --git a/lib/locales/nl/phone_number/index.js b/lib/locales/nl/phone_number/index.js index 36b6b18a..6fa921e5 100644 --- a/lib/locales/nl/phone_number/index.js +++ b/lib/locales/nl/phone_number/index.js @@ -1,3 +1,3 @@ -const phone_number = {}; -module['exports'] = phone_number; -phone_number.formats = require("./formats"); +module.exports = { + formats: require("./formats") +}; diff --git a/lib/locales/nl_BE/address/city_suffix.js b/lib/locales/nl_BE/address/city_suffix.js index 8f2ee222..d4514c89 100644 --- a/lib/locales/nl_BE/address/city_suffix.js +++ b/lib/locales/nl_BE/address/city_suffix.js @@ -3,4 +3,4 @@ module.exports = [ "tem", "vijve", "zele" -] +]; diff --git a/lib/locales/nl_BE/address/index.js b/lib/locales/nl_BE/address/index.js index 8711b39c..827b808b 100644 --- a/lib/locales/nl_BE/address/index.js +++ b/lib/locales/nl_BE/address/index.js @@ -1,18 +1,14 @@ -const address = {}; -module['exports'] = address; -address.city_prefix = require("./city_prefix"); -address.city_suffix = require("./city_suffix"); - -address.building_number = require("./building_number"); -address.street_suffix = require("./street_suffix"); -address.secondary_address = require("./secondary_address"); -address.postcode = require("./postcode"); - -address.state = require("./state"); -address.state_abbr = require("./state_abbr"); - -address.city = require("./city"); -address.street_name = require("./street_name"); -address.street_address = require("./street_address"); -address.default_country = require("./default_country"); - +module.exports = { + city_prefix: require("./city_prefix"), + city_suffix: require("./city_suffix"), + building_number: require("./building_number"), + street_suffix: require("./street_suffix"), + secondary_address: require("./secondary_address"), + postcode: require("./postcode"), + state: require("./state"), + state_abbr: require("./state_abbr"), + city: require("./city"), + street_name: require("./street_name"), + street_address: require("./street_address"), + default_country: require("./default_country") +}; diff --git a/lib/locales/nl_BE/company/index.js b/lib/locales/nl_BE/company/index.js index 15298471..6f1ca338 100644 --- a/lib/locales/nl_BE/company/index.js +++ b/lib/locales/nl_BE/company/index.js @@ -1,3 +1,3 @@ -const company = {}; -module['exports'] = company; -company.suffix = require("./suffix"); +module.exports = { + suffix: require("./suffix") +}; diff --git a/lib/locales/nl_BE/index.js b/lib/locales/nl_BE/index.js index 138ead24..39977659 100644 --- a/lib/locales/nl_BE/index.js +++ b/lib/locales/nl_BE/index.js @@ -1,8 +1,8 @@ -const nl_BE = {}; -module['exports'] = nl_BE; -nl_BE.title = "Dutch (Belgium)"; -nl_BE.address = require("./address"); -nl_BE.company = require("./company"); -nl_BE.internet = require("./internet"); -nl_BE.name = require("./name"); -nl_BE.phone_number = require("./phone_number"); +module.exports = { + title: "Dutch (Belgium)", + address: require("./address"), + company: require("./company"), + internet: require("./internet"), + name: require("./name"), + phone_number: require("./phone_number") +}; diff --git a/lib/locales/nl_BE/internet/index.js b/lib/locales/nl_BE/internet/index.js index c95143c1..3da76a8f 100644 --- a/lib/locales/nl_BE/internet/index.js +++ b/lib/locales/nl_BE/internet/index.js @@ -1,4 +1,4 @@ -const internet = {}; -module['exports'] = internet; -internet.free_email = require("./free_email"); -internet.domain_suffix = require("./domain_suffix"); +module.exports = { + free_email: require("./free_email"), + domain_suffix: require("./domain_suffix") +}; diff --git a/lib/locales/nl_BE/name/index.js b/lib/locales/nl_BE/name/index.js index 4eac6713..4752e469 100644 --- a/lib/locales/nl_BE/name/index.js +++ b/lib/locales/nl_BE/name/index.js @@ -1,7 +1,7 @@ -const name = {}; -module['exports'] = name; -name.first_name = require("./first_name"); -name.last_name = require("./last_name"); -name.prefix = require("./prefix"); -name.suffix = require("./suffix"); -name.name = require("./name"); +module.exports = { + first_name: require("./first_name"), + last_name: require("./last_name"), + prefix: require("./prefix"), + suffix: require("./suffix"), + name: require("./name") +}; diff --git a/lib/locales/nl_BE/name/last_name.js b/lib/locales/nl_BE/name/last_name.js index bc01a48f..1bf3b9f6 100644 --- a/lib/locales/nl_BE/name/last_name.js +++ b/lib/locales/nl_BE/name/last_name.js @@ -31,4 +31,4 @@ module.exports = [ "Verstraete", "Willems", "Wouters" -] +]; diff --git a/lib/locales/nl_BE/phone_number/index.js b/lib/locales/nl_BE/phone_number/index.js index 36b6b18a..6fa921e5 100644 --- a/lib/locales/nl_BE/phone_number/index.js +++ b/lib/locales/nl_BE/phone_number/index.js @@ -1,3 +1,3 @@ -const phone_number = {}; -module['exports'] = phone_number; -phone_number.formats = require("./formats"); +module.exports = { + formats: require("./formats") +}; diff --git a/lib/locales/pl/address/index.js b/lib/locales/pl/address/index.js index 6faed6b7..4c02d022 100644 --- a/lib/locales/pl/address/index.js +++ b/lib/locales/pl/address/index.js @@ -1,14 +1,14 @@ -const address = {}; -module['exports'] = address; -address.country = require("./country"); -address.building_number = require("./building_number"); -address.street_prefix = require("./street_prefix"); -address.secondary_address = require("./secondary_address"); -address.postcode = require("./postcode"); -address.state = require("./state"); -address.state_abbr = require("./state_abbr"); -address.city_name = require("./city_name"); -address.city = require("./city"); -address.street_name = require("./street_name"); -address.street_address = require("./street_address"); -address.default_country = require("./default_country"); +module.exports = { + country: require("./country"), + building_number: require("./building_number"), + street_prefix: require("./street_prefix"), + secondary_address: require("./secondary_address"), + postcode: require("./postcode"), + state: require("./state"), + state_abbr: require("./state_abbr"), + city_name: require("./city_name"), + city: require("./city"), + street_name: require("./street_name"), + street_address: require("./street_address"), + default_country: require("./default_country") +}; diff --git a/lib/locales/pl/cell_phone/index.js b/lib/locales/pl/cell_phone/index.js index 1f65f965..6fa921e5 100644 --- a/lib/locales/pl/cell_phone/index.js +++ b/lib/locales/pl/cell_phone/index.js @@ -1,3 +1,3 @@ -const cell_phone = {}; -module['exports'] = cell_phone; -cell_phone.formats = require("./formats"); +module.exports = { + formats: require("./formats") +}; diff --git a/lib/locales/pl/company/index.js b/lib/locales/pl/company/index.js index 4eb1ed35..c30ccd79 100644 --- a/lib/locales/pl/company/index.js +++ b/lib/locales/pl/company/index.js @@ -1,10 +1,10 @@ -const company = {}; -module['exports'] = company; -company.suffix = require("./suffix"); -company.adjetive = require("./adjetive"); -company.descriptor = require("./descriptor"); -company.noun = require("./noun"); -company.bs_verb = require("./bs_verb"); -company.bs_adjective = require("./bs_adjective"); -company.bs_noun = require("./bs_noun"); -company.name = require("./name"); +module.exports = { + suffix: require("./suffix"), + adjetive: require("./adjetive"), + descriptor: require("./descriptor"), + noun: require("./noun"), + bs_verb: require("./bs_verb"), + bs_adjective: require("./bs_adjective"), + bs_noun: require("./bs_noun"), + name: require("./name") +}; diff --git a/lib/locales/pl/index.js b/lib/locales/pl/index.js index d78f2dd4..0963e914 100644 --- a/lib/locales/pl/index.js +++ b/lib/locales/pl/index.js @@ -1,10 +1,10 @@ -const pl = {}; -module['exports'] = pl; -pl.title = "Polish"; -pl.name = require("./name"); -pl.address = require("./address"); -pl.company = require("./company"); -pl.internet = require("./internet"); -pl.lorem = require("./lorem"); -pl.phone_number = require("./phone_number"); -pl.cell_phone = require("./cell_phone"); +module.exports = { + title: "Polish", + name: require("./name"), + address: require("./address"), + company: require("./company"), + internet: require("./internet"), + lorem: require("./lorem"), + phone_number: require("./phone_number"), + cell_phone: require("./cell_phone") +}; diff --git a/lib/locales/pl/internet/index.js b/lib/locales/pl/internet/index.js index c95143c1..3da76a8f 100644 --- a/lib/locales/pl/internet/index.js +++ b/lib/locales/pl/internet/index.js @@ -1,4 +1,4 @@ -const internet = {}; -module['exports'] = internet; -internet.free_email = require("./free_email"); -internet.domain_suffix = require("./domain_suffix"); +module.exports = { + free_email: require("./free_email"), + domain_suffix: require("./domain_suffix") +}; diff --git a/lib/locales/pl/lorem/index.js b/lib/locales/pl/lorem/index.js index 47ae78b5..85491b9b 100644 --- a/lib/locales/pl/lorem/index.js +++ b/lib/locales/pl/lorem/index.js @@ -1,3 +1,3 @@ -const lorem = {}; -module['exports'] = lorem; -lorem.words = require("./words"); +module.exports = { + words: require("./words") +}; diff --git a/lib/locales/pl/name/female_first_name.js b/lib/locales/pl/name/female_first_name.js index 9937a2e2..09bdea07 100644 --- a/lib/locales/pl/name/female_first_name.js +++ b/lib/locales/pl/name/female_first_name.js @@ -173,4 +173,4 @@ module.exports = [ "Ksawera", "Ksenia", "Zoe" -] +]; diff --git a/lib/locales/pl/name/index.js b/lib/locales/pl/name/index.js index f94a9ecc..a2c8634e 100644 --- a/lib/locales/pl/name/index.js +++ b/lib/locales/pl/name/index.js @@ -1,7 +1,7 @@ -const name = {}; -module['exports'] = name; -name.first_name = require("./first_name"); -name.last_name = require("./last_name"); -name.prefix = require("./prefix"); -name.title = require("./title"); -name.name = require("./name"); +module.exports = { + first_name: require("./first_name"), + last_name: require("./last_name"), + prefix: require("./prefix"), + title: require("./title"), + name: require("./name") +}; diff --git a/lib/locales/pl/name/male_first_name.js b/lib/locales/pl/name/male_first_name.js index 03b05732..1f3a1975 100644 --- a/lib/locales/pl/name/male_first_name.js +++ b/lib/locales/pl/name/male_first_name.js @@ -233,4 +233,4 @@ module.exports = [ "Jerzy", "Zachariasz", "Zachary" -] +]; diff --git a/lib/locales/pl/phone_number/index.js b/lib/locales/pl/phone_number/index.js index 36b6b18a..6fa921e5 100644 --- a/lib/locales/pl/phone_number/index.js +++ b/lib/locales/pl/phone_number/index.js @@ -1,3 +1,3 @@ -const phone_number = {}; -module['exports'] = phone_number; -phone_number.formats = require("./formats"); +module.exports = { + formats: require("./formats") +}; diff --git a/lib/locales/pt_BR/address/index.js b/lib/locales/pt_BR/address/index.js index 6343d2d3..07c275bb 100644 --- a/lib/locales/pt_BR/address/index.js +++ b/lib/locales/pt_BR/address/index.js @@ -1,12 +1,12 @@ -const address = {}; -module['exports'] = address; -address.city_prefix = require("./city_prefix"); -address.city_suffix = require("./city_suffix"); -address.country = require("./country"); -address.building_number = require("./building_number"); -address.street_suffix = require("./street_suffix"); -address.secondary_address = require("./secondary_address"); -address.postcode = require("./postcode"); -address.state = require("./state"); -address.state_abbr = require("./state_abbr"); -address.default_country = require("./default_country"); +module.exports = { + city_prefix: require("./city_prefix"), + city_suffix: require("./city_suffix"), + country: require("./country"), + building_number: require("./building_number"), + street_suffix: require("./street_suffix"), + secondary_address: require("./secondary_address"), + postcode: require("./postcode"), + state: require("./state"), + state_abbr: require("./state_abbr"), + default_country: require("./default_country") +}; diff --git a/lib/locales/pt_BR/commerce/index.js b/lib/locales/pt_BR/commerce/index.js index 271876c5..511ce3be 100644 --- a/lib/locales/pt_BR/commerce/index.js +++ b/lib/locales/pt_BR/commerce/index.js @@ -1,5 +1,5 @@ -const commerce = {}; -module['exports'] = commerce; -commerce.color = require("./color"); -commerce.department = require("./department"); -commerce.product_name = require("./product_name"); +module.exports = { + color: require("./color"), + department: require("./department"), + product_name: require("./product_name") +}; diff --git a/lib/locales/pt_BR/company/index.js b/lib/locales/pt_BR/company/index.js index 8f1b8c98..91cbfd95 100644 --- a/lib/locales/pt_BR/company/index.js +++ b/lib/locales/pt_BR/company/index.js @@ -1,4 +1,4 @@ -const company = {}; -module['exports'] = company; -company.suffix = require("./suffix"); -company.name = require("./name"); +module.exports = { + suffix: require("./suffix"), + name: require("./name") +}; diff --git a/lib/locales/pt_BR/index.js b/lib/locales/pt_BR/index.js index 7c42938d..fc683a3c 100644 --- a/lib/locales/pt_BR/index.js +++ b/lib/locales/pt_BR/index.js @@ -1,11 +1,11 @@ -const pt_BR = {}; -module['exports'] = pt_BR; -pt_BR.title = "Portuguese (Brazil)"; -pt_BR.address = require("./address"); -pt_BR.company = require("./company"); -pt_BR.commerce = require("./commerce"); -pt_BR.internet = require("./internet"); -pt_BR.lorem = require("./lorem"); -pt_BR.name = require("./name"); -pt_BR.phone_number = require("./phone_number"); -pt_BR.date = require("./date"); +module.exports = { + title: "Portuguese (Brazil)", + address: require("./address"), + company: require("./company"), + commerce: require("./commerce"), + internet: require("./internet"), + lorem: require("./lorem"), + name: require("./name"), + phone_number: require("./phone_number"), + date: require("./date") +}; diff --git a/lib/locales/pt_BR/internet/index.js b/lib/locales/pt_BR/internet/index.js index c95143c1..3da76a8f 100644 --- a/lib/locales/pt_BR/internet/index.js +++ b/lib/locales/pt_BR/internet/index.js @@ -1,4 +1,4 @@ -const internet = {}; -module['exports'] = internet; -internet.free_email = require("./free_email"); -internet.domain_suffix = require("./domain_suffix"); +module.exports = { + free_email: require("./free_email"), + domain_suffix: require("./domain_suffix") +}; diff --git a/lib/locales/pt_BR/lorem/index.js b/lib/locales/pt_BR/lorem/index.js index 47ae78b5..85491b9b 100644 --- a/lib/locales/pt_BR/lorem/index.js +++ b/lib/locales/pt_BR/lorem/index.js @@ -1,3 +1,3 @@ -const lorem = {}; -module['exports'] = lorem; -lorem.words = require("./words"); +module.exports = { + words: require("./words") +}; diff --git a/lib/locales/pt_BR/name/binary_gender.js b/lib/locales/pt_BR/name/binary_gender.js index 43523da3..273fd10b 100644 --- a/lib/locales/pt_BR/name/binary_gender.js +++ b/lib/locales/pt_BR/name/binary_gender.js @@ -1,4 +1,4 @@ module.exports = [ "Feminino", "Masculino" -]; \ No newline at end of file +]; diff --git a/lib/locales/pt_BR/name/female_first_name.js b/lib/locales/pt_BR/name/female_first_name.js index cff7c342..f7f8c0a2 100644 --- a/lib/locales/pt_BR/name/female_first_name.js +++ b/lib/locales/pt_BR/name/female_first_name.js @@ -79,4 +79,4 @@ module.exports = [ "Valentina", "Vitória", "Yasmin" -]; \ No newline at end of file +]; diff --git a/lib/locales/pt_BR/name/index.js b/lib/locales/pt_BR/name/index.js index 01b4a962..029c6025 100644 --- a/lib/locales/pt_BR/name/index.js +++ b/lib/locales/pt_BR/name/index.js @@ -1,10 +1,10 @@ -const name = {}; -module['exports'] = name; -name.male_first_name = require("./male_first_name"); -name.female_first_name = require("./female_first_name"); -name.first_name = require("./first_name"); -name.last_name = require("./last_name"); -name.prefix = require("./prefix"); -name.suffix = require("./suffix"); -name.binary_gender = require("./binary_gender"); -name.title = require("./title"); \ No newline at end of file +module.exports = { + male_first_name: require("./male_first_name"), + female_first_name: require("./female_first_name"), + first_name: require("./first_name"), + last_name: require("./last_name"), + prefix: require("./prefix"), + suffix: require("./suffix"), + binary_gender: require("./binary_gender"), + title: require("./title") +}; diff --git a/lib/locales/pt_BR/name/male_first_name.js b/lib/locales/pt_BR/name/male_first_name.js index 26035c86..3e0561a1 100644 --- a/lib/locales/pt_BR/name/male_first_name.js +++ b/lib/locales/pt_BR/name/male_first_name.js @@ -87,4 +87,4 @@ module.exports = [ "Yango", "Yuri", "Ígor" -]; \ No newline at end of file +]; diff --git a/lib/locales/pt_BR/phone_number/index.js b/lib/locales/pt_BR/phone_number/index.js index 36b6b18a..6fa921e5 100644 --- a/lib/locales/pt_BR/phone_number/index.js +++ b/lib/locales/pt_BR/phone_number/index.js @@ -1,3 +1,3 @@ -const phone_number = {}; -module['exports'] = phone_number; -phone_number.formats = require("./formats"); +module.exports = { + formats: require("./formats") +}; diff --git a/lib/locales/pt_PT/address/index.js b/lib/locales/pt_PT/address/index.js index a2cf8fc3..2678a02c 100644 --- a/lib/locales/pt_PT/address/index.js +++ b/lib/locales/pt_PT/address/index.js @@ -1,14 +1,14 @@ -const address = {}; -module['exports'] = address; -address.country = require("./country"); -address.street_name = require("./street_name"); -address.building_number = require("./building_number"); -address.street_prefix = require("./street_prefix"); -address.postcode = require("./postcode"); -address.city_prefix = require("./city_prefix"); -address.city_name = require("./city_name"); -address.city_suffix = require("./city_suffix"); -address.city = require("./city"); -address.direction = require("./direction"); -address.street_address = require("./street_address"); -address.default_country = require("./default_country"); +module.exports = { + country: require("./country"), + street_name: require("./street_name"), + building_number: require("./building_number"), + street_prefix: require("./street_prefix"), + postcode: require("./postcode"), + city_prefix: require("./city_prefix"), + city_name: require("./city_name"), + city_suffix: require("./city_suffix"), + city: require("./city"), + direction: require("./direction"), + street_address: require("./street_address"), + default_country: require("./default_country") +}; diff --git a/lib/locales/pt_PT/cell_phone/index.js b/lib/locales/pt_PT/cell_phone/index.js index 1f65f965..6fa921e5 100644 --- a/lib/locales/pt_PT/cell_phone/index.js +++ b/lib/locales/pt_PT/cell_phone/index.js @@ -1,3 +1,3 @@ -const cell_phone = {}; -module['exports'] = cell_phone; -cell_phone.formats = require("./formats"); +module.exports = { + formats: require("./formats") +}; diff --git a/lib/locales/pt_PT/commerce/index.js b/lib/locales/pt_PT/commerce/index.js index 271876c5..511ce3be 100644 --- a/lib/locales/pt_PT/commerce/index.js +++ b/lib/locales/pt_PT/commerce/index.js @@ -1,5 +1,5 @@ -const commerce = {}; -module['exports'] = commerce; -commerce.color = require("./color"); -commerce.department = require("./department"); -commerce.product_name = require("./product_name"); +module.exports = { + color: require("./color"), + department: require("./department"), + product_name: require("./product_name") +}; diff --git a/lib/locales/pt_PT/index.js b/lib/locales/pt_PT/index.js index e4b52e99..4495f6f7 100644 --- a/lib/locales/pt_PT/index.js +++ b/lib/locales/pt_PT/index.js @@ -1,10 +1,10 @@ -const pt_PT = {}; -module['exports'] = pt_PT; -pt_PT.title = "Portuguese (Portugal)"; -pt_PT.address = require("./address"); -pt_PT.internet = require("./internet"); -pt_PT.name = require("./name"); -pt_PT.phone_number = require("./phone_number"); -pt_PT.cell_phone = require("./cell_phone"); -pt_PT.commerce = require("./commerce"); -pt_PT.date = require("./date"); +module.exports = { + title: "Portuguese (Portugal)", + address: require("./address"), + internet: require("./internet"), + name: require("./name"), + phone_number: require("./phone_number"), + cell_phone: require("./cell_phone"), + commerce: require("./commerce"), + date: require("./date") +}; diff --git a/lib/locales/pt_PT/internet/index.js b/lib/locales/pt_PT/internet/index.js index c95143c1..3da76a8f 100644 --- a/lib/locales/pt_PT/internet/index.js +++ b/lib/locales/pt_PT/internet/index.js @@ -1,4 +1,4 @@ -const internet = {}; -module['exports'] = internet; -internet.free_email = require("./free_email"); -internet.domain_suffix = require("./domain_suffix"); +module.exports = { + free_email: require("./free_email"), + domain_suffix: require("./domain_suffix") +}; diff --git a/lib/locales/pt_PT/name/index.js b/lib/locales/pt_PT/name/index.js index 8ff02285..5216c0fe 100644 --- a/lib/locales/pt_PT/name/index.js +++ b/lib/locales/pt_PT/name/index.js @@ -1,11 +1,11 @@ -const name = {}; -module['exports'] = name; -name.male_prefix = require("./male_prefix"); -name.male_first_name = require("./male_first_name"); -name.female_prefix = require("./female_prefix"); -name.female_first_name = require("./female_first_name"); -name.first_name = require("./first_name"); -name.last_name = require("./last_name"); -name.prefix = require("./prefix"); -name.suffix = require("./suffix"); -name.name = require("./name"); +module.exports = { + male_prefix: require("./male_prefix"), + male_first_name: require("./male_first_name"), + female_prefix: require("./female_prefix"), + female_first_name: require("./female_first_name"), + first_name: require("./first_name"), + last_name: require("./last_name"), + prefix: require("./prefix"), + suffix: require("./suffix"), + name: require("./name") +}; diff --git a/lib/locales/pt_PT/name/male_prefix.js b/lib/locales/pt_PT/name/male_prefix.js index d688f87a..42c4c01c 100644 --- a/lib/locales/pt_PT/name/male_prefix.js +++ b/lib/locales/pt_PT/name/male_prefix.js @@ -2,5 +2,5 @@ module.exports = [ "Sr.", "Dr.", "Prof.", - "Eng.º", + "Eng.º" ]; diff --git a/lib/locales/pt_PT/phone_number/index.js b/lib/locales/pt_PT/phone_number/index.js index 36b6b18a..6fa921e5 100644 --- a/lib/locales/pt_PT/phone_number/index.js +++ b/lib/locales/pt_PT/phone_number/index.js @@ -1,3 +1,3 @@ -const phone_number = {}; -module['exports'] = phone_number; -phone_number.formats = require("./formats"); +module.exports = { + formats: require("./formats") +}; diff --git a/lib/locales/ro/address/city.js b/lib/locales/ro/address/city.js index ec6c04ac..09ac58e8 100644 --- a/lib/locales/ro/address/city.js +++ b/lib/locales/ro/address/city.js @@ -299,4 +299,4 @@ module.exports = [ "Nucet", "Solca", "Băile Tușnad" -]; \ No newline at end of file +]; diff --git a/lib/locales/ro/address/index.js b/lib/locales/ro/address/index.js index 9140bbfb..a6ce8571 100644 --- a/lib/locales/ro/address/index.js +++ b/lib/locales/ro/address/index.js @@ -1,14 +1,14 @@ -const address = {}; -module['exports'] = address; -address.building_number = require("./building_number"); -address.city = require("./city"); -address.county = require("./county"); -address.default_country = require("./default_country"); -address.postcode = require("./postcode"); -address.secondary_address = require("./secondary_address"); -address.state = require("./state"); -address.state_abbr = require("./state_abbr"); -address.street_address = require("./street_address"); -address.street_name = require("./street_name"); -address.street_suffix = require("./street_suffix"); -address.streets = require("./streets"); +module.exports = { + building_number: require("./building_number"), + city: require("./city"), + county: require("./county"), + default_country: require("./default_country"), + postcode: require("./postcode"), + secondary_address: require("./secondary_address"), + state: require("./state"), + state_abbr: require("./state_abbr"), + street_address: require("./street_address"), + street_name: require("./street_name"), + street_suffix: require("./street_suffix"), + streets: require("./streets") +}; diff --git a/lib/locales/ro/address/state_abbr.js b/lib/locales/ro/address/state_abbr.js index 191a1389..64d3f294 100644 --- a/lib/locales/ro/address/state_abbr.js +++ b/lib/locales/ro/address/state_abbr.js @@ -41,4 +41,4 @@ module.exports = [ "VL", "VS", "VN" -]; \ No newline at end of file +]; diff --git a/lib/locales/ro/address/streets.js b/lib/locales/ro/address/streets.js index 7d1269c2..90e8428a 100644 --- a/lib/locales/ro/address/streets.js +++ b/lib/locales/ro/address/streets.js @@ -99,4 +99,4 @@ module.exports = [ "Bega", "Dobrun", "Fulgeresti" -]; \ No newline at end of file +]; diff --git a/lib/locales/ro/cell_phone/index.js b/lib/locales/ro/cell_phone/index.js index 1f65f965..6fa921e5 100644 --- a/lib/locales/ro/cell_phone/index.js +++ b/lib/locales/ro/cell_phone/index.js @@ -1,3 +1,3 @@ -const cell_phone = {}; -module['exports'] = cell_phone; -cell_phone.formats = require("./formats"); +module.exports = { + formats: require("./formats") +}; diff --git a/lib/locales/ro/index.js b/lib/locales/ro/index.js index d31d7269..fae91157 100644 --- a/lib/locales/ro/index.js +++ b/lib/locales/ro/index.js @@ -1,9 +1,9 @@ -const ro = {}; -module['exports'] = ro; -ro.title = "Romanian"; -ro.address = require("./address"); -ro.cell_phone = require("./cell_phone"); -ro.date = require("./date"); -ro.internet = require("./internet"); -ro.name = require("./name"); -ro.phone_number = require("./phone_number"); +module.exports = { + title: "Romanian", + address: require("./address"), + cell_phone: require("./cell_phone"), + date: require("./date"), + internet: require("./internet"), + name: require("./name"), + phone_number: require("./phone_number") +}; diff --git a/lib/locales/ro/internet/index.js b/lib/locales/ro/internet/index.js index c95143c1..3da76a8f 100644 --- a/lib/locales/ro/internet/index.js +++ b/lib/locales/ro/internet/index.js @@ -1,4 +1,4 @@ -const internet = {}; -module['exports'] = internet; -internet.free_email = require("./free_email"); -internet.domain_suffix = require("./domain_suffix"); +module.exports = { + free_email: require("./free_email"), + domain_suffix: require("./domain_suffix") +}; diff --git a/lib/locales/ro/name/index.js b/lib/locales/ro/name/index.js index 2edb1672..65a7037b 100644 --- a/lib/locales/ro/name/index.js +++ b/lib/locales/ro/name/index.js @@ -1,8 +1,8 @@ -const name = {}; -module['exports'] = name; -name.male_first_name = require("./male_first_name"); -name.female_first_name = require("./female_first_name"); -name.last_name = require("./last_name"); -name.prefix = require("./prefix"); -name.suffix = require("./suffix"); -name.name = require("./name"); +module.exports = { + male_first_name: require("./male_first_name"), + female_first_name: require("./female_first_name"), + last_name: require("./last_name"), + prefix: require("./prefix"), + suffix: require("./suffix"), + name: require("./name") +}; diff --git a/lib/locales/ro/phone_number/index.js b/lib/locales/ro/phone_number/index.js index 36b6b18a..6fa921e5 100644 --- a/lib/locales/ro/phone_number/index.js +++ b/lib/locales/ro/phone_number/index.js @@ -1,3 +1,3 @@ -const phone_number = {}; -module['exports'] = phone_number; -phone_number.formats = require("./formats"); +module.exports = { + formats: require("./formats") +}; diff --git a/lib/locales/ru/address/index.js b/lib/locales/ru/address/index.js index 24d85128..9ac59e00 100644 --- a/lib/locales/ru/address/index.js +++ b/lib/locales/ru/address/index.js @@ -1,14 +1,14 @@ -const address = {}; -module['exports'] = address; -address.country = require("./country"); -address.building_number = require("./building_number"); -address.street_suffix = require("./street_suffix"); -address.secondary_address = require("./secondary_address"); -address.postcode = require("./postcode"); -address.state = require("./state"); -address.street_title = require("./street_title"); -address.city_name = require("./city_name"); -address.city = require("./city"); -address.street_name = require("./street_name"); -address.street_address = require("./street_address"); -address.default_country = require("./default_country"); +module.exports = { + country: require("./country"), + building_number: require("./building_number"), + street_suffix: require("./street_suffix"), + secondary_address: require("./secondary_address"), + postcode: require("./postcode"), + state: require("./state"), + street_title: require("./street_title"), + city_name: require("./city_name"), + city: require("./city"), + street_name: require("./street_name"), + street_address: require("./street_address"), + default_country: require("./default_country") +}; diff --git a/lib/locales/ru/commerce/index.js b/lib/locales/ru/commerce/index.js index 271876c5..511ce3be 100644 --- a/lib/locales/ru/commerce/index.js +++ b/lib/locales/ru/commerce/index.js @@ -1,5 +1,5 @@ -const commerce = {}; -module['exports'] = commerce; -commerce.color = require("./color"); -commerce.department = require("./department"); -commerce.product_name = require("./product_name"); +module.exports = { + color: require("./color"), + department: require("./department"), + product_name: require("./product_name") +}; diff --git a/lib/locales/ru/company/index.js b/lib/locales/ru/company/index.js index 2d142169..d54eba6c 100644 --- a/lib/locales/ru/company/index.js +++ b/lib/locales/ru/company/index.js @@ -1,5 +1,5 @@ -const company = {}; -module['exports'] = company; -company.prefix = require("./prefix"); -company.suffix = require("./suffix"); -company.name = require("./name"); +module.exports = { + prefix: require("./prefix"), + suffix: require("./suffix"), + name: require("./name") +}; diff --git a/lib/locales/ru/hacker/index.js b/lib/locales/ru/hacker/index.js index 423da495..63d0213e 100644 --- a/lib/locales/ru/hacker/index.js +++ b/lib/locales/ru/hacker/index.js @@ -1,8 +1,8 @@ -const hacker = {}; -module['exports'] = hacker; -hacker.abbreviation = require("./abbreviation"); -hacker.adjective = require("./adjective"); -hacker.noun = require("./noun"); -hacker.verb = require("./verb"); -hacker.ingverb = require("./ingverb"); -hacker.phrase = require("./phrase"); +module.exports = { + abbreviation: require("./abbreviation"), + adjective: require("./adjective"), + noun: require("./noun"), + verb: require("./verb"), + ingverb: require("./ingverb"), + phrase: require("./phrase") +}; diff --git a/lib/locales/ru/hacker/phrase.js b/lib/locales/ru/hacker/phrase.js index cdf8c85d..d7dcb3da 100644 --- a/lib/locales/ru/hacker/phrase.js +++ b/lib/locales/ru/hacker/phrase.js @@ -7,4 +7,4 @@ module.exports = [ "{{abbreviation}} {{noun}} недоступен, требуется {{verb}} {{adjective}} {{noun}}, чтобы мы могли {{verb}} {{abbreviation}} {{noun}}!", "{{ingverb}} не работает, попробуйте {{verb}} {{adjective}} {{abbreviation}} {{noun}}!", "Я планирую {{verb}} {{adjective}} {{abbreviation}} {{noun}}, это должно помочь {{verb}} {{abbreviation}} {{noun}}!" -]; \ No newline at end of file +]; diff --git a/lib/locales/ru/index.js b/lib/locales/ru/index.js index 3b1ed0ef..dd7a4bf1 100644 --- a/lib/locales/ru/index.js +++ b/lib/locales/ru/index.js @@ -1,13 +1,13 @@ -const ru = {}; -module['exports'] = ru; -ru.title = "Russian"; -ru.separator = " и "; -ru.address = require("./address"); -ru.internet = require("./internet"); -ru.lorem = require("./lorem"); -ru.name = require("./name"); -ru.phone_number = require("./phone_number"); -ru.commerce = require("./commerce"); -ru.company = require("./company"); -ru.date = require("./date"); -ru.hacker = require("./hacker"); \ No newline at end of file +module.exports = { + title: "Russian", + separator: " и ", + address: require("./address"), + internet: require("./internet"), + lorem: require("./lorem"), + name: require("./name"), + phone_number: require("./phone_number"), + commerce: require("./commerce"), + company: require("./company"), + date: require("./date"), + hacker: require("./hacker") +}; diff --git a/lib/locales/ru/internet/index.js b/lib/locales/ru/internet/index.js index c95143c1..3da76a8f 100644 --- a/lib/locales/ru/internet/index.js +++ b/lib/locales/ru/internet/index.js @@ -1,4 +1,4 @@ -const internet = {}; -module['exports'] = internet; -internet.free_email = require("./free_email"); -internet.domain_suffix = require("./domain_suffix"); +module.exports = { + free_email: require("./free_email"), + domain_suffix: require("./domain_suffix") +}; diff --git a/lib/locales/ru/name/index.js b/lib/locales/ru/name/index.js index 43b94dfb..c04f3ead 100644 --- a/lib/locales/ru/name/index.js +++ b/lib/locales/ru/name/index.js @@ -1,12 +1,12 @@ -const name = {}; -module['exports'] = name; -name.female_first_name = require("./female_first_name"); -name.female_last_name = require("./female_last_name"); -name.female_middle_name = require("./female_middle_name"); -name.male_first_name = require("./male_first_name"); -name.male_last_name = require("./male_last_name"); -name.male_middle_name = require("./male_middle_name"); -name.name = require("./name"); -name.prefix = require("./prefix"); -name.suffix = require("./suffix"); -name.title = require("./title"); +module.exports = { + female_first_name: require("./female_first_name"), + female_last_name: require("./female_last_name"), + female_middle_name: require("./female_middle_name"), + male_first_name: require("./male_first_name"), + male_last_name: require("./male_last_name"), + male_middle_name: require("./male_middle_name"), + name: require("./name"), + prefix: require("./prefix"), + suffix: require("./suffix"), + title: require("./title") +}; diff --git a/lib/locales/ru/phone_number/index.js b/lib/locales/ru/phone_number/index.js index 36b6b18a..6fa921e5 100644 --- a/lib/locales/ru/phone_number/index.js +++ b/lib/locales/ru/phone_number/index.js @@ -1,3 +1,3 @@ -const phone_number = {}; -module['exports'] = phone_number; -phone_number.formats = require("./formats"); +module.exports = { + formats: require("./formats") +}; diff --git a/lib/locales/sk/address/index.js b/lib/locales/sk/address/index.js index e27437fb..6db00bb9 100644 --- a/lib/locales/sk/address/index.js +++ b/lib/locales/sk/address/index.js @@ -1,16 +1,16 @@ -const address = {}; -module['exports'] = address; -address.city_prefix = require("./city_prefix"); -address.city_suffix = require("./city_suffix"); -address.country = require("./country"); -address.building_number = require("./building_number"); -address.secondary_address = require("./secondary_address"); -address.postcode = require("./postcode"); -address.state = require("./state"); -address.state_abbr = require("./state_abbr"); -address.city_name = require("./city_name"); -address.city = require("./city"); -address.street = require("./street"); -address.street_name = require("./street_name"); -address.street_address = require("./street_address"); -address.default_country = require("./default_country"); +module.exports = { + city_prefix: require("./city_prefix"), + city_suffix: require("./city_suffix"), + country: require("./country"), + building_number: require("./building_number"), + secondary_address: require("./secondary_address"), + postcode: require("./postcode"), + state: require("./state"), + state_abbr: require("./state_abbr"), + city_name: require("./city_name"), + city: require("./city"), + street: require("./street"), + street_name: require("./street_name"), + street_address: require("./street_address"), + default_country: require("./default_country") +}; diff --git a/lib/locales/sk/company/index.js b/lib/locales/sk/company/index.js index 3fadcca3..e5d516a4 100644 --- a/lib/locales/sk/company/index.js +++ b/lib/locales/sk/company/index.js @@ -1,9 +1,9 @@ -const company = {}; -module['exports'] = company; -company.suffix = require("./suffix"); -company.adjective = require("./adjective"); -company.descriptor = require("./descriptor"); -company.noun = require("./noun"); -company.bs_verb = require("./bs_verb"); -company.bs_noun = require("./bs_noun"); -company.name = require("./name"); +module.exports = { + suffix: require("./suffix"), + adjective: require("./adjective"), + descriptor: require("./descriptor"), + noun: require("./noun"), + bs_verb: require("./bs_verb"), + bs_noun: require("./bs_noun"), + name: require("./name") +}; diff --git a/lib/locales/sk/index.js b/lib/locales/sk/index.js index 293c0766..1bc3ca16 100644 --- a/lib/locales/sk/index.js +++ b/lib/locales/sk/index.js @@ -1,9 +1,9 @@ -const sk = {}; -module['exports'] = sk; -sk.title = "Slovakian"; -sk.address = require("./address"); -sk.company = require("./company"); -sk.internet = require("./internet"); -sk.lorem = require("./lorem"); -sk.name = require("./name"); -sk.phone_number = require("./phone_number"); +module.exports = { + title: "Slovakian", + address: require("./address"), + company: require("./company"), + internet: require("./internet"), + lorem: require("./lorem"), + name: require("./name"), + phone_number: require("./phone_number") +}; diff --git a/lib/locales/sk/internet/index.js b/lib/locales/sk/internet/index.js index c95143c1..3da76a8f 100644 --- a/lib/locales/sk/internet/index.js +++ b/lib/locales/sk/internet/index.js @@ -1,4 +1,4 @@ -const internet = {}; -module['exports'] = internet; -internet.free_email = require("./free_email"); -internet.domain_suffix = require("./domain_suffix"); +module.exports = { + free_email: require("./free_email"), + domain_suffix: require("./domain_suffix") +}; diff --git a/lib/locales/sk/lorem/index.js b/lib/locales/sk/lorem/index.js index 47ae78b5..85491b9b 100644 --- a/lib/locales/sk/lorem/index.js +++ b/lib/locales/sk/lorem/index.js @@ -1,3 +1,3 @@ -const lorem = {}; -module['exports'] = lorem; -lorem.words = require("./words"); +module.exports = { + words: require("./words") +}; diff --git a/lib/locales/sk/name/index.js b/lib/locales/sk/name/index.js index 0b4b4508..e06c4fcf 100644 --- a/lib/locales/sk/name/index.js +++ b/lib/locales/sk/name/index.js @@ -1,10 +1,10 @@ -const name = {}; -module['exports'] = name; -name.male_first_name = require("./male_first_name"); -name.female_first_name = require("./female_first_name"); -name.male_last_name = require("./male_last_name"); -name.female_last_name = require("./female_last_name"); -name.prefix = require("./prefix"); -name.suffix = require("./suffix"); -name.title = require("./title"); -name.name = require("./name"); +module.exports = { + male_first_name: require("./male_first_name"), + female_first_name: require("./female_first_name"), + male_last_name: require("./male_last_name"), + female_last_name: require("./female_last_name"), + prefix: require("./prefix"), + suffix: require("./suffix"), + title: require("./title"), + name: require("./name") +}; diff --git a/lib/locales/sk/phone_number/index.js b/lib/locales/sk/phone_number/index.js index 36b6b18a..6fa921e5 100644 --- a/lib/locales/sk/phone_number/index.js +++ b/lib/locales/sk/phone_number/index.js @@ -1,3 +1,3 @@ -const phone_number = {}; -module['exports'] = phone_number; -phone_number.formats = require("./formats"); +module.exports = { + formats: require("./formats") +}; diff --git a/lib/locales/sv/address/index.js b/lib/locales/sv/address/index.js index 625f9a61..00785b60 100644 --- a/lib/locales/sv/address/index.js +++ b/lib/locales/sv/address/index.js @@ -1,17 +1,17 @@ -const address = {}; -module['exports'] = address; -address.city_prefix = require("./city_prefix"); -address.city_suffix = require("./city_suffix"); -address.country = require("./country"); -address.common_street_suffix = require("./common_street_suffix"); -address.street_prefix = require("./street_prefix"); -address.street_root = require("./street_root"); -address.street_suffix = require("./street_suffix"); -address.state = require("./state"); -address.city = require("./city"); -address.street_name = require("./street_name"); -address.postcode = require("./postcode"); -address.building_number = require("./building_number"); -address.secondary_address = require("./secondary_address"); -address.street_address = require("./street_address"); -address.default_country = require("./default_country"); +module.exports = { + city_prefix: require("./city_prefix"), + city_suffix: require("./city_suffix"), + country: require("./country"), + common_street_suffix: require("./common_street_suffix"), + street_prefix: require("./street_prefix"), + street_root: require("./street_root"), + street_suffix: require("./street_suffix"), + state: require("./state"), + city: require("./city"), + street_name: require("./street_name"), + postcode: require("./postcode"), + building_number: require("./building_number"), + secondary_address: require("./secondary_address"), + street_address: require("./street_address"), + default_country: require("./default_country") +}; diff --git a/lib/locales/sv/cell_phone/index.js b/lib/locales/sv/cell_phone/index.js index 4a77d8ce..55782099 100644 --- a/lib/locales/sv/cell_phone/index.js +++ b/lib/locales/sv/cell_phone/index.js @@ -1,4 +1,4 @@ -const cell_phone = {}; -module['exports'] = cell_phone; -cell_phone.common_cell_prefix = require("./common_cell_prefix"); -cell_phone.formats = require("./formats"); +module.exports = { + common_cell_prefix: require("./common_cell_prefix"), + formats: require("./formats") +}; diff --git a/lib/locales/sv/commerce/index.js b/lib/locales/sv/commerce/index.js index 271876c5..511ce3be 100644 --- a/lib/locales/sv/commerce/index.js +++ b/lib/locales/sv/commerce/index.js @@ -1,5 +1,5 @@ -const commerce = {}; -module['exports'] = commerce; -commerce.color = require("./color"); -commerce.department = require("./department"); -commerce.product_name = require("./product_name"); +module.exports = { + color: require("./color"), + department: require("./department"), + product_name: require("./product_name") +}; diff --git a/lib/locales/sv/company/index.js b/lib/locales/sv/company/index.js index 8f1b8c98..91cbfd95 100644 --- a/lib/locales/sv/company/index.js +++ b/lib/locales/sv/company/index.js @@ -1,4 +1,4 @@ -const company = {}; -module['exports'] = company; -company.suffix = require("./suffix"); -company.name = require("./name"); +module.exports = { + suffix: require("./suffix"), + name: require("./name") +}; diff --git a/lib/locales/sv/index.js b/lib/locales/sv/index.js index 56199064..8a2f0228 100644 --- a/lib/locales/sv/index.js +++ b/lib/locales/sv/index.js @@ -1,12 +1,12 @@ -const sv = {}; -module['exports'] = sv; -sv.title = "Swedish"; -sv.address = require("./address"); -sv.company = require("./company"); -sv.internet = require("./internet"); -sv.name = require("./name"); -sv.phone_number = require("./phone_number"); -sv.cell_phone = require("./cell_phone"); -sv.commerce = require("./commerce"); -sv.team = require("./team"); -sv.date = require("./date"); +module.exports = { + title: "Swedish", + address: require("./address"), + company: require("./company"), + internet: require("./internet"), + name: require("./name"), + phone_number: require("./phone_number"), + cell_phone: require("./cell_phone"), + commerce: require("./commerce"), + team: require("./team"), + date: require("./date") +}; diff --git a/lib/locales/sv/internet/index.js b/lib/locales/sv/internet/index.js index 9251f559..f0555aed 100644 --- a/lib/locales/sv/internet/index.js +++ b/lib/locales/sv/internet/index.js @@ -1,3 +1,3 @@ -const internet = {}; -module['exports'] = internet; -internet.domain_suffix = require("./domain_suffix"); +module.exports = { + domain_suffix: require("./domain_suffix") +}; diff --git a/lib/locales/sv/name/female_first_name.js b/lib/locales/sv/name/female_first_name.js index a693df5a..777a6f88 100644 --- a/lib/locales/sv/name/female_first_name.js +++ b/lib/locales/sv/name/female_first_name.js @@ -99,4 +99,4 @@ module.exports = [ "Mikaela", "Karolina", "Lisbeth" -]; \ No newline at end of file +]; diff --git a/lib/locales/sv/name/first_name.js b/lib/locales/sv/name/first_name.js index 8ca01b24..ac040064 100644 --- a/lib/locales/sv/name/first_name.js +++ b/lib/locales/sv/name/first_name.js @@ -199,4 +199,4 @@ module.exports = [ "Torbjörn", "Arvid", "Felix" -]; \ No newline at end of file +]; diff --git a/lib/locales/sv/name/index.js b/lib/locales/sv/name/index.js index f1e40dde..df090b76 100644 --- a/lib/locales/sv/name/index.js +++ b/lib/locales/sv/name/index.js @@ -1,9 +1,9 @@ -const name = {}; -module['exports'] = name; -name.female_first_name = require("./female_first_name"); -name.male_first_name = require("./male_first_name"); -name.first_name = require("./first_name"); -name.last_name = require("./last_name"); -name.prefix = require("./prefix"); -name.title = require("./title"); -name.name = require("./name"); +module.exports = { + female_first_name: require("./female_first_name"), + male_first_name: require("./male_first_name"), + first_name: require("./first_name"), + last_name: require("./last_name"), + prefix: require("./prefix"), + title: require("./title"), + name: require("./name") +}; diff --git a/lib/locales/sv/phone_number/index.js b/lib/locales/sv/phone_number/index.js index 36b6b18a..6fa921e5 100644 --- a/lib/locales/sv/phone_number/index.js +++ b/lib/locales/sv/phone_number/index.js @@ -1,3 +1,3 @@ -const phone_number = {}; -module['exports'] = phone_number; -phone_number.formats = require("./formats"); +module.exports = { + formats: require("./formats") +}; diff --git a/lib/locales/sv/team/index.js b/lib/locales/sv/team/index.js index d5f65025..91cbfd95 100644 --- a/lib/locales/sv/team/index.js +++ b/lib/locales/sv/team/index.js @@ -1,4 +1,4 @@ -const team = {}; -module['exports'] = team; -team.suffix = require("./suffix"); -team.name = require("./name"); +module.exports = { + suffix: require("./suffix"), + name: require("./name") +}; diff --git a/lib/locales/tr/address/index.js b/lib/locales/tr/address/index.js index eea8646f..7c6b34b5 100644 --- a/lib/locales/tr/address/index.js +++ b/lib/locales/tr/address/index.js @@ -1,10 +1,10 @@ -const address = {}; -module['exports'] = address; -address.city = require("./city"); -address.street_root = require("./street_root"); -address.country = require("./country"); -address.postcode = require("./postcode"); -address.default_country = require("./default_country"); -address.building_number = require("./building_number"); -address.street_name = require("./street_name"); -address.street_address = require("./street_address"); +module.exports = { + city: require("./city"), + street_root: require("./street_root"), + country: require("./country"), + postcode: require("./postcode"), + default_country: require("./default_country"), + building_number: require("./building_number"), + street_name: require("./street_name"), + street_address: require("./street_address") +}; diff --git a/lib/locales/tr/cell_phone/index.js b/lib/locales/tr/cell_phone/index.js index 1f65f965..6fa921e5 100644 --- a/lib/locales/tr/cell_phone/index.js +++ b/lib/locales/tr/cell_phone/index.js @@ -1,3 +1,3 @@ -const cell_phone = {}; -module['exports'] = cell_phone; -cell_phone.formats = require("./formats"); +module.exports = { + formats: require("./formats") +}; diff --git a/lib/locales/tr/commerce/index.js b/lib/locales/tr/commerce/index.js index ac1d8e5c..fb833daf 100644 --- a/lib/locales/tr/commerce/index.js +++ b/lib/locales/tr/commerce/index.js @@ -1,6 +1,6 @@ -const commerce = {}; -module['exports'] = commerce; -commerce.color = require("./color"); -commerce.department = require("./department"); -commerce.product_name = require("./product_name"); -commerce.product_description = require("./product_description"); +module.exports = { + color: require("./color"), + department: require("./department"), + product_name: require("./product_name"), + product_description: require("./product_description") +}; diff --git a/lib/locales/tr/commerce/product_description.js b/lib/locales/tr/commerce/product_description.js index d5667982..f79fc146 100644 --- a/lib/locales/tr/commerce/product_description.js +++ b/lib/locales/tr/commerce/product_description.js @@ -11,4 +11,4 @@ module.exports = [ "Yeni forma gömlek çeşitleri sizi göz önünde bulundurarak tasarlandı. Sizi farklı kılacak kesimler ve stiller ile", "Doğal bileşenlerin heyecan verici bir karışımına sahip güzel Apple Naturalé serisi. %100 Doğal İçeriğin İyiliği ile", "Andy ayakkabılar, trendlerin yanı sıra dayanıklılığı da göz önünde bulundurarak tasarlandı, en şık ayakkabı ve sandalet yelpazesi" -]; \ No newline at end of file +]; diff --git a/lib/locales/tr/index.js b/lib/locales/tr/index.js index 79abc77c..a1a10abb 100644 --- a/lib/locales/tr/index.js +++ b/lib/locales/tr/index.js @@ -1,10 +1,10 @@ -const tr = {}; -module['exports'] = tr; -tr.title = "Turkish"; -tr.address = require("./address"); -tr.internet = require("./internet"); -tr.commerce = require("./commerce"); -tr.lorem = require("./lorem"); -tr.phone_number = require("./phone_number"); -tr.cell_phone = require("./cell_phone"); -tr.name = require("./name"); +module.exports = { + title: "Turkish", + address: require("./address"), + internet: require("./internet"), + commerce: require("./commerce"), + lorem: require("./lorem"), + phone_number: require("./phone_number"), + cell_phone: require("./cell_phone"), + name: require("./name") +}; diff --git a/lib/locales/tr/internet/index.js b/lib/locales/tr/internet/index.js index 9251f559..f0555aed 100644 --- a/lib/locales/tr/internet/index.js +++ b/lib/locales/tr/internet/index.js @@ -1,3 +1,3 @@ -const internet = {}; -module['exports'] = internet; -internet.domain_suffix = require("./domain_suffix"); +module.exports = { + domain_suffix: require("./domain_suffix") +}; diff --git a/lib/locales/tr/lorem/index.js b/lib/locales/tr/lorem/index.js index 47ae78b5..85491b9b 100644 --- a/lib/locales/tr/lorem/index.js +++ b/lib/locales/tr/lorem/index.js @@ -1,3 +1,3 @@ -const lorem = {}; -module['exports'] = lorem; -lorem.words = require("./words"); +module.exports = { + words: require("./words") +}; diff --git a/lib/locales/tr/name/index.js b/lib/locales/tr/name/index.js index c4f6e719..bc3296d6 100644 --- a/lib/locales/tr/name/index.js +++ b/lib/locales/tr/name/index.js @@ -1,8 +1,8 @@ -const name = {}; -module['exports'] = name; -name.male_first_name = require("./male_first_name"); -name.female_first_name = require("./female_first_name"); -name.first_name = require("./first_name"); -name.last_name = require("./last_name"); -name.prefix = require("./prefix"); -name.name = require("./name"); +module.exports = { + male_first_name: require("./male_first_name"), + female_first_name: require("./female_first_name"), + first_name: require("./first_name"), + last_name: require("./last_name"), + prefix: require("./prefix"), + name: require("./name") +}; diff --git a/lib/locales/tr/name/male_first_name.js b/lib/locales/tr/name/male_first_name.js index 1cd35490..e153504a 100644 --- a/lib/locales/tr/name/male_first_name.js +++ b/lib/locales/tr/name/male_first_name.js @@ -751,4 +751,4 @@ module.exports = [ "Ziya", "Ziyad", "Zübeyr" -]; \ No newline at end of file +]; diff --git a/lib/locales/tr/phone_number/index.js b/lib/locales/tr/phone_number/index.js index faefd50d..cd75c31f 100644 --- a/lib/locales/tr/phone_number/index.js +++ b/lib/locales/tr/phone_number/index.js @@ -1,4 +1,4 @@ -const phone_number = {}; -module['exports'] = phone_number; -phone_number.area_code = require("./area_code"); -phone_number.formats = require("./formats"); +module.exports = { + area_code: require("./area_code"), + formats: require("./formats") +}; diff --git a/lib/locales/uk/address/index.js b/lib/locales/uk/address/index.js index c1303f04..c6288746 100644 --- a/lib/locales/uk/address/index.js +++ b/lib/locales/uk/address/index.js @@ -1,17 +1,17 @@ -const address = {}; -module['exports'] = address; -address.country = require("./country"); -address.building_number = require("./building_number"); -address.street_prefix = require("./street_prefix"); -address.street_suffix = require("./street_suffix"); -address.secondary_address = require("./secondary_address"); -address.postcode = require("./postcode"); -address.state = require("./state"); -address.street_title = require("./street_title"); -address.city_name = require("./city_name"); -address.city = require("./city"); -address.city_prefix = require("./city_prefix"); -address.city_suffix = require("./city_suffix"); -address.street_name = require("./street_name"); -address.street_address = require("./street_address"); -address.default_country = require("./default_country"); +module.exports = { + country: require("./country"), + building_number: require("./building_number"), + street_prefix: require("./street_prefix"), + street_suffix: require("./street_suffix"), + secondary_address: require("./secondary_address"), + postcode: require("./postcode"), + state: require("./state"), + street_title: require("./street_title"), + city_name: require("./city_name"), + city: require("./city"), + city_prefix: require("./city_prefix"), + city_suffix: require("./city_suffix"), + street_name: require("./street_name"), + street_address: require("./street_address"), + default_country: require("./default_country") +}; diff --git a/lib/locales/uk/company/index.js b/lib/locales/uk/company/index.js index 2d142169..d54eba6c 100644 --- a/lib/locales/uk/company/index.js +++ b/lib/locales/uk/company/index.js @@ -1,5 +1,5 @@ -const company = {}; -module['exports'] = company; -company.prefix = require("./prefix"); -company.suffix = require("./suffix"); -company.name = require("./name"); +module.exports = { + prefix: require("./prefix"), + suffix: require("./suffix"), + name: require("./name") +}; diff --git a/lib/locales/uk/index.js b/lib/locales/uk/index.js index 1873ca5e..d9c254b4 100644 --- a/lib/locales/uk/index.js +++ b/lib/locales/uk/index.js @@ -1,8 +1,8 @@ -const uk = {}; -module['exports'] = uk; -uk.title = "Ukrainian"; -uk.address = require("./address"); -uk.company = require("./company"); -uk.internet = require("./internet"); -uk.name = require("./name"); -uk.phone_number = require("./phone_number"); +module.exports = { + title: "Ukrainian", + address: require("./address"), + company: require("./company"), + internet: require("./internet"), + name: require("./name"), + phone_number: require("./phone_number") +}; diff --git a/lib/locales/uk/internet/index.js b/lib/locales/uk/internet/index.js index c95143c1..3da76a8f 100644 --- a/lib/locales/uk/internet/index.js +++ b/lib/locales/uk/internet/index.js @@ -1,4 +1,4 @@ -const internet = {}; -module['exports'] = internet; -internet.free_email = require("./free_email"); -internet.domain_suffix = require("./domain_suffix"); +module.exports = { + free_email: require("./free_email"), + domain_suffix: require("./domain_suffix") +}; diff --git a/lib/locales/uk/name/index.js b/lib/locales/uk/name/index.js index 5d724a1b..27a7c6d2 100644 --- a/lib/locales/uk/name/index.js +++ b/lib/locales/uk/name/index.js @@ -1,12 +1,12 @@ -const name = {}; -module['exports'] = name; -name.male_first_name = require("./male_first_name"); -name.male_middle_name = require("./male_middle_name"); -name.male_last_name = require("./male_last_name"); -name.female_first_name = require("./female_first_name"); -name.female_middle_name = require("./female_middle_name"); -name.female_last_name = require("./female_last_name"); -name.prefix = require("./prefix"); -name.suffix = require("./suffix"); -name.title = require("./title"); -name.name = require("./name"); +module.exports = { + male_first_name: require("./male_first_name"), + male_middle_name: require("./male_middle_name"), + male_last_name: require("./male_last_name"), + female_first_name: require("./female_first_name"), + female_middle_name: require("./female_middle_name"), + female_last_name: require("./female_last_name"), + prefix: require("./prefix"), + suffix: require("./suffix"), + title: require("./title"), + name: require("./name") +}; diff --git a/lib/locales/uk/phone_number/index.js b/lib/locales/uk/phone_number/index.js index 36b6b18a..6fa921e5 100644 --- a/lib/locales/uk/phone_number/index.js +++ b/lib/locales/uk/phone_number/index.js @@ -1,3 +1,3 @@ -const phone_number = {}; -module['exports'] = phone_number; -phone_number.formats = require("./formats"); +module.exports = { + formats: require("./formats") +}; diff --git a/lib/locales/ur/address/building_number.js b/lib/locales/ur/address/building_number.js index 9d08ee15..eb903fa6 100644 --- a/lib/locales/ur/address/building_number.js +++ b/lib/locales/ur/address/building_number.js @@ -1 +1 @@ -module['exports'] = ['#####', '####', '###']; +module.exports = ['#####', '####', '###']; diff --git a/lib/locales/ur/address/city.js b/lib/locales/ur/address/city.js index 8a4a0183..a8a12d48 100644 --- a/lib/locales/ur/address/city.js +++ b/lib/locales/ur/address/city.js @@ -1,6 +1,6 @@ -module['exports'] = [ +module.exports = [ '#{city_prefix} #{Name.first_name}#{city_suffix}', '#{city_prefix} #{Name.first_name}', '#{Name.first_name}#{city_suffix}', - '#{Name.last_name}#{city_suffix}', + '#{Name.last_name}#{city_suffix}' ]; diff --git a/lib/locales/ur/address/city_name.js b/lib/locales/ur/address/city_name.js index 1b95516c..505d2b82 100644 --- a/lib/locales/ur/address/city_name.js +++ b/lib/locales/ur/address/city_name.js @@ -42,5 +42,5 @@ module.exports = [ 'کبل', 'گوٹکی', 'نارو وال', - 'گوادر', + 'گوادر' ]; diff --git a/lib/locales/ur/address/city_prefix.js b/lib/locales/ur/address/city_prefix.js index 942973b0..bed473c0 100644 --- a/lib/locales/ur/address/city_prefix.js +++ b/lib/locales/ur/address/city_prefix.js @@ -1 +1 @@ -module['exports'] = ['مشرق', 'مغرب', 'شمال', 'جنوب', 'نیا', 'جھیل', 'بندرگاہ']; +module.exports = ['مشرق', 'مغرب', 'شمال', 'جنوب', 'نیا', 'جھیل', 'بندرگاہ']; diff --git a/lib/locales/ur/address/city_suffix.js b/lib/locales/ur/address/city_suffix.js index e0151156..2f8e1686 100644 --- a/lib/locales/ur/address/city_suffix.js +++ b/lib/locales/ur/address/city_suffix.js @@ -1 +1 @@ -module['exports'] = ['ٹاوْن']; +module.exports = ['ٹاوْن']; diff --git a/lib/locales/ur/address/country.js b/lib/locales/ur/address/country.js index 02d9f0ae..3662bbde 100644 --- a/lib/locales/ur/address/country.js +++ b/lib/locales/ur/address/country.js @@ -1,4 +1,4 @@ -module['exports'] = [ +module.exports = [ 'افغانستان', 'البانیا', 'الجزایر', @@ -154,5 +154,5 @@ module['exports'] = [ 'وتنام', 'یمن', 'زمبیا', - 'زمبابوے', + 'زمبابوے' ]; diff --git a/lib/locales/ur/address/default_country.js b/lib/locales/ur/address/default_country.js index b1de138b..3ab926d3 100644 --- a/lib/locales/ur/address/default_country.js +++ b/lib/locales/ur/address/default_country.js @@ -1 +1 @@ -module['exports'] = ['اسلامی جمہوریہ پاکستان']; +module.exports = ['اسلامی جمہوریہ پاکستان']; diff --git a/lib/locales/ur/address/direction.js b/lib/locales/ur/address/direction.js index e348c1d7..dfd69011 100644 --- a/lib/locales/ur/address/direction.js +++ b/lib/locales/ur/address/direction.js @@ -1,4 +1,4 @@ -module['exports'] = [ +module.exports = [ 'شمال', 'مشرق', 'جنوب', @@ -6,5 +6,5 @@ module['exports'] = [ 'شمال مشرق', 'سمال مغرب', 'جنوب مشرق', - 'جنوب مغرب', + 'جنوب مغرب' ]; diff --git a/lib/locales/ur/address/index.js b/lib/locales/ur/address/index.js index c8eca51a..48b9e677 100644 --- a/lib/locales/ur/address/index.js +++ b/lib/locales/ur/address/index.js @@ -1,18 +1,18 @@ -const address = {}; -module['exports'] = address; -address.city_prefix = require('./city_prefix'); -address.city_suffix = require('./city_suffix'); -address.city_name = require('./city_name'); -address.country = require('./country'); -address.building_number = require('./building_number'); -address.street_suffix = require('./street_suffix'); -address.secondary_address = require('./secondary_address'); -address.postcode = require('./postcode'); -address.postcode_by_state = require('./postcode_by_state'); -address.state = require('./state'); -address.state_abbr = require('./state_abbr'); -address.city = require('./city'); -address.street_name = require('./street_name'); -address.street_address = require('./street_address'); -address.default_country = require('./default_country'); -address.direction = require('./direction'); +module.exports = { + city_prefix: require('./city_prefix'), + city_suffix: require('./city_suffix'), + city_name: require('./city_name'), + country: require('./country'), + building_number: require('./building_number'), + street_suffix: require('./street_suffix'), + secondary_address: require('./secondary_address'), + postcode: require('./postcode'), + postcode_by_state: require('./postcode_by_state'), + state: require('./state'), + state_abbr: require('./state_abbr'), + city: require('./city'), + street_name: require('./street_name'), + street_address: require('./street_address'), + default_country: require('./default_country'), + direction: require('./direction') +}; diff --git a/lib/locales/ur/address/postcode.js b/lib/locales/ur/address/postcode.js index 417b45ec..30547425 100644 --- a/lib/locales/ur/address/postcode.js +++ b/lib/locales/ur/address/postcode.js @@ -1 +1 @@ -module['exports'] = ['#####']; +module.exports = ['#####']; diff --git a/lib/locales/ur/address/postcode_by_state.js b/lib/locales/ur/address/postcode_by_state.js index 417b45ec..30547425 100644 --- a/lib/locales/ur/address/postcode_by_state.js +++ b/lib/locales/ur/address/postcode_by_state.js @@ -1 +1 @@ -module['exports'] = ['#####']; +module.exports = ['#####']; diff --git a/lib/locales/ur/address/secondary_address.js b/lib/locales/ur/address/secondary_address.js index c0077a66..0c798b3f 100644 --- a/lib/locales/ur/address/secondary_address.js +++ b/lib/locales/ur/address/secondary_address.js @@ -1 +1 @@ -module['exports'] = ['گھر. ###', 'گلی ###']; +module.exports = ['گھر. ###', 'گلی ###']; diff --git a/lib/locales/ur/address/state.js b/lib/locales/ur/address/state.js index 2648fbff..d90750f8 100644 --- a/lib/locales/ur/address/state.js +++ b/lib/locales/ur/address/state.js @@ -1,9 +1,9 @@ -module['exports'] = [ +module.exports = [ 'خیبر پختونخواہ', 'اسلام آباد', 'پنجاب', 'سندھ', 'آزاد کشمیر', 'بلوچستان', - 'گلگت بلتستان', + 'گلگت بلتستان' ]; diff --git a/lib/locales/ur/address/state_abbr.js b/lib/locales/ur/address/state_abbr.js index 1e61f925..ba77be7f 100644 --- a/lib/locales/ur/address/state_abbr.js +++ b/lib/locales/ur/address/state_abbr.js @@ -1 +1 @@ -module['exports'] = ['KP', 'ICT', 'J&K', 'GB', 'PB', 'SD', 'BA']; +module.exports = ['KP', 'ICT', 'J&K', 'GB', 'PB', 'SD', 'BA']; diff --git a/lib/locales/ur/address/street_address.js b/lib/locales/ur/address/street_address.js index a8330fb9..e6819bf2 100644 --- a/lib/locales/ur/address/street_address.js +++ b/lib/locales/ur/address/street_address.js @@ -1 +1 @@ -module['exports'] = ['#{building_number} #{street_name}']; +module.exports = ['#{building_number} #{street_name}']; diff --git a/lib/locales/ur/address/street_name.js b/lib/locales/ur/address/street_name.js index 62c7b1bf..6afb0042 100644 --- a/lib/locales/ur/address/street_name.js +++ b/lib/locales/ur/address/street_name.js @@ -1,4 +1,4 @@ -module['exports'] = [ +module.exports = [ '#{Name.first_name} #{street_suffix}', - '#{Name.last_name} #{street_suffix}', + '#{Name.last_name} #{street_suffix}' ]; diff --git a/lib/locales/ur/address/street_suffix.js b/lib/locales/ur/address/street_suffix.js index eae52c89..35f5aae7 100644 --- a/lib/locales/ur/address/street_suffix.js +++ b/lib/locales/ur/address/street_suffix.js @@ -1 +1 @@ -module['exports'] = ['گاوْں', 'گلی', 'آباد', 'کالونی', 'گھڑی']; +module.exports = ['گاوْں', 'گلی', 'آباد', 'کالونی', 'گھڑی']; diff --git a/lib/locales/ur/animal/bear.js b/lib/locales/ur/animal/bear.js index 38b113ca..17db4c82 100644 --- a/lib/locales/ur/animal/bear.js +++ b/lib/locales/ur/animal/bear.js @@ -1,7 +1,7 @@ -module['exports'] = [ +module.exports = [ 'پانڈا', 'بھالو', 'امریکی کالا بھالو', 'ایشیایٰ کالا بھالو', - 'بھورا بھالو', + 'بھورا بھالو' ]; diff --git a/lib/locales/ur/animal/cow.js b/lib/locales/ur/animal/cow.js index 69f413d5..492b88f3 100644 --- a/lib/locales/ur/animal/cow.js +++ b/lib/locales/ur/animal/cow.js @@ -1 +1 @@ -module['exports'] = ['گائے', 'نیلی گاٗیے', 'امریکی گاٗیے']; +module.exports = ['گائے', 'نیلی گاٗیے', 'امریکی گاٗیے']; diff --git a/lib/locales/ur/animal/crocodilia.js b/lib/locales/ur/animal/crocodilia.js index cdc20738..4d6a4e69 100644 --- a/lib/locales/ur/animal/crocodilia.js +++ b/lib/locales/ur/animal/crocodilia.js @@ -1,8 +1,8 @@ -module['exports'] = [ +module.exports = [ 'امریکی گڑیال', 'آسٹریلیائ تازہ پانی کا گڑیال', 'نیل گڑیال', 'مشرقی افریقی گڑیال', 'نمکین پانی کا گڑیال', - 'گڑیال', + 'گڑیال' ]; diff --git a/lib/locales/ur/animal/index.js b/lib/locales/ur/animal/index.js index 72ef81e6..a7dae894 100644 --- a/lib/locales/ur/animal/index.js +++ b/lib/locales/ur/animal/index.js @@ -1,8 +1,8 @@ -const animal = {}; -module['exports'] = animal; -animal.insect = require('./insect'); -animal.bear = require('./bear'); -animal.lion = require('./lion'); -animal.cow = require('./cow'); -animal.crocodilia = require('./crocodilia'); -animal.type = require('./type'); +module.exports = { + insect: require('./insect'), + bear: require('./bear'), + lion: require('./lion'), + cow: require('./cow'), + crocodilia: require('./crocodilia'), + type: require('./type') +}; diff --git a/lib/locales/ur/animal/insect.js b/lib/locales/ur/animal/insect.js index 2c463e3f..54769762 100644 --- a/lib/locales/ur/animal/insect.js +++ b/lib/locales/ur/animal/insect.js @@ -1 +1 @@ -module['exports'] = ['شہد کی مکھی', 'مکھی', 'چیونٹی']; +module.exports = ['شہد کی مکھی', 'مکھی', 'چیونٹی']; diff --git a/lib/locales/ur/animal/lion.js b/lib/locales/ur/animal/lion.js index b79141bc..7a714b5d 100644 --- a/lib/locales/ur/animal/lion.js +++ b/lib/locales/ur/animal/lion.js @@ -1,5 +1,5 @@ -module['exports'] = [ +module.exports = [ 'ایشیایْ شیر', 'مشرقی افریقی شیر', - 'شمالی مغربی کانگو کا شیر', + 'شمالی مغربی کانگو کا شیر' ]; diff --git a/lib/locales/ur/animal/type.js b/lib/locales/ur/animal/type.js index 042ddd8e..69ffe41e 100644 --- a/lib/locales/ur/animal/type.js +++ b/lib/locales/ur/animal/type.js @@ -1 +1 @@ -module['exports'] = ['bear', 'lion', 'insect', 'crocodilia', 'cow']; +module.exports = ['bear', 'lion', 'insect', 'crocodilia', 'cow']; diff --git a/lib/locales/ur/app/author.js b/lib/locales/ur/app/author.js index 78e1c460..567b2134 100644 --- a/lib/locales/ur/app/author.js +++ b/lib/locales/ur/app/author.js @@ -1 +1 @@ -module['exports'] = ['#{Name.name}', '#{Company.name}']; +module.exports = ['#{Name.name}', '#{Company.name}']; diff --git a/lib/locales/ur/app/index.js b/lib/locales/ur/app/index.js index 79203adc..ebfe95b1 100644 --- a/lib/locales/ur/app/index.js +++ b/lib/locales/ur/app/index.js @@ -1,5 +1,5 @@ -const app = {}; -module['exports'] = app; -app.name = require('./name'); -app.version = require('./version'); -app.author = require('./author'); +module.exports = { + name: require('./name'), + version: require('./version'), + author: require('./author') +}; diff --git a/lib/locales/ur/app/name.js b/lib/locales/ur/app/name.js index b2358a68..6db7d3a0 100644 --- a/lib/locales/ur/app/name.js +++ b/lib/locales/ur/app/name.js @@ -1,4 +1,4 @@ -module['exports'] = [ +module.exports = [ 'اوقات نماز', 'قسط حساب', 'نقشہ نگار', @@ -6,5 +6,5 @@ module['exports'] = [ 'ڈالر رپیہ', 'دراز', 'پاک وھیلز', - 'واٹس ایپ', + 'واٹس ایپ' ]; diff --git a/lib/locales/ur/app/version.js b/lib/locales/ur/app/version.js index 15a81dc7..3ab843b4 100644 --- a/lib/locales/ur/app/version.js +++ b/lib/locales/ur/app/version.js @@ -1 +1 @@ -module['exports'] = ['0.#.#', '0.##', '#.##', '#.#', '#.#.#']; +module.exports = ['0.#.#', '0.##', '#.##', '#.#', '#.#.#']; diff --git a/lib/locales/ur/business/credit_card_types.js b/lib/locales/ur/business/credit_card_types.js index 5e2c3876..56abdccf 100644 --- a/lib/locales/ur/business/credit_card_types.js +++ b/lib/locales/ur/business/credit_card_types.js @@ -1 +1 @@ -module['exports'] = ['visa', 'mastercard', 'link one', 'paypak']; +module.exports = ['visa', 'mastercard', 'link one', 'paypak']; diff --git a/lib/locales/ur/business/index.js b/lib/locales/ur/business/index.js index f01628e2..956f69bf 100644 --- a/lib/locales/ur/business/index.js +++ b/lib/locales/ur/business/index.js @@ -1,3 +1,3 @@ -const business = {}; -module['exports'] = business; -business.credit_card_types = require('./credit_card_types'); +module.exports = { + credit_card_types: require('./credit_card_types') +}; diff --git a/lib/locales/ur/cell_phone/formats.js b/lib/locales/ur/cell_phone/formats.js index a49104cc..6eea6b60 100644 --- a/lib/locales/ur/cell_phone/formats.js +++ b/lib/locales/ur/cell_phone/formats.js @@ -1 +1 @@ -module['exports'] = ['+92 ###-###-####', '03## ### ####', '03#########']; +module.exports = ['+92 ###-###-####', '03## ### ####', '03#########']; diff --git a/lib/locales/ur/cell_phone/index.js b/lib/locales/ur/cell_phone/index.js index 16f18f3f..501020a0 100644 --- a/lib/locales/ur/cell_phone/index.js +++ b/lib/locales/ur/cell_phone/index.js @@ -1,3 +1,3 @@ -const cell_phone = {}; -module['exports'] = cell_phone; -cell_phone.formats = require('./formats'); +module.exports = { + formats: require('./formats') +}; diff --git a/lib/locales/ur/commerce/color.js b/lib/locales/ur/commerce/color.js index e760994b..c298051a 100644 --- a/lib/locales/ur/commerce/color.js +++ b/lib/locales/ur/commerce/color.js @@ -1,4 +1,4 @@ -module['exports'] = [ +module.exports = [ 'سرخ', 'ہرا', 'نیلا', @@ -11,5 +11,5 @@ module['exports'] = [ 'مہندی', 'آسمانی', 'سنہری', - 'چاندنی', + 'چاندنی' ]; diff --git a/lib/locales/ur/commerce/department.js b/lib/locales/ur/commerce/department.js index a6fcea27..66d232c7 100644 --- a/lib/locales/ur/commerce/department.js +++ b/lib/locales/ur/commerce/department.js @@ -1,4 +1,4 @@ -module['exports'] = [ +module.exports = [ 'کتابیہ', 'فلم', 'گانی', @@ -16,5 +16,5 @@ module['exports'] = [ 'کپڑے', 'جوتے', 'گاڑیاں', - 'کارغانے', + 'کارغانے' ]; diff --git a/lib/locales/ur/commerce/index.js b/lib/locales/ur/commerce/index.js index c89332ef..82f461ff 100644 --- a/lib/locales/ur/commerce/index.js +++ b/lib/locales/ur/commerce/index.js @@ -1,5 +1,5 @@ -const commerce = {}; -module['exports'] = commerce; -commerce.color = require('./color'); -commerce.department = require('./department'); -commerce.product_name = require('./product_name'); +module.exports = { + color: require('./color'), + department: require('./department'), + product_name: require('./product_name') +}; diff --git a/lib/locales/ur/commerce/product_name.js b/lib/locales/ur/commerce/product_name.js index af80cdfd..74266f9a 100644 --- a/lib/locales/ur/commerce/product_name.js +++ b/lib/locales/ur/commerce/product_name.js @@ -1,4 +1,4 @@ -module['exports'] = { +module.exports = { adjective: ['چھوٹا', 'آرامدہ', 'ہوشیار', 'خوبصورت', 'بیترین'], material: [ 'لوہا', @@ -11,7 +11,7 @@ module['exports'] = { 'دھات', 'نرم', 'تازہ', - 'جم شدہ', + 'جم شدہ' ], product: [ 'کرسہ', @@ -34,6 +34,6 @@ module['exports'] = { 'پنیر', 'سلاد', 'سیخ کباب', - 'پاپڑ', - ], + 'پاپڑ' + ] }; diff --git a/lib/locales/ur/date/month.js b/lib/locales/ur/date/month.js index 2c109110..92320fcd 100644 --- a/lib/locales/ur/date/month.js +++ b/lib/locales/ur/date/month.js @@ -1,4 +1,4 @@ -module['exports'] = { +module.exports = { wide: [ 'جنوری', 'فروری', @@ -11,7 +11,7 @@ module['exports'] = { 'ستمبر', 'اکتوبر', 'نومبر', - 'دسمبر', + 'دسمبر' ], wide_context: [ 'جنوری', @@ -25,6 +25,6 @@ module['exports'] = { 'ستمبر', 'اکتوبر', 'نومبر', - 'دسمبر', - ], + 'دسمبر' + ] }; diff --git a/lib/locales/ur/date/weekday.js b/lib/locales/ur/date/weekday.js index 750a13e2..56b4040e 100644 --- a/lib/locales/ur/date/weekday.js +++ b/lib/locales/ur/date/weekday.js @@ -1,4 +1,4 @@ -module['exports'] = { +module.exports = { wide: ['اتور', 'پیر', 'منگل', 'بدھ', 'جمعرات', 'جمعہ', 'ہفتہ'], - wide_context: ['اتور', 'پیر', 'منگل', 'بدھ', 'جمعرات', 'جمعہ', 'ہفتہ'], + wide_context: ['اتور', 'پیر', 'منگل', 'بدھ', 'جمعرات', 'جمعہ', 'ہفتہ'] }; diff --git a/lib/locales/ur/finance/index.js b/lib/locales/ur/finance/index.js index bd196c64..f1e48d43 100644 --- a/lib/locales/ur/finance/index.js +++ b/lib/locales/ur/finance/index.js @@ -1,4 +1,4 @@ -const finance = {}; -module['exports'] = finance; -finance.account_type = require('./account_type'); -finance.transaction_type = require('./transaction_type'); +module.exports = { + account_type: require('./account_type'), + transaction_type: require('./transaction_type') +}; diff --git a/lib/locales/ur/index.js b/lib/locales/ur/index.js index 5a606957..bbad1d24 100644 --- a/lib/locales/ur/index.js +++ b/lib/locales/ur/index.js @@ -1,17 +1,17 @@ -const ur = {}; -module['exports'] = ur; -ur.title = 'Urdu'; -ur.separator = ' اور '; -ur.address = require('./address'); -ur.animal = require('./animal'); -ur.lorem = require('./lorem'); -ur.name = require('./name'); -ur.cell_phone = require('./cell_phone'); -ur.business = require('./business'); -ur.commerce = require('./commerce'); -ur.team = require('./team'); -ur.app = require('./app'); -ur.finance = require('./finance'); -ur.date = require('./date'); -ur.vehicle = require('./vehicle'); -ur.music = require('./music'); +module.exports = { + title: 'Urdu', + separator: ' اور ', + address: require('./address'), + animal: require('./animal'), + lorem: require('./lorem'), + name: require('./name'), + cell_phone: require('./cell_phone'), + business: require('./business'), + commerce: require('./commerce'), + team: require('./team'), + app: require('./app'), + finance: require('./finance'), + date: require('./date'), + vehicle: require('./vehicle'), + music: require('./music') +}; diff --git a/lib/locales/ur/lorem/index.js b/lib/locales/ur/lorem/index.js index 82b2e52a..28940b0d 100644 --- a/lib/locales/ur/lorem/index.js +++ b/lib/locales/ur/lorem/index.js @@ -1,4 +1,4 @@ -const lorem = {}; -module['exports'] = lorem; -lorem.words = require("./words"); -lorem.supplemental = require("./supplemental"); +module.exports = { + words: require("./words"), + supplemental: require("./supplemental") +}; diff --git a/lib/locales/ur/lorem/supplemental.js b/lib/locales/ur/lorem/supplemental.js index 734f8653..1efad816 100644 --- a/lib/locales/ur/lorem/supplemental.js +++ b/lib/locales/ur/lorem/supplemental.js @@ -610,5 +610,5 @@ module.exports = [ "باسد", "دسب", "طسد", - "چسد", + "چسد" ]; diff --git a/lib/locales/ur/lorem/words.js b/lib/locales/ur/lorem/words.js index 9347c05c..968d75cc 100644 --- a/lib/locales/ur/lorem/words.js +++ b/lib/locales/ur/lorem/words.js @@ -178,5 +178,5 @@ module.exports = [ "باسد", "دسب", "طسد", - "چسد", + "چسد" ]; diff --git a/lib/locales/ur/music/genre.js b/lib/locales/ur/music/genre.js index bb33a0fa..9aafe8d9 100644 --- a/lib/locales/ur/music/genre.js +++ b/lib/locales/ur/music/genre.js @@ -7,5 +7,5 @@ module.exports = [ "کلاسکی", "لاطینی", "پرانی", - "ریپ", + "ریپ" ]; diff --git a/lib/locales/ur/music/index.js b/lib/locales/ur/music/index.js index 6c5f2f65..213f46a5 100644 --- a/lib/locales/ur/music/index.js +++ b/lib/locales/ur/music/index.js @@ -1,3 +1,3 @@ -const music = {}; -module['exports'] = music; -music.genre = require("./genre"); +module.exports = { + genre: require("./genre") +}; diff --git a/lib/locales/ur/name/female_first_name.js b/lib/locales/ur/name/female_first_name.js index d0610b5a..62a5805b 100644 --- a/lib/locales/ur/name/female_first_name.js +++ b/lib/locales/ur/name/female_first_name.js @@ -1,4 +1,4 @@ -module['exports'] = [ +module.exports = [ 'منایل', 'عایشہ', 'آمنہ', @@ -16,5 +16,5 @@ module['exports'] = [ 'مشال', 'روبینہ', 'روزینہ', - 'حدید', + 'حدید' ]; diff --git a/lib/locales/ur/name/first_name.js b/lib/locales/ur/name/first_name.js index 1901958c..cde29422 100644 --- a/lib/locales/ur/name/first_name.js +++ b/lib/locales/ur/name/first_name.js @@ -1,4 +1,4 @@ -module['exports'] = [ +module.exports = [ 'منایل', 'عایشہ', 'آمنہ', @@ -34,5 +34,5 @@ module['exports'] = [ 'مسود', 'شفیع', 'فرہان', - 'ممتاز', + 'ممتاز' ]; diff --git a/lib/locales/ur/name/last_name.js b/lib/locales/ur/name/last_name.js index bb246af5..69ea16d1 100644 --- a/lib/locales/ur/name/last_name.js +++ b/lib/locales/ur/name/last_name.js @@ -1,4 +1,4 @@ -module['exports'] = [ +module.exports = [ 'اعوان', 'ملک', 'جبران', @@ -18,5 +18,5 @@ module['exports'] = [ 'اللَہ', 'شنواری', 'حسین', - 'الحق', + 'الحق' ]; diff --git a/lib/locales/ur/name/male_first_name.js b/lib/locales/ur/name/male_first_name.js index c4a10f06..81a41753 100644 --- a/lib/locales/ur/name/male_first_name.js +++ b/lib/locales/ur/name/male_first_name.js @@ -1,4 +1,4 @@ -module['exports'] = [ +module.exports = [ 'عمیر', 'ابراہیم', 'احسن', @@ -16,5 +16,5 @@ module['exports'] = [ 'مسود', 'شفیع', 'فرہان', - 'ممتاز', + 'ممتاز' ]; diff --git a/lib/locales/ur/name/name.js b/lib/locales/ur/name/name.js index 7a01e131..9fc0728d 100644 --- a/lib/locales/ur/name/name.js +++ b/lib/locales/ur/name/name.js @@ -1,4 +1,4 @@ -module['exports'] = [ +module.exports = [ '#{prefix} #{first_name} #{last_name}', '#{first_name} #{last_name} #{suffix}', '#{first_name} #{last_name}', @@ -6,5 +6,5 @@ module['exports'] = [ '#{male_first_name} #{last_name}', '#{female_first_name} #{last_name}', '#{male_first_name} بن #{male_first_name}', - '#{female_first_name} بنت #{male_first_name}', + '#{female_first_name} بنت #{male_first_name}' ]; diff --git a/lib/locales/ur/name/suffix.js b/lib/locales/ur/name/suffix.js index c9b7b0e9..f9feecca 100644 --- a/lib/locales/ur/name/suffix.js +++ b/lib/locales/ur/name/suffix.js @@ -1,4 +1,4 @@ -module['exports'] = [ +module.exports = [ 'چھوٹے', 'بڑے', 'پہل', @@ -9,5 +9,5 @@ module['exports'] = [ 'ششم', 'هفتم', 'نوئم', - 'دسم', + 'دسم' ]; diff --git a/lib/locales/ur/name/title.js b/lib/locales/ur/name/title.js index b59288d3..2f641b59 100644 --- a/lib/locales/ur/name/title.js +++ b/lib/locales/ur/name/title.js @@ -1,4 +1,4 @@ -module['exports'] = { +module.exports = { descriptor: [ 'سربراہ', 'اعلیٰ', @@ -13,7 +13,7 @@ module['exports'] = { 'اندرونی', 'انسانی', 'چیف', - 'پرنسپل', + 'پرنسپل' ], level: [ 'حل', @@ -29,6 +29,6 @@ module['exports'] = { 'تقسیم', 'استعمال', 'بات چیت', - 'جال', - ], + 'جال' + ] }; diff --git a/lib/locales/ur/team/creature.js b/lib/locales/ur/team/creature.js index 4d549d03..83ce89cd 100644 --- a/lib/locales/ur/team/creature.js +++ b/lib/locales/ur/team/creature.js @@ -1,4 +1,4 @@ -module['exports'] = [ +module.exports = [ 'چیونٹیاں', 'چمگادڑ', 'بھالو', @@ -33,5 +33,5 @@ module['exports'] = [ 'دشمن', 'پیغمبر', 'روح', - 'عبادت گزار', + 'عبادت گزار' ]; diff --git a/lib/locales/ur/team/index.js b/lib/locales/ur/team/index.js index b5264b1c..9d1f8164 100644 --- a/lib/locales/ur/team/index.js +++ b/lib/locales/ur/team/index.js @@ -1,4 +1,4 @@ -const team = {}; -module['exports'] = team; -team.creature = require("./creature"); -team.name = require("./name"); +module.exports = { + creature: require("./creature"), + name: require("./name") +}; diff --git a/lib/locales/ur/vehicle/index.js b/lib/locales/ur/vehicle/index.js index 90bc7f1d..8d6719c0 100644 --- a/lib/locales/ur/vehicle/index.js +++ b/lib/locales/ur/vehicle/index.js @@ -4,4 +4,4 @@ vehicle.manufacturer = require("./manufacturer"); vehicle.model = require("./model"); vehicle.type = require("./vehicle_type"); vehicle.fuel = require("./fuel"); -vehicle.bicycle = require("./bicycle"); \ No newline at end of file +vehicle.bicycle = require("./bicycle"); diff --git a/lib/locales/ur/vehicle/manufacturer.js b/lib/locales/ur/vehicle/manufacturer.js index 21f5b257..9d557c3b 100644 --- a/lib/locales/ur/vehicle/manufacturer.js +++ b/lib/locales/ur/vehicle/manufacturer.js @@ -1,4 +1,4 @@ -module['exports'] = [ +module.exports = [ 'آستن مارٹن', 'بینٹلے', 'بی ایم ڈبلیو', @@ -6,5 +6,5 @@ module['exports'] = [ 'ہنڈا', 'جیپ', 'مزدا', - 'مرسیڈیز', + 'مرسیڈیز' ]; diff --git a/lib/locales/ur/vehicle/vehicle_type.js b/lib/locales/ur/vehicle/vehicle_type.js index f8e2fb9f..d14d6a63 100644 --- a/lib/locales/ur/vehicle/vehicle_type.js +++ b/lib/locales/ur/vehicle/vehicle_type.js @@ -1 +1 @@ -module['exports'] = ['ہیچ بیک', 'سواری']; +module.exports = ['ہیچ بیک', 'سواری']; diff --git a/lib/locales/vi/address/index.js b/lib/locales/vi/address/index.js index c47ec7ec..1c591a3a 100644 --- a/lib/locales/vi/address/index.js +++ b/lib/locales/vi/address/index.js @@ -1,7 +1,7 @@ -const address = {}; -module['exports'] = address; -address.city_root = require("./city_root"); -address.city = require("./city"); -address.default_country = require("./default_country"); -address.postcode = require("./postcode"); -address.country = require("./country"); +module.exports = { + city_root: require("./city_root"), + city: require("./city"), + default_country: require("./default_country"), + postcode: require("./postcode"), + country: require("./country") +}; diff --git a/lib/locales/vi/cell_phone/index.js b/lib/locales/vi/cell_phone/index.js index 1f65f965..6fa921e5 100644 --- a/lib/locales/vi/cell_phone/index.js +++ b/lib/locales/vi/cell_phone/index.js @@ -1,3 +1,3 @@ -const cell_phone = {}; -module['exports'] = cell_phone; -cell_phone.formats = require("./formats"); +module.exports = { + formats: require("./formats") +}; diff --git a/lib/locales/vi/company/index.js b/lib/locales/vi/company/index.js index 8592941e..27700368 100644 --- a/lib/locales/vi/company/index.js +++ b/lib/locales/vi/company/index.js @@ -1,4 +1,4 @@ -const company = {}; -module['exports'] = company; -company.prefix = require("./prefix"); -company.name = require("./name"); +module.exports = { + prefix: require("./prefix"), + name: require("./name") +}; diff --git a/lib/locales/vi/date/weekday.js b/lib/locales/vi/date/weekday.js index 9086ee18..67f4de20 100644 --- a/lib/locales/vi/date/weekday.js +++ b/lib/locales/vi/date/weekday.js @@ -27,7 +27,7 @@ module.exports = { "T4", "T5", "T6", - "T7", + "T7" ], // Property "abbr_context" is optional, if not set then "abbr" will be used instead // It is used to specify a word in context, which may differ from a stand-alone word @@ -38,6 +38,6 @@ module.exports = { "Thứ 4", "Thứ 5", "Thứ 6", - "Thứ 7", + "Thứ 7" ] }; diff --git a/lib/locales/vi/index.js b/lib/locales/vi/index.js index ba11fe8a..c306e802 100644 --- a/lib/locales/vi/index.js +++ b/lib/locales/vi/index.js @@ -1,11 +1,11 @@ -const vi = {}; -module['exports'] = vi; -vi.title = "Vietnamese"; -vi.address = require("./address"); -vi.internet = require("./internet"); -vi.phone_number = require("./phone_number"); -vi.cell_phone = require("./cell_phone"); -vi.name = require("./name"); -vi.company = require("./company"); -vi.lorem = require("./lorem"); -vi.date = require("./date"); +module.exports = { + title: "Vietnamese", + address: require("./address"), + internet: require("./internet"), + phone_number: require("./phone_number"), + cell_phone: require("./cell_phone"), + name: require("./name"), + company: require("./company"), + lorem: require("./lorem"), + date: require("./date") +}; diff --git a/lib/locales/vi/internet/index.js b/lib/locales/vi/internet/index.js index 9251f559..f0555aed 100644 --- a/lib/locales/vi/internet/index.js +++ b/lib/locales/vi/internet/index.js @@ -1,3 +1,3 @@ -const internet = {}; -module['exports'] = internet; -internet.domain_suffix = require("./domain_suffix"); +module.exports = { + domain_suffix: require("./domain_suffix") +}; diff --git a/lib/locales/vi/lorem/index.js b/lib/locales/vi/lorem/index.js index 47ae78b5..85491b9b 100644 --- a/lib/locales/vi/lorem/index.js +++ b/lib/locales/vi/lorem/index.js @@ -1,3 +1,3 @@ -const lorem = {}; -module['exports'] = lorem; -lorem.words = require("./words"); +module.exports = { + words: require("./words") +}; diff --git a/lib/locales/vi/name/female_first_name.js b/lib/locales/vi/name/female_first_name.js index 8aa70d78..c6f92eee 100644 --- a/lib/locales/vi/name/female_first_name.js +++ b/lib/locales/vi/name/female_first_name.js @@ -1308,5 +1308,5 @@ module.exports = [ 'Đông Vy', 'Đơn Thuần', 'Đức Hạnh', - 'Ấu Lăng', + 'Ấu Lăng' ]; diff --git a/lib/locales/vi/name/index.js b/lib/locales/vi/name/index.js index a699be9c..126268aa 100644 --- a/lib/locales/vi/name/index.js +++ b/lib/locales/vi/name/index.js @@ -1,7 +1,7 @@ -const name = {}; -module['exports'] = name; -name.female_first_name = require('./female_first_name'); -name.male_first_name = require('./male_first_name'); -name.last_name = require('./last_name'); -name.first_name = require('./first_name'); -name.name = require('./name'); +module.exports = { + female_first_name: require('./female_first_name'), + male_first_name: require('./male_first_name'), + last_name: require('./last_name'), + first_name: require('./first_name'), + name: require('./name') +}; diff --git a/lib/locales/vi/name/male_first_name.js b/lib/locales/vi/name/male_first_name.js index 8c0a0647..cbdb2cfb 100644 --- a/lib/locales/vi/name/male_first_name.js +++ b/lib/locales/vi/name/male_first_name.js @@ -1223,5 +1223,5 @@ module.exports = [ 'Xuân Vũ', 'Yên Bằng', 'Yên Bình', - 'Yên Sơn', + 'Yên Sơn' ]; diff --git a/lib/locales/vi/name/name.js b/lib/locales/vi/name/name.js index acb9dc29..39cca120 100644 --- a/lib/locales/vi/name/name.js +++ b/lib/locales/vi/name/name.js @@ -1,6 +1,6 @@ module.exports = [ "#{male_first_name} #{last_name}", "#{female_first_name} #{last_name}", - "#{first_name} #{last_name}", + "#{first_name} #{last_name}" ]; diff --git a/lib/locales/vi/phone_number/index.js b/lib/locales/vi/phone_number/index.js index 36b6b18a..6fa921e5 100644 --- a/lib/locales/vi/phone_number/index.js +++ b/lib/locales/vi/phone_number/index.js @@ -1,3 +1,3 @@ -const phone_number = {}; -module['exports'] = phone_number; -phone_number.formats = require("./formats"); +module.exports = { + formats: require("./formats") +}; diff --git a/lib/locales/zh_CN/address/index.js b/lib/locales/zh_CN/address/index.js index 62912809..590b1eb0 100644 --- a/lib/locales/zh_CN/address/index.js +++ b/lib/locales/zh_CN/address/index.js @@ -1,13 +1,13 @@ -const address = {}; -module['exports'] = address; -address.city_prefix = require("./city_prefix"); -address.city_suffix = require("./city_suffix"); -address.building_number = require("./building_number"); -address.street_suffix = require("./street_suffix"); -address.postcode = require("./postcode"); -address.state = require("./state"); -address.state_abbr = require("./state_abbr"); -address.city = require("./city"); -address.street_name = require("./street_name"); -address.street_address = require("./street_address"); -address.default_country = require("./default_country"); +module.exports = { + city_prefix: require("./city_prefix"), + city_suffix: require("./city_suffix"), + building_number: require("./building_number"), + street_suffix: require("./street_suffix"), + postcode: require("./postcode"), + state: require("./state"), + state_abbr: require("./state_abbr"), + city: require("./city"), + street_name: require("./street_name"), + street_address: require("./street_address"), + default_country: require("./default_country") +}; diff --git a/lib/locales/zh_CN/index.js b/lib/locales/zh_CN/index.js index a1a717a6..ef24d1fb 100644 --- a/lib/locales/zh_CN/index.js +++ b/lib/locales/zh_CN/index.js @@ -1,6 +1,6 @@ -const zh_CN = {}; -module['exports'] = zh_CN; -zh_CN.title = "Chinese"; -zh_CN.address = require("./address"); -zh_CN.name = require("./name"); -zh_CN.phone_number = require("./phone_number"); +module.exports = { + title: "Chinese", + address: require("./address"), + name: require("./name"), + phone_number: require("./phone_number") +}; diff --git a/lib/locales/zh_CN/name/index.js b/lib/locales/zh_CN/name/index.js index a3560dc0..49df7db8 100644 --- a/lib/locales/zh_CN/name/index.js +++ b/lib/locales/zh_CN/name/index.js @@ -1,5 +1,5 @@ -const name = {}; -module['exports'] = name; -name.first_name = require("./first_name"); -name.last_name = require("./last_name"); -name.name = require("./name"); +module.exports = { + first_name: require("./first_name"), + last_name: require("./last_name"), + name: require("./name") +}; diff --git a/lib/locales/zh_CN/phone_number/index.js b/lib/locales/zh_CN/phone_number/index.js index 36b6b18a..6fa921e5 100644 --- a/lib/locales/zh_CN/phone_number/index.js +++ b/lib/locales/zh_CN/phone_number/index.js @@ -1,3 +1,3 @@ -const phone_number = {}; -module['exports'] = phone_number; -phone_number.formats = require("./formats"); +module.exports = { + formats: require("./formats") +}; diff --git a/lib/locales/zh_TW/address/index.js b/lib/locales/zh_TW/address/index.js index 62912809..590b1eb0 100644 --- a/lib/locales/zh_TW/address/index.js +++ b/lib/locales/zh_TW/address/index.js @@ -1,13 +1,13 @@ -const address = {}; -module['exports'] = address; -address.city_prefix = require("./city_prefix"); -address.city_suffix = require("./city_suffix"); -address.building_number = require("./building_number"); -address.street_suffix = require("./street_suffix"); -address.postcode = require("./postcode"); -address.state = require("./state"); -address.state_abbr = require("./state_abbr"); -address.city = require("./city"); -address.street_name = require("./street_name"); -address.street_address = require("./street_address"); -address.default_country = require("./default_country"); +module.exports = { + city_prefix: require("./city_prefix"), + city_suffix: require("./city_suffix"), + building_number: require("./building_number"), + street_suffix: require("./street_suffix"), + postcode: require("./postcode"), + state: require("./state"), + state_abbr: require("./state_abbr"), + city: require("./city"), + street_name: require("./street_name"), + street_address: require("./street_address"), + default_country: require("./default_country") +}; diff --git a/lib/locales/zh_TW/index.js b/lib/locales/zh_TW/index.js index 851db0c8..db772f1a 100644 --- a/lib/locales/zh_TW/index.js +++ b/lib/locales/zh_TW/index.js @@ -1,6 +1,6 @@ -const zh_TW = {}; -module['exports'] = zh_TW; -zh_TW.title = "Chinese (Taiwan)"; -zh_TW.address = require("./address"); -zh_TW.name = require("./name"); -zh_TW.phone_number = require("./phone_number"); +module.exports = { + title: "Chinese (Taiwan)", + address: require("./address"), + name: require("./name"), + phone_number: require("./phone_number") +}; diff --git a/lib/locales/zh_TW/name/index.js b/lib/locales/zh_TW/name/index.js index a3560dc0..49df7db8 100644 --- a/lib/locales/zh_TW/name/index.js +++ b/lib/locales/zh_TW/name/index.js @@ -1,5 +1,5 @@ -const name = {}; -module['exports'] = name; -name.first_name = require("./first_name"); -name.last_name = require("./last_name"); -name.name = require("./name"); +module.exports = { + first_name: require("./first_name"), + last_name: require("./last_name"), + name: require("./name") +}; diff --git a/lib/locales/zh_TW/phone_number/index.js b/lib/locales/zh_TW/phone_number/index.js index 36b6b18a..6fa921e5 100644 --- a/lib/locales/zh_TW/phone_number/index.js +++ b/lib/locales/zh_TW/phone_number/index.js @@ -1,3 +1,3 @@ -const phone_number = {}; -module['exports'] = phone_number; -phone_number.formats = require("./formats"); +module.exports = { + formats: require("./formats") +}; diff --git a/lib/locales/zu_ZA/address/index.js b/lib/locales/zu_ZA/address/index.js index a8145aa0..ce2eaacd 100644 --- a/lib/locales/zu_ZA/address/index.js +++ b/lib/locales/zu_ZA/address/index.js @@ -1,4 +1,4 @@ -const address = {}; -module['exports'] = address; -address.default_country = require("./default_country"); -address.postcode = require("./postcode"); +module.exports = { + default_country: require("./default_country"), + postcode: require("./postcode") +}; diff --git a/lib/locales/zu_ZA/cell_phone/index.js b/lib/locales/zu_ZA/cell_phone/index.js index 1f65f965..6fa921e5 100644 --- a/lib/locales/zu_ZA/cell_phone/index.js +++ b/lib/locales/zu_ZA/cell_phone/index.js @@ -1,3 +1,3 @@ -const cell_phone = {}; -module['exports'] = cell_phone; -cell_phone.formats = require("./formats"); +module.exports = { + formats: require("./formats") +}; diff --git a/lib/locales/zu_ZA/company/index.js b/lib/locales/zu_ZA/company/index.js index 15298471..6f1ca338 100644 --- a/lib/locales/zu_ZA/company/index.js +++ b/lib/locales/zu_ZA/company/index.js @@ -1,3 +1,3 @@ -const company = {}; -module['exports'] = company; -company.suffix = require("./suffix"); +module.exports = { + suffix: require("./suffix") +}; diff --git a/lib/locales/zu_ZA/index.js b/lib/locales/zu_ZA/index.js index 197bc6cb..44059137 100644 --- a/lib/locales/zu_ZA/index.js +++ b/lib/locales/zu_ZA/index.js @@ -1,8 +1,8 @@ -const en_ZA = {}; -module['exports'] = en_ZA; -en_ZA.title = "Zulu (South Africa)"; -en_ZA.address = require("./address"); -en_ZA.internet = require("./internet"); -en_ZA.phone_number = require("./phone_number"); -en_ZA.cell_phone = require("./cell_phone"); -en_ZA.company = require("./company"); +module.exports = { + title: "Zulu (South Africa)", + address: require("./address"), + internet: require("./internet"), + phone_number: require("./phone_number"), + cell_phone: require("./cell_phone"), + company: require("./company") +}; diff --git a/lib/locales/zu_ZA/internet/index.js b/lib/locales/zu_ZA/internet/index.js index 9251f559..f0555aed 100644 --- a/lib/locales/zu_ZA/internet/index.js +++ b/lib/locales/zu_ZA/internet/index.js @@ -1,3 +1,3 @@ -const internet = {}; -module['exports'] = internet; -internet.domain_suffix = require("./domain_suffix"); +module.exports = { + domain_suffix: require("./domain_suffix") +}; diff --git a/lib/locales/zu_ZA/name/female_first_name.js b/lib/locales/zu_ZA/name/female_first_name.js index d9c98c9d..421a14d1 100644 --- a/lib/locales/zu_ZA/name/female_first_name.js +++ b/lib/locales/zu_ZA/name/female_first_name.js @@ -49,4 +49,4 @@ module.exports = [ "Nonkululeko", "Sibongile", "Siphephelo" -]; \ No newline at end of file +]; diff --git a/lib/locales/zu_ZA/name/index.js b/lib/locales/zu_ZA/name/index.js index 8666602b..b40447b3 100644 --- a/lib/locales/zu_ZA/name/index.js +++ b/lib/locales/zu_ZA/name/index.js @@ -1,6 +1,6 @@ -const name = {}; -module['exports'] = name; -name.male_first_name = require("./male_first_name"); -name.female_first_name = require("./female_first_name"); -name.first_name = require("./first_name"); -name.last_name = require("./last_name"); \ No newline at end of file +module.exports = { + male_first_name: require("./male_first_name"), + female_first_name: require("./female_first_name"), + first_name: require("./first_name"), + last_name: require("./last_name") +}; diff --git a/lib/locales/zu_ZA/name/last_name.js b/lib/locales/zu_ZA/name/last_name.js index e1762325..fd80bd9d 100644 --- a/lib/locales/zu_ZA/name/last_name.js +++ b/lib/locales/zu_ZA/name/last_name.js @@ -99,4 +99,4 @@ module.exports = [ "Zondo", "Zondi", "Zubane" -]; \ No newline at end of file +]; diff --git a/lib/locales/zu_ZA/name/male_first_name.js b/lib/locales/zu_ZA/name/male_first_name.js index 763e8519..5cd36341 100644 --- a/lib/locales/zu_ZA/name/male_first_name.js +++ b/lib/locales/zu_ZA/name/male_first_name.js @@ -49,4 +49,4 @@ module.exports = [ "Themba", "Zenzele", "Ndleleni" -]; \ No newline at end of file +]; diff --git a/lib/locales/zu_ZA/phone_number/formats.js b/lib/locales/zu_ZA/phone_number/formats.js index 702d1617..b1003076 100644 --- a/lib/locales/zu_ZA/phone_number/formats.js +++ b/lib/locales/zu_ZA/phone_number/formats.js @@ -7,5 +7,5 @@ module.exports = [ "0800 ### ###", "0860 ### ###", "01#########", - "01# ########", + "01# ########" ]; diff --git a/lib/locales/zu_ZA/phone_number/index.js b/lib/locales/zu_ZA/phone_number/index.js index 36b6b18a..6fa921e5 100644 --- a/lib/locales/zu_ZA/phone_number/index.js +++ b/lib/locales/zu_ZA/phone_number/index.js @@ -1,3 +1,3 @@ -const phone_number = {}; -module['exports'] = phone_number; -phone_number.formats = require("./formats"); +module.exports = { + formats: require("./formats") +}; diff --git a/lib/lorem.js b/lib/lorem.js index 415fbcd7..1897385f 100644 --- a/lib/lorem.js +++ b/lib/lorem.js @@ -48,9 +48,8 @@ const Lorem = function (blaver) { * * @method blaver.lorem.sentence * @param {number} wordCount defaults to a random number between 3 and 10 - * @param {number} range */ - self.sentence = function (wordCount, range) { + self.sentence = function (wordCount) { if (typeof wordCount == "undefined") { wordCount = blaver.datatype.number({ min: 3, max: 10 }); } @@ -135,9 +134,8 @@ const Lorem = function (blaver) { * returns random text based on a random lorem method * * @method blaver.lorem.text - * @param {number} times */ - self.text = function loremText(times) { + self.text = function loremText() { const loremMethods = [ "lorem.word", "lorem.words", @@ -145,7 +143,7 @@ const Lorem = function (blaver) { "lorem.sentences", "lorem.paragraph", "lorem.paragraphs", - "lorem.lines", + "lorem.lines" ]; const randomLoremMethod = blaver.random.arrayElement(loremMethods); return blaver.fake("{{" + randomLoremMethod + "}}"); diff --git a/lib/music.js b/lib/music.js index d61a8931..317a2721 100644 --- a/lib/music.js +++ b/lib/music.js @@ -15,7 +15,7 @@ const Music = function (blaver) { self.genre.schema = { description: "Generates a genre.", - sampleResults: ["Rock", "Metal", "Pop"], + sampleResults: ["Rock", "Metal", "Pop"] }; }; diff --git a/lib/random.js b/lib/random.js index 21c6aade..54b0638c 100644 --- a/lib/random.js +++ b/lib/random.js @@ -146,9 +146,8 @@ function Random(blaver, seed) { * word * * @method blaver.random.word - * @param {string} type */ - this.word = function randomWord(type) { + this.word = function randomWord() { const wordMethods = [ "commerce.department", "commerce.productName", @@ -180,7 +179,7 @@ function Random(blaver, seed) { "name.jobDescriptor", "name.jobArea", - "name.jobType", + "name.jobType" ]; // randomly pick from the many blaver methods that can generate words @@ -233,11 +232,11 @@ function Random(blaver, seed) { this.alpha = function alpha(options) { if (typeof options === "undefined") { options = { - count: 1, + count: 1 }; } else if (typeof options === "number") { options = { - count: options, + count: options }; } else if (typeof options.count === "undefined") { options.count = 1; @@ -277,7 +276,7 @@ function Random(blaver, seed) { "w", "x", "y", - "z", + "z" ]; if (options.bannedChars) { charsArray = arrayRemove(charsArray, options.bannedChars); @@ -345,7 +344,7 @@ function Random(blaver, seed) { "w", "x", "y", - "z", + "z" ]; if (options) { if (options.bannedChars) { diff --git a/lib/system.js b/lib/system.js index bfe8beea..ab696b5b 100644 --- a/lib/system.js +++ b/lib/system.js @@ -11,7 +11,7 @@ const commonMimeTypes = [ "image/gif", "video/mp4", "video/mpeg", - "text/html", + "text/html" ]; function setToArray(set) { @@ -81,8 +81,6 @@ function System(blaver) { } }); - const types = setToArray(typeSet); - const extensions = setToArray(extensionSet); const mimeTypeKeys = Object.keys(blaver.definitions.system.mimeTypes); return blaver.random.arrayElement(mimeTypeKeys); @@ -131,8 +129,6 @@ function System(blaver) { }); const types = setToArray(typeSet); - const extensions = setToArray(extensionSet); - const mimeTypeKeys = Object.keys(blaver.definitions.system.mimeTypes); return blaver.random.arrayElement(types); }; @@ -159,9 +155,7 @@ function System(blaver) { } }); - const types = setToArray(typeSet); const extensions = setToArray(extensionSet); - const mimeTypeKeys = Object.keys(blaver.definitions.system.mimeTypes); if (mimeType) { const mimes = blaver.definitions.system.mimeTypes; @@ -201,7 +195,7 @@ function System(blaver) { return [ blaver.datatype.number(9), blaver.datatype.number(9), - blaver.datatype.number(9), + blaver.datatype.number(9) ].join("."); }; } diff --git a/lib/time.js b/lib/time.js index 732ea780..ac850a4b 100644 --- a/lib/time.js +++ b/lib/time.js @@ -2,7 +2,7 @@ * * @namespace blaver.time */ -const _Time = function (blaver) { +const _Time = function () { const self = this; /** diff --git a/lib/unique.js b/lib/unique.js index 30cf21c6..24da9a2d 100644 --- a/lib/unique.js +++ b/lib/unique.js @@ -3,7 +3,7 @@ const uniqueExec = require("../vendor/unique"); * * @namespace blaver.unique */ -function Unique(blaver) { +function Unique() { // initialize unique module class variables // maximum time unique.exec will attempt to run before aborting diff --git a/lib/vehicle.js b/lib/vehicle.js index fbb4f0d0..00b1fc89 100644 --- a/lib/vehicle.js +++ b/lib/vehicle.js @@ -17,7 +17,7 @@ const Vehicle = function (blaver) { self.vehicle.schema = { description: "Generates a random vehicle.", - sampleResults: ["BMW Explorer", "Ford Camry", "Lamborghini Ranchero"], + sampleResults: ["BMW Explorer", "Ford Camry", "Lamborghini Ranchero"] }; /** @@ -33,7 +33,7 @@ const Vehicle = function (blaver) { self.manufacturer.schema = { description: "Generates a manufacturer name.", - sampleResults: ["Ford", "Jeep", "Tesla"], + sampleResults: ["Ford", "Jeep", "Tesla"] }; /** @@ -49,7 +49,7 @@ const Vehicle = function (blaver) { self.model.schema = { description: "Generates a vehicle model.", - sampleResults: ["Explorer", "Camry", "Ranchero"], + sampleResults: ["Explorer", "Camry", "Ranchero"] }; /** @@ -65,7 +65,7 @@ const Vehicle = function (blaver) { self.type.schema = { description: "Generates a vehicle type.", - sampleResults: ["Coupe", "Convertable", "Sedan", "SUV"], + sampleResults: ["Coupe", "Convertable", "Sedan", "SUV"] }; /** @@ -81,7 +81,7 @@ const Vehicle = function (blaver) { self.fuel.schema = { description: "Generates a fuel type.", - sampleResults: ["Electric", "Gasoline", "Diesel"], + sampleResults: ["Electric", "Gasoline", "Diesel"] }; /** @@ -96,7 +96,7 @@ const Vehicle = function (blaver) { blaver.random.alpha({ count: 1, upcase: true, - bannedChars: bannedChars, + bannedChars: bannedChars }) + blaver.random.alphaNumeric(1, { bannedChars: bannedChars }) + blaver.datatype.number({ min: 10000, max: 100000 }) @@ -106,7 +106,7 @@ const Vehicle = function (blaver) { self.vin.schema = { description: "Generates a valid VIN number.", - sampleResults: ["YV1MH682762184654", "3C7WRMBJ2EG208836"], + sampleResults: ["YV1MH682762184654", "3C7WRMBJ2EG208836"] }; /** @@ -120,7 +120,7 @@ const Vehicle = function (blaver) { self.color.schema = { description: "Generates a color", - sampleResults: ["red", "white", "black"], + sampleResults: ["red", "white", "black"] }; /** @@ -139,7 +139,7 @@ const Vehicle = function (blaver) { self.vrm.schema = { description: "Generates a vehicle vrm", - sampleResults: ["MF56UPA", "GL19AAQ", "SF20TTA"], + sampleResults: ["MF56UPA", "GL19AAQ", "SF20TTA"] }; /** @@ -158,8 +158,8 @@ const Vehicle = function (blaver) { sampleResults: [ "Adventure Road Bicycle", "City Bicycle", - "Recumbent Bicycle", - ], + "Recumbent Bicycle" + ] }; }; diff --git a/locale/ur.js b/locale/ur.js index 50eb4ff0..ea172156 100644 --- a/locale/ur.js +++ b/locale/ur.js @@ -3,4 +3,4 @@ const blaver = new Blaver({ locale: 'ur', localeFallback: 'en' }); blaver.locales['ur'] = require('../lib/locales/ur'); blaver.locales['en'] = require('../lib/locales/en'); -module['exports'] = blaver; \ No newline at end of file +module.exports = blaver; diff --git a/package.js b/package.js index b3dbe1b0..ef7459ac 100755 --- a/package.js +++ b/package.js @@ -1,6 +1,6 @@ /* eslint-disable no-undef */ Npm.depends({ - faker: "3.0.1", + faker: "3.0.1" }); Package.describe({ @@ -9,7 +9,7 @@ Package.describe({ name: "practicalmeteor:faker", version: "3.0.1_1", git: "https://github.com/practicalmeteor/meteor-faker.git", - documentation: "Readme.md", + documentation: "Readme.md" }); Package.onUse(function (api) { @@ -27,7 +27,7 @@ Package.onTest(function (api) { "practicalmeteor:faker", "coffeescript", "tinytest", - "practicalmeteor:chai", + "practicalmeteor:chai" ]); api.addFiles("meteor/tests/blaver-export-test.coffee"); diff --git a/package.json b/package.json index 1ce185f0..defa5d67 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ "browser": "./node_modules/.bin/gulp browser", "jsdoc": "./node_modules/.bin/gulp jsdoc", "readme": "./node_modules/.bin/gulp readme", - "lint": "node_modules/.bin/eslint ./lib/animal.js", + "lint": "node_modules/.bin/eslint lib --fix", "test": "node_modules/.bin/mocha test/*.*.js", "coverage": "nyc npm test && nyc report --reporter=text-lcov" }, From 100d23d8d9fc2f2150e1f44dbf07e2d4ecff7593 Mon Sep 17 00:00:00 2001 From: Priyansh <30593201+luciferreeves@users.noreply.github.com> Date: Sat, 8 Jan 2022 06:19:48 -0500 Subject: [PATCH 07/11] Update index.d.ts --- index.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/index.d.ts b/index.d.ts index 25dd97fd..9e9a80b4 100644 --- a/index.d.ts +++ b/index.d.ts @@ -119,6 +119,7 @@ declare namespace Blaver { hexaDecimal(count?: number): string; json(): string; array(length?: number): Array; + bigInt(value?: number): number; }; date: { From e343aeff72418813e4ac77b588a4ad426c797cf8 Mon Sep 17 00:00:00 2001 From: angus Date: Sat, 8 Jan 2022 14:11:52 +0000 Subject: [PATCH 08/11] Removed unneeded this assignment to self --- lib/animal.js | 32 +++++++++++++++---------------- lib/commerce.js | 46 +++++++++------------------------------------ lib/database.js | 17 ++++++++--------- lib/date.js | 19 +++++++++---------- lib/finance.js | 37 ++++++++++++++++++------------------ lib/git.js | 14 ++++++-------- lib/image.js | 42 ++++++++++++++++++++--------------------- lib/lorem.js | 21 ++++++++++----------- lib/music.js | 5 ++--- lib/phone_number.js | 10 ++++------ lib/time.js | 6 ++---- lib/vehicle.js | 37 ++++++++++++++++++------------------ lib/word.js | 17 ++++++++--------- 13 files changed, 130 insertions(+), 173 deletions(-) diff --git a/lib/animal.js b/lib/animal.js index 37e9bc63..a26ea018 100644 --- a/lib/animal.js +++ b/lib/animal.js @@ -3,14 +3,12 @@ * @namespace blaver.animal */ const Animal = function (blaver) { - const self = this; - /** * dog * * @method blaver.animal.dog */ - self.dog = function () { + this.dog = function () { return blaver.random.arrayElement(blaver.definitions.animal.dog); }; /** @@ -18,7 +16,7 @@ const Animal = function (blaver) { * * @method blaver.animal.cat */ - self.cat = function () { + this.cat = function () { return blaver.random.arrayElement(blaver.definitions.animal.cat); }; /** @@ -26,7 +24,7 @@ const Animal = function (blaver) { * * @method blaver.animal.snake */ - self.snake = function () { + this.snake = function () { return blaver.random.arrayElement( blaver.definitions.animal.snake ); @@ -36,7 +34,7 @@ const Animal = function (blaver) { * * @method blaver.animal.bear */ - self.bear = function () { + this.bear = function () { return blaver.random.arrayElement(blaver.definitions.animal.bear); }; /** @@ -44,7 +42,7 @@ const Animal = function (blaver) { * * @method blaver.animal.lion */ - self.lion = function () { + this.lion = function () { return blaver.random.arrayElement(blaver.definitions.animal.lion); }; /** @@ -52,7 +50,7 @@ const Animal = function (blaver) { * * @method blaver.animal.cetacean */ - self.cetacean = function () { + this.cetacean = function () { return blaver.random.arrayElement( blaver.definitions.animal.cetacean ); @@ -62,7 +60,7 @@ const Animal = function (blaver) { * * @method blaver.animal.horse */ - self.horse = function () { + this.horse = function () { return blaver.random.arrayElement( blaver.definitions.animal.horse ); @@ -72,7 +70,7 @@ const Animal = function (blaver) { * * @method blaver.animal.bird */ - self.bird = function () { + this.bird = function () { return blaver.random.arrayElement(blaver.definitions.animal.bird); }; /** @@ -80,7 +78,7 @@ const Animal = function (blaver) { * * @method blaver.animal.cow */ - self.cow = function () { + this.cow = function () { return blaver.random.arrayElement(blaver.definitions.animal.cow); }; /** @@ -88,7 +86,7 @@ const Animal = function (blaver) { * * @method blaver.animal.fish */ - self.fish = function () { + this.fish = function () { return blaver.random.arrayElement(blaver.definitions.animal.fish); }; /** @@ -96,7 +94,7 @@ const Animal = function (blaver) { * * @method blaver.animal.crocodilia */ - self.crocodilia = function () { + this.crocodilia = function () { return blaver.random.arrayElement( blaver.definitions.animal.crocodilia ); @@ -106,7 +104,7 @@ const Animal = function (blaver) { * * @method blaver.animal.insect */ - self.insect = function () { + this.insect = function () { return blaver.random.arrayElement( blaver.definitions.animal.insect ); @@ -116,7 +114,7 @@ const Animal = function (blaver) { * * @method blaver.animal.rabbit */ - self.rabbit = function () { + this.rabbit = function () { return blaver.random.arrayElement( blaver.definitions.animal.rabbit ); @@ -126,11 +124,11 @@ const Animal = function (blaver) { * * @method blaver.animal.type */ - self.type = function () { + this.type = function () { return blaver.random.arrayElement(blaver.definitions.animal.type); }; - return self; + return this; }; module.exports = Animal; diff --git a/lib/commerce.js b/lib/commerce.js index 7ea332d2..e0d5766e 100644 --- a/lib/commerce.js +++ b/lib/commerce.js @@ -3,14 +3,12 @@ * @namespace blaver.commerce */ const Commerce = function (blaver) { - const self = this; - /** * color * * @method blaver.commerce.color */ - self.color = function () { + this.color = function () { return blaver.random.arrayElement( blaver.definitions.commerce.color ); @@ -21,7 +19,7 @@ const Commerce = function (blaver) { * * @method blaver.commerce.department */ - self.department = function () { + this.department = function () { return blaver.random.arrayElement( blaver.definitions.commerce.department ); @@ -32,7 +30,7 @@ const Commerce = function (blaver) { * * @method blaver.commerce.productName */ - self.productName = function () { + this.productName = function () { return ( blaver.commerce.productAdjective() + " " + @@ -53,7 +51,7 @@ const Commerce = function (blaver) { * * @return {string} */ - self.price = function (min, max, dec, symbol) { + this.price = function (min, max, dec, symbol) { min = min || 1; max = max || 1000; dec = dec === undefined ? 2 : dec; @@ -73,38 +71,12 @@ const Commerce = function (blaver) { ); }; - /* - self.categories = function(num) { - const categories = []; - - do { - const category = blaver.random.arrayElement(blaver.definitions.commerce.department); - if(categories.indexOf(category) === -1) { - categories.push(category); - } - } while(categories.length < num); - - return categories; - }; - - */ - /* - self.mergeCategories = function(categories) { - const separator = blaver.definitions.separator || " &"; - // TODO: find undefined here - categories = categories || blaver.definitions.commerce.categories; - const commaSeparated = categories.slice(0, -1).join(', '); - - return [commaSeparated, categories[categories.length - 1]].join(separator + " "); - }; - */ - /** * productAdjective * * @method blaver.commerce.productAdjective */ - self.productAdjective = function () { + this.productAdjective = function () { return blaver.random.arrayElement( blaver.definitions.commerce.product_name.adjective ); @@ -115,7 +87,7 @@ const Commerce = function (blaver) { * * @method blaver.commerce.productMaterial */ - self.productMaterial = function () { + this.productMaterial = function () { return blaver.random.arrayElement( blaver.definitions.commerce.product_name.material ); @@ -126,7 +98,7 @@ const Commerce = function (blaver) { * * @method blaver.commerce.product */ - self.product = function () { + this.product = function () { return blaver.random.arrayElement( blaver.definitions.commerce.product_name.product ); @@ -137,13 +109,13 @@ const Commerce = function (blaver) { * * @method blaver.commerce.productDescription */ - self.productDescription = function () { + this.productDescription = function () { return blaver.random.arrayElement( blaver.definitions.commerce.product_description ); }; - return self; + return this; }; module.exports = Commerce; diff --git a/lib/database.js b/lib/database.js index 73e264af..c6b9f293 100644 --- a/lib/database.js +++ b/lib/database.js @@ -3,19 +3,18 @@ * @namespace blaver.database */ const Database = function (blaver) { - const self = this; /** * column * * @method blaver.database.column */ - self.column = function () { + this.column = function () { return blaver.random.arrayElement( blaver.definitions.database.column ); }; - self.column.schema = { + this.column.schema = { description: "Generates a column name.", sampleResults: ["id", "title", "createdAt"] }; @@ -25,13 +24,13 @@ const Database = function (blaver) { * * @method blaver.database.type */ - self.type = function () { + this.type = function () { return blaver.random.arrayElement( blaver.definitions.database.type ); }; - self.type.schema = { + this.type.schema = { description: "Generates a column type.", sampleResults: ["byte", "int", "varchar", "timestamp"] }; @@ -41,13 +40,13 @@ const Database = function (blaver) { * * @method blaver.database.collation */ - self.collation = function () { + this.collation = function () { return blaver.random.arrayElement( blaver.definitions.database.collation ); }; - self.collation.schema = { + this.collation.schema = { description: "Generates a collation.", sampleResults: ["utf8_unicode_ci", "utf8_bin"] }; @@ -57,13 +56,13 @@ const Database = function (blaver) { * * @method blaver.database.engine */ - self.engine = function () { + this.engine = function () { return blaver.random.arrayElement( blaver.definitions.database.engine ); }; - self.engine.schema = { + this.engine.schema = { description: "Generates a storage engine.", sampleResults: ["MyISAM", "InnoDB"] }; diff --git a/lib/date.js b/lib/date.js index 690ecde7..2ba9f88a 100644 --- a/lib/date.js +++ b/lib/date.js @@ -3,7 +3,6 @@ * @namespace blaver.date */ const _Date = function (blaver) { - const self = this; /** * past * @@ -11,7 +10,7 @@ const _Date = function (blaver) { * @param {number} years * @param {date} refDate */ - self.past = function (years, refDate) { + this.past = function (years, refDate) { let date = new Date(); if (typeof refDate !== "undefined") { date = new Date(Date.parse(refDate)); @@ -36,7 +35,7 @@ const _Date = function (blaver) { * @param {number} years * @param {date} refDate */ - self.future = function (years, refDate) { + this.future = function (years, refDate) { let date = new Date(); if (typeof refDate !== "undefined") { date = new Date(Date.parse(refDate)); @@ -61,7 +60,7 @@ const _Date = function (blaver) { * @param {date} from * @param {date} to */ - self.between = function (from, to) { + this.between = function (from, to) { const fromMilli = Date.parse(from); const dateOffset = blaver.datatype.number(Date.parse(to) - fromMilli); @@ -77,7 +76,7 @@ const _Date = function (blaver) { * @param {date} from * @param {date} to */ - self.betweens = function (from, to, num) { + this.betweens = function (from, to, num) { if (typeof num == "undefined") { num = 3; } @@ -100,7 +99,7 @@ const _Date = function (blaver) { * @param {number} days * @param {date} refDate */ - self.recent = function (days, refDate) { + this.recent = function (days, refDate) { let date = new Date(); if (typeof refDate !== "undefined") { date = new Date(Date.parse(refDate)); @@ -125,7 +124,7 @@ const _Date = function (blaver) { * @param {number} days * @param {date} refDate */ - self.soon = function (days, refDate) { + this.soon = function (days, refDate) { let date = new Date(); if (typeof refDate !== "undefined") { date = new Date(Date.parse(refDate)); @@ -149,7 +148,7 @@ const _Date = function (blaver) { * @method blaver.date.month * @param {object} options */ - self.month = function (options) { + this.month = function (options) { options = options || {}; let type = "wide"; @@ -175,7 +174,7 @@ const _Date = function (blaver) { * @param {object} options * @method blaver.date.weekday */ - self.weekday = function (options) { + this.weekday = function (options) { options = options || {}; let type = "wide"; @@ -195,7 +194,7 @@ const _Date = function (blaver) { return blaver.random.arrayElement(source); }; - return self; + return this; }; module.exports = _Date; diff --git a/lib/finance.js b/lib/finance.js index c60a5a11..0488e180 100644 --- a/lib/finance.js +++ b/lib/finance.js @@ -3,8 +3,7 @@ */ const Finance = function (blaver) { const ibanLib = require("./iban"); - const Helpers = blaver.helpers, - self = this; + const Helpers = blaver.helpers; /** * account @@ -12,7 +11,7 @@ const Finance = function (blaver) { * @method blaver.finance.account * @param {number} length */ - self.account = function (length) { + this.account = function (length) { length = length || 8; let template = ""; @@ -29,7 +28,7 @@ const Finance = function (blaver) { * * @method blaver.finance.accountName */ - self.accountName = function () { + this.accountName = function () { return [ Helpers.randomize(blaver.definitions.finance.account_type), "Account" @@ -41,7 +40,7 @@ const Finance = function (blaver) { * * @method blaver.finance.routingNumber */ - self.routingNumber = function () { + this.routingNumber = function () { const routingNumber = Helpers.replaceSymbolWithNumber("########"); // Modules 10 straight summation. @@ -64,7 +63,7 @@ const Finance = function (blaver) { * @param {boolean} parens * @param {boolean} ellipsis */ - self.mask = function (length, parens, ellipsis) { + this.mask = function (length, parens, ellipsis) { //set defaults length = length == 0 || !length || typeof length == "undefined" ? 4 : length; @@ -103,7 +102,7 @@ const Finance = function (blaver) { * * @return {string} */ - self.amount = function (min, max, dec, symbol, autoFormat) { + this.amount = function (min, max, dec, symbol, autoFormat) { min = min || 0; max = max || 1000; dec = dec === undefined ? 2 : dec; @@ -131,7 +130,7 @@ const Finance = function (blaver) { * * @method blaver.finance.transactionType */ - self.transactionType = function () { + this.transactionType = function () { return Helpers.randomize(blaver.definitions.finance.transaction_type); }; @@ -140,7 +139,7 @@ const Finance = function (blaver) { * * @method blaver.finance.currencyCode */ - self.currencyCode = function () { + this.currencyCode = function () { return blaver.random.objectElement( blaver.definitions.finance.currency )["code"]; @@ -151,7 +150,7 @@ const Finance = function (blaver) { * * @method blaver.finance.currencyName */ - self.currencyName = function () { + this.currencyName = function () { return blaver.random.objectElement( blaver.definitions.finance.currency, "key" @@ -163,7 +162,7 @@ const Finance = function (blaver) { * * @method blaver.finance.currencySymbol */ - self.currencySymbol = function () { + this.currencySymbol = function () { let symbol; while (!symbol) { @@ -179,7 +178,7 @@ const Finance = function (blaver) { * * @method blaver.finance.bitcoinAddress */ - self.bitcoinAddress = function () { + this.bitcoinAddress = function () { const addressLength = blaver.random.number({ min: 27, max: 34 }); let address = blaver.random.arrayElement(['1', '3']); @@ -195,7 +194,7 @@ const Finance = function (blaver) { * * @method blaver.finance.litecoinAddress */ - self.litecoinAddress = function () { + this.litecoinAddress = function () { const addressLength = blaver.datatype.number({ min: 26, max: 33 }); let address = blaver.random.arrayElement(["L", "M", "3"]); @@ -213,7 +212,7 @@ const Finance = function (blaver) { * @method blaver.finance.creditCardNumber * @param {string} provider | scheme */ - self.creditCardNumber = function (provider) { + this.creditCardNumber = function (provider) { provider = provider || ""; let format, formats; const localeFormat = blaver.definitions.finance.credit_card; @@ -248,7 +247,7 @@ const Finance = function (blaver) { * Credit card CVV * @method blaver.finance.creditCardCVV */ - self.creditCardCVV = function () { + this.creditCardCVV = function () { let cvv = ""; for (let i = 0; i < 3; i++) { cvv += blaver.datatype.number({ max: 9 }).toString(); @@ -261,7 +260,7 @@ const Finance = function (blaver) { * * @method blaver.finance.ethereumAddress */ - self.ethereumAddress = function () { + this.ethereumAddress = function () { const address = blaver.datatype.hexaDecimal(40).toLowerCase(); return address; }; @@ -275,7 +274,7 @@ const Finance = function (blaver) { * * @method blaver.finance.iban */ - self.iban = function (formatted, countryCode) { + this.iban = function (formatted, countryCode) { let ibanFormat; if (countryCode) { const findFormat = function (currentFormat) { @@ -335,7 +334,7 @@ const Finance = function (blaver) { * * @method blaver.finance.bic */ - self.bic = function () { + this.bic = function () { const vowels = ["A", "E", "I", "O", "U"]; const prob = blaver.datatype.number(100); return ( @@ -359,7 +358,7 @@ const Finance = function (blaver) { * * @method blaver.finance.transactionDescription */ - self.transactionDescription = function () { + this.transactionDescription = function () { const transaction = Helpers.createTransaction(); const account = transaction.account; const amount = transaction.amount; diff --git a/lib/git.js b/lib/git.js index cef5860c..b3fd1455 100644 --- a/lib/git.js +++ b/lib/git.js @@ -3,9 +3,7 @@ */ const Git = function (blaver) { - const self = this; const f = blaver.fake; - const hexChars = [ "0", "1", @@ -30,7 +28,7 @@ const Git = function (blaver) { * * @method blaver.git.branch */ - self.branch = function () { + this.branch = function () { const noun = blaver.hacker.noun().replace(" ", "-"); const verb = blaver.hacker.verb().replace(" ", "-"); return noun + "-" + verb; @@ -42,7 +40,7 @@ const Git = function (blaver) { * @method blaver.git.commitEntry * @param {object} options */ - self.commitEntry = function (options) { + this.commitEntry = function (options) { options = options || {}; let entry = "commit {{git.commitSha}}\r\n"; @@ -67,7 +65,7 @@ const Git = function (blaver) { * * @method blaver.git.commitMessage */ - self.commitMessage = function () { + this.commitMessage = function () { const format = "{{hacker.verb}} {{hacker.adjective}} {{hacker.noun}}"; return f(format); }; @@ -77,7 +75,7 @@ const Git = function (blaver) { * * @method blaver.git.commitSha */ - self.commitSha = function () { + this.commitSha = function () { let commit = ""; for (let i = 0; i < 40; i++) { @@ -92,7 +90,7 @@ const Git = function (blaver) { * * @method blaver.git.shortSha */ - self.shortSha = function () { + this.shortSha = function () { let shortSha = ""; for (let i = 0; i < 7; i++) { @@ -102,7 +100,7 @@ const Git = function (blaver) { return shortSha; }; - return self; + return this; }; module.exports = Git; diff --git a/lib/image.js b/lib/image.js index 40612471..ba99184a 100644 --- a/lib/image.js +++ b/lib/image.js @@ -20,7 +20,7 @@ const Image = function (blaver) { * @param {boolean} randomize * @method blaver.image.image */ - self.image = function (width, height, randomize) { + this.image = function (width, height, randomize) { const categories = [ "abstract", "animals", @@ -47,7 +47,7 @@ const Image = function (blaver) { * * @method blaver.image.avatar */ - self.avatar = function () { + this.avatar = function () { return blaver.internet.avatar(); }; /** @@ -59,7 +59,7 @@ const Image = function (blaver) { * @param {boolean} randomize * @method blaver.image.imageUrl */ - self.imageUrl = function (width, height, category, randomize, https) { + this.imageUrl = function (width, height, category, randomize, https) { const localWidth = width || 640; const localHeight = height || 480; let protocol = "http://"; @@ -85,7 +85,7 @@ const Image = function (blaver) { * @param {boolean} randomize * @method blaver.image.abstract */ - self.abstract = function (width, height, randomize) { + this.abstract = function (width, height, randomize) { return blaver.image.imageUrl(width, height, "abstract", randomize); }; /** @@ -96,7 +96,7 @@ const Image = function (blaver) { * @param {boolean} randomize * @method blaver.image.animals */ - self.animals = function (width, height, randomize) { + this.animals = function (width, height, randomize) { return blaver.image.imageUrl(width, height, "animals", randomize); }; /** @@ -107,7 +107,7 @@ const Image = function (blaver) { * @param {boolean} randomize * @method blaver.image.business */ - self.business = function (width, height, randomize) { + this.business = function (width, height, randomize) { return blaver.image.imageUrl(width, height, "business", randomize); }; /** @@ -118,7 +118,7 @@ const Image = function (blaver) { * @param {boolean} randomize * @method blaver.image.cats */ - self.cats = function (width, height, randomize) { + this.cats = function (width, height, randomize) { return blaver.image.imageUrl(width, height, "cats", randomize); }; /** @@ -129,7 +129,7 @@ const Image = function (blaver) { * @param {boolean} randomize * @method blaver.image.city */ - self.city = function (width, height, randomize) { + this.city = function (width, height, randomize) { return blaver.image.imageUrl(width, height, "city", randomize); }; /** @@ -140,7 +140,7 @@ const Image = function (blaver) { * @param {boolean} randomize * @method blaver.image.food */ - self.food = function (width, height, randomize) { + this.food = function (width, height, randomize) { return blaver.image.imageUrl(width, height, "food", randomize); }; /** @@ -151,7 +151,7 @@ const Image = function (blaver) { * @param {boolean} randomize * @method blaver.image.nightlife */ - self.nightlife = function (width, height, randomize) { + this.nightlife = function (width, height, randomize) { return blaver.image.imageUrl(width, height, "nightlife", randomize); }; /** @@ -162,7 +162,7 @@ const Image = function (blaver) { * @param {boolean} randomize * @method blaver.image.fashion */ - self.fashion = function (width, height, randomize) { + this.fashion = function (width, height, randomize) { return blaver.image.imageUrl(width, height, "fashion", randomize); }; /** @@ -173,7 +173,7 @@ const Image = function (blaver) { * @param {boolean} randomize * @method blaver.image.people */ - self.people = function (width, height, randomize) { + this.people = function (width, height, randomize) { return blaver.image.imageUrl(width, height, "people", randomize); }; /** @@ -184,7 +184,7 @@ const Image = function (blaver) { * @param {boolean} randomize * @method blaver.image.nature */ - self.nature = function (width, height, randomize) { + this.nature = function (width, height, randomize) { return blaver.image.imageUrl(width, height, "nature", randomize); }; /** @@ -195,7 +195,7 @@ const Image = function (blaver) { * @param {boolean} randomize * @method blaver.image.sports */ - self.sports = function (width, height, randomize) { + this.sports = function (width, height, randomize) { return blaver.image.imageUrl(width, height, "sports", randomize); }; /** @@ -206,7 +206,7 @@ const Image = function (blaver) { * @param {boolean} randomize * @method blaver.image.technics */ - self.technics = function (width, height, randomize) { + this.technics = function (width, height, randomize) { return blaver.image.imageUrl(width, height, "technics", randomize); }; /** @@ -217,7 +217,7 @@ const Image = function (blaver) { * @param {boolean} randomize * @method blaver.image.transport */ - self.transport = function (width, height, randomize) { + this.transport = function (width, height, randomize) { return blaver.image.imageUrl(width, height, "transport", randomize); }; /** @@ -228,7 +228,7 @@ const Image = function (blaver) { * @param {string} color * @method blaver.image.dataUri */ - self.dataUri = function (width, height, color) { + this.dataUri = function (width, height, color) { color = color || "grey"; const svgString = ' Date: Mon, 10 Jan 2022 07:45:06 -0500 Subject: [PATCH 09/11] Added the npm downloads badge --- Readme.md | 2 +- build/src/docs.md | 2 +- docs/blaver.address.html | 210 +--------------- docs/blaver.animal.html | 2 +- docs/blaver.commerce.html | 2 +- docs/blaver.company.html | 2 +- docs/blaver.database.html | 2 +- docs/blaver.datatype.html | 2 +- docs/blaver.date.html | 2 +- docs/blaver.finance.html | 2 +- docs/blaver.git.html | 2 +- docs/blaver.hacker.html | 2 +- docs/blaver.helpers.html | 2 +- docs/blaver.html | 2 +- docs/blaver.image.html | 2 +- docs/blaver.image.lorempixel.html | 2 +- docs/blaver.image.unsplash.html | 2 +- docs/blaver.internet.html | 2 +- docs/blaver.lorem.html | 314 +----------------------- docs/blaver.music.html | 2 +- docs/blaver.name.html | 2 +- docs/blaver.phone.html | 2 +- docs/blaver.random.html | 210 +--------------- docs/blaver.system.html | 2 +- docs/blaver.time.html | 2 +- docs/blaver.unique.html | 2 +- docs/blaver.vehicle.html | 2 +- docs/blaver.word.html | 2 +- docs/bluffmaster.image.lorempicsum.html | 2 +- docs/global.html | 2 +- docs/index.html | 4 +- docs/namespaces.list.html | 2 +- docs/quicksearch.html | 2 +- 33 files changed, 50 insertions(+), 746 deletions(-) diff --git a/Readme.md b/Readme.md index 06e23119..d98aa192 100644 --- a/Readme.md +++ b/Readme.md @@ -2,7 +2,7 @@

-![GitHub Workflow Status](https://img.shields.io/github/workflow/status/luciferreeves/blaver/Build) ![npm](https://img.shields.io/npm/v/blaver) ![NPM](https://img.shields.io/npm/l/blaver) ![GitHub issues](https://img.shields.io/github/issues-raw/luciferreeves/blaver) ![GitHub deployments](https://img.shields.io/github/deployments/luciferreeves/blaver/github-pages?label=JSDoc%20Deployment) [![Coverage Status](https://coveralls.io/repos/github/luciferreeves/blaver/badge.svg?branch=master)](https://coveralls.io/github/luciferreeves/blaver?branch=master) +![GitHub Workflow Status](https://img.shields.io/github/workflow/status/luciferreeves/blaver/Build) ![npm](https://img.shields.io/npm/v/blaver) ![NPM](https://img.shields.io/npm/l/blaver) ![GitHub issues](https://img.shields.io/github/issues-raw/luciferreeves/blaver) ![GitHub deployments](https://img.shields.io/github/deployments/luciferreeves/blaver/github-pages?label=JSDoc%20Deployment) [![Coverage Status](https://coveralls.io/repos/github/luciferreeves/blaver/badge.svg?branch=master)](https://coveralls.io/github/luciferreeves/blaver?branch=master)![npm](https://img.shields.io/npm/dw/blaver) # Blaver - generate massive amounts of fake data in the browser and node.js diff --git a/build/src/docs.md b/build/src/docs.md index 3097220e..8ddfc35b 100644 --- a/build/src/docs.md +++ b/build/src/docs.md @@ -2,7 +2,7 @@

-![GitHub Workflow Status](https://img.shields.io/github/workflow/status/luciferreeves/blaver/Build) ![npm](https://img.shields.io/npm/v/blaver) ![NPM](https://img.shields.io/npm/l/blaver) ![GitHub issues](https://img.shields.io/github/issues-raw/luciferreeves/blaver) ![GitHub deployments](https://img.shields.io/github/deployments/luciferreeves/blaver/github-pages?label=JSDoc%20Deployment) [![Coverage Status](https://coveralls.io/repos/github/luciferreeves/blaver/badge.svg?branch=master)](https://coveralls.io/github/luciferreeves/blaver?branch=master) +![GitHub Workflow Status](https://img.shields.io/github/workflow/status/luciferreeves/blaver/Build) ![npm](https://img.shields.io/npm/v/blaver) ![NPM](https://img.shields.io/npm/l/blaver) ![GitHub issues](https://img.shields.io/github/issues-raw/luciferreeves/blaver) ![GitHub deployments](https://img.shields.io/github/deployments/luciferreeves/blaver/github-pages?label=JSDoc%20Deployment) [![Coverage Status](https://coveralls.io/repos/github/luciferreeves/blaver/badge.svg?branch=master)](https://coveralls.io/github/luciferreeves/blaver?branch=master)![npm](https://img.shields.io/npm/dw/blaver) # Blaver - generate massive amounts of fake data in the browser and node.js diff --git a/docs/blaver.address.html b/docs/blaver.address.html index 0fbcf761..cbe55594 100644 --- a/docs/blaver.address.html +++ b/docs/blaver.address.html @@ -3095,7 +3095,7 @@

<static>
-

<static> state(useAbbr)

+

<static> state()

@@ -3113,56 +3113,6 @@

<static> sta -

Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
useAbbr - - -Boolean - - - - -
- -
@@ -3223,7 +3173,7 @@
Parameters:

-

<static> state(useAbbr)

+

<static> state()

@@ -3241,56 +3191,6 @@

<static> sta -

Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
useAbbr - - -Boolean - - - - -
- -
@@ -7941,7 +7841,7 @@

<static>
-

<static> state(useAbbr)

+

<static> state()

@@ -7959,56 +7859,6 @@

<static> sta -

Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
useAbbr - - -Boolean - - - - -
- -
@@ -8069,7 +7919,7 @@
Parameters:

-

<static> state(useAbbr)

+

<static> state()

@@ -8087,56 +7937,6 @@

<static> sta -

Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
useAbbr - - -Boolean - - - - -
- -
@@ -9801,7 +9601,7 @@ Documentation generated by JSDoc 3.6.7 - on 2022-01-07T09:43:14-05:00 + on 2022-01-10T07:44:38-05:00 using the DocStrap template. diff --git a/docs/blaver.animal.html b/docs/blaver.animal.html index eb2aff6e..6ad5638c 100644 --- a/docs/blaver.animal.html +++ b/docs/blaver.animal.html @@ -4661,7 +4661,7 @@ Documentation generated by JSDoc 3.6.7 - on 2022-01-07T09:43:14-05:00 + on 2022-01-10T07:44:38-05:00 using the DocStrap template. diff --git a/docs/blaver.commerce.html b/docs/blaver.commerce.html index 3ff231df..41680e9e 100644 --- a/docs/blaver.commerce.html +++ b/docs/blaver.commerce.html @@ -3357,7 +3357,7 @@ Documentation generated by JSDoc 3.6.7 - on 2022-01-07T09:43:14-05:00 + on 2022-01-10T07:44:38-05:00 using the DocStrap template. diff --git a/docs/blaver.company.html b/docs/blaver.company.html index 8c32c04f..30ce699e 100644 --- a/docs/blaver.company.html +++ b/docs/blaver.company.html @@ -3925,7 +3925,7 @@ Documentation generated by JSDoc 3.6.7 - on 2022-01-07T09:43:14-05:00 + on 2022-01-10T07:44:38-05:00 using the DocStrap template. diff --git a/docs/blaver.database.html b/docs/blaver.database.html index 05ce565d..0035b645 100644 --- a/docs/blaver.database.html +++ b/docs/blaver.database.html @@ -1541,7 +1541,7 @@ Documentation generated by JSDoc 3.6.7 - on 2022-01-07T09:43:14-05:00 + on 2022-01-10T07:44:38-05:00 using the DocStrap template. diff --git a/docs/blaver.datatype.html b/docs/blaver.datatype.html index e2ab6538..16325ec0 100644 --- a/docs/blaver.datatype.html +++ b/docs/blaver.datatype.html @@ -4817,7 +4817,7 @@ Documentation generated by JSDoc 3.6.7 - on 2022-01-07T09:43:14-05:00 + on 2022-01-10T07:44:38-05:00 using the DocStrap template. diff --git a/docs/blaver.date.html b/docs/blaver.date.html index 5ff6f4aa..51cb5adf 100644 --- a/docs/blaver.date.html +++ b/docs/blaver.date.html @@ -4965,7 +4965,7 @@ Documentation generated by JSDoc 3.6.7 - on 2022-01-07T09:43:14-05:00 + on 2022-01-10T07:44:38-05:00 using the DocStrap template. diff --git a/docs/blaver.finance.html b/docs/blaver.finance.html index 5cf3a524..0b8eb670 100644 --- a/docs/blaver.finance.html +++ b/docs/blaver.finance.html @@ -7437,7 +7437,7 @@ Documentation generated by JSDoc 3.6.7 - on 2022-01-07T09:43:14-05:00 + on 2022-01-10T07:44:38-05:00 using the DocStrap template. diff --git a/docs/blaver.git.html b/docs/blaver.git.html index adb441b1..f4a96260 100644 --- a/docs/blaver.git.html +++ b/docs/blaver.git.html @@ -2053,7 +2053,7 @@ Documentation generated by JSDoc 3.6.7 - on 2022-01-07T09:43:14-05:00 + on 2022-01-10T07:44:38-05:00 using the DocStrap template. diff --git a/docs/blaver.hacker.html b/docs/blaver.hacker.html index f055c0d4..d59629d2 100644 --- a/docs/blaver.hacker.html +++ b/docs/blaver.hacker.html @@ -2165,7 +2165,7 @@ Documentation generated by JSDoc 3.6.7 - on 2022-01-07T09:43:14-05:00 + on 2022-01-10T07:44:38-05:00 using the DocStrap template. diff --git a/docs/blaver.helpers.html b/docs/blaver.helpers.html index 60cd0985..81992a78 100644 --- a/docs/blaver.helpers.html +++ b/docs/blaver.helpers.html @@ -7277,7 +7277,7 @@ Documentation generated by JSDoc 3.6.7 - on 2022-01-07T09:43:14-05:00 + on 2022-01-10T07:44:38-05:00 using the DocStrap template. diff --git a/docs/blaver.html b/docs/blaver.html index ed962f4f..aacf00d2 100644 --- a/docs/blaver.html +++ b/docs/blaver.html @@ -1113,7 +1113,7 @@ Documentation generated by JSDoc 3.6.7 - on 2022-01-07T09:43:14-05:00 + on 2022-01-10T07:44:38-05:00 using the DocStrap template. diff --git a/docs/blaver.image.html b/docs/blaver.image.html index 665fdb38..cb44735e 100644 --- a/docs/blaver.image.html +++ b/docs/blaver.image.html @@ -12201,7 +12201,7 @@ Documentation generated by JSDoc 3.6.7 - on 2022-01-07T09:43:14-05:00 + on 2022-01-10T07:44:38-05:00 using the DocStrap template. diff --git a/docs/blaver.image.lorempixel.html b/docs/blaver.image.lorempixel.html index f9d7a627..bace6ca5 100644 --- a/docs/blaver.image.lorempixel.html +++ b/docs/blaver.image.lorempixel.html @@ -2943,7 +2943,7 @@ Documentation generated by JSDoc 3.6.7 - on 2022-01-07T09:43:14-05:00 + on 2022-01-10T07:44:38-05:00 using the DocStrap template. diff --git a/docs/blaver.image.unsplash.html b/docs/blaver.image.unsplash.html index 3ce57e43..28fe7800 100644 --- a/docs/blaver.image.unsplash.html +++ b/docs/blaver.image.unsplash.html @@ -1711,7 +1711,7 @@ Documentation generated by JSDoc 3.6.7 - on 2022-01-07T09:43:14-05:00 + on 2022-01-10T07:44:39-05:00 using the DocStrap template. diff --git a/docs/blaver.internet.html b/docs/blaver.internet.html index b58ff262..e9212e93 100644 --- a/docs/blaver.internet.html +++ b/docs/blaver.internet.html @@ -7661,7 +7661,7 @@ Documentation generated by JSDoc 3.6.7 - on 2022-01-07T09:43:14-05:00 + on 2022-01-10T07:44:39-05:00 using the DocStrap template. diff --git a/docs/blaver.lorem.html b/docs/blaver.lorem.html index 29c2b8d9..d95b25be 100644 --- a/docs/blaver.lorem.html +++ b/docs/blaver.lorem.html @@ -971,7 +971,7 @@
Parameters:

-

<static> sentence(wordCount, range)

+

<static> sentence(wordCount)

@@ -1035,30 +1035,6 @@
Parameters:
- - - - range - - - - - -number - - - - - - - - - - - - - - @@ -1123,7 +1099,7 @@
Parameters:

-

<static> sentence(wordCount, range)

+

<static> sentence(wordCount)

@@ -1187,30 +1163,6 @@
Parameters:
- - - - range - - - - - -number - - - - - - - - - - - - - - @@ -1835,7 +1787,7 @@
Parameters:

-

<static> text(times)

+

<static> text()

@@ -1853,56 +1805,6 @@

<static> text -

Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
times - - -number - - - - -
- -
@@ -1963,7 +1865,7 @@
Parameters:

-

<static> text(times)

+

<static> text()

@@ -1981,56 +1883,6 @@

<static> text -

Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
times - - -number - - - - -
- -
@@ -3511,7 +3363,7 @@
Parameters:

-

<static> sentence(wordCount, range)

+

<static> sentence(wordCount)

@@ -3575,30 +3427,6 @@
Parameters:
- - - - range - - - - - -number - - - - - - - - - - - - - - @@ -3663,7 +3491,7 @@
Parameters:

-

<static> sentence(wordCount, range)

+

<static> sentence(wordCount)

@@ -3727,30 +3555,6 @@
Parameters:
- - - - range - - - - - -number - - - - - - - - - - - - - - @@ -4375,7 +4179,7 @@
Parameters:

-

<static> text(times)

+

<static> text()

@@ -4393,56 +4197,6 @@

<static> text -

Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
times - - -number - - - - -
- -
@@ -4503,7 +4257,7 @@
Parameters:

-

<static> text(times)

+

<static> text()

@@ -4521,56 +4275,6 @@

<static> text -

Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
times - - -number - - - - -
- -
@@ -5189,7 +4893,7 @@ Documentation generated by JSDoc 3.6.7 - on 2022-01-07T09:43:14-05:00 + on 2022-01-10T07:44:39-05:00 using the DocStrap template. diff --git a/docs/blaver.music.html b/docs/blaver.music.html index bdc0137c..c015b9e5 100644 --- a/docs/blaver.music.html +++ b/docs/blaver.music.html @@ -605,7 +605,7 @@ Documentation generated by JSDoc 3.6.7 - on 2022-01-07T09:43:14-05:00 + on 2022-01-10T07:44:39-05:00 using the DocStrap template. diff --git a/docs/blaver.name.html b/docs/blaver.name.html index 4290e17f..d2f14f44 100644 --- a/docs/blaver.name.html +++ b/docs/blaver.name.html @@ -5229,7 +5229,7 @@ Documentation generated by JSDoc 3.6.7 - on 2022-01-07T09:43:14-05:00 + on 2022-01-10T07:44:39-05:00 using the DocStrap template. diff --git a/docs/blaver.phone.html b/docs/blaver.phone.html index 8ba9722b..bfc5987e 100644 --- a/docs/blaver.phone.html +++ b/docs/blaver.phone.html @@ -1605,7 +1605,7 @@ Documentation generated by JSDoc 3.6.7 - on 2022-01-07T09:43:14-05:00 + on 2022-01-10T07:44:39-05:00 using the DocStrap template. diff --git a/docs/blaver.random.html b/docs/blaver.random.html index 1125b28e..2b4172cd 100644 --- a/docs/blaver.random.html +++ b/docs/blaver.random.html @@ -2967,7 +2967,7 @@

<static> uuid
-

<static> word(type)

+

<static> word()

@@ -2985,56 +2985,6 @@

<static> word -

Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
type - - -string - - - - -
- -
@@ -3095,7 +3045,7 @@
Parameters:

-

<static> word(type)

+

<static> word()

@@ -3113,56 +3063,6 @@

<static> word -

Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
type - - -string - - - - -
- -
@@ -6383,7 +6283,7 @@

<static> uuid
-

<static> word(type)

+

<static> word()

@@ -6401,56 +6301,6 @@

<static> word -

Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
type - - -string - - - - -
- -
@@ -6511,7 +6361,7 @@
Parameters:

-

<static> word(type)

+

<static> word()

@@ -6529,56 +6379,6 @@

<static> word -

Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
type - - -string - - - - -
- -
@@ -6941,7 +6741,7 @@ Documentation generated by JSDoc 3.6.7 - on 2022-01-07T09:43:14-05:00 + on 2022-01-10T07:44:39-05:00 using the DocStrap template. diff --git a/docs/blaver.system.html b/docs/blaver.system.html index c0598a3f..24acb690 100644 --- a/docs/blaver.system.html +++ b/docs/blaver.system.html @@ -3813,7 +3813,7 @@ Documentation generated by JSDoc 3.6.7 - on 2022-01-07T09:43:14-05:00 + on 2022-01-10T07:44:39-05:00 using the DocStrap template. diff --git a/docs/blaver.time.html b/docs/blaver.time.html index c47e806a..fa5853a5 100644 --- a/docs/blaver.time.html +++ b/docs/blaver.time.html @@ -805,7 +805,7 @@ Documentation generated by JSDoc 3.6.7 - on 2022-01-07T09:43:14-05:00 + on 2022-01-10T07:44:39-05:00 using the DocStrap template. diff --git a/docs/blaver.unique.html b/docs/blaver.unique.html index 3241c5e1..5fbb5be2 100644 --- a/docs/blaver.unique.html +++ b/docs/blaver.unique.html @@ -285,7 +285,7 @@ Documentation generated by JSDoc 3.6.7 - on 2022-01-07T09:43:14-05:00 + on 2022-01-10T07:44:39-05:00 using the DocStrap template. diff --git a/docs/blaver.vehicle.html b/docs/blaver.vehicle.html index 8797389a..0dfa485e 100644 --- a/docs/blaver.vehicle.html +++ b/docs/blaver.vehicle.html @@ -3101,7 +3101,7 @@ Documentation generated by JSDoc 3.6.7 - on 2022-01-07T09:43:14-05:00 + on 2022-01-10T07:44:39-05:00 using the DocStrap template. diff --git a/docs/blaver.word.html b/docs/blaver.word.html index 5212585b..5ab68457 100644 --- a/docs/blaver.word.html +++ b/docs/blaver.word.html @@ -4913,7 +4913,7 @@ Documentation generated by JSDoc 3.6.7 - on 2022-01-07T09:43:14-05:00 + on 2022-01-10T07:44:39-05:00 using the DocStrap template. diff --git a/docs/bluffmaster.image.lorempicsum.html b/docs/bluffmaster.image.lorempicsum.html index 40a0378d..fa3e4e49 100644 --- a/docs/bluffmaster.image.lorempicsum.html +++ b/docs/bluffmaster.image.lorempicsum.html @@ -1277,7 +1277,7 @@ Documentation generated by JSDoc 3.6.7 - on 2022-01-07T09:43:14-05:00 + on 2022-01-10T07:44:39-05:00 using the DocStrap template. diff --git a/docs/global.html b/docs/global.html index d2f26c8e..29282e94 100644 --- a/docs/global.html +++ b/docs/global.html @@ -683,7 +683,7 @@ Documentation generated by JSDoc 3.6.7 - on 2022-01-07T09:43:14-05:00 + on 2022-01-10T07:44:38-05:00 using the DocStrap template. diff --git a/docs/index.html b/docs/index.html index aa086045..394e2788 100644 --- a/docs/index.html +++ b/docs/index.html @@ -96,7 +96,7 @@

-

GitHub Workflow Status npm NPM GitHub issues GitHub deployments Coverage Status

+

GitHub Workflow Status npm NPM GitHub issues GitHub deployments Coverage Statusnpm

Blaver - generate massive amounts of fake data in the browser and node.js

Blaver is a JavaScript library built on top of the Faker.JS library. It generates massive amounts of fake data in the browser and node.js.

Fake data is useful when building and testing our application. Blaver can generate fake data for various areas, including address, commerce, company, date, finance, image, random, or name.

@@ -716,7 +716,7 @@ Documentation generated by JSDoc 3.6.7 - on 2022-01-07T09:43:14-05:00 + on 2022-01-10T07:44:38-05:00 using the DocStrap template. diff --git a/docs/namespaces.list.html b/docs/namespaces.list.html index ad43a1ad..1e51c791 100644 --- a/docs/namespaces.list.html +++ b/docs/namespaces.list.html @@ -352,7 +352,7 @@ Documentation generated by JSDoc 3.6.7 - on 2022-01-07T09:43:14-05:00 + on 2022-01-10T07:44:38-05:00 using the DocStrap template. diff --git a/docs/quicksearch.html b/docs/quicksearch.html index 3efca3c6..d6682635 100644 --- a/docs/quicksearch.html +++ b/docs/quicksearch.html @@ -7,7 +7,7 @@