diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index aebcf40438e..75ce7166dbc 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -42,6 +42,11 @@ If adding new data definitions to Faker, you'll often need to find source data. - But if you are compiling a list of, for example, popular personal names or cities, don't copy directly from a single source (Wikipedia, 'most popular' articles, government data sites etc). A compilation of facts [can be copyrighted](https://en.wikipedia.org/wiki/Copyright_in_compilation). - It's best to refer to multiple sources and use your own judgement/knowledge to make a sample list of data. +## Adding new locale or updating existing one + +After adding new or updating existing locale data, you need to run `pnpm run generate:locales` to generate/update the related files. +If you change more than 20 locale files, please consider splitting your PR into one per category (e.g. person, location). + ## Building Faker The project is being built by [esbuild](https://esbuild.github.io) (see [bundle.ts](scripts/bundle.ts)) @@ -163,10 +168,6 @@ describe('someModule', () => { }); ``` -## Adding new locale or updating existing one - -After adding new or updating existing locale data, you need to run `pnpm run generate:locales` to generate/update the related files. - ## Deprecation workflow If you ever find yourself deprecating something in the source code, you can follow these steps to save yourself (and the reviewers) some trouble. diff --git a/docs/guide/localization.md b/docs/guide/localization.md index b3610c4d604..44392f977ab 100644 --- a/docs/guide/localization.md +++ b/docs/guide/localization.md @@ -137,6 +137,7 @@ In this example there are 5 locales. Each of these is checked in order, and the | `uk` | Ukrainian | `fakerUK` | | `ur` | Urdu | `fakerUR` | | `vi` | Vietnamese | `fakerVI` | +| `yo_NG` | Yoruba (Nigeria) | `fakerYO_NG` | | `zh_CN` | Chinese (China) | `fakerZH_CN` | | `zh_TW` | Chinese (Taiwan) | `fakerZH_TW` | | `zu_ZA` | Zulu (South Africa) | `fakerZU_ZA` | diff --git a/package.json b/package.json index 17e1b0c6de0..fc7b8d13a08 100644 --- a/package.json +++ b/package.json @@ -90,27 +90,27 @@ "@actions/github": "~5.1.1", "@algolia/client-search": "~4.19.1", "@types/markdown-it": "~13.0.1", - "@types/node": "~20.5.7", + "@types/node": "~20.5.9", "@types/sanitize-html": "~2.9.0", - "@types/semver": "~7.5.0", + "@types/semver": "~7.5.1", "@types/validator": "~13.11.1", - "@typescript-eslint/eslint-plugin": "~6.4.1", - "@typescript-eslint/parser": "~6.4.1", + "@typescript-eslint/eslint-plugin": "~6.5.0", + "@typescript-eslint/parser": "~6.5.0", "@vitest/coverage-v8": "~0.34.3", "@vitest/ui": "~0.34.3", "@vueuse/core": "~10.4.1", "conventional-changelog-cli": "~4.0.0", - "cypress": "~12.17.4", + "cypress": "~13.1.0", "esbuild": "~0.19.2", "eslint": "~8.48.0", "eslint-config-prettier": "~9.0.0", "eslint-define-config": "~1.23.0", "eslint-gitignore": "~0.1.0", "eslint-plugin-deprecation": "~1.5.0", - "eslint-plugin-jsdoc": "~46.5.0", + "eslint-plugin-jsdoc": "~46.5.1", "eslint-plugin-prettier": "~5.0.0", - "eslint-plugin-vitest": "~0.2.8", - "glob": "~10.3.3", + "eslint-plugin-vitest": "~0.3.1", + "glob": "~10.3.4", "npm-run-all": "~4.1.5", "prettier": "3.0.2", "prettier-plugin-organize-imports": "~3.2.3", @@ -118,7 +118,7 @@ "sanitize-html": "~2.11.0", "semver": "~7.5.4", "standard-version": "~9.5.0", - "tsx": "~3.12.7", + "tsx": "~3.12.8", "typedoc": "~0.24.8", "typescript": "~4.9.5", "validator": "~13.11.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 14b6b1bf476..66c7e08184e 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -11,23 +11,23 @@ devDependencies: specifier: ~13.0.1 version: 13.0.1 '@types/node': - specifier: ~20.5.7 - version: 20.5.7 + specifier: ~20.5.9 + version: 20.5.9 '@types/sanitize-html': specifier: ~2.9.0 version: 2.9.0 '@types/semver': - specifier: ~7.5.0 - version: 7.5.0 + specifier: ~7.5.1 + version: 7.5.1 '@types/validator': specifier: ~13.11.1 version: 13.11.1 '@typescript-eslint/eslint-plugin': - specifier: ~6.4.1 - version: 6.4.1(@typescript-eslint/parser@6.4.1)(eslint@8.48.0)(typescript@4.9.5) + specifier: ~6.5.0 + version: 6.5.0(@typescript-eslint/parser@6.5.0)(eslint@8.48.0)(typescript@4.9.5) '@typescript-eslint/parser': - specifier: ~6.4.1 - version: 6.4.1(eslint@8.48.0)(typescript@4.9.5) + specifier: ~6.5.0 + version: 6.5.0(eslint@8.48.0)(typescript@4.9.5) '@vitest/coverage-v8': specifier: ~0.34.3 version: 0.34.3(vitest@0.34.3) @@ -41,8 +41,8 @@ devDependencies: specifier: ~4.0.0 version: 4.0.0 cypress: - specifier: ~12.17.4 - version: 12.17.4 + specifier: ~13.1.0 + version: 13.1.0 esbuild: specifier: ~0.19.2 version: 0.19.2 @@ -62,17 +62,17 @@ devDependencies: specifier: ~1.5.0 version: 1.5.0(eslint@8.48.0)(typescript@4.9.5) eslint-plugin-jsdoc: - specifier: ~46.5.0 - version: 46.5.0(eslint@8.48.0) + specifier: ~46.5.1 + version: 46.5.1(eslint@8.48.0) eslint-plugin-prettier: specifier: ~5.0.0 version: 5.0.0(eslint-config-prettier@9.0.0)(eslint@8.48.0)(prettier@3.0.2) eslint-plugin-vitest: - specifier: ~0.2.8 - version: 0.2.8(eslint@8.48.0)(typescript@4.9.5)(vite@4.4.9)(vitest@0.34.3) + specifier: ~0.3.1 + version: 0.3.1(@typescript-eslint/eslint-plugin@6.5.0)(eslint@8.48.0)(vitest@0.34.3) glob: - specifier: ~10.3.3 - version: 10.3.3 + specifier: ~10.3.4 + version: 10.3.4 npm-run-all: specifier: ~4.1.5 version: 4.1.5 @@ -95,8 +95,8 @@ devDependencies: specifier: ~9.5.0 version: 9.5.0 tsx: - specifier: ~3.12.7 - version: 3.12.7 + specifier: ~3.12.8 + version: 3.12.8 typedoc: specifier: ~0.24.8 version: 0.24.8(typescript@4.9.5) @@ -108,10 +108,10 @@ devDependencies: version: 13.11.0 vite: specifier: ~4.4.9 - version: 4.4.9(@types/node@20.5.7) + version: 4.4.9(@types/node@20.5.9) vitepress: specifier: 1.0.0-beta.7 - version: 1.0.0-beta.7(@algolia/client-search@4.19.1)(@types/node@20.5.7)(search-insights@2.7.0) + version: 1.0.0-beta.7(@algolia/client-search@4.19.1)(@types/node@20.5.9)(search-insights@2.7.0) vitest: specifier: ~0.34.3 version: 0.34.3(@vitest/ui@0.34.3) @@ -339,8 +339,8 @@ packages: dev: true optional: true - /@cypress/request@2.88.12: - resolution: {integrity: sha512-tOn+0mDZxASFM+cuAP9szGUGPI1HwWVSvdzm7V4cCsPdFTx6qMj29CwaQmRAMIEhORIUBFBsYROYJcveK4uOjA==} + /@cypress/request@3.0.0: + resolution: {integrity: sha512-GKFCqwZwMYmL3IBoNeR2MM1SnxRIGERsQOTWeQKoYBt2JLqcqiy7JXqO894FLrpjZYqGxW92MNwRH2BN56obdQ==} engines: {node: '>= 6'} dependencies: aws-sign2: 0.7.0 @@ -424,26 +424,26 @@ packages: /@esbuild-kit/cjs-loader@2.4.2: resolution: {integrity: sha512-BDXFbYOJzT/NBEtp71cvsrGPwGAMGRB/349rwKuoxNSiKjPraNNnlK6MIIabViCjqZugu6j+xeMDlEkWdHHJSg==} dependencies: - '@esbuild-kit/core-utils': 3.1.0 + '@esbuild-kit/core-utils': 3.2.2 get-tsconfig: 4.6.2 dev: true - /@esbuild-kit/core-utils@3.1.0: - resolution: {integrity: sha512-Uuk8RpCg/7fdHSceR1M6XbSZFSuMrxcePFuGgyvsBn+u339dk5OeL4jv2EojwTN2st/unJGsVm4qHWjWNmJ/tw==} + /@esbuild-kit/core-utils@3.2.2: + resolution: {integrity: sha512-Ub6LaRaAgF80dTSzUdXpFLM1pVDdmEVB9qb5iAzSpyDlX/mfJTFGOnZ516O05p5uWWteNviMKi4PAyEuRxI5gA==} dependencies: - esbuild: 0.17.19 + esbuild: 0.18.20 source-map-support: 0.5.21 dev: true /@esbuild-kit/esm-loader@2.5.5: resolution: {integrity: sha512-Qwfvj/qoPbClxCRNuac1Du01r9gvNOT+pMYtJDapfB1eoGN1YlJ1BixLyL9WVENRx5RXgNLdfYdx/CuswlGhMw==} dependencies: - '@esbuild-kit/core-utils': 3.1.0 + '@esbuild-kit/core-utils': 3.2.2 get-tsconfig: 4.6.2 dev: true - /@esbuild/android-arm64@0.17.19: - resolution: {integrity: sha512-KBMWvEZooR7+kzY0BtbTQn0OAYY7CsiydT63pVEaPtVYF0hXbUaOyZog37DKxK7NF3XacBJOpYT4adIJh+avxA==} + /@esbuild/android-arm64@0.18.18: + resolution: {integrity: sha512-dkAPYzRHq3dNXIzOyAknYOzsx8o3KWaNiuu56B2rP9IFPmFWMS58WQcTlUQi6iloku8ZyHHMluCe5sTWhKq/Yw==} engines: {node: '>=12'} cpu: [arm64] os: [android] @@ -451,8 +451,8 @@ packages: dev: true optional: true - /@esbuild/android-arm64@0.18.18: - resolution: {integrity: sha512-dkAPYzRHq3dNXIzOyAknYOzsx8o3KWaNiuu56B2rP9IFPmFWMS58WQcTlUQi6iloku8ZyHHMluCe5sTWhKq/Yw==} + /@esbuild/android-arm64@0.18.20: + resolution: {integrity: sha512-Nz4rJcchGDtENV0eMKUNa6L12zz2zBDXuhj/Vjh18zGqB44Bi7MBMSXjgunJgjRhCmKOjnPuZp4Mb6OKqtMHLQ==} engines: {node: '>=12'} cpu: [arm64] os: [android] @@ -469,8 +469,8 @@ packages: dev: true optional: true - /@esbuild/android-arm@0.17.19: - resolution: {integrity: sha512-rIKddzqhmav7MSmoFCmDIb6e2W57geRsM94gV2l38fzhXMwq7hZoClug9USI2pFRGL06f4IOPHHpFNOkWieR8A==} + /@esbuild/android-arm@0.18.18: + resolution: {integrity: sha512-oBymf7ZwplAawSxmiSlBCf+FMcY0f4bs5QP2jn43JKUf0M9DnrUTjqa5RvFPl1elw+sMfcpfBRPK+rb+E1q7zg==} engines: {node: '>=12'} cpu: [arm] os: [android] @@ -478,8 +478,8 @@ packages: dev: true optional: true - /@esbuild/android-arm@0.18.18: - resolution: {integrity: sha512-oBymf7ZwplAawSxmiSlBCf+FMcY0f4bs5QP2jn43JKUf0M9DnrUTjqa5RvFPl1elw+sMfcpfBRPK+rb+E1q7zg==} + /@esbuild/android-arm@0.18.20: + resolution: {integrity: sha512-fyi7TDI/ijKKNZTUJAQqiG5T7YjJXgnzkURqmGj13C6dCqckZBLdl4h7bkhHt/t0WP+zO9/zwroDvANaOqO5Sw==} engines: {node: '>=12'} cpu: [arm] os: [android] @@ -496,8 +496,8 @@ packages: dev: true optional: true - /@esbuild/android-x64@0.17.19: - resolution: {integrity: sha512-uUTTc4xGNDT7YSArp/zbtmbhO0uEEK9/ETW29Wk1thYUJBz3IVnvgEiEwEa9IeLyvnpKrWK64Utw2bgUmDveww==} + /@esbuild/android-x64@0.18.18: + resolution: {integrity: sha512-r7/pVcrUQMYkjvtE/1/n6BxhWM+/9tvLxDG1ev1ce4z3YsqoxMK9bbOM6bFcj0BowMeGQvOZWcBV182lFFKmrw==} engines: {node: '>=12'} cpu: [x64] os: [android] @@ -505,8 +505,8 @@ packages: dev: true optional: true - /@esbuild/android-x64@0.18.18: - resolution: {integrity: sha512-r7/pVcrUQMYkjvtE/1/n6BxhWM+/9tvLxDG1ev1ce4z3YsqoxMK9bbOM6bFcj0BowMeGQvOZWcBV182lFFKmrw==} + /@esbuild/android-x64@0.18.20: + resolution: {integrity: sha512-8GDdlePJA8D6zlZYJV/jnrRAi6rOiNaCC/JclcXpB+KIuvfBN4owLtgzY2bsxnx666XjJx2kDPUmnTtR8qKQUg==} engines: {node: '>=12'} cpu: [x64] os: [android] @@ -523,8 +523,8 @@ packages: dev: true optional: true - /@esbuild/darwin-arm64@0.17.19: - resolution: {integrity: sha512-80wEoCfF/hFKM6WE1FyBHc9SfUblloAWx6FJkFWTWiCoht9Mc0ARGEM47e67W9rI09YoUxJL68WHfDRYEAvOhg==} + /@esbuild/darwin-arm64@0.18.18: + resolution: {integrity: sha512-MSe2iV9MAH3wfP0g+vzN9bp36rtPPuCSk+bT5E2vv/d8krvW5uB/Pi/Q5+txUZuxsG3GcO8dhygjnFq0wJU9hQ==} engines: {node: '>=12'} cpu: [arm64] os: [darwin] @@ -532,8 +532,8 @@ packages: dev: true optional: true - /@esbuild/darwin-arm64@0.18.18: - resolution: {integrity: sha512-MSe2iV9MAH3wfP0g+vzN9bp36rtPPuCSk+bT5E2vv/d8krvW5uB/Pi/Q5+txUZuxsG3GcO8dhygjnFq0wJU9hQ==} + /@esbuild/darwin-arm64@0.18.20: + resolution: {integrity: sha512-bxRHW5kHU38zS2lPTPOyuyTm+S+eobPUnTNkdJEfAddYgEcll4xkT8DB9d2008DtTbl7uJag2HuE5NZAZgnNEA==} engines: {node: '>=12'} cpu: [arm64] os: [darwin] @@ -550,8 +550,8 @@ packages: dev: true optional: true - /@esbuild/darwin-x64@0.17.19: - resolution: {integrity: sha512-IJM4JJsLhRYr9xdtLytPLSH9k/oxR3boaUIYiHkAawtwNOXKE8KoU8tMvryogdcT8AU+Bflmh81Xn6Q0vTZbQw==} + /@esbuild/darwin-x64@0.18.18: + resolution: {integrity: sha512-ARFYISOWkaifjcr48YtO70gcDNeOf1H2RnmOj6ip3xHIj66f3dAbhcd5Nph5np6oHI7DhHIcr9MWO18RvUL1bw==} engines: {node: '>=12'} cpu: [x64] os: [darwin] @@ -559,8 +559,8 @@ packages: dev: true optional: true - /@esbuild/darwin-x64@0.18.18: - resolution: {integrity: sha512-ARFYISOWkaifjcr48YtO70gcDNeOf1H2RnmOj6ip3xHIj66f3dAbhcd5Nph5np6oHI7DhHIcr9MWO18RvUL1bw==} + /@esbuild/darwin-x64@0.18.20: + resolution: {integrity: sha512-pc5gxlMDxzm513qPGbCbDukOdsGtKhfxD1zJKXjCCcU7ju50O7MeAZ8c4krSJcOIJGFR+qx21yMMVYwiQvyTyQ==} engines: {node: '>=12'} cpu: [x64] os: [darwin] @@ -577,8 +577,8 @@ packages: dev: true optional: true - /@esbuild/freebsd-arm64@0.17.19: - resolution: {integrity: sha512-pBwbc7DufluUeGdjSU5Si+P3SoMF5DQ/F/UmTSb8HXO80ZEAJmrykPyzo1IfNbAoaqw48YRpv8shwd1NoI0jcQ==} + /@esbuild/freebsd-arm64@0.18.18: + resolution: {integrity: sha512-BHnXmexzEWRU2ZySJosU0Ts0NRnJnNrMB6t4EiIaOSel73I8iLsNiTPLH0rJulAh19cYZutsB5XHK6N8fi5eMg==} engines: {node: '>=12'} cpu: [arm64] os: [freebsd] @@ -586,8 +586,8 @@ packages: dev: true optional: true - /@esbuild/freebsd-arm64@0.18.18: - resolution: {integrity: sha512-BHnXmexzEWRU2ZySJosU0Ts0NRnJnNrMB6t4EiIaOSel73I8iLsNiTPLH0rJulAh19cYZutsB5XHK6N8fi5eMg==} + /@esbuild/freebsd-arm64@0.18.20: + resolution: {integrity: sha512-yqDQHy4QHevpMAaxhhIwYPMv1NECwOvIpGCZkECn8w2WFHXjEwrBn3CeNIYsibZ/iZEUemj++M26W3cNR5h+Tw==} engines: {node: '>=12'} cpu: [arm64] os: [freebsd] @@ -604,8 +604,8 @@ packages: dev: true optional: true - /@esbuild/freebsd-x64@0.17.19: - resolution: {integrity: sha512-4lu+n8Wk0XlajEhbEffdy2xy53dpR06SlzvhGByyg36qJw6Kpfk7cp45DR/62aPH9mtJRmIyrXAS5UWBrJT6TQ==} + /@esbuild/freebsd-x64@0.18.18: + resolution: {integrity: sha512-n823w35wm0ZOobbuE//0sJjuz1Qj619+AwjgOcAJMN2pomZhH9BONCtn+KlfrmM/NWZ+27yB/eGVFzUIWLeh3w==} engines: {node: '>=12'} cpu: [x64] os: [freebsd] @@ -613,8 +613,8 @@ packages: dev: true optional: true - /@esbuild/freebsd-x64@0.18.18: - resolution: {integrity: sha512-n823w35wm0ZOobbuE//0sJjuz1Qj619+AwjgOcAJMN2pomZhH9BONCtn+KlfrmM/NWZ+27yB/eGVFzUIWLeh3w==} + /@esbuild/freebsd-x64@0.18.20: + resolution: {integrity: sha512-tgWRPPuQsd3RmBZwarGVHZQvtzfEBOreNuxEMKFcd5DaDn2PbBxfwLcj4+aenoh7ctXcbXmOQIn8HI6mCSw5MQ==} engines: {node: '>=12'} cpu: [x64] os: [freebsd] @@ -631,8 +631,8 @@ packages: dev: true optional: true - /@esbuild/linux-arm64@0.17.19: - resolution: {integrity: sha512-ct1Tg3WGwd3P+oZYqic+YZF4snNl2bsnMKRkb3ozHmnM0dGWuxcPTTntAF6bOP0Sp4x0PjSF+4uHQ1xvxfRKqg==} + /@esbuild/linux-arm64@0.18.18: + resolution: {integrity: sha512-zANxnwF0sCinDcAqoMohGoWBK9QaFJ65Vgh0ZE+RXtURaMwx+RfmfLElqtnn7X8OYNckMoIXSg7u+tZ3tqTlrA==} engines: {node: '>=12'} cpu: [arm64] os: [linux] @@ -640,8 +640,8 @@ packages: dev: true optional: true - /@esbuild/linux-arm64@0.18.18: - resolution: {integrity: sha512-zANxnwF0sCinDcAqoMohGoWBK9QaFJ65Vgh0ZE+RXtURaMwx+RfmfLElqtnn7X8OYNckMoIXSg7u+tZ3tqTlrA==} + /@esbuild/linux-arm64@0.18.20: + resolution: {integrity: sha512-2YbscF+UL7SQAVIpnWvYwM+3LskyDmPhe31pE7/aoTMFKKzIc9lLbyGUpmmb8a8AixOL61sQ/mFh3jEjHYFvdA==} engines: {node: '>=12'} cpu: [arm64] os: [linux] @@ -658,8 +658,8 @@ packages: dev: true optional: true - /@esbuild/linux-arm@0.17.19: - resolution: {integrity: sha512-cdmT3KxjlOQ/gZ2cjfrQOtmhG4HJs6hhvm3mWSRDPtZ/lP5oe8FWceS10JaSJC13GBd4eH/haHnqf7hhGNLerA==} + /@esbuild/linux-arm@0.18.18: + resolution: {integrity: sha512-Kck3jxPLQU4VeAGwe8Q4NU+IWIx+suULYOFUI9T0C2J1+UQlOHJ08ITN+MaJJ+2youzJOmKmcphH/t3SJxQ1Tw==} engines: {node: '>=12'} cpu: [arm] os: [linux] @@ -667,8 +667,8 @@ packages: dev: true optional: true - /@esbuild/linux-arm@0.18.18: - resolution: {integrity: sha512-Kck3jxPLQU4VeAGwe8Q4NU+IWIx+suULYOFUI9T0C2J1+UQlOHJ08ITN+MaJJ+2youzJOmKmcphH/t3SJxQ1Tw==} + /@esbuild/linux-arm@0.18.20: + resolution: {integrity: sha512-/5bHkMWnq1EgKr1V+Ybz3s1hWXok7mDFUMQ4cG10AfW3wL02PSZi5kFpYKrptDsgb2WAJIvRcDm+qIvXf/apvg==} engines: {node: '>=12'} cpu: [arm] os: [linux] @@ -685,8 +685,8 @@ packages: dev: true optional: true - /@esbuild/linux-ia32@0.17.19: - resolution: {integrity: sha512-w4IRhSy1VbsNxHRQpeGCHEmibqdTUx61Vc38APcsRbuVgK0OPEnQ0YD39Brymn96mOx48Y2laBQGqgZ0j9w6SQ==} + /@esbuild/linux-ia32@0.18.18: + resolution: {integrity: sha512-+VHz2sIRlY5u8IlaLJpdf5TL2kM76yx186pW7bpTB+vLWpzcFQVP04L842ZB2Ty13A1VXUvy3DbU1jV65P2skg==} engines: {node: '>=12'} cpu: [ia32] os: [linux] @@ -694,8 +694,8 @@ packages: dev: true optional: true - /@esbuild/linux-ia32@0.18.18: - resolution: {integrity: sha512-+VHz2sIRlY5u8IlaLJpdf5TL2kM76yx186pW7bpTB+vLWpzcFQVP04L842ZB2Ty13A1VXUvy3DbU1jV65P2skg==} + /@esbuild/linux-ia32@0.18.20: + resolution: {integrity: sha512-P4etWwq6IsReT0E1KHU40bOnzMHoH73aXp96Fs8TIT6z9Hu8G6+0SHSw9i2isWrD2nbx2qo5yUqACgdfVGx7TA==} engines: {node: '>=12'} cpu: [ia32] os: [linux] @@ -712,8 +712,8 @@ packages: dev: true optional: true - /@esbuild/linux-loong64@0.17.19: - resolution: {integrity: sha512-2iAngUbBPMq439a+z//gE+9WBldoMp1s5GWsUSgqHLzLJ9WoZLZhpwWuym0u0u/4XmZ3gpHmzV84PonE+9IIdQ==} + /@esbuild/linux-loong64@0.18.18: + resolution: {integrity: sha512-fXPEPdeGBvguo/1+Na8OIWz3667BN1cwbGtTEZWTd0qdyTsk5gGf9jVX8MblElbDb/Cpw6y5JiaQuL96YmvBwQ==} engines: {node: '>=12'} cpu: [loong64] os: [linux] @@ -721,8 +721,8 @@ packages: dev: true optional: true - /@esbuild/linux-loong64@0.18.18: - resolution: {integrity: sha512-fXPEPdeGBvguo/1+Na8OIWz3667BN1cwbGtTEZWTd0qdyTsk5gGf9jVX8MblElbDb/Cpw6y5JiaQuL96YmvBwQ==} + /@esbuild/linux-loong64@0.18.20: + resolution: {integrity: sha512-nXW8nqBTrOpDLPgPY9uV+/1DjxoQ7DoB2N8eocyq8I9XuqJ7BiAMDMf9n1xZM9TgW0J8zrquIb/A7s3BJv7rjg==} engines: {node: '>=12'} cpu: [loong64] os: [linux] @@ -739,8 +739,8 @@ packages: dev: true optional: true - /@esbuild/linux-mips64el@0.17.19: - resolution: {integrity: sha512-LKJltc4LVdMKHsrFe4MGNPp0hqDFA1Wpt3jE1gEyM3nKUvOiO//9PheZZHfYRfYl6AwdTH4aTcXSqBerX0ml4A==} + /@esbuild/linux-mips64el@0.18.18: + resolution: {integrity: sha512-dLvRB87pIBIRnEIC32LIcgwK1JzlIuADIRjLKdUIpxauKwMuS/xMpN+cFl+0nN4RHNYOZ57DmXFFmQAcdlFOmw==} engines: {node: '>=12'} cpu: [mips64el] os: [linux] @@ -748,8 +748,8 @@ packages: dev: true optional: true - /@esbuild/linux-mips64el@0.18.18: - resolution: {integrity: sha512-dLvRB87pIBIRnEIC32LIcgwK1JzlIuADIRjLKdUIpxauKwMuS/xMpN+cFl+0nN4RHNYOZ57DmXFFmQAcdlFOmw==} + /@esbuild/linux-mips64el@0.18.20: + resolution: {integrity: sha512-d5NeaXZcHp8PzYy5VnXV3VSd2D328Zb+9dEq5HE6bw6+N86JVPExrA6O68OPwobntbNJ0pzCpUFZTo3w0GyetQ==} engines: {node: '>=12'} cpu: [mips64el] os: [linux] @@ -766,8 +766,8 @@ packages: dev: true optional: true - /@esbuild/linux-ppc64@0.17.19: - resolution: {integrity: sha512-/c/DGybs95WXNS8y3Ti/ytqETiW7EU44MEKuCAcpPto3YjQbyK3IQVKfF6nbghD7EcLUGl0NbiL5Rt5DMhn5tg==} + /@esbuild/linux-ppc64@0.18.18: + resolution: {integrity: sha512-fRChqIJZ7hLkXSKfBLYgsX9Ssb5OGCjk3dzCETF5QSS1qjTgayLv0ALUdJDB9QOh/nbWwp+qfLZU6md4XcjL7w==} engines: {node: '>=12'} cpu: [ppc64] os: [linux] @@ -775,8 +775,8 @@ packages: dev: true optional: true - /@esbuild/linux-ppc64@0.18.18: - resolution: {integrity: sha512-fRChqIJZ7hLkXSKfBLYgsX9Ssb5OGCjk3dzCETF5QSS1qjTgayLv0ALUdJDB9QOh/nbWwp+qfLZU6md4XcjL7w==} + /@esbuild/linux-ppc64@0.18.20: + resolution: {integrity: sha512-WHPyeScRNcmANnLQkq6AfyXRFr5D6N2sKgkFo2FqguP44Nw2eyDlbTdZwd9GYk98DZG9QItIiTlFLHJHjxP3FA==} engines: {node: '>=12'} cpu: [ppc64] os: [linux] @@ -793,8 +793,8 @@ packages: dev: true optional: true - /@esbuild/linux-riscv64@0.17.19: - resolution: {integrity: sha512-FC3nUAWhvFoutlhAkgHf8f5HwFWUL6bYdvLc/TTuxKlvLi3+pPzdZiFKSWz/PF30TB1K19SuCxDTI5KcqASJqA==} + /@esbuild/linux-riscv64@0.18.18: + resolution: {integrity: sha512-ALK/BT3u7Hoa/vHjow6W6+MKF0ohYcVcVA1EpskI4bkBPVuDLrUDqt2YFifg5UcZc8qup0CwQqWmFUd6VMNgaA==} engines: {node: '>=12'} cpu: [riscv64] os: [linux] @@ -802,8 +802,8 @@ packages: dev: true optional: true - /@esbuild/linux-riscv64@0.18.18: - resolution: {integrity: sha512-ALK/BT3u7Hoa/vHjow6W6+MKF0ohYcVcVA1EpskI4bkBPVuDLrUDqt2YFifg5UcZc8qup0CwQqWmFUd6VMNgaA==} + /@esbuild/linux-riscv64@0.18.20: + resolution: {integrity: sha512-WSxo6h5ecI5XH34KC7w5veNnKkju3zBRLEQNY7mv5mtBmrP/MjNBCAlsM2u5hDBlS3NGcTQpoBvRzqBcRtpq1A==} engines: {node: '>=12'} cpu: [riscv64] os: [linux] @@ -820,8 +820,8 @@ packages: dev: true optional: true - /@esbuild/linux-s390x@0.17.19: - resolution: {integrity: sha512-IbFsFbxMWLuKEbH+7sTkKzL6NJmG2vRyy6K7JJo55w+8xDk7RElYn6xvXtDW8HCfoKBFK69f3pgBJSUSQPr+4Q==} + /@esbuild/linux-s390x@0.18.18: + resolution: {integrity: sha512-crT7jtOXd9iirY65B+mJQ6W0HWdNy8dtkZqKGWNcBnunpLcTCfne5y5bKic9bhyYzKpQEsO+C/VBPD8iF0RhRw==} engines: {node: '>=12'} cpu: [s390x] os: [linux] @@ -829,8 +829,8 @@ packages: dev: true optional: true - /@esbuild/linux-s390x@0.18.18: - resolution: {integrity: sha512-crT7jtOXd9iirY65B+mJQ6W0HWdNy8dtkZqKGWNcBnunpLcTCfne5y5bKic9bhyYzKpQEsO+C/VBPD8iF0RhRw==} + /@esbuild/linux-s390x@0.18.20: + resolution: {integrity: sha512-+8231GMs3mAEth6Ja1iK0a1sQ3ohfcpzpRLH8uuc5/KVDFneH6jtAJLFGafpzpMRO6DzJ6AvXKze9LfFMrIHVQ==} engines: {node: '>=12'} cpu: [s390x] os: [linux] @@ -847,8 +847,8 @@ packages: dev: true optional: true - /@esbuild/linux-x64@0.17.19: - resolution: {integrity: sha512-68ngA9lg2H6zkZcyp22tsVt38mlhWde8l3eJLWkyLrp4HwMUr3c1s/M2t7+kHIhvMjglIBrFpncX1SzMckomGw==} + /@esbuild/linux-x64@0.18.18: + resolution: {integrity: sha512-/NSgghjBOW9ELqjXDYxOCCIsvQUZpvua1/6NdnA9Vnrp9UzEydyDdFXljUjMMS9p5KxMzbMO9frjHYGVHBfCHg==} engines: {node: '>=12'} cpu: [x64] os: [linux] @@ -856,8 +856,8 @@ packages: dev: true optional: true - /@esbuild/linux-x64@0.18.18: - resolution: {integrity: sha512-/NSgghjBOW9ELqjXDYxOCCIsvQUZpvua1/6NdnA9Vnrp9UzEydyDdFXljUjMMS9p5KxMzbMO9frjHYGVHBfCHg==} + /@esbuild/linux-x64@0.18.20: + resolution: {integrity: sha512-UYqiqemphJcNsFEskc73jQ7B9jgwjWrSayxawS6UVFZGWrAAtkzjxSqnoclCXxWtfwLdzU+vTpcNYhpn43uP1w==} engines: {node: '>=12'} cpu: [x64] os: [linux] @@ -874,8 +874,8 @@ packages: dev: true optional: true - /@esbuild/netbsd-x64@0.17.19: - resolution: {integrity: sha512-CwFq42rXCR8TYIjIfpXCbRX0rp1jo6cPIUPSaWwzbVI4aOfX96OXY8M6KNmtPcg7QjYeDmN+DD0Wp3LaBOLf4Q==} + /@esbuild/netbsd-x64@0.18.18: + resolution: {integrity: sha512-8Otf05Vx5sZjLLDulgr5QS5lsWXMplKZEyHMArH9/S4olLlhzmdhQBPhzhJTNwaL2FJNdWcUPNGAcoD5zDTfUA==} engines: {node: '>=12'} cpu: [x64] os: [netbsd] @@ -883,8 +883,8 @@ packages: dev: true optional: true - /@esbuild/netbsd-x64@0.18.18: - resolution: {integrity: sha512-8Otf05Vx5sZjLLDulgr5QS5lsWXMplKZEyHMArH9/S4olLlhzmdhQBPhzhJTNwaL2FJNdWcUPNGAcoD5zDTfUA==} + /@esbuild/netbsd-x64@0.18.20: + resolution: {integrity: sha512-iO1c++VP6xUBUmltHZoMtCUdPlnPGdBom6IrO4gyKPFFVBKioIImVooR5I83nTew5UOYrk3gIJhbZh8X44y06A==} engines: {node: '>=12'} cpu: [x64] os: [netbsd] @@ -901,8 +901,8 @@ packages: dev: true optional: true - /@esbuild/openbsd-x64@0.17.19: - resolution: {integrity: sha512-cnq5brJYrSZ2CF6c35eCmviIN3k3RczmHz8eYaVlNasVqsNY+JKohZU5MKmaOI+KkllCdzOKKdPs762VCPC20g==} + /@esbuild/openbsd-x64@0.18.18: + resolution: {integrity: sha512-tFiFF4kT5L5qhVrWJUNxEXWvvX8nK/UX9ZrB7apuTwY3f6+Xy4aFMBPwAVrBYtBd5MOUuyOVHK6HBZCAHkwUlw==} engines: {node: '>=12'} cpu: [x64] os: [openbsd] @@ -910,8 +910,8 @@ packages: dev: true optional: true - /@esbuild/openbsd-x64@0.18.18: - resolution: {integrity: sha512-tFiFF4kT5L5qhVrWJUNxEXWvvX8nK/UX9ZrB7apuTwY3f6+Xy4aFMBPwAVrBYtBd5MOUuyOVHK6HBZCAHkwUlw==} + /@esbuild/openbsd-x64@0.18.20: + resolution: {integrity: sha512-e5e4YSsuQfX4cxcygw/UCPIEP6wbIL+se3sxPdCiMbFLBWu0eiZOJ7WoD+ptCLrmjZBK1Wk7I6D/I3NglUGOxg==} engines: {node: '>=12'} cpu: [x64] os: [openbsd] @@ -928,8 +928,8 @@ packages: dev: true optional: true - /@esbuild/sunos-x64@0.17.19: - resolution: {integrity: sha512-vCRT7yP3zX+bKWFeP/zdS6SqdWB8OIpaRq/mbXQxTGHnIxspRtigpkUcDMlSCOejlHowLqII7K2JKevwyRP2rg==} + /@esbuild/sunos-x64@0.18.18: + resolution: {integrity: sha512-MPogVV8Bzh8os4OM+YDGGsSzCzmNRiyKGtHoJyZLtI4BMmd6EcxmGlcEGK1uM46h1BiOyi7Z7teUtzzQhvkC+w==} engines: {node: '>=12'} cpu: [x64] os: [sunos] @@ -937,8 +937,8 @@ packages: dev: true optional: true - /@esbuild/sunos-x64@0.18.18: - resolution: {integrity: sha512-MPogVV8Bzh8os4OM+YDGGsSzCzmNRiyKGtHoJyZLtI4BMmd6EcxmGlcEGK1uM46h1BiOyi7Z7teUtzzQhvkC+w==} + /@esbuild/sunos-x64@0.18.20: + resolution: {integrity: sha512-kDbFRFp0YpTQVVrqUd5FTYmWo45zGaXe0X8E1G/LKFC0v8x0vWrhOWSLITcCn63lmZIxfOMXtCfti/RxN/0wnQ==} engines: {node: '>=12'} cpu: [x64] os: [sunos] @@ -955,8 +955,8 @@ packages: dev: true optional: true - /@esbuild/win32-arm64@0.17.19: - resolution: {integrity: sha512-yYx+8jwowUstVdorcMdNlzklLYhPxjniHWFKgRqH7IFlUEa0Umu3KuYplf1HUZZ422e3NU9F4LGb+4O0Kdcaag==} + /@esbuild/win32-arm64@0.18.18: + resolution: {integrity: sha512-YKD6LF/XXY9REu+ZL5RAsusiG48n602qxsMVh/E8FFD9hp4OyTQaL9fpE1ovxwQXqFio+tT0ITUGjDSSSPN13w==} engines: {node: '>=12'} cpu: [arm64] os: [win32] @@ -964,8 +964,8 @@ packages: dev: true optional: true - /@esbuild/win32-arm64@0.18.18: - resolution: {integrity: sha512-YKD6LF/XXY9REu+ZL5RAsusiG48n602qxsMVh/E8FFD9hp4OyTQaL9fpE1ovxwQXqFio+tT0ITUGjDSSSPN13w==} + /@esbuild/win32-arm64@0.18.20: + resolution: {integrity: sha512-ddYFR6ItYgoaq4v4JmQQaAI5s7npztfV4Ag6NrhiaW0RrnOXqBkgwZLofVTlq1daVTQNhtI5oieTvkRPfZrePg==} engines: {node: '>=12'} cpu: [arm64] os: [win32] @@ -982,8 +982,8 @@ packages: dev: true optional: true - /@esbuild/win32-ia32@0.17.19: - resolution: {integrity: sha512-eggDKanJszUtCdlVs0RB+h35wNlb5v4TWEkq4vZcmVt5u/HiDZrTXe2bWFQUez3RgNHwx/x4sk5++4NSSicKkw==} + /@esbuild/win32-ia32@0.18.18: + resolution: {integrity: sha512-NjSBmBsyZBTsZB6ga6rA6PfG/RHnwruUz/9YEVXcm4STGauFWvhYhOMhEyw1yU5NVgYYm8CH5AltCm77TS21/Q==} engines: {node: '>=12'} cpu: [ia32] os: [win32] @@ -991,8 +991,8 @@ packages: dev: true optional: true - /@esbuild/win32-ia32@0.18.18: - resolution: {integrity: sha512-NjSBmBsyZBTsZB6ga6rA6PfG/RHnwruUz/9YEVXcm4STGauFWvhYhOMhEyw1yU5NVgYYm8CH5AltCm77TS21/Q==} + /@esbuild/win32-ia32@0.18.20: + resolution: {integrity: sha512-Wv7QBi3ID/rROT08SABTS7eV4hX26sVduqDOTe1MvGMjNd3EjOz4b7zeexIR62GTIEKrfJXKL9LFxTYgkyeu7g==} engines: {node: '>=12'} cpu: [ia32] os: [win32] @@ -1009,8 +1009,8 @@ packages: dev: true optional: true - /@esbuild/win32-x64@0.17.19: - resolution: {integrity: sha512-lAhycmKnVOuRYNtRtatQR1LPQf2oYCkRGkSFnseDAKPl8lu5SOsK/e1sXe5a0Pc5kHIHe6P2I/ilntNv2xf3cA==} + /@esbuild/win32-x64@0.18.18: + resolution: {integrity: sha512-eTSg/gC3p3tdjj4roDhe5xu94l1s2jMazP8u2FsYO8SEKvSpPOO71EucprDn/IuErDPvTFUhV9lTw5z5WJCRKQ==} engines: {node: '>=12'} cpu: [x64] os: [win32] @@ -1018,8 +1018,8 @@ packages: dev: true optional: true - /@esbuild/win32-x64@0.18.18: - resolution: {integrity: sha512-eTSg/gC3p3tdjj4roDhe5xu94l1s2jMazP8u2FsYO8SEKvSpPOO71EucprDn/IuErDPvTFUhV9lTw5z5WJCRKQ==} + /@esbuild/win32-x64@0.18.20: + resolution: {integrity: sha512-kTdfRcSiDfQca/y9QIkng02avJ+NCaQvrMejlsB3RRv5sE9rRoeBPISaZpKxHELzRxZyLvNts1P27W3wV+8geQ==} engines: {node: '>=12'} cpu: [x64] os: [win32] @@ -1338,8 +1338,8 @@ packages: resolution: {integrity: sha512-8q9ZexmdYYyc5/cfujaXb4YOucpQxAV4RMG0himLyDUOEr8Mr79VrqsFI+cQ2M2h89YIuy95lbxuYjxT4Hk4kQ==} dev: true - /@types/node@20.5.7: - resolution: {integrity: sha512-dP7f3LdZIysZnmvP3ANJYTSwg+wLLl8p7RqniVlV7j+oXSXAbt9h0WIBFmJy5inWZoX9wZN6eXx+YXd9Rh3RBA==} + /@types/node@20.5.9: + resolution: {integrity: sha512-PcGNd//40kHAS3sTlzKB9C9XL4K0sTup8nbG5lC14kzEteTNuAFh9u5nA0o5TWnSG2r/JNPRXFVcHJIIeRlmqQ==} dev: true /@types/normalize-package-data@2.4.1: @@ -1352,8 +1352,8 @@ packages: htmlparser2: 8.0.2 dev: true - /@types/semver@7.5.0: - resolution: {integrity: sha512-G8hZ6XJiHnuhQKR7ZmysCeJWE08o8T0AXtk5darsCaTVsYZhhgUrq53jizaR2FvsoeCwJhlmwTjkXBY5Pn/ZHw==} + /@types/semver@7.5.1: + resolution: {integrity: sha512-cJRQXpObxfNKkFAZbJl2yjWtJCqELQIdShsogr1d2MilP8dKD9TE/nEKHkJgUNHdGKCQaf9HbIynuV2csLGVLg==} dev: true /@types/sinonjs__fake-timers@8.1.1: @@ -1376,12 +1376,12 @@ packages: resolution: {integrity: sha512-Cn6WYCm0tXv8p6k+A8PvbDG763EDpBoTzHdA+Q/MF6H3sapGjCm9NzoaJncJS9tUKSuCoDs9XHxYYsQDgxR6kw==} requiresBuild: true dependencies: - '@types/node': 20.5.7 + '@types/node': 20.5.9 dev: true optional: true - /@typescript-eslint/eslint-plugin@6.4.1(@typescript-eslint/parser@6.4.1)(eslint@8.48.0)(typescript@4.9.5): - resolution: {integrity: sha512-3F5PtBzUW0dYlq77Lcqo13fv+58KDwUib3BddilE8ajPJT+faGgxmI9Sw+I8ZS22BYwoir9ZhNXcLi+S+I2bkw==} + /@typescript-eslint/eslint-plugin@6.5.0(@typescript-eslint/parser@6.5.0)(eslint@8.48.0)(typescript@4.9.5): + resolution: {integrity: sha512-2pktILyjvMaScU6iK3925uvGU87E+N9rh372uGZgiMYwafaw9SXq86U04XPq3UH6tzRvNgBsub6x2DacHc33lw==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: '@typescript-eslint/parser': ^6.0.0 || ^6.0.0-alpha @@ -1392,11 +1392,11 @@ packages: optional: true dependencies: '@eslint-community/regexpp': 4.6.2 - '@typescript-eslint/parser': 6.4.1(eslint@8.48.0)(typescript@4.9.5) - '@typescript-eslint/scope-manager': 6.4.1 - '@typescript-eslint/type-utils': 6.4.1(eslint@8.48.0)(typescript@4.9.5) - '@typescript-eslint/utils': 6.4.1(eslint@8.48.0)(typescript@4.9.5) - '@typescript-eslint/visitor-keys': 6.4.1 + '@typescript-eslint/parser': 6.5.0(eslint@8.48.0)(typescript@4.9.5) + '@typescript-eslint/scope-manager': 6.5.0 + '@typescript-eslint/type-utils': 6.5.0(eslint@8.48.0)(typescript@4.9.5) + '@typescript-eslint/utils': 6.5.0(eslint@8.48.0)(typescript@4.9.5) + '@typescript-eslint/visitor-keys': 6.5.0 debug: 4.3.4(supports-color@8.1.1) eslint: 8.48.0 graphemer: 1.4.0 @@ -1409,8 +1409,8 @@ packages: - supports-color dev: true - /@typescript-eslint/parser@6.4.1(eslint@8.48.0)(typescript@4.9.5): - resolution: {integrity: sha512-610G6KHymg9V7EqOaNBMtD1GgpAmGROsmfHJPXNLCU9bfIuLrkdOygltK784F6Crboyd5tBFayPB7Sf0McrQwg==} + /@typescript-eslint/parser@6.5.0(eslint@8.48.0)(typescript@4.9.5): + resolution: {integrity: sha512-LMAVtR5GN8nY0G0BadkG0XIe4AcNMeyEy3DyhKGAh9k4pLSMBO7rF29JvDBpZGCmp5Pgz5RLHP6eCpSYZJQDuQ==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: eslint: ^7.0.0 || ^8.0.0 @@ -1419,10 +1419,10 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/scope-manager': 6.4.1 - '@typescript-eslint/types': 6.4.1 - '@typescript-eslint/typescript-estree': 6.4.1(typescript@4.9.5) - '@typescript-eslint/visitor-keys': 6.4.1 + '@typescript-eslint/scope-manager': 6.5.0 + '@typescript-eslint/types': 6.5.0 + '@typescript-eslint/typescript-estree': 6.5.0(typescript@4.9.5) + '@typescript-eslint/visitor-keys': 6.5.0 debug: 4.3.4(supports-color@8.1.1) eslint: 8.48.0 typescript: 4.9.5 @@ -1438,24 +1438,16 @@ packages: '@typescript-eslint/visitor-keys': 5.62.0 dev: true - /@typescript-eslint/scope-manager@6.2.0: - resolution: {integrity: sha512-1ZMNVgm5nnHURU8ZSJ3snsHzpFeNK84rdZjluEVBGNu7jDymfqceB3kdIZ6A4xCfEFFhRIB6rF8q/JIqJd2R0Q==} + /@typescript-eslint/scope-manager@6.5.0: + resolution: {integrity: sha512-A8hZ7OlxURricpycp5kdPTH3XnjG85UpJS6Fn4VzeoH4T388gQJ/PGP4ole5NfKt4WDVhmLaQ/dBLNDC4Xl/Kw==} engines: {node: ^16.0.0 || >=18.0.0} dependencies: - '@typescript-eslint/types': 6.2.0 - '@typescript-eslint/visitor-keys': 6.2.0 + '@typescript-eslint/types': 6.5.0 + '@typescript-eslint/visitor-keys': 6.5.0 dev: true - /@typescript-eslint/scope-manager@6.4.1: - resolution: {integrity: sha512-p/OavqOQfm4/Hdrr7kvacOSFjwQ2rrDVJRPxt/o0TOWdFnjJptnjnZ+sYDR7fi4OimvIuKp+2LCkc+rt9fIW+A==} - engines: {node: ^16.0.0 || >=18.0.0} - dependencies: - '@typescript-eslint/types': 6.4.1 - '@typescript-eslint/visitor-keys': 6.4.1 - dev: true - - /@typescript-eslint/type-utils@6.4.1(eslint@8.48.0)(typescript@4.9.5): - resolution: {integrity: sha512-7ON8M8NXh73SGZ5XvIqWHjgX2f+vvaOarNliGhjrJnv1vdjG0LVIz+ToYfPirOoBi56jxAKLfsLm40+RvxVVXA==} + /@typescript-eslint/type-utils@6.5.0(eslint@8.48.0)(typescript@4.9.5): + resolution: {integrity: sha512-f7OcZOkRivtujIBQ4yrJNIuwyCQO1OjocVqntl9dgSIZAdKqicj3xFDqDOzHDlGCZX990LqhLQXWRnQvsapq8A==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: eslint: ^7.0.0 || ^8.0.0 @@ -1464,8 +1456,8 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/typescript-estree': 6.4.1(typescript@4.9.5) - '@typescript-eslint/utils': 6.4.1(eslint@8.48.0)(typescript@4.9.5) + '@typescript-eslint/typescript-estree': 6.5.0(typescript@4.9.5) + '@typescript-eslint/utils': 6.5.0(eslint@8.48.0)(typescript@4.9.5) debug: 4.3.4(supports-color@8.1.1) eslint: 8.48.0 ts-api-utils: 1.0.1(typescript@4.9.5) @@ -1479,13 +1471,8 @@ packages: engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dev: true - /@typescript-eslint/types@6.2.0: - resolution: {integrity: sha512-1nRRaDlp/XYJQLvkQJG5F3uBTno5SHPT7XVcJ5n1/k2WfNI28nJsvLakxwZRNY5spuatEKO7d5nZWsQpkqXwBA==} - engines: {node: ^16.0.0 || >=18.0.0} - dev: true - - /@typescript-eslint/types@6.4.1: - resolution: {integrity: sha512-zAAopbNuYu++ijY1GV2ylCsQsi3B8QvfPHVqhGdDcbx/NK5lkqMnCGU53amAjccSpk+LfeONxwzUhDzArSfZJg==} + /@typescript-eslint/types@6.5.0: + resolution: {integrity: sha512-eqLLOEF5/lU8jW3Bw+8auf4lZSbbljHR2saKnYqON12G/WsJrGeeDHWuQePoEf9ro22+JkbPfWQwKEC5WwLQ3w==} engines: {node: ^16.0.0 || >=18.0.0} dev: true @@ -1510,8 +1497,8 @@ packages: - supports-color dev: true - /@typescript-eslint/typescript-estree@6.2.0(typescript@4.9.5): - resolution: {integrity: sha512-Mts6+3HQMSM+LZCglsc2yMIny37IhUgp1Qe8yJUYVyO6rHP7/vN0vajKu3JvHCBIy8TSiKddJ/Zwu80jhnGj1w==} + /@typescript-eslint/typescript-estree@6.5.0(typescript@4.9.5): + resolution: {integrity: sha512-q0rGwSe9e5Kk/XzliB9h2LBc9tmXX25G0833r7kffbl5437FPWb2tbpIV9wAATebC/018pGa9fwPDuvGN+LxWQ==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: typescript: '*' @@ -1519,8 +1506,8 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/types': 6.2.0 - '@typescript-eslint/visitor-keys': 6.2.0 + '@typescript-eslint/types': 6.5.0 + '@typescript-eslint/visitor-keys': 6.5.0 debug: 4.3.4(supports-color@8.1.1) globby: 11.1.0 is-glob: 4.0.3 @@ -1531,8 +1518,8 @@ packages: - supports-color dev: true - /@typescript-eslint/typescript-estree@6.4.1(typescript@4.9.5): - resolution: {integrity: sha512-xF6Y7SatVE/OyV93h1xGgfOkHr2iXuo8ip0gbfzaKeGGuKiAnzS+HtVhSPx8Www243bwlW8IF7X0/B62SzFftg==} + /@typescript-eslint/typescript-estree@6.5.0(typescript@5.2.2): + resolution: {integrity: sha512-q0rGwSe9e5Kk/XzliB9h2LBc9tmXX25G0833r7kffbl5437FPWb2tbpIV9wAATebC/018pGa9fwPDuvGN+LxWQ==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: typescript: '*' @@ -1540,14 +1527,14 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/types': 6.4.1 - '@typescript-eslint/visitor-keys': 6.4.1 + '@typescript-eslint/types': 6.5.0 + '@typescript-eslint/visitor-keys': 6.5.0 debug: 4.3.4(supports-color@8.1.1) globby: 11.1.0 is-glob: 4.0.3 semver: 7.5.4 - ts-api-utils: 1.0.1(typescript@4.9.5) - typescript: 4.9.5 + ts-api-utils: 1.0.1(typescript@5.2.2) + typescript: 5.2.2 transitivePeerDependencies: - supports-color dev: true @@ -1560,7 +1547,7 @@ packages: dependencies: '@eslint-community/eslint-utils': 4.4.0(eslint@8.48.0) '@types/json-schema': 7.0.12 - '@types/semver': 7.5.0 + '@types/semver': 7.5.1 '@typescript-eslint/scope-manager': 5.62.0 '@typescript-eslint/types': 5.62.0 '@typescript-eslint/typescript-estree': 5.62.0(typescript@4.9.5) @@ -1572,18 +1559,18 @@ packages: - typescript dev: true - /@typescript-eslint/utils@6.2.0(eslint@8.48.0)(typescript@4.9.5): - resolution: {integrity: sha512-RCFrC1lXiX1qEZN8LmLrxYRhOkElEsPKTVSNout8DMzf8PeWoQG7Rxz2SadpJa3VSh5oYKGwt7j7X/VRg+Y3OQ==} + /@typescript-eslint/utils@6.5.0(eslint@8.48.0)(typescript@4.9.5): + resolution: {integrity: sha512-9nqtjkNykFzeVtt9Pj6lyR9WEdd8npPhhIPM992FWVkZuS6tmxHfGVnlUcjpUP2hv8r4w35nT33mlxd+Be1ACQ==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: eslint: ^7.0.0 || ^8.0.0 dependencies: '@eslint-community/eslint-utils': 4.4.0(eslint@8.48.0) '@types/json-schema': 7.0.12 - '@types/semver': 7.5.0 - '@typescript-eslint/scope-manager': 6.2.0 - '@typescript-eslint/types': 6.2.0 - '@typescript-eslint/typescript-estree': 6.2.0(typescript@4.9.5) + '@types/semver': 7.5.1 + '@typescript-eslint/scope-manager': 6.5.0 + '@typescript-eslint/types': 6.5.0 + '@typescript-eslint/typescript-estree': 6.5.0(typescript@4.9.5) eslint: 8.48.0 semver: 7.5.4 transitivePeerDependencies: @@ -1591,18 +1578,18 @@ packages: - typescript dev: true - /@typescript-eslint/utils@6.4.1(eslint@8.48.0)(typescript@4.9.5): - resolution: {integrity: sha512-F/6r2RieNeorU0zhqZNv89s9bDZSovv3bZQpUNOmmQK1L80/cV4KEu95YUJWi75u5PhboFoKUJBnZ4FQcoqhDw==} + /@typescript-eslint/utils@6.5.0(eslint@8.48.0)(typescript@5.2.2): + resolution: {integrity: sha512-9nqtjkNykFzeVtt9Pj6lyR9WEdd8npPhhIPM992FWVkZuS6tmxHfGVnlUcjpUP2hv8r4w35nT33mlxd+Be1ACQ==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: eslint: ^7.0.0 || ^8.0.0 dependencies: '@eslint-community/eslint-utils': 4.4.0(eslint@8.48.0) '@types/json-schema': 7.0.12 - '@types/semver': 7.5.0 - '@typescript-eslint/scope-manager': 6.4.1 - '@typescript-eslint/types': 6.4.1 - '@typescript-eslint/typescript-estree': 6.4.1(typescript@4.9.5) + '@types/semver': 7.5.1 + '@typescript-eslint/scope-manager': 6.5.0 + '@typescript-eslint/types': 6.5.0 + '@typescript-eslint/typescript-estree': 6.5.0(typescript@5.2.2) eslint: 8.48.0 semver: 7.5.4 transitivePeerDependencies: @@ -1618,19 +1605,11 @@ packages: eslint-visitor-keys: 3.4.3 dev: true - /@typescript-eslint/visitor-keys@6.2.0: - resolution: {integrity: sha512-QbaYUQVKKo9bgCzpjz45llCfwakyoxHetIy8CAvYCtd16Zu1KrpzNHofwF8kGkpPOxZB2o6kz+0nqH8ZkIzuoQ==} - engines: {node: ^16.0.0 || >=18.0.0} - dependencies: - '@typescript-eslint/types': 6.2.0 - eslint-visitor-keys: 3.4.3 - dev: true - - /@typescript-eslint/visitor-keys@6.4.1: - resolution: {integrity: sha512-y/TyRJsbZPkJIZQXrHfdnxVnxyKegnpEvnRGNam7s3TRR2ykGefEWOhaef00/UUN3IZxizS7BTO3svd3lCOJRQ==} + /@typescript-eslint/visitor-keys@6.5.0: + resolution: {integrity: sha512-yCB/2wkbv3hPsh02ZS8dFQnij9VVQXJMN/gbQsaaY+zxALkZnxa/wagvLEFsAWMPv7d7lxQmNsIzGU1w/T/WyA==} engines: {node: ^16.0.0 || >=18.0.0} dependencies: - '@typescript-eslint/types': 6.4.1 + '@typescript-eslint/types': 6.5.0 eslint-visitor-keys: 3.4.3 dev: true @@ -1641,7 +1620,7 @@ packages: vite: ^4.0.0 vue: ^3.2.25 dependencies: - vite: 4.4.9(@types/node@20.5.7) + vite: 4.4.9(@types/node@20.5.9) vue: 3.3.4 dev: true @@ -2734,13 +2713,13 @@ packages: resolution: {integrity: sha512-I7K1Uu0MBPzaFKg4nI5Q7Vs2t+3gWWW648spaF+Rg7pI9ds18Ugn+lvg4SHczUdKlHI5LWBXyqfS8+DufyBsgQ==} dev: true - /cypress@12.17.4: - resolution: {integrity: sha512-gAN8Pmns9MA5eCDFSDJXWKUpaL3IDd89N9TtIupjYnzLSmlpVr+ZR+vb4U/qaMp+lB6tBvAmt7504c3Z4RU5KQ==} - engines: {node: ^14.0.0 || ^16.0.0 || >=18.0.0} + /cypress@13.1.0: + resolution: {integrity: sha512-LUKxCYlB973QBFls1Up4FAE9QIYobT+2I8NvvAwMfQS2YwsWbr6yx7y9hmsk97iqbHkKwZW3MRjoK1RToBFVdQ==} + engines: {node: ^16.0.0 || ^18.0.0 || >=20.0.0} hasBin: true requiresBuild: true dependencies: - '@cypress/request': 2.88.12 + '@cypress/request': 3.0.0 '@cypress/xvfb': 1.2.4(supports-color@8.1.1) '@types/node': 16.18.39 '@types/sinonjs__fake-timers': 8.1.1 @@ -3088,36 +3067,6 @@ packages: is-symbol: 1.0.4 dev: true - /esbuild@0.17.19: - resolution: {integrity: sha512-XQ0jAPFkK/u3LcVRcvVHQcTIqD6E2H1fvZMA5dQPSOWb3suUbWbfbRf94pjc0bNzRYLfIrDRQXr7X+LHIm5oHw==} - engines: {node: '>=12'} - hasBin: true - requiresBuild: true - optionalDependencies: - '@esbuild/android-arm': 0.17.19 - '@esbuild/android-arm64': 0.17.19 - '@esbuild/android-x64': 0.17.19 - '@esbuild/darwin-arm64': 0.17.19 - '@esbuild/darwin-x64': 0.17.19 - '@esbuild/freebsd-arm64': 0.17.19 - '@esbuild/freebsd-x64': 0.17.19 - '@esbuild/linux-arm': 0.17.19 - '@esbuild/linux-arm64': 0.17.19 - '@esbuild/linux-ia32': 0.17.19 - '@esbuild/linux-loong64': 0.17.19 - '@esbuild/linux-mips64el': 0.17.19 - '@esbuild/linux-ppc64': 0.17.19 - '@esbuild/linux-riscv64': 0.17.19 - '@esbuild/linux-s390x': 0.17.19 - '@esbuild/linux-x64': 0.17.19 - '@esbuild/netbsd-x64': 0.17.19 - '@esbuild/openbsd-x64': 0.17.19 - '@esbuild/sunos-x64': 0.17.19 - '@esbuild/win32-arm64': 0.17.19 - '@esbuild/win32-ia32': 0.17.19 - '@esbuild/win32-x64': 0.17.19 - dev: true - /esbuild@0.18.18: resolution: {integrity: sha512-UckDPWvdVJLNT0npk5AMTpVwGRQhS76rWFLmHwEtgNvWlR9sgVV1eyc/oeBtM86q9s8ABBLMmm0CwNxhVemOiw==} engines: {node: '>=12'} @@ -3148,6 +3097,36 @@ packages: '@esbuild/win32-x64': 0.18.18 dev: true + /esbuild@0.18.20: + resolution: {integrity: sha512-ceqxoedUrcayh7Y7ZX6NdbbDzGROiyVBgC4PriJThBKSVPWnnFHZAkfI1lJT8QFkOwH4qOS2SJkS4wvpGl8BpA==} + engines: {node: '>=12'} + hasBin: true + requiresBuild: true + optionalDependencies: + '@esbuild/android-arm': 0.18.20 + '@esbuild/android-arm64': 0.18.20 + '@esbuild/android-x64': 0.18.20 + '@esbuild/darwin-arm64': 0.18.20 + '@esbuild/darwin-x64': 0.18.20 + '@esbuild/freebsd-arm64': 0.18.20 + '@esbuild/freebsd-x64': 0.18.20 + '@esbuild/linux-arm': 0.18.20 + '@esbuild/linux-arm64': 0.18.20 + '@esbuild/linux-ia32': 0.18.20 + '@esbuild/linux-loong64': 0.18.20 + '@esbuild/linux-mips64el': 0.18.20 + '@esbuild/linux-ppc64': 0.18.20 + '@esbuild/linux-riscv64': 0.18.20 + '@esbuild/linux-s390x': 0.18.20 + '@esbuild/linux-x64': 0.18.20 + '@esbuild/netbsd-x64': 0.18.20 + '@esbuild/openbsd-x64': 0.18.20 + '@esbuild/sunos-x64': 0.18.20 + '@esbuild/win32-arm64': 0.18.20 + '@esbuild/win32-ia32': 0.18.20 + '@esbuild/win32-x64': 0.18.20 + dev: true + /esbuild@0.19.2: resolution: {integrity: sha512-G6hPax8UbFakEj3hWO0Vs52LQ8k3lnBhxZWomUJDxfz3rZTLqF5k/FCzuNdLx2RbpBiQQF9H9onlDDH1lZsnjg==} engines: {node: '>=12'} @@ -3236,8 +3215,8 @@ packages: - supports-color dev: true - /eslint-plugin-jsdoc@46.5.0(eslint@8.48.0): - resolution: {integrity: sha512-aulXdA4I1dyWpzyS1Nh/GNoS6PavzeucxEapnMR4JUERowWvaEk2Y4A5irpHAcdXtBBHLVe8WIhdXNjoAlGQgA==} + /eslint-plugin-jsdoc@46.5.1(eslint@8.48.0): + resolution: {integrity: sha512-CPbvKprmEuJYoxMj5g8gXfPqUGgcqMM6jpH06Kp4pn5Uy5MrPkFKzoD7UFp2E4RBzfXbJz1+TeuEivwFVMkXBg==} engines: {node: '>=16'} peerDependencies: eslint: ^7.0.0 || ^8.0.0 @@ -3277,24 +3256,24 @@ packages: synckit: 0.8.5 dev: true - /eslint-plugin-vitest@0.2.8(eslint@8.48.0)(typescript@4.9.5)(vite@4.4.9)(vitest@0.34.3): - resolution: {integrity: sha512-q8s4tStyKtn3gXf+8nf1ZYTHhoCXKdnozZzp6u8b4ni5v68Y4vxhNh4Z8njUfNjEY8HoPBB77MazHMR23IPb+g==} + /eslint-plugin-vitest@0.3.1(@typescript-eslint/eslint-plugin@6.5.0)(eslint@8.48.0)(vitest@0.34.3): + resolution: {integrity: sha512-GeR3zISHmqUGWK2sfW+eyCZivMqiQYzPf9UttHXBiEyMveS/jkKLHCrHUllwr3Hz1+i0zoseANd2xL0cFha8Eg==} engines: {node: 14.x || >= 16} peerDependencies: + '@typescript-eslint/eslint-plugin': '*' eslint: '>=8.0.0' - vite: '*' vitest: '*' peerDependenciesMeta: - vite: + '@typescript-eslint/eslint-plugin': optional: true dependencies: - '@typescript-eslint/utils': 6.2.0(eslint@8.48.0)(typescript@4.9.5) + '@typescript-eslint/eslint-plugin': 6.5.0(@typescript-eslint/parser@6.5.0)(eslint@8.48.0)(typescript@4.9.5) + '@typescript-eslint/utils': 6.5.0(eslint@8.48.0)(typescript@5.2.2) eslint: 8.48.0 - vite: 4.4.9(@types/node@20.5.7) + typescript: 5.2.2 vitest: 0.34.3(@vitest/ui@0.34.3) transitivePeerDependencies: - supports-color - - typescript dev: true /eslint-scope@5.1.1: @@ -3807,8 +3786,8 @@ packages: is-glob: 4.0.3 dev: true - /glob@10.3.3: - resolution: {integrity: sha512-92vPiMb/iqpmEgsOoIDvTjc50wf9CCCvMzsi6W0JLPeUKE8TWP1a73PgqSrqy7iAZxaSD1YdzU7QZR5LF51MJw==} + /glob@10.3.4: + resolution: {integrity: sha512-6LFElP3A+i/Q8XQKEvZjkEWEOTgAIALR9AO2rwT8bgPhDd1anmqDJDZ6lLddI4ehxxxR1S5RIqKe1uapMQfYaQ==} engines: {node: '>=16 || 14 >=14.17'} hasBin: true dependencies: @@ -5384,7 +5363,7 @@ packages: engines: {node: '>=14'} hasBin: true dependencies: - glob: 10.3.3 + glob: 10.3.4 dev: true /rollup@3.27.2: @@ -5950,6 +5929,15 @@ packages: typescript: 4.9.5 dev: true + /ts-api-utils@1.0.1(typescript@5.2.2): + resolution: {integrity: sha512-lC/RGlPmwdrIBFTX59wwNzqh7aR2otPNPR/5brHZm/XKFYKsfqxihXUe9pU3JI+3vGkl+vyCoNNnPhJn3aLK1A==} + engines: {node: '>=16.13.0'} + peerDependencies: + typescript: '>=4.2.0' + dependencies: + typescript: 5.2.2 + dev: true + /tslib@1.14.1: resolution: {integrity: sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==} dev: true @@ -5968,12 +5956,12 @@ packages: typescript: 4.9.5 dev: true - /tsx@3.12.7: - resolution: {integrity: sha512-C2Ip+jPmqKd1GWVQDvz/Eyc6QJbGfE7NrR3fx5BpEHMZsEHoIxHL1j+lKdGobr8ovEyqeNkPLSKp6SCSOt7gmw==} + /tsx@3.12.8: + resolution: {integrity: sha512-Lt9KYaRGF023tlLInPj8rgHwsZU8qWLBj4iRXNWxTfjIkU7canGL806AqKear1j722plHuiYNcL2ZCo6uS9UJA==} hasBin: true dependencies: '@esbuild-kit/cjs-loader': 2.4.2 - '@esbuild-kit/core-utils': 3.1.0 + '@esbuild-kit/core-utils': 3.2.2 '@esbuild-kit/esm-loader': 2.5.5 optionalDependencies: fsevents: 2.3.2 @@ -6103,6 +6091,12 @@ packages: hasBin: true dev: true + /typescript@5.2.2: + resolution: {integrity: sha512-mI4WrpHsbCIcwT9cF4FZvr80QUeKvsUsUvKDoR+X/7XHQH98xYD8YHZg7ANtz2GtZt/CBq2QJ0thkGJMHfqc1w==} + engines: {node: '>=14.17'} + hasBin: true + dev: true + /ufo@1.2.0: resolution: {integrity: sha512-RsPyTbqORDNDxqAdQPQBpgqhWle1VcTSou/FraClYlHf6TZnQcGslpLcAphNR+sQW4q5lLWLbOsRlh9j24baQg==} dev: true @@ -6195,7 +6189,7 @@ packages: extsprintf: 1.3.0 dev: true - /vite-node@0.34.3(@types/node@20.5.7): + /vite-node@0.34.3(@types/node@20.5.9): resolution: {integrity: sha512-+0TzJf1g0tYXj6tR2vEyiA42OPq68QkRZCu/ERSo2PtsDJfBpDyEfuKbRvLmZqi/CgC7SCBtyC+WjTGNMRIaig==} engines: {node: '>=v14.18.0'} hasBin: true @@ -6205,7 +6199,7 @@ packages: mlly: 1.4.0 pathe: 1.1.1 picocolors: 1.0.0 - vite: 4.4.9(@types/node@20.5.7) + vite: 4.4.9(@types/node@20.5.9) transitivePeerDependencies: - '@types/node' - less @@ -6217,7 +6211,7 @@ packages: - terser dev: true - /vite@4.4.9(@types/node@20.5.7): + /vite@4.4.9(@types/node@20.5.9): resolution: {integrity: sha512-2mbUn2LlUmNASWwSCNSJ/EG2HuSRTnVNaydp6vMCm5VIqJsjMfbIWtbH2kDuwUVW5mMUKKZvGPX/rqeqVvv1XA==} engines: {node: ^14.18.0 || >=16.0.0} hasBin: true @@ -6245,7 +6239,7 @@ packages: terser: optional: true dependencies: - '@types/node': 20.5.7 + '@types/node': 20.5.9 esbuild: 0.18.18 postcss: 8.4.27 rollup: 3.27.2 @@ -6253,7 +6247,7 @@ packages: fsevents: 2.3.2 dev: true - /vitepress@1.0.0-beta.7(@algolia/client-search@4.19.1)(@types/node@20.5.7)(search-insights@2.7.0): + /vitepress@1.0.0-beta.7(@algolia/client-search@4.19.1)(@types/node@20.5.9)(search-insights@2.7.0): resolution: {integrity: sha512-P9Rw+FXatKIU4fVdtKxqwHl6fby8E/8zE3FIfep6meNgN4BxbWqoKJ6yfuuQQR9IrpQqwnyaBh4LSabyll6tWg==} hasBin: true dependencies: @@ -6268,7 +6262,7 @@ packages: mark.js: 8.11.1 minisearch: 6.1.0 shiki: 0.14.3 - vite: 4.4.9(@types/node@20.5.7) + vite: 4.4.9(@types/node@20.5.9) vue: 3.3.4 transitivePeerDependencies: - '@algolia/client-search' @@ -6330,7 +6324,7 @@ packages: dependencies: '@types/chai': 4.3.5 '@types/chai-subset': 1.3.3 - '@types/node': 20.5.7 + '@types/node': 20.5.9 '@vitest/expect': 0.34.3 '@vitest/runner': 0.34.3 '@vitest/snapshot': 0.34.3 @@ -6350,8 +6344,8 @@ packages: strip-literal: 1.3.0 tinybench: 2.5.0 tinypool: 0.7.0 - vite: 4.4.9(@types/node@20.5.7) - vite-node: 0.34.3(@types/node@20.5.7) + vite: 4.4.9(@types/node@20.5.9) + vite-node: 0.34.3(@types/node@20.5.9) why-is-node-running: 2.2.2 transitivePeerDependencies: - less diff --git a/src/locale/index.ts b/src/locale/index.ts index c39d89d7f1f..733e41dfeb9 100644 --- a/src/locale/index.ts +++ b/src/locale/index.ts @@ -66,6 +66,7 @@ import { faker as fakerTR } from './tr'; import { faker as fakerUK } from './uk'; import { faker as fakerUR } from './ur'; import { faker as fakerVI } from './vi'; +import { faker as fakerYO_NG } from './yo_NG'; import { faker as fakerZH_CN } from './zh_CN'; import { faker as fakerZH_TW } from './zh_TW'; import { faker as fakerZU_ZA } from './zu_ZA'; @@ -134,6 +135,7 @@ export { fakerUK, fakerUR, fakerVI, + fakerYO_NG, fakerZH_CN, fakerZH_TW, fakerZU_ZA, @@ -203,6 +205,7 @@ export const allFakers = { uk: fakerUK, ur: fakerUR, vi: fakerVI, + yo_NG: fakerYO_NG, zh_CN: fakerZH_CN, zh_TW: fakerZH_TW, zu_ZA: fakerZU_ZA, diff --git a/src/locale/yo_NG.ts b/src/locale/yo_NG.ts new file mode 100644 index 00000000000..27e03f5642a --- /dev/null +++ b/src/locale/yo_NG.ts @@ -0,0 +1,13 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ + +import { Faker } from '../faker'; +import base from '../locales/base'; +import en from '../locales/en'; +import yo_NG from '../locales/yo_NG'; + +export const faker = new Faker({ + locale: [yo_NG, en, base], +}); diff --git a/src/locales/da/commerce/department.ts b/src/locales/da/commerce/department.ts new file mode 100644 index 00000000000..6a07dae8f7e --- /dev/null +++ b/src/locales/da/commerce/department.ts @@ -0,0 +1,23 @@ +export default [ + 'Baby', + 'Bil', + 'Bolig', + 'Bøger', + 'Dagligvarer', + 'Elektronik', + 'Film', + 'Fritid', + 'Have', + 'Hvidevarer', + 'Legetøj', + 'Musik', + 'Personlig pleje', + 'Sko', + 'Smykker', + 'Spil', + 'Sport', + 'Sundhed', + 'Tasker', + 'Tøj', + 'Værktøj', +]; diff --git a/src/locales/da/commerce/index.ts b/src/locales/da/commerce/index.ts new file mode 100644 index 00000000000..29c9eeb2006 --- /dev/null +++ b/src/locales/da/commerce/index.ts @@ -0,0 +1,16 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { CommerceDefinition } from '../../..'; +import department from './department'; +import product_description from './product_description'; +import product_name from './product_name'; + +const commerce: CommerceDefinition = { + department, + product_description, + product_name, +}; + +export default commerce; diff --git a/src/locales/da/commerce/product_description.ts b/src/locales/da/commerce/product_description.ts new file mode 100644 index 00000000000..0cefa124891 --- /dev/null +++ b/src/locales/da/commerce/product_description.ts @@ -0,0 +1,21 @@ +export default [ + 'Apollotech B340 er en prisbillig trådløs mus med pålidelig forbindelse, 12 måneders batterilevetid og moderne design', + 'Bilens design består af aerodynamiske linjer og moderne detaljer, der kombinerer stilfuld æstetik med effektiv brændstoføkonomi', + 'Bogen "Eventyrets Veje" er en medrivende roman, der væver magi og virkelighed sammen i en tankevækkende fortælling, som appellerer til læsere på tværs af aldre', + 'Denne klassiske og tidløse ring er en perfekt tilføjelse til enhver smykkesamling og kan bæres til enhver lejlighed', + 'Denne smukke og elegante halskæde er designet med en enkelt, glitrende diamant, der er indkapslet i en klassisk 18 karat guldfatning', + 'Det slanke og enkle Maple Gaming Keyboard byder på responsiv mekanisk feedback, RGB-belysning og en robust konstruktion, der sikrer en optimal spiloplevelse', + 'Dobbeltsengen er konstrueret med robust træramme og en blød, støttende madras, der sikrer en behagelig nattesøvn, og dens elegante design passer perfekt ind i ethvert moderne soveværelse', + 'Ergonomisk ledersæde polstret med luksuriøs hukommelsesskum giver optimal støtte og komfort gennem hele arbejdsdagen', + 'Fodbolden er designet til professionel spil med dens holdbare materialer, optimal vægtfordeling og præcise syninger, der sikrer en ensartet ydeevne på alle typer spilleflader', + 'Målmandshandskerne er udstyret med en skridsikker polstring og fleksibel pasform, der giver en exceptionel greb og bevægelsesfrihed, hvilket gør dem til et uundværligt redskab for enhver seriøs målmand', + 'Nagasaki Lander er en motorcykel designet med en kraftfuld motor, slanke linjer og avancerede sikkerhedsfunktioner, der tilbyder en spændende og samtidig sikker køreoplevelse', + 'Ny ABC 13 tommer bærbar computer leverer imponerende ydeevne med sin nyeste generation processor, højopløselig skærm og slankt, letvægtsdesign, ideel til både arbejde og underholdning', + 'Ny kollektion af formelle skjorter er designet med dig i tankerne. Med pasform og styling, der vil få dig til at skille dig ud', + 'Osten Gamle Morten er kendt for sin skarpe og markante smag, en rig tekstur, og dens unikke modningsproces, der gør den til et yndet valg blandt feinschmeckere og ostekendere', + 'Papirflyet er et simpelt og fascinerende legetøj, der kombinerer let tilgængelige materialer med aerodynamiske principper, og som kan bringe timevis af kreativ underholdning for børn og voksne', + 'Perfumen er sammensat af en unik blanding af blomster-, citrus- og trænoter, der resulterer i en sofistikeret og forførende duft, som appellerer til både daglig brug og specielle lejligheder', + 'Sejlbåden Molly er en smukt håndbygget fartøj, udstyret med avancerede navigationsinstrumenter og et rummeligt dæk, der kombinerer klassisk elegance med moderne bekvemmeligheder for en uforglemmelig sejladsoplevelse', + 'Skarp er en køkkenkniv fremstillet af høj-kvalitets stål, designet med en ergonomisk håndtag og præcisions-slebet blad, der garanterer en uovertruffen skæreoplevelse i madlavningen', + 'Super Sandaler er behagelige og stilfulde fodtøj, designet med en polstret sål og justerbare stropper, der passer til enhver fodform og giver ultimativ komfort gennem hele dagen', +]; diff --git a/src/locales/da/commerce/product_name.ts b/src/locales/da/commerce/product_name.ts new file mode 100644 index 00000000000..0fd09461a4d --- /dev/null +++ b/src/locales/da/commerce/product_name.ts @@ -0,0 +1,67 @@ +export default { + adjective: [ + 'Elegant', + 'Elektronisk', + 'Ergonomisk', + 'Fantastisk', + 'Forfinet', + 'Genbrugt', + 'Generisk', + 'Hjemmelavet', + 'Håndlavet', + 'Intelligent', + 'Licenseret', + 'Lille', + 'Luksuriøs', + 'Lækker', + 'Moderne', + 'Orientalsk', + 'Praktisk', + 'Primitiv', + 'Skræddersyet', + 'Slank', + 'Smuk', + 'Ubranded', + 'Utrolig', + ], + material: [ + 'Beton', + 'Blød', + 'Bomuld', + 'Bronze', + 'Fersk', + 'Frossen', + 'Granit', + 'Gummi', + 'Metal', + 'Plastik', + 'Stål', + 'Træ', + ], + product: [ + 'Bacon', + 'Bil', + 'Bold', + 'Bord', + 'Computer', + 'Cykel', + 'Fisk', + 'Handske', + 'Hat', + 'Håndklæde', + 'Kylling', + 'Lysestage', + 'Mus', + 'Ost', + 'Pizza', + 'Pølse', + 'Salat', + 'Skjorte', + 'Sko', + 'Slips', + 'Stol', + 'Sæbe', + 'Tastatur', + 'Tun', + ], +}; diff --git a/src/locales/da/company/adjective.ts b/src/locales/da/company/adjective.ts new file mode 100644 index 00000000000..6e18c565032 --- /dev/null +++ b/src/locales/da/company/adjective.ts @@ -0,0 +1,76 @@ +export default [ + 'Adaptiv', + 'Alsidig', + 'Automatiseret', + 'Avanceret', + 'Balanceret', + 'Brugercentreret', + 'Brugervenlig', + 'Centraliseret', + 'Cross-platform', + 'Decentraliseret', + 'Delbar', + 'Digitaliseret', + 'Distribueret', + 'Eksklusiv', + 'Ergonomisk', + 'Face-to-face', + 'Fokuseret', + 'Forbedret', + 'Forebyggende', + 'Forretningsfokuseret', + 'Forstærket', + 'Fremtidssikret', + 'Fundamental', + 'Horisontal', + 'Implementeret', + 'Innovativ', + 'Integreret', + 'Intuitiv', + 'Klonet', + 'Kompatibel', + 'Konfigurerbar', + 'Kundefokuseret', + 'Kvalitetsfokuseret', + 'Multi-kanal', + 'Multilateral', + 'Nedskaleret', + 'Netværket', + 'Objektbaseret', + 'Obligatorisk', + 'Open-source', + 'Operativ', + 'Opgraderbar', + 'Opjusteret', + 'Optimeret', + 'Organiseret', + 'Organisk', + 'Overvåget', + 'Proaktiv', + 'Profitfokuseret', + 'Programmerbar', + 'Progressiv', + 'Re-kontekstualiseret', + 'Reaktiv', + 'Reduceret', + 'Robust', + 'Selvaktiverende', + 'Selvstændig', + 'Sikret', + 'Strømlinet', + 'Styret', + 'Synergetisk', + 'Synkroniseret', + 'Sømløs', + 'Teamorienteret', + 'Total', + 'Udskiftelig', + 'Udvidet', + 'Universal', + 'Valgfri', + 'Vedvarende', + 'Virksomhedsomspændende', + 'Virtuel', + 'Visionær', + 'Åben arkitektur', +]; diff --git a/src/locales/da/company/buzz_adjective.ts b/src/locales/da/company/buzz_adjective.ts new file mode 100644 index 00000000000..f1e2209c463 --- /dev/null +++ b/src/locales/da/company/buzz_adjective.ts @@ -0,0 +1,54 @@ +export default [ + '24/365', + '24/7', + 'allestedsnærværende', + 'B2B', + 'B2C', + 'back-end', + 'bedst-i-klassen', + 'brugercentrerede', + 'cutting-edge', + 'detaljerede', + 'distribuerede', + 'dynamiske', + 'effektfulde', + 'effektive', + 'en-til-en', + 'end-to-end', + 'enterprise', + 'fremtidsorienterede', + 'front-end', + 'førende', + 'globale', + 'gnidningsfri', + 'helhedsorienterede', + 'innovative', + 'integrerede', + 'interaktive', + 'intuitive', + 'krydsplatforme', + 'magnetiske', + 'mission-kritiske', + 'nøglefærdige', + 'open-source', + 'out-of-the-box', + 'plug-and-play', + 'proaktive', + 'real-time', + 'revolutionerende', + 'robuste', + 'samarbejdende', + 'skalerbare', + 'strategiske', + 'synergistiske', + 'sømløse', + 'tilpassede', + 'tiltrækkende', + 'transparente', + 'trådløse', + 'udvidelige', + 'vertikale', + 'virale', + 'virtuelle', + 'visionære', +]; diff --git a/src/locales/da/company/buzz_noun.ts b/src/locales/da/company/buzz_noun.ts new file mode 100644 index 00000000000..dc96f2fa316 --- /dev/null +++ b/src/locales/da/company/buzz_noun.ts @@ -0,0 +1,40 @@ +export default [ + 'applikationer', + 'arkitektur', + 'blockchains', + 'brugere', + 'båndbredde', + 'e-commerce', + 'e-markeder', + 'forsyningskæder', + 'funktionaliteter', + 'fællesskaber', + 'grænseflader', + 'handlingspunkter', + 'indhold', + 'infrastrukturer', + 'initiativer', + 'kanaler', + 'konvergens', + 'leverancer', + 'livstidsværdier', + 'løsninger', + 'markeder', + 'metodologier', + 'modeller', + 'målinger', + 'netværk', + 'nicher', + 'oplevelser', + 'paradigmer', + 'partnerskaber', + 'platforme', + 'portaler', + 'relationer', + 'ROI', + 'skemaer', + 'synergier', + 'systemer', + 'teknologier', + 'webtjenester', +]; diff --git a/src/locales/da/company/buzz_verb.ts b/src/locales/da/company/buzz_verb.ts new file mode 100644 index 00000000000..458f399db21 --- /dev/null +++ b/src/locales/da/company/buzz_verb.ts @@ -0,0 +1,53 @@ +export default [ + 'aggregerer', + 'aktiverer', + 'bemyndiger', + 'brander', + 'digitaliserer', + 'driver', + 'dyrker', + 'engagerer', + 'faciliterer', + 'forbedrer', + 'fremskynder', + 'frigiver', + 'genererer', + 'genformidler', + 'genopfinder', + 'gentager', + 'griber', + 'implementerer', + 'inkuberer', + 'innoverer', + 'integrerer', + 'konstruerer', + 'leverer', + 'maksimerer', + 'monetiserer', + 'motiverer', + 'målretter', + 'omdefinerer', + 'omfavner', + 'omformer', + 'optimerer', + 'orkestrerer', + 'overgår', + 'produktificerer', + 'rekontekstualiserer', + 'revolutionerer', + 'sammenligner', + 'sammenvæver', + 'skalerer', + 'strømliner', + 'syndikerer', + 'synergiserer', + 'syntetiserer', + 'transformerer', + 'udnytter', + 'udruller', + 'udvider', + 'udvikler', + 'visualiserer', + 'vækster', + 'ændrer', +]; diff --git a/src/locales/da/company/company_name.ts b/src/locales/da/company/company_name.ts new file mode 100644 index 00000000000..a0fdb09753d --- /dev/null +++ b/src/locales/da/company/company_name.ts @@ -0,0 +1,163 @@ +export default [ + 'Albertslund Aluminium', + 'Albertslund App', + 'Allerød Akustik', + 'Allerød Analyse', + 'Assens Apparater', + 'Assens Arkitektur', + 'Ballerup Beton', + 'Ballerup Bolig', + 'Baltic Biotek', + 'Billund Badehotel', + 'Billund Byg', + 'Birkerød Bageri', + 'Birkerød Biotek', + 'Borgen Byg', + 'Bornholm Biler', + 'Bornholm Bygninger', + 'Bornholm Bæredygtighed', + 'Brøndby Branding', + 'Brøndby Bøger', + 'Brønderslev Bryg', + 'Brønderslev Byggeri', + 'DaneBryg Bryggerier', + 'Danmark Digital', + 'Dansk SundhedsFusion', + 'Djursland Design', + 'Dragør Design', + 'Dragør Drift', + 'DynaDanmark Industri', + 'Egedal E-handel', + 'Egedal Elektronik', + 'Egedal Erhverv', + 'Esbjerg Elektronik', + 'Esbjerg Energi', + 'Falster Farmaceuter', + 'Fanø Fartøj', + 'Fanø Forsikring', + 'Favrskov Fjernsyn', + 'Favrskov Fritid', + 'Favrskov Fødevarer', + 'Faxe Farmaceuter', + 'Faxe Fjernkøling', + 'Fjerritslev Fjernvarme', + 'FjordBank Investering', + 'Fredensborg Frisør', + 'Fredensborg Fritid', + 'Fredericia Fragt', + 'Frederiksberg Finans', + 'Frederiksberg Forsyning', + 'Frederikshavn Frugt', + 'Frederikssund Fisk', + 'Frederikssund Forskning', + 'Furesø Fisk', + 'Fyn Fiskeri', + 'Fynske Fødevarer', + 'Faaborg-Midtfyn Film', + 'Gentofte Genbrug', + 'Gladsaxe Glas', + 'Glostrup Gaming', + 'Greve Grafik', + 'Greve Grønt', + 'Gribskov Græs', + 'GrønBølge Energi', + 'Grønland Gourmet', + 'Guldborgsund Gas', + 'Guldborgsund Guld', + 'GuldHornet Mode', + 'Haderslev Haver', + 'Haderslev Håndværk', + 'Halsnæs Halvleder', + 'Hedensted Handel', + 'Helsingør Hotel', + 'Herlev Hospital', + 'Herning Helbred', + 'Hilleroed Helikopter', + 'Himmerland Håndværk', + 'Hjørring Handel', + 'Hjørring Helse', + 'Hobro Hjem', + 'Holstebro Heste', + 'Hovedstad Helse', + 'Hvidovre Have', + 'HyggeHjem Interiør', + 'Høje-Taastrup Hotel', + 'Hørsholm Helse', + 'Ikast Innovation', + 'Ishøj IT', + 'Jammerbugt Jagt', + 'Kalundborg Kaffe', + 'Kerteminde Keramik', + 'Kolding Kultur', + 'KongeKabel Telekom', + 'KystTilKyst Turisme', + 'København TransportLøsninger', + 'Køge Korn', + 'Lejre Lys', + 'Lemvig Landbrug', + 'Lemvig Luft', + 'Lillebælt Logistik', + 'Lolland Landbrug', + 'Lyngby Lys', + 'Læsø Læder', + 'Mariagerfjord Mad', + 'Middelfart Maskiner', + 'Midtjylland Maskiner', + 'Mors Møbler', + 'Morsø Maling', + 'NaturLinjen Kosmetik', + 'Norddjurs Naturlig', + 'Nordfyn Næringsstoffer', + 'NordHavn Teknologier', + 'Nordisk NanoLab', + 'Nordlys Finans', + 'Nyborg Nytte', + 'Næstved Netværk', + 'Odder Olie', + 'Odense Online', + 'Odsherred Optik', + 'Randers Robotter', + 'Rebild Radio', + 'Ribe Robotteknologi', + 'Ringkøbing Rengøring', + 'Ringsted Renovering', + 'Roskilde Rejser', + 'Rødovre Reklame', + 'Samsø Salt', + 'Samsø Solenergi', + 'Scandia Software', + 'Silkeborg Sundhed', + 'Sjælland SkyTek', + 'Skagen Software', + 'Skive Skov', + 'SkovHaven Møbler', + 'Slagelse Software', + 'Stevns Sten', + 'Struer Stål', + 'SundBro Byggeri', + 'Svendborg Søfart', + 'Sydfyn Sko', + 'SynergiSport Udstyr', + 'Sønderborg Sol', + 'Thisted Tjenester', + 'Thy Teknik', + 'Trekroner Forsikring', + 'Tønder Tekstil', + 'Tårnby Tekstiler', + 'Taastrup Transport', + 'Valby VandTek', + 'Varde Varehandel', + 'Vejen Vand', + 'Vejle Visioner', + 'Vesterhav Vindkraft', + 'Viborg Video', + 'VikingNetværk', + 'Vordingborg Vind', + 'Øresund MarineTek', + 'ØstVind Innovation', + 'Aabenraa Anlæg', + 'Aabenraa Automater', + 'Aalborg Aqua', + 'Aarhus Automatik', + 'Århus Robotik', +]; diff --git a/src/locales/da/company/descriptor.ts b/src/locales/da/company/descriptor.ts new file mode 100644 index 00000000000..72d70a3ae72 --- /dev/null +++ b/src/locales/da/company/descriptor.ts @@ -0,0 +1,95 @@ +export default [ + '24 timer', + '24/7', + '3. generation', + '4. generation', + '5. generation', + '6. generation', + 'administrationsfri', + 'afbalanceret', + 'aktiverende', + 'analyserende', + 'asymmetrisk', + 'asynkron', + 'baggrund', + 'behovsbaseret', + 'bemyndigende', + 'brugervendt', + 'bundlinje', + 'båndbreddeovervåget', + 'client-server', + 'dedikeret', + 'didaktisk', + 'diskret', + 'dynamisk', + 'effektfuld', + 'efterspørgselsdrevet', + 'eksplicit', + 'ensartet', + 'fejltolerant', + 'forgrund', + 'frisktænkende', + 'fuldt dækkende', + 'førende', + 'gensidig', + 'global', + 'helhedsorienteret', + 'heuristisk', + 'holdningsorienteret', + 'homogen', + 'hybrid', + 'højniveau', + 'håndgribelig', + 'indholdsbaseret', + 'inkremental', + 'interaktiv', + 'klartænkende', + 'klientdrevet', + 'kontekstbaseret', + 'kontekstfølsom', + 'ledelsesmæssig', + 'logistisk', + 'lokal', + 'løsningsorienteret', + 'maksimeret', + 'mellemstation', + 'metodisk', + 'middleware', + 'missionskritisk', + 'mobil', + 'modulær', + 'motiverende', + 'multimedie', + 'multitasking', + 'national', + 'neutral', + 'objektorienteret', + 'omfavnende', + 'optimal', + 'optimerende', + 'overgang', + 'radikal', + 'realtid', + 'receptiv', + 'regional', + 'retningsbestemt', + 'sammenhængende', + 'sammenkoblet', + 'sammensat', + 'sekundær', + 'skalerbar', + 'stabil', + 'statisk', + 'systematisk', + 'systemisk', + 'systemværdig', + 'tertiær', + 'tovejs', + 'udstrålende', + 'uforanderlig', + 'velmoduleret', + 'vækstende', + 'værditilføjet', + 'webunderstøttet', + 'øko-centrisk', +]; diff --git a/src/locales/da/company/index.ts b/src/locales/da/company/index.ts new file mode 100644 index 00000000000..5143349e966 --- /dev/null +++ b/src/locales/da/company/index.ts @@ -0,0 +1,28 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { CompanyDefinition } from '../../..'; +import adjective from './adjective'; +import buzz_adjective from './buzz_adjective'; +import buzz_noun from './buzz_noun'; +import buzz_verb from './buzz_verb'; +import company_name from './company_name'; +import descriptor from './descriptor'; +import name_pattern from './name_pattern'; +import noun from './noun'; +import suffix from './suffix'; + +const company: CompanyDefinition = { + adjective, + buzz_adjective, + buzz_noun, + buzz_verb, + company_name, + descriptor, + name_pattern, + noun, + suffix, +}; + +export default company; diff --git a/src/locales/da/company/name_pattern.ts b/src/locales/da/company/name_pattern.ts new file mode 100644 index 00000000000..0abeedf2ef6 --- /dev/null +++ b/src/locales/da/company/name_pattern.ts @@ -0,0 +1,4 @@ +export default [ + '{{company.company_name}}', + '{{person.last_name}} {{commerce.department}} {{company.suffix}}', +]; diff --git a/src/locales/da/company/noun.ts b/src/locales/da/company/noun.ts new file mode 100644 index 00000000000..5437e64053c --- /dev/null +++ b/src/locales/da/company/noun.ts @@ -0,0 +1,96 @@ +export default [ + 'adapter', + 'adgang', + 'algoritme', + 'alliance', + 'analysator', + 'applikation', + 'arkitektur', + 'arkiv', + 'benchmark', + 'budgetstyring', + 'data-lager', + 'database', + 'definition', + 'ekstranet', + 'emulering', + 'evne', + 'firmware', + 'fleksibilitet', + 'fokusgruppe', + 'framework', + 'funktion', + 'gennemstrømning', + 'grafisk brugergrænseflade', + 'groupware', + 'grænseflade', + 'hardware', + 'helpdesk', + 'hierarki', + 'hub', + 'implementering', + 'infrastruktur', + 'initiativ', + 'installation', + 'instruktionssæt', + 'internetløsning', + 'intranet', + 'kapacitet', + 'kerne', + 'kodning', + 'kompleksitet', + 'koncept', + 'konglomerat', + 'kontingens', + 'kredsløb', + 'kryptering', + 'kundeloyalitet', + 'kunstig intelligens', + 'lokalt netværk', + 'løsning', + 'matrix', + 'metodologi', + 'middleware', + 'migration', + 'model', + 'moderator', + 'moratorium', + 'neural-netværk', + 'orkestrering', + 'overvågning', + 'paradigme', + 'parallelitet', + 'politik', + 'portal', + 'prisstruktur', + 'procesforbedring', + 'produkt', + 'produktivitet', + 'prognose', + 'projekt', + 'projektion', + 'protokol', + 'samarbejde', + 'service-desk', + 'sikker linje', + 'software', + 'standardisering', + 'strategi', + 'struktur', + 'succes', + 'superstruktur', + 'support', + 'synergi', + 'systemmotor', + 'task-force', + 'tidsramme', + 'tilgang', + 'udfordring', + 'udnyttelse', + 'vidensbase', + 'vidensbruger', + 'værktøjssæt', + 'websted', + 'åben arkitektur', + 'åbent system', +]; diff --git a/src/locales/da/company/suffix.ts b/src/locales/da/company/suffix.ts new file mode 100644 index 00000000000..ede1fafcd7c --- /dev/null +++ b/src/locales/da/company/suffix.ts @@ -0,0 +1 @@ +export default ['ApS', 'A/S']; diff --git a/src/locales/da/index.ts b/src/locales/da/index.ts index ec4e17bc802..ead82b01dcd 100644 --- a/src/locales/da/index.ts +++ b/src/locales/da/index.ts @@ -3,14 +3,20 @@ * Run 'pnpm run generate:locales' to update. */ import type { LocaleDefinition } from '../..'; +import commerce from './commerce'; +import company from './company'; import location from './location'; import metadata from './metadata'; import person from './person'; +import word from './word'; const da: LocaleDefinition = { + commerce, + company, location, metadata, person, + word, }; export default da; diff --git a/src/locales/da/word/adjective.ts b/src/locales/da/word/adjective.ts new file mode 100644 index 00000000000..a2e966c530f --- /dev/null +++ b/src/locales/da/word/adjective.ts @@ -0,0 +1,159 @@ +export default [ + 'aktiv', + 'akut', + 'alvorlig', + 'anderledes', + 'ansvarlig', + 'automatisk', + 'bekymret', + 'beslutsom', + 'betagende', + 'betydelig', + 'bevidst', + 'billig', + 'blød', + 'bred', + 'charmerende', + 'dynamisk', + 'dyr', + 'dårlig', + 'effektiv', + 'elegant', + 'energisk', + 'enestående', + 'enkel', + 'entusiastisk', + 'fantastisk', + 'farlig', + 'farverig', + 'fattig', + 'fleksibel', + 'flittig', + 'flydende', + 'forbløffende', + 'fordelagtig', + 'forfærdelig', + 'fornuftig', + 'forstående', + 'fremragende', + 'frisk', + 'frodig', + 'frugtbar', + 'fuldstændig', + 'følsom', + 'førsteklasses', + 'glad', + 'glamourøs', + 'grundig', + 'grusom', + 'gæv', + 'gådefuld', + 'hastig', + 'hensynsfuld', + 'hjertelig', + 'hurtig', + 'hård', + 'imponerende', + 'intelligent', + 'intens', + 'interessant', + 'ivrig', + 'kendt', + 'klog', + 'kold', + 'komfortabel', + 'kompleks', + 'konkurrencedygtig', + 'kraftfuld', + 'kreativ', + 'krydret', + 'kærlig', + 'larmende', + 'lav', + 'ledig', + 'let', + 'loyal', + 'lun', + 'lækker', + 'mager', + 'magtfuld', + 'meget', + 'mild', + 'modig', + 'mærkelig', + 'møjsommelig', + 'naturtro', + 'nyttig', + 'nødvendig', + 'nøjagtig', + 'omhyggelig', + 'omtænksom', + 'original', + 'overraskende', + 'parat', + 'positiv', + 'praktisk', + 'præcis', + 'rask', + 'rimelig', + 'rolig', + 'rund', + 'rå', + 'sammenhængende', + 'selvsikker', + 'sikker', + 'simpel', + 'sjov', + 'skarp', + 'skræmmende', + 'skøn', + 'slank', + 'smagfuld', + 'smuk', + 'snedig', + 'solid', + 'spændende', + 'stille', + 'stolt', + 'strålende', + 'stærk', + 'sund', + 'svag', + 'sød', + 'tapper', + 'tilfreds', + 'tilgængelig', + 'trofast', + 'trænet', + 'tydelig', + 'tålmodig', + 'uafhængig', + 'ubegrænset', + 'ubekymret', + 'uenig', + 'uformel', + 'uhindret', + 'uhøflig', + 'ulige', + 'ulykkelig', + 'umiddelbar', + 'umulig', + 'unik', + 'unnaturlig', + 'usædvanlig', + 'utrolig', + 'utålmodig', + 'varm', + 'venlig', + 'vigtig', + 'vild', + 'virkelig', + 'vis', + 'vittig', + 'ægte', + 'ærgerlig', + 'øm', + 'ønskelig', + 'åben', + 'åbenhjertig', +]; diff --git a/src/locales/da/word/adverb.ts b/src/locales/da/word/adverb.ts new file mode 100644 index 00000000000..7af3de05d58 --- /dev/null +++ b/src/locales/da/word/adverb.ts @@ -0,0 +1,43 @@ +export default [ + 'aldrig', + 'allerede', + 'altid', + 'andensteds', + 'baglæns', + 'bestemt', + 'derefter', + 'endelig', + 'forbi', + 'forgæves', + 'først', + 'hastigt', + 'heldigvis', + 'her', + 'igen', + 'imidlertid', + 'imorgen', + 'indimellem', + 'jo', + 'kun', + 'lige', + 'meget', + 'måske', + 'næppe', + 'næsten', + 'ofte', + 'også', + 'omhyggeligt', + 'overalt', + 'pludselig', + 'sammen', + 'sandsynligvis', + 'selvfølgelig', + 'snart', + 'stadig', + 'straks', + 'tit', + 'udenfor', + 'undervejs', + 'uskadt', + 'vanligvis', +]; diff --git a/src/locales/da/word/conjunction.ts b/src/locales/da/word/conjunction.ts new file mode 100644 index 00000000000..9f6e7c6aafe --- /dev/null +++ b/src/locales/da/word/conjunction.ts @@ -0,0 +1,36 @@ +export default [ + 'altså', + 'at', + 'da', + 'der', + 'dog', + 'efter', + 'efterhånden', + 'eller', + 'end', + 'enten', + 'for', + 'fordi', + 'før', + 'hvad', + 'hvem', + 'hvis', + 'hvor', + 'hvordan', + 'hvorfor', + 'hvorvidt', + 'idet', + 'imens', + 'indtil', + 'ligesom', + 'men', + 'mens', + 'når', + 'og', + 'om', + 'selvom', + 'siden', + 'skønt', + 'som', + 'så', +]; diff --git a/src/locales/da/word/index.ts b/src/locales/da/word/index.ts new file mode 100644 index 00000000000..3aa438b70ce --- /dev/null +++ b/src/locales/da/word/index.ts @@ -0,0 +1,24 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { WordDefinition } from '../../..'; +import adjective from './adjective'; +import adverb from './adverb'; +import conjunction from './conjunction'; +import interjection from './interjection'; +import noun from './noun'; +import preposition from './preposition'; +import verb from './verb'; + +const word: WordDefinition = { + adjective, + adverb, + conjunction, + interjection, + noun, + preposition, + verb, +}; + +export default word; diff --git a/src/locales/da/word/interjection.ts b/src/locales/da/word/interjection.ts new file mode 100644 index 00000000000..82391bae5da --- /dev/null +++ b/src/locales/da/word/interjection.ts @@ -0,0 +1,20 @@ +export default [ + 'ah', + 'av', + 'haha', + 'hallo', + 'hej', + 'hov', + 'hurra', + 'ih', + 'ja', + 'nej', + 'oh', + 'pyha', + 'tja', + 'uf', + 'uh', + 'wow', + 'æv', + 'øv', +]; diff --git a/src/locales/da/word/noun.ts b/src/locales/da/word/noun.ts new file mode 100644 index 00000000000..28bccc6baf9 --- /dev/null +++ b/src/locales/da/word/noun.ts @@ -0,0 +1,218 @@ +export default [ + 'afsnit', + 'afstand', + 'aften', + 'alderdom', + 'antal', + 'arbejde', + 'artikel', + 'avis', + 'bad', + 'balkon', + 'bank', + 'bar', + 'barn', + 'beslutning', + 'betydning', + 'bibliotek', + 'bil', + 'billede', + 'billet', + 'bjerg', + 'blomst', + 'blyant', + 'bog', + 'bord', + 'bredde', + 'brev', + 'bro', + 'bund', + 'butik', + 'by', + 'bygning', + 'børnehave', + 'cafe', + 'center', + 'chance', + 'computer', + 'cykel', + 'dag', + 'dal', + 'del', + 'dybde', + 'dør', + 'effekt', + 'efterår', + 'elevator', + 'erhverv', + 'farve', + 'fase', + 'ferie', + 'fest', + 'film', + 'fisk', + 'fjernsyn', + 'flade', + 'flod', + 'folk', + 'forår', + 'fugl', + 'funktion', + 'fødsel', + 'gade', + 'galakse', + 'grund', + 'gruppe', + 'gulv', + 'hav', + 'have', + 'havn', + 'historie', + 'hjørne', + 'hospital', + 'hotel', + 'hund', + 'hus', + 'højde', + 'indhold', + 'institution', + 'job', + 'kant', + 'kapitel', + 'karriere', + 'kat', + 'kategori', + 'kilde', + 'kirke', + 'klasse', + 'klima', + 'klub', + 'konsekvens', + 'konto', + 'kort', + 'kredit', + 'kulde', + 'kultur', + 'kunst', + 'kælder', + 'køkken', + 'land', + 'lejlighed', + 'linje', + 'liv', + 'lufthavn', + 'lyn', + 'længde', + 'løsning', + 'lån', + 'magasin', + 'maleri', + 'metode', + 'middag', + 'miljø', + 'minut', + 'morgen', + 'moske', + 'mulighed', + 'museum', + 'musik', + 'myndighed', + 'mængde', + 'mønt', + 'mål', + 'måne', + 'måned', + 'nat', + 'nation', + 'natur', + 'ord', + 'organisation', + 'papir', + 'park', + 'pen', + 'penge', + 'planet', + 'pris', + 'problem', + 'proces', + 'profession', + 'punkt', + 'radio', + 'regering', + 'regn', + 'restaurant', + 'resultat', + 'retning', + 'risiko', + 'rolle', + 'rum', + 'samfund', + 'scene', + 'seddel', + 'sekund', + 'selskab', + 'serie', + 'side', + 'skole', + 'skov', + 'skulptur', + 'sky', + 'sne', + 'sol', + 'sommer', + 'soveværelse', + 'spil', + 'spørgsmål', + 'stat', + 'station', + 'stjerne', + 'stol', + 'storm', + 'strand', + 'stue', + 'størrelse', + 'supermarked', + 'svar', + 'synagoge', + 'system', + 'sætning', + 'sø', + 'tag', + 'teater', + 'tegning', + 'tempel', + 'temperatur', + 'terrasse', + 'tid', + 'time', + 'top', + 'torden', + 'tradition', + 'trappe', + 'trin', + 'træ', + 'tunnel', + 'type', + 'udstilling', + 'uge', + 'ungdom', + 'univers', + 'universitet', + 'valg', + 'varme', + 'vej', + 'vejr', + 'video', + 'vind', + 'vindue', + 'vinter', + 'virksomhed', + 'voksen', + 'væg', + 'vægt', + 'værdi', + 'ø', + 'år', + 'årsag', + 'årstid', +]; diff --git a/src/locales/da/word/preposition.ts b/src/locales/da/word/preposition.ts new file mode 100644 index 00000000000..ad20f8a3b44 --- /dev/null +++ b/src/locales/da/word/preposition.ts @@ -0,0 +1,27 @@ +export default [ + 'ad', + 'af', + 'bag', + 'efter', + 'for', + 'fra', + 'før', + 'gennem', + 'henover', + 'hos', + 'i', + 'imod', + 'langs', + 'med', + 'mellem', + 'mod', + 'om', + 'omkring', + 'over', + 'på', + 'til', + 'tværs', + 'uden', + 'under', + 'ved', +]; diff --git a/src/locales/da/word/verb.ts b/src/locales/da/word/verb.ts new file mode 100644 index 00000000000..329ec94cecf --- /dev/null +++ b/src/locales/da/word/verb.ts @@ -0,0 +1,112 @@ +export default [ + 'absorbere', + 'acceptere', + 'anbefale', + 'anerkende', + 'anmelde', + 'anmode', + 'anvende', + 'arbejde', + 'besøge', + 'betale', + 'bo', + 'bruge', + 'brænde', + 'bygge', + 'bære', + 'bøje', + 'cykle', + 'danne', + 'danse', + 'deltage', + 'diskutere', + 'drikke', + 'drive', + 'drømme', + 'dykke', + 'elske', + 'estimere', + 'etablere', + 'falde', + 'fange', + 'finde', + 'fjerne', + 'forstå', + 'forsøge', + 'føle', + 'få', + 'gemme', + 'gide', + 'give', + 'gnide', + 'gøgle', + 'gøre', + 'gå', + 'have', + 'hjælpe', + 'holde', + 'høre', + 'kalde', + 'knipse', + 'koge', + 'komme', + 'kunne', + 'købe', + 'lave', + 'leve', + 'lytte', + 'lære', + 'læse', + 'løbe', + 'løfte', + 'male', + 'mene', + 'miste', + 'motivere', + 'møde', + 'måle', + 'nive', + 'nyde', + 'nægte', + 'nævne', + 'pege', + 'pjække', + 'plante', + 'plukke', + 'prøve', + 'pynte', + 'rejse', + 'ringe', + 'rive', + 'se', + 'sige', + 'skrive', + 'sove', + 'spille', + 'spise', + 'spørge', + 'starte', + 'svømme', + 'synes', + 'synge', + 'sætte', + 'søge', + 'tage', + 'tale', + 'tjene', + 'træne', + 'tænke', + 'udforske', + 'udføre', + 'udgive', + 'udleje', + 'undervise', + 'vandre', + 'vide', + 'ville', + 'vise', + 'vokse', + 'vælge', + 'være', + 'ønske', +]; diff --git a/src/locales/en/finance/credit_card/index.ts b/src/locales/en/finance/credit_card/index.ts index 653195c7f8d..47f674c703c 100644 --- a/src/locales/en/finance/credit_card/index.ts +++ b/src/locales/en/finance/credit_card/index.ts @@ -6,26 +6,18 @@ import type { FinanceDefinition } from '../../../..'; import american_express from './american_express'; import diners_club from './diners_club'; import discover from './discover'; -import instapayment from './instapayment'; import jcb from './jcb'; -import laser from './laser'; import maestro from './maestro'; import mastercard from './mastercard'; -import solo from './solo'; -import switch_ from './switch'; import visa from './visa'; const credit_card: FinanceDefinition['credit_card'] = { american_express, diners_club, discover, - instapayment, jcb, - laser, maestro, mastercard, - solo, - switch: switch_, visa, }; diff --git a/src/locales/en/finance/credit_card/instapayment.ts b/src/locales/en/finance/credit_card/instapayment.ts deleted file mode 100644 index f1b68517800..00000000000 --- a/src/locales/en/finance/credit_card/instapayment.ts +++ /dev/null @@ -1 +0,0 @@ -export default ['63[7-9]#-####-####-###L']; diff --git a/src/locales/en/finance/credit_card/laser.ts b/src/locales/en/finance/credit_card/laser.ts deleted file mode 100644 index 9c1eb2575d4..00000000000 --- a/src/locales/en/finance/credit_card/laser.ts +++ /dev/null @@ -1,10 +0,0 @@ -export default [ - '6304###########L', - '6706###########L', - '6771###########L', - '6709###########L', - '6304#########{5,6}L', - '6706#########{5,6}L', - '6771#########{5,6}L', - '6709#########{5,6}L', -]; diff --git a/src/locales/en/finance/credit_card/solo.ts b/src/locales/en/finance/credit_card/solo.ts deleted file mode 100644 index 8114d66b8b7..00000000000 --- a/src/locales/en/finance/credit_card/solo.ts +++ /dev/null @@ -1,5 +0,0 @@ -export default [ - '6767-####-####-###L', - '6767-####-####-####-#L', - '6767-####-####-####-##L', -]; diff --git a/src/locales/en/finance/credit_card/switch.ts b/src/locales/en/finance/credit_card/switch.ts deleted file mode 100644 index 3c4b0962cb6..00000000000 --- a/src/locales/en/finance/credit_card/switch.ts +++ /dev/null @@ -1,5 +0,0 @@ -export default [ - '6759-####-####-###L', - '6759-####-####-####-#L', - '6759-####-####-####-##L', -]; diff --git a/src/locales/en/location/county.ts b/src/locales/en/location/county.ts index ed4d7ba0c7a..de496db1c32 100644 --- a/src/locales/en/location/county.ts +++ b/src/locales/en/location/county.ts @@ -1,8 +1,110 @@ +// This is a combination of sample en_US and en_GB county names +// https://github.com/faker-js/faker/pull/2238#issuecomment-1682737025 export default [ + 'Adams County', + 'Calhoun County', + 'Carroll County', + 'Clark County', + 'Clay County', + 'Crawford County', + 'Douglas County', + 'Fayette County', + 'Franklin County', + 'Grant County', + 'Greene County', + 'Hamilton County', + 'Hancock County', + 'Henry County', + 'Jackson County', + 'Jefferson County', + 'Johnson County', + 'Lake County', + 'Lawrence County', + 'Lee County', + 'Lincoln County', + 'Logan County', + 'Madison County', + 'Marion County', + 'Marshall County', + 'Monroe County', + 'Montgomery County', + 'Morgan County', + 'Perry County', + 'Pike County', + 'Polk County', + 'Scott County', + 'Union County', + 'Warren County', + 'Washington County', + 'Wayne County', 'Avon', 'Bedfordshire', 'Berkshire', 'Borders', 'Buckinghamshire', 'Cambridgeshire', + 'Central', + 'Cheshire', + 'Cleveland', + 'Clwyd', + 'Cornwall', + 'County Antrim', + 'County Armagh', + 'County Down', + 'County Fermanagh', + 'County Londonderry', + 'County Tyrone', + 'Cumbria', + 'Derbyshire', + 'Devon', + 'Dorset', + 'Dumfries and Galloway', + 'Durham', + 'Dyfed', + 'East Sussex', + 'Essex', + 'Fife', + 'Gloucestershire', + 'Grampian', + 'Greater Manchester', + 'Gwent', + 'Gwynedd County', + 'Hampshire', + 'Herefordshire', + 'Hertfordshire', + 'Highlands and Islands', + 'Humberside', + 'Isle of Wight', + 'Kent', + 'Lancashire', + 'Leicestershire', + 'Lincolnshire', + 'Lothian', + 'Merseyside', + 'Mid Glamorgan', + 'Norfolk', + 'North Yorkshire', + 'Northamptonshire', + 'Northumberland', + 'Nottinghamshire', + 'Oxfordshire', + 'Powys', + 'Rutland', + 'Shropshire', + 'Somerset', + 'South Glamorgan', + 'South Yorkshire', + 'Staffordshire', + 'Strathclyde', + 'Suffolk', + 'Surrey', + 'Tayside', + 'Tyne and Wear', + 'Warwickshire', + 'West Glamorgan', + 'West Midlands', + 'West Sussex', + 'West Yorkshire', + 'Wiltshire', + 'Worcestershire', ]; diff --git a/src/locales/hr/location/county.ts b/src/locales/hr/location/county.ts new file mode 100644 index 00000000000..6872cff72b2 --- /dev/null +++ b/src/locales/hr/location/county.ts @@ -0,0 +1,3 @@ +// Since first-level administrative regions of Croatia are called "counties" we return them both from the state() and county() methods +import state from './state'; +export default state; diff --git a/src/locales/hr/location/index.ts b/src/locales/hr/location/index.ts index fcdecf805c7..ebf8d61e51d 100644 --- a/src/locales/hr/location/index.ts +++ b/src/locales/hr/location/index.ts @@ -7,9 +7,11 @@ import building_number from './building_number'; import city_name from './city_name'; import city_pattern from './city_pattern'; import country from './country'; +import county from './county'; import default_country from './default_country'; import postcode from './postcode'; import secondary_address from './secondary_address'; +import state from './state'; import street_address from './street_address'; import street_name from './street_name'; import street_pattern from './street_pattern'; @@ -19,9 +21,11 @@ const location: LocationDefinition = { city_name, city_pattern, country, + county, default_country, postcode, secondary_address, + state, street_address, street_name, street_pattern, diff --git a/src/locales/hr/location/state.ts b/src/locales/hr/location/state.ts new file mode 100644 index 00000000000..f82dbc94988 --- /dev/null +++ b/src/locales/hr/location/state.ts @@ -0,0 +1,23 @@ +export default [ + 'Bjelovarsko-bilogorska', + 'Brodsko-posavska', + 'Dubrovačko-neretvanska', + 'Grad Zagreb', + 'Istarska', + 'Karlovačka', + 'Koprivničko-križevačka', + 'Krapinsko-zagorska', + 'Ličko-senjska', + 'Međimurska', + 'Osječko-baranjska', + 'Požeško-slavonska', + 'Primorsko-goranska', + 'Sisačko-moslavačka', + 'Splitsko-dalmatinska', + 'Šibensko-kninska', + 'Varaždinska', + 'Virovitičko-podravska', + 'Vukovarsko-srijemska', + 'Zadarska', + 'Zagrebačka', +]; diff --git a/src/locales/index.ts b/src/locales/index.ts index b30ff124c18..04109822e84 100644 --- a/src/locales/index.ts +++ b/src/locales/index.ts @@ -66,6 +66,7 @@ export { default as tr } from './tr'; export { default as uk } from './uk'; export { default as ur } from './ur'; export { default as vi } from './vi'; +export { default as yo_NG } from './yo_NG'; export { default as zh_CN } from './zh_CN'; export { default as zh_TW } from './zh_TW'; export { default as zu_ZA } from './zu_ZA'; diff --git a/src/locales/yo_NG/index.ts b/src/locales/yo_NG/index.ts new file mode 100644 index 00000000000..967e785c2fd --- /dev/null +++ b/src/locales/yo_NG/index.ts @@ -0,0 +1,14 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { LocaleDefinition } from '../..'; +import metadata from './metadata'; +import person from './person'; + +const yo_NG: LocaleDefinition = { + metadata, + person, +}; + +export default yo_NG; diff --git a/src/locales/yo_NG/metadata.ts b/src/locales/yo_NG/metadata.ts new file mode 100644 index 00000000000..fbd465f44da --- /dev/null +++ b/src/locales/yo_NG/metadata.ts @@ -0,0 +1,13 @@ +import type { PreBuiltMetadataDefinitionForCountry } from '../../definitions/metadata'; + +const metadata: PreBuiltMetadataDefinitionForCountry = { + title: 'Yoruba (Nigeria)', + code: 'yo_NG', + country: 'NG', + language: 'yo', + endonym: 'Yoruba (Naijiria)', + dir: 'ltr', + script: 'Latn', +}; + +export default metadata; diff --git a/src/locales/yo_NG/person/female_first_name.ts b/src/locales/yo_NG/person/female_first_name.ts new file mode 100644 index 00000000000..fd9eb08c2a0 --- /dev/null +++ b/src/locales/yo_NG/person/female_first_name.ts @@ -0,0 +1,86 @@ +export default [ + 'Aanuoluwapo', + 'Abebi', + 'Abeni', + 'Abosede', + 'Adebukola', + 'Adenike', + 'Adepeju', + 'Adesewa', + 'Adesua', + 'Adetoke', + 'Adetoun', + 'Adunni', + 'Ajoke', + 'Amoke', + 'Amope', + 'Arike', + 'Arinola', + 'Asake', + 'Atinuke', + 'Awero', + 'Ayinke', + 'Ayoka', + 'Bolatito', + 'Boluwatife', + 'Bunmi', + 'Doyinsola', + 'Eniola', + 'Ewatomi', + 'Fadekemi', + 'Faderera', + 'Fehintola', + 'Fibikemi', + 'Fikayomi', + 'Folashade', + 'Ibironke', + 'Iretioluwa', + 'Iyabode', + 'Iyadunni', + 'Kikelomo', + 'Modupe', + 'Mofifoluwa', + 'Mojisola', + 'Mojisoluwa', + 'Moradeke', + 'Morayo', + 'Morenike', + 'Morolake', + 'Mosinmileoluwa', + 'Mosunmola', + 'Motunrayo', + 'Moyosore', + 'Ninioluwa', + 'Olajumoke', + 'Olasunmbo', + 'Ololade', + 'Olufunke', + 'Olufunmilayo', + 'Oluwakemi', + 'Omobolanle', + 'Omodunni', + 'Omolabake', + 'Omolara', + 'Omosalewa', + 'Omotara', + 'Omotola', + 'Omotoun', + 'Omowumi', + 'Oreofe', + 'Oyenike', + 'Oyindasola', + 'Radeke', + 'Ronke', + 'Segilola', + 'Similoluwa', + 'Simisola', + 'Sowande', + 'Subomi', + 'Titilayo', + 'Tolulope', + 'Toluwanimi', + 'Wuraola', + 'Yejide', + 'Yetunde', + 'Yewande', +]; diff --git a/src/locales/yo_NG/person/first_name.ts b/src/locales/yo_NG/person/first_name.ts new file mode 100644 index 00000000000..ad582205665 --- /dev/null +++ b/src/locales/yo_NG/person/first_name.ts @@ -0,0 +1,63 @@ +export default [ + 'Abimbola', + 'Abiola', + 'Ade', + 'Adebankole', + 'Adebola', + 'Adedaramola', + 'Adedoyin', + 'Adeola', + 'Alaba', + 'Ara', + 'Ayomide', + 'Ayomikun', + 'Ayotude', + 'Busayo', + 'Damilola', + 'Damola', + 'Darasimi', + 'Ebunoluwa', + 'FolaFoluwa', + 'Ibukunoluwa', + 'Idowu', + 'Ifeoluwa', + 'Imoleoluwa', + 'Iremide', + 'Itunuoluwa', + 'Iyanuoluwa', + 'Iyinoluwa', + 'Kehinde', + 'Mobolaji', + 'Odunayo', + 'Okiki', + 'Ola', + 'Oladara', + 'Olamide', + 'Olaoluwa', + 'Olatunbosun', + 'Olayinka', + 'Olufeyisayo', + 'Olusola', + 'Olutomiwa', + 'Oluwasemilore', + 'Oluwaseun', + 'Oluwaseyi', + 'Oluwatimilehin', + 'Oluwatobiloba', + 'Oluwatofunmi', + 'Oluwatosin', + 'Oluwatoyosi', + 'Oluwatumise', + 'Omolola', + 'Omotolani', + 'Opemipo', + 'Opeoluwa', + 'Opeyemi', + 'Oyindamola', + 'Pelumi', + 'Shola', + 'Taiwo', + 'Tejumola', + 'Temitope', + 'Toluwalope', +]; diff --git a/src/locales/yo_NG/person/index.ts b/src/locales/yo_NG/person/index.ts new file mode 100644 index 00000000000..cd8f015509c --- /dev/null +++ b/src/locales/yo_NG/person/index.ts @@ -0,0 +1,20 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { PersonDefinition } from '../../..'; +import female_first_name from './female_first_name'; +import first_name from './first_name'; +import last_name from './last_name'; +import last_name_pattern from './last_name_pattern'; +import male_first_name from './male_first_name'; + +const person: PersonDefinition = { + female_first_name, + first_name, + last_name, + last_name_pattern, + male_first_name, +}; + +export default person; diff --git a/src/locales/yo_NG/person/last_name.ts b/src/locales/yo_NG/person/last_name.ts new file mode 100644 index 00000000000..2aefcdcf6bb --- /dev/null +++ b/src/locales/yo_NG/person/last_name.ts @@ -0,0 +1,100 @@ +export default [ + 'Adebisi', + 'Adegbite', + 'Adegoke', + 'Adekunle', + 'Adelakun', + 'Adeleke', + 'Adelusi', + 'Ademiluyi', + 'Aderibigbe', + 'Aderogba', + 'Adesiyan', + 'Adeyemo', + 'Adisa', + 'Afolabi', + 'Afolayan', + 'Afonja', + 'Ajao', + 'Ajayi', + 'Ajewole', + 'Akinrinola', + 'Alabi', + 'Aloba', + 'Awodiran', + 'Awolowo', + 'Ayandokun', + 'Ayoola', + 'Babtunde', + 'Bakare', + 'Balogun', + 'Bamidele', + 'Bamiloye', + 'Edun', + 'Fadipe', + 'Fagunwa', + 'Fajimi', + 'Falabi', + 'Faleti', + 'Faloye', + 'Fasasi', + 'Ibikunle', + 'Ilori', + 'Ilupeju', + 'Iyanda', + 'Jaiyeola', + 'Kolade', + 'Kosoko', + 'Koya', + 'Makinde', + 'Makinwa', + 'Morawo', + 'Ninalowo', + 'Odetola', + 'Odunsi', + 'Ogindan', + 'Oginni', + 'Ogulana', + 'Ogunbamigbe', + 'Ogunbiyi', + 'Ogunbo', + 'Ogunde', + 'Ogunwobi', + 'Ogunyeye', + 'Ojo', + 'Ojua', + 'Olabode', + 'Oladipupo', + 'Olaiya', + 'Olasupo', + 'Olowokeere', + 'Oloyede', + 'Olubode', + 'Olugbayila', + 'Olujimi', + 'Olukotun', + 'Olukunga', + 'Olusanya', + 'Oluwagbemi', + 'Omidina', + 'Omojola', + 'Omotoso', + 'Oparinde', + 'Oshin', + 'Osuntokun', + 'Owokoniran', + 'Owolabi', + 'Owoyemi', + 'Oyadiran', + 'Oyaifo', + 'Oyeniyi', + 'Oyetoro', + 'Oyeyemi', + 'Oyinlola', + 'Paimo', + 'Salako', + 'Salami', + 'Shekoni', + 'Sobowale', + 'Soyinka', +]; diff --git a/src/locales/yo_NG/person/last_name_pattern.ts b/src/locales/yo_NG/person/last_name_pattern.ts new file mode 100644 index 00000000000..c66a770f4e3 --- /dev/null +++ b/src/locales/yo_NG/person/last_name_pattern.ts @@ -0,0 +1 @@ +export default [{ value: '{{person.last_name}}', weight: 1 }]; diff --git a/src/locales/yo_NG/person/male_first_name.ts b/src/locales/yo_NG/person/male_first_name.ts new file mode 100644 index 00000000000..ec1e059e06e --- /dev/null +++ b/src/locales/yo_NG/person/male_first_name.ts @@ -0,0 +1,88 @@ +export default [ + 'Abayomi', + 'Abiodun', + 'Abiona', + 'Adebiyi', + 'Adebowale', + 'Adedayo', + 'Adedeji', + 'Adekitan', + 'Adekola', + 'Adekunle', + 'Adeleke', + 'Adeniyi', + 'Adeolu', + 'Adeoti', + 'Aderopo', + 'Adeshina', + 'Adesoji', + 'Adetayo', + 'Adeyi', + 'Adigun', + 'Afolarin', + 'Ajala', + 'Ajani', + 'Akanmu', + 'Akinkunmi', + 'Akinlabi', + 'Akinwale', + 'Alade', + 'Alamu', + 'Anjolaoluwa', + 'Ayinde', + 'Ayodeji', + 'Ayodele', + 'Babasola', + 'Babatunji', + 'Babawale', + 'Damife', + 'Demilade', + 'Durodola', + 'Ekundayo', + 'Esupofo', + 'Folu', + 'Gbadebo', + 'Gbolahan', + 'Gbowoade', + 'Ibidapo', + 'Ige', + 'Ikeoluwa', + 'Inioluwa', + 'Iseoluwa', + 'Ishola', + 'Juwon', + 'Keji', + 'Kolawole', + 'Korede', + 'Leke', + 'Lere', + 'Niyilolawa', + 'Oba', + 'ObaniJesu', + 'Ogooluwa', + 'Oke', + 'Oladare', + 'Oladimeji', + 'Olakunle', + 'Olanrewaju', + 'Olansile', + 'Olumorotimi', + 'Oluwafemi', + 'Oluwagbemiga', + 'Oluwamumibori', + 'Oluwamuyiwa', + 'Oluwasanmi', + 'Oluwasegun', + 'Oluwole', + 'Omobobola', + 'Omotayo', + 'Osunleke', + 'Seye', + 'Shekoni', + 'Sijuade', + 'Tade', + 'Temidayo', + 'Toki', + 'Tokunbo', + 'Tomori', +]; diff --git a/src/locales/zh_CN/animal/bear.ts b/src/locales/zh_CN/animal/bear.ts new file mode 100644 index 00000000000..f79ac50a58a --- /dev/null +++ b/src/locales/zh_CN/animal/bear.ts @@ -0,0 +1,10 @@ +export default [ + '大熊猫', + '眼镜熊', + '太阳熊', + '懒熊', + '美洲黑熊', + '亚洲黑熊', + '棕熊', + '北极熊', +]; diff --git a/src/locales/zh_CN/animal/cat.ts b/src/locales/zh_CN/animal/cat.ts new file mode 100644 index 00000000000..fccf0afb277 --- /dev/null +++ b/src/locales/zh_CN/animal/cat.ts @@ -0,0 +1,22 @@ +export default [ + '中华田园猫', + '中国狸花猫', + '山东狮子猫', + '玄猫', + '黑白花猫', + '三花猫', + '玳瑁猫', + '橘猫', + '四川简州猫', + '中国大白猫', + '美国短毛猫', + '英国短毛猫', + '加菲猫', + '波斯猫', + '布偶猫', + '苏格兰折耳猫', + '暹罗猫', + '斯芬克斯猫', + '德文卷毛猫', + '阿比西尼亚猫', +]; diff --git a/src/locales/zh_CN/animal/dog.ts b/src/locales/zh_CN/animal/dog.ts new file mode 100644 index 00000000000..02377ef9ca7 --- /dev/null +++ b/src/locales/zh_CN/animal/dog.ts @@ -0,0 +1,32 @@ +export default [ + '藏獒', + '袖狗', + '拉萨狮子犬', + '西藏狮子犬', + '松狮犬', + '中国冠毛犬', + '西施犬', + '沙皮犬', + '八哥犬', + '西藏獚', + '中华田园犬', + '下司犬', + '北京犬', + '西藏梗', + '柴犬', + '哈士奇', + '德国牧羊犬', + '边境牧羊犬', + '贵兵犬', + '秋田犬', + '罗威纳犬', + '蝴蝶犬', + '英国斗牛犬', + '阿富汗猎犬', + '萨摩耶犬', + '大白熊犬', + '比利时牧羊犬', + '美国爱斯基摩犬', + '彭布罗克威尔士柯基犬', + '墨西哥无毛犬', +]; diff --git a/src/locales/zh_CN/animal/fish.ts b/src/locales/zh_CN/animal/fish.ts new file mode 100644 index 00000000000..2c476d42cdb --- /dev/null +++ b/src/locales/zh_CN/animal/fish.ts @@ -0,0 +1,13 @@ +export default [ + '草鱼', + '鲶鱼', + '鳙鱼', + '鲤鱼', + '金鱼', + '胭脂鱼', + '中华鲟', + '长江白鲟', + '新疆大头鱼', + '青鱼', + '鲫鱼', +]; diff --git a/src/locales/zh_CN/animal/horse.ts b/src/locales/zh_CN/animal/horse.ts new file mode 100644 index 00000000000..0bd2ab836e4 --- /dev/null +++ b/src/locales/zh_CN/animal/horse.ts @@ -0,0 +1 @@ +export default ['蒙古马', '伊利马', '三河马', '河曲马']; diff --git a/src/locales/zh_CN/animal/index.ts b/src/locales/zh_CN/animal/index.ts new file mode 100644 index 00000000000..e5c139b584a --- /dev/null +++ b/src/locales/zh_CN/animal/index.ts @@ -0,0 +1,22 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { AnimalDefinition } from '../../..'; +import bear from './bear'; +import cat from './cat'; +import dog from './dog'; +import fish from './fish'; +import horse from './horse'; +import type_ from './type'; + +const animal: AnimalDefinition = { + bear, + cat, + dog, + fish, + horse, + type: type_, +}; + +export default animal; diff --git a/src/locales/zh_CN/animal/type.ts b/src/locales/zh_CN/animal/type.ts new file mode 100644 index 00000000000..375f80d0154 --- /dev/null +++ b/src/locales/zh_CN/animal/type.ts @@ -0,0 +1 @@ +export default ['熊', '猫', '狗', '鱼', '马']; diff --git a/src/locales/zh_CN/hacker/adjective.ts b/src/locales/zh_CN/hacker/adjective.ts new file mode 100644 index 00000000000..963cbf92485 --- /dev/null +++ b/src/locales/zh_CN/hacker/adjective.ts @@ -0,0 +1,19 @@ +export default [ + '辅助', + '主要', + '后端', + '开源', + '虚拟', + '跨平台', + '冗余', + '在线', + '触控', + '多字节', + '蓝牙', + '无线', + '全高清', + '神经元', + '光学', + '固态', + '移动', +]; diff --git a/src/locales/zh_CN/hacker/index.ts b/src/locales/zh_CN/hacker/index.ts new file mode 100644 index 00000000000..213224f11bb --- /dev/null +++ b/src/locales/zh_CN/hacker/index.ts @@ -0,0 +1,18 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { HackerDefinition } from '../../..'; +import adjective from './adjective'; +import noun from './noun'; +import phrase from './phrase'; +import verb from './verb'; + +const hacker: HackerDefinition = { + adjective, + noun, + phrase, + verb, +}; + +export default hacker; diff --git a/src/locales/zh_CN/hacker/noun.ts b/src/locales/zh_CN/hacker/noun.ts new file mode 100644 index 00000000000..49d9c9ced36 --- /dev/null +++ b/src/locales/zh_CN/hacker/noun.ts @@ -0,0 +1,26 @@ +export default [ + '驱动', + '协议', + '带宽', + '面板', + '芯片', + '程序', + '端口', + '卡片', + '数组', + '接口', + '系统', + '传感器', + '防火墙', + '硬盘', + '像素', + '警报', + '提要', + '监视器', + '应用', + '发送端', + '总线', + '电路', + '电容器', + '矩阵', +]; diff --git a/src/locales/zh_CN/hacker/phrase.ts b/src/locales/zh_CN/hacker/phrase.ts new file mode 100644 index 00000000000..6515965dfb5 --- /dev/null +++ b/src/locales/zh_CN/hacker/phrase.ts @@ -0,0 +1,10 @@ +export default [ + '倘若我们{{verb}}{{noun}},我们就可以通过{{adjective}}{{abbreviation}}{{noun}}获得{{abbreviation}}{{noun}}!', + '我们需要{{verb}}{{adjective}}{{abbreviation}}{{noun}}!', + '尝试{{verb}}{{abbreviation}}{{noun}},也许会{{verb}}{{adjective}}{{noun}}!', + '在没有{{verb}}{{adjective}}{{abbreviation}}{{noun}}的情况下,你不能{{verb}}{{noun}}!', + '使用{{adjective}}{{abbreviation}}{{noun}},然后你就能{{verb}}{{adjective}}{{noun}}!', + '{{abbreviation}}{{noun}}已关闭,因为{{adjective}}{{noun}}所以我们能{{verb}}{{abbreviation}}{{noun}}!', + '{{verb}}{{noun}}是无济于事的,我们需要{{verb}}{{adjective}}{{abbreviation}}{{noun}}!', + '我将{{verb}}{{adjective}}{{abbreviation}}{{noun}},那是应该{{noun}}{{abbreviation}}{{noun}}!', +]; diff --git a/src/locales/zh_CN/hacker/verb.ts b/src/locales/zh_CN/hacker/verb.ts new file mode 100644 index 00000000000..06759b7c3a5 --- /dev/null +++ b/src/locales/zh_CN/hacker/verb.ts @@ -0,0 +1,20 @@ +export default [ + '备份', + '绕过', + '入侵', + '覆盖', + '压缩', + '复制', + '导航', + '索引', + '链接', + '生成', + '量化', + '计算', + '合成', + '输入', + '传输', + '编程', + '重启', + '解析', +]; diff --git a/src/locales/zh_CN/index.ts b/src/locales/zh_CN/index.ts index b1b4e21eb2b..54604d23938 100644 --- a/src/locales/zh_CN/index.ts +++ b/src/locales/zh_CN/index.ts @@ -3,24 +3,32 @@ * Run 'pnpm run generate:locales' to update. */ import type { LocaleDefinition } from '../..'; +import animal from './animal'; import color from './color'; import company from './company'; import date from './date'; +import hacker from './hacker'; import internet from './internet'; import location from './location'; import metadata from './metadata'; +import music from './music'; import person from './person'; import phone_number from './phone_number'; +import word from './word'; const zh_CN: LocaleDefinition = { + animal, color, company, date, + hacker, internet, location, metadata, + music, person, phone_number, + word, }; export default zh_CN; diff --git a/src/locales/zh_CN/music/genre.ts b/src/locales/zh_CN/music/genre.ts new file mode 100644 index 00000000000..6977f65a123 --- /dev/null +++ b/src/locales/zh_CN/music/genre.ts @@ -0,0 +1,20 @@ +export default [ + '摇滚', + '流行', + '重金属', + '电子', + '民谣', + '世界', + '乡村', + '爵士', + '放克', + '灵魂', + '嘻哈', + '经典', + '拉丁', + '牙买加', + '蓝调', + '非音乐', + '说唱', + '舞台与银幕', +]; diff --git a/src/locales/zh_CN/music/index.ts b/src/locales/zh_CN/music/index.ts new file mode 100644 index 00000000000..53971764ef6 --- /dev/null +++ b/src/locales/zh_CN/music/index.ts @@ -0,0 +1,14 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { MusicDefinition } from '../../..'; +import genre from './genre'; +import song_name from './song_name'; + +const music: MusicDefinition = { + genre, + song_name, +}; + +export default music; diff --git a/src/locales/zh_CN/music/song_name.ts b/src/locales/zh_CN/music/song_name.ts new file mode 100644 index 00000000000..c5331c78c6c --- /dev/null +++ b/src/locales/zh_CN/music/song_name.ts @@ -0,0 +1,112 @@ +export default [ + '白月光与朱砂痣', + '孤勇者', + '稻香', + '起风了', + '纪念', + '晴天', + '兰亭序', + '我流泪情绪零碎', + '七里香', + '花海', + '反方向的钟', + '一路向北', + '蒲公英的约定', + '夜曲', + '搁浅', + '海底', + '105度的你', + '明明就', + '爱在西元前', + '我如此相信', + '枫', + '青花瓷', + '半岛铁盒', + '说了再见', + '暗号', + '退后', + '最长的电影', + '等你下课', + '烟花易冷', + '不该', + '告白气球', + '说好不哭', + '轨迹', + '红尘客栈', + '不能说的秘密', + '珊瑚海', + '给我一首歌的时间', + '你听得到', + '简单的爱', + '龙卷风', + '发如雪', + '园游会', + '听妈妈的话', + '夜的第七章', + '接口', + '手写从前', + '安静', + '爱情废材', + '以父之名', + '我不配', + '最伟大的作品', + '可爱女人', + '彩虹', + '回到过去', + '听悲伤的情话', + '把回忆拼好给你', + '东风破', + '黑色毛衣', + '本草纲目', + '开不了口', + '霍元甲', + '爱的飞行日记', + '大本钟', + '断了的弦', + '爷爷泡的茶', + '星晴', + '甜甜的', + '红颜如霜', + '粉色海洋', + '她的睫毛', + '雨下一整晚', + '白色风车', + '还在流浪', + '阳光宅男', + '算什么男人', + '菊花台', + '千里之外', + '错过的烟火', + '倒影', + '听见下雨的声音', + '黑色幽默', + '默', + '不爱我拉倒', + '之战之殇', + '布拉格广场', + '美人鱼', + '分裂', + '心雨', + '米兰的小铁匠', + '世界末日', + '一点点', + '外婆', + '画沙', + '哪里都是你', + '刀马旦', + '超人不会飞', + '牛仔很忙', + '周大侠', + '飘移', + '忍者', + '夏日妄想', + '铃芽之旅', + '玫瑰少年', + '大鱼', + '灯火里的中国', + '义勇军进行曲', + '调查中', + '少年', + '堕', + '在你身边', +]; diff --git a/src/locales/zh_CN/person/bio_part.ts b/src/locales/zh_CN/person/bio_part.ts new file mode 100644 index 00000000000..ce3c113ad4f --- /dev/null +++ b/src/locales/zh_CN/person/bio_part.ts @@ -0,0 +1,40 @@ +export default [ + '活动家', + '艺术家', + '作家', + '博主', + '企业家', + '教练', + '发明家', + '设计师', + '开发者', + '教育家', + '工程师', + '企业主', + '环保主义者', + '电影爱好者', + '电影制片人', + '美食家', + '创始人', + '朋友', + '玩家', + '极客', + '毕业生', + '创造者', + '领导者', + '模特', + '脑力爱好者', + '父母', + '爱国者', + '个人', + '哲学家', + '摄影爱好者', + '公众演说家', + '科学家', + '梦想家', + '学生', + '老师', + '旅行家', + '退伍军人', + '作者', +]; diff --git a/src/locales/zh_CN/person/bio_pattern.ts b/src/locales/zh_CN/person/bio_pattern.ts new file mode 100644 index 00000000000..6c76228f444 --- /dev/null +++ b/src/locales/zh_CN/person/bio_pattern.ts @@ -0,0 +1,10 @@ +export default [ + '{{person.bio_part}}', + '{{person.bio_part}},{{person.bio_part}}', + '{{person.bio_part}},{{person.bio_part}},{{person.bio_part}}', + '{{person.bio_part}},{{person.bio_part}},{{person.bio_part}}{{internet.emoji}}', + '{{word.noun}}{{person.bio_supporter}}', + '{{word.noun}}{{person.bio_supporter}}{{internet.emoji}}', + '{{word.noun}}{{person.bio_supporter}},{{person.bio_part}}', + '{{word.noun}}{{person.bio_supporter}},{{person.bio_part}}{{internet.emoji}}', +]; diff --git a/src/locales/zh_CN/person/bio_supporter.ts b/src/locales/zh_CN/person/bio_supporter.ts new file mode 100644 index 00000000000..2416eaa8f52 --- /dev/null +++ b/src/locales/zh_CN/person/bio_supporter.ts @@ -0,0 +1,9 @@ +export default [ + '倡导者', + '贡献者', + '发烧友', + '粉丝', + '狂热者', + '爱好者', + '支持者', +]; diff --git a/src/locales/zh_CN/person/index.ts b/src/locales/zh_CN/person/index.ts index 9c2d4241aa5..13abaeefb19 100644 --- a/src/locales/zh_CN/person/index.ts +++ b/src/locales/zh_CN/person/index.ts @@ -3,6 +3,9 @@ * Run 'pnpm run generate:locales' to update. */ import type { PersonDefinition } from '../../..'; +import bio_part from './bio_part'; +import bio_pattern from './bio_pattern'; +import bio_supporter from './bio_supporter'; import female_first_name from './female_first_name'; import female_prefix from './female_prefix'; import first_name from './first_name'; @@ -14,6 +17,9 @@ import name_ from './name'; import prefix from './prefix'; const person: PersonDefinition = { + bio_part, + bio_pattern, + bio_supporter, female_first_name, female_prefix, first_name, diff --git a/src/locales/zh_CN/word/adjective.ts b/src/locales/zh_CN/word/adjective.ts new file mode 100644 index 00000000000..306249e0441 --- /dev/null +++ b/src/locales/zh_CN/word/adjective.ts @@ -0,0 +1,50 @@ +export default [ + '长', + '短', + '大', + '小', + '粗', + '细', + '红', + '绿', + '平坦', + '整齐', + '雪白', + '笔直', + '绿油油', + '血淋淋', + '骨碌碌', + '黑不溜秋', + '好', + '坏', + '伟大', + '勇敢', + '优秀', + '聪明', + '老实', + '鲁莽', + '大方', + '软', + '硬', + '苦', + '甜', + '冷', + '热', + '坚固', + '平常', + '快', + '慢', + '生动', + '熟练', + '轻松', + '清楚', + '马虎', + '干脆', + '许多', + '好些', + '全部', + '全', + '整', + '多', + '少', +]; diff --git a/src/locales/zh_CN/word/adverb.ts b/src/locales/zh_CN/word/adverb.ts new file mode 100644 index 00000000000..ab7db366548 --- /dev/null +++ b/src/locales/zh_CN/word/adverb.ts @@ -0,0 +1,75 @@ +export default [ + '都', + '全', + '单', + '共', + '光', + '尽', + '净', + '仅', + '就', + '只', + '一共', + '一起', + '一同', + '一道', + '一齐', + '一概', + '一味', + '统统', + '总共', + '仅仅', + '惟独', + '可', + '倒', + '一定', + '必定', + '必然', + '却', + '幸亏', + '难道', + '何尝', + '偏偏', + '索性', + '简直', + '反正', + '多亏', + '也许', + '大约', + '好在', + '敢情', + '不', + '没', + '没有', + '别', + '仿佛', + '渐渐', + '百般', + '特地', + '互相', + '擅自', + '几乎', + '逐渐', + '逐步', + '猛然', + '依然', + '仍然', + '当然', + '毅然', + '果然', + '差点儿', + '很', + '极', + '最', + '太', + '更', + '更加', + '格外', + '十分', + '极其', + '比较', + '相当', + '稍微', + '略微', + '多么', +]; diff --git a/src/locales/zh_CN/word/index.ts b/src/locales/zh_CN/word/index.ts new file mode 100644 index 00000000000..8a054c0a572 --- /dev/null +++ b/src/locales/zh_CN/word/index.ts @@ -0,0 +1,16 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { WordDefinition } from '../../..'; +import adjective from './adjective'; +import adverb from './adverb'; +import verb from './verb'; + +const word: WordDefinition = { + adjective, + adverb, + verb, +}; + +export default word; diff --git a/src/locales/zh_CN/word/verb.ts b/src/locales/zh_CN/word/verb.ts new file mode 100644 index 00000000000..016b48815e3 --- /dev/null +++ b/src/locales/zh_CN/word/verb.ts @@ -0,0 +1,103 @@ +export default [ + '打', + '吃', + '抿', + '做', + '坐', + '跑', + '跳', + '走', + '飞', + '爬', + '开', + '滑', + '切', + '拆', + '咬', + '吞', + '吐', + '吮', + '吸', + '啃', + '喝', + '咀', + '嚼', + '搀', + '抱', + '搂', + '扶', + '捉', + '擒', + '掐', + '推', + '拿', + '抽', + '撕', + '摘', + '拣', + '捡', + '播', + '击', + '捏', + '撒', + '按', + '弹', + '撞', + '提', + '扭', + '捶', + '持', + '揍', + '披', + '捣', + '搜', + '托', + '举', + '拖', + '擦', + '敲', + '挖', + '抛', + '掘', + '抬', + '插', + '扔', + '写', + '抄', + '抓', + '捧', + '掷', + '撑', + '摊', + '倒', + '摔', + '劈', + '画', + '搔', + '撬', + '挥', + '揽', + '挡', + '捺', + '抚', + '搡', + '拉', + '摸', + '拍', + '摇', + '剪', + '拎', + '拔', + '拧', + '拨', + '舞', + '握', + '攥', + '驾驶', + '移动', + '转动', + '操作', + '蠕动', + '启动', + '关闭', +]; diff --git a/src/modules/image/index.ts b/src/modules/image/index.ts index cfefdb8a486..bec9e98ca51 100644 --- a/src/modules/image/index.ts +++ b/src/modules/image/index.ts @@ -348,15 +348,17 @@ export class ImageModule { } /** - * Generates a random data uri containing an svg image. + * Generates a random data uri containing an URL-encoded SVG image or a Base64-encoded SVG image. * * @param options Options for generating a data uri. * @param options.width The width of the image. Defaults to `640`. * @param options.height The height of the image. Defaults to `480`. * @param options.color The color of the image. Defaults to `grey`. + * @param options.type The type of the image. Defaults to `'svg-uri'`. * * @example * faker.image.dataUri() // 'data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http...' + * faker.image.dataUri({ type: 'svg-base64' }) // 'data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3...' * * @since 4.0.0 */ @@ -380,9 +382,21 @@ export class ImageModule { * @default 'grey' */ color?: string; + /** + * The type of the image to return. Consisting of + * the file extension and the used encoding. + * + * @default 'svg-uri' + */ + type?: 'svg-uri' | 'svg-base64'; } = {} ): string { - const { width = 640, height = 480, color = 'grey' } = options; + const { + width = 640, + height = 480, + color = 'grey', + type = 'svg-uri', + } = options; const svgString = `${width}x${height}`; - const rawPrefix = 'data:image/svg+xml;charset=UTF-8,'; - return rawPrefix + encodeURIComponent(svgString); + return type === 'svg-uri' + ? `data:image/svg+xml;charset=UTF-8,${encodeURIComponent(svgString)}` + : `data:image/svg+xml;base64,${Buffer.from(svgString).toString( + 'base64' + )}`; } /** diff --git a/test/all_functional.spec.ts b/test/all_functional.spec.ts index 43f34571a1f..c63592d2069 100644 --- a/test/all_functional.spec.ts +++ b/test/all_functional.spec.ts @@ -70,6 +70,7 @@ const BROKEN_LOCALE_METHODS = { 'pt_PT', 'ur', 'vi', + 'yo_NG', 'zh_CN', 'zh_TW', 'zu_ZA', diff --git a/test/modules/__snapshots__/finance.spec.ts.snap b/test/modules/__snapshots__/finance.spec.ts.snap index 69d73820a1d..6f80a2edce1 100644 --- a/test/modules/__snapshots__/finance.spec.ts.snap +++ b/test/modules/__snapshots__/finance.spec.ts.snap @@ -40,9 +40,9 @@ exports[`finance > 42 > bitcoinAddress 1`] = `"3XbJMAAara64sSkA9HD24YHQWd1bZbB"` exports[`finance > 42 > creditCardCVV 1`] = `"379"`; -exports[`finance > 42 > creditCardIssuer 1`] = `"jcb"`; +exports[`finance > 42 > creditCardIssuer 1`] = `"discover"`; -exports[`finance > 42 > creditCardNumber > noArgs 1`] = `"3581-7755-1410-0484"`; +exports[`finance > 42 > creditCardNumber > noArgs 1`] = `"6591-6277-5514-1004-8364"`; exports[`finance > 42 > creditCardNumber > with issuer 1`] = `"4791775514102"`; @@ -256,9 +256,9 @@ exports[`finance > 1337 > bitcoinAddress 1`] = `"3adhxs2jewAgkYgJi7No6Cn8JZarS"` exports[`finance > 1337 > creditCardCVV 1`] = `"251"`; -exports[`finance > 1337 > creditCardIssuer 1`] = `"discover"`; +exports[`finance > 1337 > creditCardIssuer 1`] = `"diners_club"`; -exports[`finance > 1337 > creditCardNumber > noArgs 1`] = `"6011-6212-2540-3255-2398"`; +exports[`finance > 1337 > creditCardNumber > noArgs 1`] = `"3612-254032-5529"`; exports[`finance > 1337 > creditCardNumber > with issuer 1`] = `"4512254032550"`; diff --git a/test/modules/__snapshots__/image.spec.ts.snap b/test/modules/__snapshots__/image.spec.ts.snap index d1d1d9e318e..b71269e56c2 100644 --- a/test/modules/__snapshots__/image.spec.ts.snap +++ b/test/modules/__snapshots__/image.spec.ts.snap @@ -8,12 +8,14 @@ exports[`image > 42 > avatarLegacy 1`] = `"https://cloudflare-ipfs.com/ipfs/Qmd3 exports[`image > 42 > dataUri > noArgs 1`] = `"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%22640%22%20height%3D%22480%22%3E%3Crect%20width%3D%22100%25%22%20height%3D%22100%25%22%20fill%3D%22grey%22%2F%3E%3Ctext%20x%3D%22320%22%20y%3D%22240%22%20font-size%3D%2220%22%20alignment-baseline%3D%22middle%22%20text-anchor%3D%22middle%22%20fill%3D%22white%22%3E640x480%3C%2Ftext%3E%3C%2Fsvg%3E"`; -exports[`image > 42 > dataUri > with all options 1`] = `"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%22128%22%20height%3D%22128%22%3E%3Crect%20width%3D%22100%25%22%20height%3D%22100%25%22%20fill%3D%22blue%22%2F%3E%3Ctext%20x%3D%2264%22%20y%3D%2264%22%20font-size%3D%2220%22%20alignment-baseline%3D%22middle%22%20text-anchor%3D%22middle%22%20fill%3D%22white%22%3E128x128%3C%2Ftext%3E%3C%2Fsvg%3E"`; +exports[`image > 42 > dataUri > with all options 1`] = `"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgYmFzZVByb2ZpbGU9ImZ1bGwiIHdpZHRoPSIxMjgiIGhlaWdodD0iMTI4Ij48cmVjdCB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiBmaWxsPSJibHVlIi8+PHRleHQgeD0iNjQiIHk9IjY0IiBmb250LXNpemU9IjIwIiBhbGlnbm1lbnQtYmFzZWxpbmU9Im1pZGRsZSIgdGV4dC1hbmNob3I9Im1pZGRsZSIgZmlsbD0id2hpdGUiPjEyOHgxMjg8L3RleHQ+PC9zdmc+"`; exports[`image > 42 > dataUri > with color 1`] = `"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%22640%22%20height%3D%22480%22%3E%3Crect%20width%3D%22100%25%22%20height%3D%22100%25%22%20fill%3D%22blue%22%2F%3E%3Ctext%20x%3D%22320%22%20y%3D%22240%22%20font-size%3D%2220%22%20alignment-baseline%3D%22middle%22%20text-anchor%3D%22middle%22%20fill%3D%22white%22%3E640x480%3C%2Ftext%3E%3C%2Fsvg%3E"`; exports[`image > 42 > dataUri > with height 1`] = `"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%22640%22%20height%3D%22128%22%3E%3Crect%20width%3D%22100%25%22%20height%3D%22100%25%22%20fill%3D%22grey%22%2F%3E%3Ctext%20x%3D%22320%22%20y%3D%2264%22%20font-size%3D%2220%22%20alignment-baseline%3D%22middle%22%20text-anchor%3D%22middle%22%20fill%3D%22white%22%3E640x128%3C%2Ftext%3E%3C%2Fsvg%3E"`; +exports[`image > 42 > dataUri > with type 1`] = `"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgYmFzZVByb2ZpbGU9ImZ1bGwiIHdpZHRoPSI2NDAiIGhlaWdodD0iNDgwIj48cmVjdCB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiBmaWxsPSJncmV5Ii8+PHRleHQgeD0iMzIwIiB5PSIyNDAiIGZvbnQtc2l6ZT0iMjAiIGFsaWdubWVudC1iYXNlbGluZT0ibWlkZGxlIiB0ZXh0LWFuY2hvcj0ibWlkZGxlIiBmaWxsPSJ3aGl0ZSI+NjQweDQ4MDwvdGV4dD48L3N2Zz4="`; + exports[`image > 42 > dataUri > with width 1`] = `"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%22128%22%20height%3D%22480%22%3E%3Crect%20width%3D%22100%25%22%20height%3D%22100%25%22%20fill%3D%22grey%22%2F%3E%3Ctext%20x%3D%2264%22%20y%3D%22240%22%20font-size%3D%2220%22%20alignment-baseline%3D%22middle%22%20text-anchor%3D%22middle%22%20fill%3D%22white%22%3E128x480%3C%2Ftext%3E%3C%2Fsvg%3E"`; exports[`image > 42 > dataUri > with width and height 1`] = `"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%22128%22%20height%3D%22128%22%3E%3Crect%20width%3D%22100%25%22%20height%3D%22100%25%22%20fill%3D%22grey%22%2F%3E%3Ctext%20x%3D%2264%22%20y%3D%2264%22%20font-size%3D%2220%22%20alignment-baseline%3D%22middle%22%20text-anchor%3D%22middle%22%20fill%3D%22white%22%3E128x128%3C%2Ftext%3E%3C%2Fsvg%3E"`; @@ -80,12 +82,14 @@ exports[`image > 1211 > avatarLegacy 1`] = `"https://cloudflare-ipfs.com/ipfs/Qm exports[`image > 1211 > dataUri > noArgs 1`] = `"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%22640%22%20height%3D%22480%22%3E%3Crect%20width%3D%22100%25%22%20height%3D%22100%25%22%20fill%3D%22grey%22%2F%3E%3Ctext%20x%3D%22320%22%20y%3D%22240%22%20font-size%3D%2220%22%20alignment-baseline%3D%22middle%22%20text-anchor%3D%22middle%22%20fill%3D%22white%22%3E640x480%3C%2Ftext%3E%3C%2Fsvg%3E"`; -exports[`image > 1211 > dataUri > with all options 1`] = `"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%22128%22%20height%3D%22128%22%3E%3Crect%20width%3D%22100%25%22%20height%3D%22100%25%22%20fill%3D%22blue%22%2F%3E%3Ctext%20x%3D%2264%22%20y%3D%2264%22%20font-size%3D%2220%22%20alignment-baseline%3D%22middle%22%20text-anchor%3D%22middle%22%20fill%3D%22white%22%3E128x128%3C%2Ftext%3E%3C%2Fsvg%3E"`; +exports[`image > 1211 > dataUri > with all options 1`] = `"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgYmFzZVByb2ZpbGU9ImZ1bGwiIHdpZHRoPSIxMjgiIGhlaWdodD0iMTI4Ij48cmVjdCB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiBmaWxsPSJibHVlIi8+PHRleHQgeD0iNjQiIHk9IjY0IiBmb250LXNpemU9IjIwIiBhbGlnbm1lbnQtYmFzZWxpbmU9Im1pZGRsZSIgdGV4dC1hbmNob3I9Im1pZGRsZSIgZmlsbD0id2hpdGUiPjEyOHgxMjg8L3RleHQ+PC9zdmc+"`; exports[`image > 1211 > dataUri > with color 1`] = `"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%22640%22%20height%3D%22480%22%3E%3Crect%20width%3D%22100%25%22%20height%3D%22100%25%22%20fill%3D%22blue%22%2F%3E%3Ctext%20x%3D%22320%22%20y%3D%22240%22%20font-size%3D%2220%22%20alignment-baseline%3D%22middle%22%20text-anchor%3D%22middle%22%20fill%3D%22white%22%3E640x480%3C%2Ftext%3E%3C%2Fsvg%3E"`; exports[`image > 1211 > dataUri > with height 1`] = `"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%22640%22%20height%3D%22128%22%3E%3Crect%20width%3D%22100%25%22%20height%3D%22100%25%22%20fill%3D%22grey%22%2F%3E%3Ctext%20x%3D%22320%22%20y%3D%2264%22%20font-size%3D%2220%22%20alignment-baseline%3D%22middle%22%20text-anchor%3D%22middle%22%20fill%3D%22white%22%3E640x128%3C%2Ftext%3E%3C%2Fsvg%3E"`; +exports[`image > 1211 > dataUri > with type 1`] = `"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgYmFzZVByb2ZpbGU9ImZ1bGwiIHdpZHRoPSI2NDAiIGhlaWdodD0iNDgwIj48cmVjdCB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiBmaWxsPSJncmV5Ii8+PHRleHQgeD0iMzIwIiB5PSIyNDAiIGZvbnQtc2l6ZT0iMjAiIGFsaWdubWVudC1iYXNlbGluZT0ibWlkZGxlIiB0ZXh0LWFuY2hvcj0ibWlkZGxlIiBmaWxsPSJ3aGl0ZSI+NjQweDQ4MDwvdGV4dD48L3N2Zz4="`; + exports[`image > 1211 > dataUri > with width 1`] = `"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%22128%22%20height%3D%22480%22%3E%3Crect%20width%3D%22100%25%22%20height%3D%22100%25%22%20fill%3D%22grey%22%2F%3E%3Ctext%20x%3D%2264%22%20y%3D%22240%22%20font-size%3D%2220%22%20alignment-baseline%3D%22middle%22%20text-anchor%3D%22middle%22%20fill%3D%22white%22%3E128x480%3C%2Ftext%3E%3C%2Fsvg%3E"`; exports[`image > 1211 > dataUri > with width and height 1`] = `"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%22128%22%20height%3D%22128%22%3E%3Crect%20width%3D%22100%25%22%20height%3D%22100%25%22%20fill%3D%22grey%22%2F%3E%3Ctext%20x%3D%2264%22%20y%3D%2264%22%20font-size%3D%2220%22%20alignment-baseline%3D%22middle%22%20text-anchor%3D%22middle%22%20fill%3D%22white%22%3E128x128%3C%2Ftext%3E%3C%2Fsvg%3E"`; @@ -152,12 +156,14 @@ exports[`image > 1337 > avatarLegacy 1`] = `"https://cloudflare-ipfs.com/ipfs/Qm exports[`image > 1337 > dataUri > noArgs 1`] = `"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%22640%22%20height%3D%22480%22%3E%3Crect%20width%3D%22100%25%22%20height%3D%22100%25%22%20fill%3D%22grey%22%2F%3E%3Ctext%20x%3D%22320%22%20y%3D%22240%22%20font-size%3D%2220%22%20alignment-baseline%3D%22middle%22%20text-anchor%3D%22middle%22%20fill%3D%22white%22%3E640x480%3C%2Ftext%3E%3C%2Fsvg%3E"`; -exports[`image > 1337 > dataUri > with all options 1`] = `"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%22128%22%20height%3D%22128%22%3E%3Crect%20width%3D%22100%25%22%20height%3D%22100%25%22%20fill%3D%22blue%22%2F%3E%3Ctext%20x%3D%2264%22%20y%3D%2264%22%20font-size%3D%2220%22%20alignment-baseline%3D%22middle%22%20text-anchor%3D%22middle%22%20fill%3D%22white%22%3E128x128%3C%2Ftext%3E%3C%2Fsvg%3E"`; +exports[`image > 1337 > dataUri > with all options 1`] = `"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgYmFzZVByb2ZpbGU9ImZ1bGwiIHdpZHRoPSIxMjgiIGhlaWdodD0iMTI4Ij48cmVjdCB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiBmaWxsPSJibHVlIi8+PHRleHQgeD0iNjQiIHk9IjY0IiBmb250LXNpemU9IjIwIiBhbGlnbm1lbnQtYmFzZWxpbmU9Im1pZGRsZSIgdGV4dC1hbmNob3I9Im1pZGRsZSIgZmlsbD0id2hpdGUiPjEyOHgxMjg8L3RleHQ+PC9zdmc+"`; exports[`image > 1337 > dataUri > with color 1`] = `"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%22640%22%20height%3D%22480%22%3E%3Crect%20width%3D%22100%25%22%20height%3D%22100%25%22%20fill%3D%22blue%22%2F%3E%3Ctext%20x%3D%22320%22%20y%3D%22240%22%20font-size%3D%2220%22%20alignment-baseline%3D%22middle%22%20text-anchor%3D%22middle%22%20fill%3D%22white%22%3E640x480%3C%2Ftext%3E%3C%2Fsvg%3E"`; exports[`image > 1337 > dataUri > with height 1`] = `"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%22640%22%20height%3D%22128%22%3E%3Crect%20width%3D%22100%25%22%20height%3D%22100%25%22%20fill%3D%22grey%22%2F%3E%3Ctext%20x%3D%22320%22%20y%3D%2264%22%20font-size%3D%2220%22%20alignment-baseline%3D%22middle%22%20text-anchor%3D%22middle%22%20fill%3D%22white%22%3E640x128%3C%2Ftext%3E%3C%2Fsvg%3E"`; +exports[`image > 1337 > dataUri > with type 1`] = `"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgYmFzZVByb2ZpbGU9ImZ1bGwiIHdpZHRoPSI2NDAiIGhlaWdodD0iNDgwIj48cmVjdCB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiBmaWxsPSJncmV5Ii8+PHRleHQgeD0iMzIwIiB5PSIyNDAiIGZvbnQtc2l6ZT0iMjAiIGFsaWdubWVudC1iYXNlbGluZT0ibWlkZGxlIiB0ZXh0LWFuY2hvcj0ibWlkZGxlIiBmaWxsPSJ3aGl0ZSI+NjQweDQ4MDwvdGV4dD48L3N2Zz4="`; + exports[`image > 1337 > dataUri > with width 1`] = `"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%22128%22%20height%3D%22480%22%3E%3Crect%20width%3D%22100%25%22%20height%3D%22100%25%22%20fill%3D%22grey%22%2F%3E%3Ctext%20x%3D%2264%22%20y%3D%22240%22%20font-size%3D%2220%22%20alignment-baseline%3D%22middle%22%20text-anchor%3D%22middle%22%20fill%3D%22white%22%3E128x480%3C%2Ftext%3E%3C%2Fsvg%3E"`; exports[`image > 1337 > dataUri > with width and height 1`] = `"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%22128%22%20height%3D%22128%22%3E%3Crect%20width%3D%22100%25%22%20height%3D%22100%25%22%20fill%3D%22grey%22%2F%3E%3Ctext%20x%3D%2264%22%20y%3D%2264%22%20font-size%3D%2220%22%20alignment-baseline%3D%22middle%22%20text-anchor%3D%22middle%22%20fill%3D%22white%22%3E128x128%3C%2Ftext%3E%3C%2Fsvg%3E"`; @@ -218,4 +224,12 @@ exports[`image > 1337 > urlPlaceholder > with width and height 1`] = `"https://v exports[`image > dataUri > should return a background color data URI 1`] = `"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"`; +exports[`image > dataUri > should return a background color svg-base64 data URI 1`] = `"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgYmFzZVByb2ZpbGU9ImZ1bGwiIHdpZHRoPSI0NDQiIGhlaWdodD0iMzAiPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9ImdyZWVuIi8+PHRleHQgeD0iMjIyIiB5PSIxNSIgZm9udC1zaXplPSIyMCIgYWxpZ25tZW50LWJhc2VsaW5lPSJtaWRkbGUiIHRleHQtYW5jaG9yPSJtaWRkbGUiIGZpbGw9IndoaXRlIj40NDR4MzA8L3RleHQ+PC9zdmc+"`; + +exports[`image > dataUri > should return a background color svg-uri data URI 1`] = `"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%221%22%20height%3D%221234%22%3E%3Crect%20width%3D%22100%25%22%20height%3D%22100%25%22%20fill%3D%22yellow%22%2F%3E%3Ctext%20x%3D%220.5%22%20y%3D%22617%22%20font-size%3D%2220%22%20alignment-baseline%3D%22middle%22%20text-anchor%3D%22middle%22%20fill%3D%22white%22%3E1x1234%3C%2Ftext%3E%3C%2Fsvg%3E"`; + exports[`image > dataUri > should return a blank data 1`] = `"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"`; + +exports[`image > dataUri > should return a blank svg-base64 data 1`] = `"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgYmFzZVByb2ZpbGU9ImZ1bGwiIHdpZHRoPSIxMjMiIGhlaWdodD0iNDU2Ij48cmVjdCB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiBmaWxsPSJncmV5Ii8+PHRleHQgeD0iNjEuNSIgeT0iMjI4IiBmb250LXNpemU9IjIwIiBhbGlnbm1lbnQtYmFzZWxpbmU9Im1pZGRsZSIgdGV4dC1hbmNob3I9Im1pZGRsZSIgZmlsbD0id2hpdGUiPjEyM3g0NTY8L3RleHQ+PC9zdmc+"`; + +exports[`image > dataUri > should return a blank svg-uri data 1`] = `"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%22456%22%20height%3D%22789%22%3E%3Crect%20width%3D%22100%25%22%20height%3D%22100%25%22%20fill%3D%22grey%22%2F%3E%3Ctext%20x%3D%22228%22%20y%3D%22394.5%22%20font-size%3D%2220%22%20alignment-baseline%3D%22middle%22%20text-anchor%3D%22middle%22%20fill%3D%22white%22%3E456x789%3C%2Ftext%3E%3C%2Fsvg%3E"`; diff --git a/test/modules/__snapshots__/location.spec.ts.snap b/test/modules/__snapshots__/location.spec.ts.snap index 586009521bf..6d693c9c5c9 100644 --- a/test/modules/__snapshots__/location.spec.ts.snap +++ b/test/modules/__snapshots__/location.spec.ts.snap @@ -20,7 +20,7 @@ exports[`location > 42 > countryCode > with alphaCode option 1`] = `"GUY"`; exports[`location > 42 > countryCode > with string 1`] = `"GY"`; -exports[`location > 42 > county 1`] = `"Berkshire"`; +exports[`location > 42 > county 1`] = `"Borders"`; exports[`location > 42 > direction > noArgs 1`] = `"South"`; @@ -172,7 +172,7 @@ exports[`location > 1211 > countryCode > with alphaCode option 1`] = `"UMI"`; exports[`location > 1211 > countryCode > with string 1`] = `"UM"`; -exports[`location > 1211 > county 1`] = `"Cambridgeshire"`; +exports[`location > 1211 > county 1`] = `"Tyne and Wear"`; exports[`location > 1211 > direction > noArgs 1`] = `"Southwest"`; @@ -324,7 +324,7 @@ exports[`location > 1337 > countryCode > with alphaCode option 1`] = `"ESH"`; exports[`location > 1337 > countryCode > with string 1`] = `"EH"`; -exports[`location > 1337 > county 1`] = `"Bedfordshire"`; +exports[`location > 1337 > county 1`] = `"Morgan County"`; exports[`location > 1337 > direction > noArgs 1`] = `"South"`; diff --git a/test/modules/finance.spec.ts b/test/modules/finance.spec.ts index c5c38a58caf..a783f0731f5 100644 --- a/test/modules/finance.spec.ts +++ b/test/modules/finance.spec.ts @@ -472,16 +472,8 @@ describe('finance', () => { expect(diners_club).toSatisfy(luhnCheck); const jcb = faker.finance.creditCardNumber('jcb'); expect(jcb).toSatisfy(luhnCheck); - const switchC = faker.finance.creditCardNumber('mastercard'); - expect(switchC).toSatisfy(luhnCheck); - const solo = faker.finance.creditCardNumber('solo'); - expect(solo).toSatisfy(luhnCheck); const maestro = faker.finance.creditCardNumber('maestro'); expect(maestro).toSatisfy(luhnCheck); - const laser = faker.finance.creditCardNumber('laser'); - expect(laser).toSatisfy(luhnCheck); - const instapayment = faker.finance.creditCardNumber('instapayment'); - expect(instapayment).toSatisfy(luhnCheck); }); it('should return custom formatted strings', () => { diff --git a/test/modules/image.spec.ts b/test/modules/image.spec.ts index a0e2c862ac9..fc4498289c5 100644 --- a/test/modules/image.spec.ts +++ b/test/modules/image.spec.ts @@ -74,10 +74,12 @@ describe('image', () => { .it('with height', { height: 128 }) .it('with width and height', { width: 128, height: 128 }) .it('with color', { color: 'blue' }) + .it('with type', { type: 'svg-base64' }) .it('with all options', { width: 128, height: 128, color: 'blue', + type: 'svg-base64', }); }); @@ -495,5 +497,43 @@ describe('image', () => { }); expect(dataUri).toMatchSnapshot(); }); + + it('should return a blank svg-uri data', () => { + const dataUri = faker.image.dataUri({ + width: 456, + height: 789, + type: 'svg-uri', + }); + expect(dataUri).toMatchSnapshot(); + }); + + it('should return a background color svg-uri data URI', () => { + const dataUri = faker.image.dataUri({ + width: 1, + height: 1234, + color: 'yellow', + type: 'svg-uri', + }); + expect(dataUri).toMatchSnapshot(); + }); + + it('should return a blank svg-base64 data', () => { + const dataUri = faker.image.dataUri({ + width: 123, + height: 456, + type: 'svg-base64', + }); + expect(dataUri).toMatchSnapshot(); + }); + + it('should return a background color svg-base64 data URI', () => { + const dataUri = faker.image.dataUri({ + width: 444, + height: 30, + color: 'green', + type: 'svg-base64', + }); + expect(dataUri).toMatchSnapshot(); + }); }); });