Skip to content

Commit cf5f72e

Browse files
authored
Merge branch 'next' into infra/scripts/enhance-generate-locales
2 parents c487847 + a193693 commit cf5f72e

File tree

28 files changed

+496
-543
lines changed

28 files changed

+496
-543
lines changed

.eslintrc.js

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,16 +48,13 @@ module.exports = defineConfig({
4848
// TODO @Shinigami92 2023-09-23: The following rules currently conflict with our code.
4949
// Each rule should be checked whether it should be enabled/configured and the problems fixed, or stay disabled permanently.
5050
'unicorn/better-regex': 'off',
51-
'unicorn/catch-error-name': 'off',
5251
'unicorn/consistent-function-scoping': 'off',
53-
'unicorn/escape-case': 'off',
5452
'unicorn/filename-case': 'off',
5553
'unicorn/import-style': 'off',
5654
'unicorn/no-array-callback-reference': 'off',
5755
'unicorn/no-array-reduce': 'off',
5856
'unicorn/no-await-expression-member': 'off',
5957
'unicorn/no-for-loop': 'off',
60-
'unicorn/no-instanceof-array': 'off',
6158
'unicorn/no-negated-condition': 'off',
6259
'unicorn/no-object-as-default-parameter': 'off',
6360
'unicorn/no-useless-switch-case': 'off',
@@ -71,14 +68,12 @@ module.exports = defineConfig({
7168
'unicorn/prefer-negative-index': 'off',
7269
'unicorn/prefer-number-properties': 'off',
7370
'unicorn/prefer-optional-catch-binding': 'off',
74-
'unicorn/prefer-spread': 'off',
7571
'unicorn/prefer-string-slice': 'off',
7672
'unicorn/prefer-ternary': 'off',
7773
'unicorn/prefer-top-level-await': 'off',
7874
'unicorn/prevent-abbreviations': 'off',
7975
'unicorn/require-array-join-separator': 'off',
8076
'unicorn/switch-case-braces': 'off',
81-
'unicorn/text-encoding-identifier-case': 'off',
8277

8378
'@typescript-eslint/array-type': [
8479
'error',
@@ -115,6 +110,7 @@ module.exports = defineConfig({
115110
'error',
116111
{ blankLine: 'always', prev: 'block-like', next: '*' },
117112
],
113+
'@typescript-eslint/prefer-regexp-exec': 'error',
118114
'@typescript-eslint/restrict-template-expressions': [
119115
'error',
120116
{ allowNumber: true, allowBoolean: true },
@@ -155,6 +151,12 @@ module.exports = defineConfig({
155151
'jsdoc/require-jsdoc': 'error',
156152
},
157153
},
154+
{
155+
files: ['src/locales/**/*.ts'],
156+
rules: {
157+
'unicorn/text-encoding-identifier-case': 'off',
158+
},
159+
},
158160
{
159161
files: ['test/**/*.spec.ts'],
160162
extends: ['plugin:vitest/recommended'],

CHANGELOG.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,26 @@
22

33
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
44

5+
## [8.2.0](https://github.com/faker-js/faker/compare/v8.1.0...v8.2.0) (2023-10-14)
6+
7+
8+
### Features
9+
10+
* support custom randomizer ([#2284](https://github.com/faker-js/faker/issues/2284)) ([5410239](https://github.com/faker-js/faker/commit/5410239245b4a6fe8c1976f8aa33c970923f9f40))
11+
12+
13+
### Bug Fixes
14+
15+
* **docs:** revert filter code that breaks search in docs ([#2425](https://github.com/faker-js/faker/issues/2425)) ([c498c09](https://github.com/faker-js/faker/commit/c498c091f488db287684690ab4ff109b1589523f))
16+
* **locale:** Dutch phone number ([#2400](https://github.com/faker-js/faker/issues/2400)) ([005369b](https://github.com/faker-js/faker/commit/005369b29c7ee290a870396ff0acc85e3f715e10))
17+
18+
19+
### New Locales
20+
21+
* **locale:** add airline database science commerce and vehicle for zh_CN ([#2395](https://github.com/faker-js/faker/issues/2395)) ([9c96c0a](https://github.com/faker-js/faker/commit/9c96c0a131e0609a21dc5ee110cc407e76852373))
22+
* **locale:** add street_name to `en_US`, `en_GB` and `en` ([#2371](https://github.com/faker-js/faker/issues/2371)) ([491d319](https://github.com/faker-js/faker/commit/491d3191213e2ceaaee46dcc50ac25c3995ba2d5))
23+
* **locale:** add unionpay credit card for zh_CN ([#2338](https://github.com/faker-js/faker/issues/2338)) ([74eeccc](https://github.com/faker-js/faker/commit/74eecccd3af702d8a1d8072f94032ccb54293cb1))
24+
525
## [8.1.0](https://github.com/faker-js/faker/compare/v8.0.2...v8.1.0) (2023-09-19)
626

727

package.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@faker-js/faker",
3-
"version": "8.1.0",
3+
"version": "8.2.0",
44
"description": "Generate massive amounts of fake contextual data",
55
"keywords": [
66
"faker",
@@ -87,28 +87,28 @@
8787
"preflight": "pnpm install && run-s generate format lint build test:update-snapshots ts-check"
8888
},
8989
"devDependencies": {
90-
"@actions/github": "~5.1.1",
90+
"@actions/github": "~6.0.0",
9191
"@algolia/client-search": "~4.19.1",
9292
"@types/markdown-it": "~13.0.2",
93-
"@types/node": "~20.8.3",
94-
"@types/sanitize-html": "~2.9.1",
93+
"@types/node": "~20.8.6",
94+
"@types/sanitize-html": "~2.9.2",
9595
"@types/semver": "~7.5.3",
96-
"@types/validator": "~13.11.2",
97-
"@typescript-eslint/eslint-plugin": "~6.7.4",
98-
"@typescript-eslint/parser": "~6.7.4",
96+
"@types/validator": "~13.11.3",
97+
"@typescript-eslint/eslint-plugin": "~6.7.5",
98+
"@typescript-eslint/parser": "~6.7.5",
9999
"@vitest/coverage-v8": "~0.34.6",
100100
"@vitest/ui": "~0.34.7",
101101
"@vueuse/core": "~10.5.0",
102102
"conventional-changelog-cli": "~4.1.0",
103-
"cypress": "~13.3.0",
103+
"cypress": "~13.3.1",
104104
"esbuild": "~0.19.4",
105105
"eslint": "~8.51.0",
106106
"eslint-config-prettier": "~9.0.0",
107107
"eslint-define-config": "~1.24.1",
108108
"eslint-gitignore": "~0.1.0",
109109
"eslint-plugin-deprecation": "~2.0.0",
110110
"eslint-plugin-jsdoc": "~46.8.2",
111-
"eslint-plugin-prettier": "~5.0.0",
111+
"eslint-plugin-prettier": "~5.0.1",
112112
"eslint-plugin-unicorn": "~48.0.1",
113113
"eslint-plugin-vitest": "~0.3.2",
114114
"glob": "~10.3.10",

0 commit comments

Comments
 (0)