Skip to content

Commit 7b8bcd6

Browse files
authored
Merge branch 'next' into feat/phone-style
2 parents d6dbf8f + aade09b commit 7b8bcd6

File tree

12 files changed

+394
-832
lines changed

12 files changed

+394
-832
lines changed

.eslintrc.cjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ module.exports = defineConfig({
3838
'prefer-exponentiation-operator': 'error',
3939
'prefer-template': 'error',
4040

41+
'unicorn/no-array-callback-reference': 'off', // reduces readability
4142
'unicorn/no-nested-ternary': 'off', // incompatible with prettier
4243
'unicorn/no-null': 'off', // incompatible with TypeScript
4344
'unicorn/no-zero-fractions': 'off', // deactivated to raise awareness of floating operations
@@ -49,7 +50,6 @@ module.exports = defineConfig({
4950
'unicorn/better-regex': 'off',
5051
'unicorn/consistent-function-scoping': 'off',
5152
'unicorn/import-style': 'off',
52-
'unicorn/no-array-callback-reference': 'off',
5353
'unicorn/no-await-expression-member': 'off',
5454
'unicorn/no-object-as-default-parameter': 'off',
5555
'unicorn/numeric-separators-style': 'off',

.github/renovate.json5

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,22 @@
11
{
22
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
33
"extends": [
4-
"config:base",
4+
"config:best-practices",
55
"schedule:earlyMondays",
66
"group:allNonMajor",
7-
":prHourlyLimitNone",
8-
"helpers:pinGitHubActionDigests"
7+
":prHourlyLimitNone"
98
],
10-
"labels": ["c: dependencies"],
9+
"labels": ["c: dependencies", "p: 1-normal"],
1110
"lockFileMaintenance": {
1211
"enabled": true
1312
},
13+
"milestone": 15,
1414
"reviewersFromCodeOwners": true,
15-
"rangeStrategy": "bump",
15+
"rangeStrategy": "pin",
1616
"packageRules": [
1717
{
1818
"groupName": "devDependencies",
19-
"matchDepTypes": ["devDependencies"],
20-
"rangeStrategy": "bump"
19+
"matchDepTypes": ["devDependencies"]
2120
},
2221
{
2322
"groupName": "dependencies",
@@ -35,12 +34,16 @@
3534
"rangeStrategy": "replace"
3635
},
3736
{
38-
"groupName": "typescript-eslint",
39-
"matchPackagePrefixes": ["@typescript-eslint/"]
37+
"groupName": "eslint",
38+
"matchPackagePrefixes": [
39+
"@typescript-eslint/",
40+
"@eslint-types/",
41+
"eslint"
42+
]
4043
},
4144
{
4245
"groupName": "vitest",
43-
"matchPackageNames": ["@vitest/coverage-v8", "@vitest/ui", "vitest"]
46+
"matchPackagePrefixes": ["@vitest/", "vitest"]
4447
},
4548
{
4649
"groupName": "prettier",
@@ -61,7 +64,7 @@
6164
}
6265
],
6366
"vulnerabilityAlerts": {
64-
"labels": ["c: security"],
67+
"labels": ["c: security", "p: 2-high"],
6568
"assignees": ["team:maintainers"]
6669
}
6770
}

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
lts/gallium
1+
lts/iron

docs/guide/upgrading_v9/2357.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Use High Precision RNG by default
1+
### Use High Precision RNG by default
22

33
TLDR: Many Faker methods will return a different result in v9 compared to v8 for the same seed.
44

docs/guide/upgrading_v9/2508.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Some methods now return undefined in Javascript when unknown enumeration values are passed
1+
### Some methods now return undefined in Javascript when unknown enumeration values are passed
22

33
Some methods would previously fallback to a default value for an option when an unknown value was passed for a enum parameter.
44
Now, these methods will return undefined instead.

docs/guide/upgrading_v9/2727.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
### Remove deprecated finance methods
2+
3+
Removed deprecated finance methods
4+
5+
| old | replacement |
6+
| --------------------------------------------------------- | ------------------------------------------------------------- |
7+
| `faker.finance.account` | `faker.finance.accountNumber` |
8+
| `faker.finance.mask` | `faker.finance.maskedNumber` |
9+
| `faker.finance.amount(min, max, dec, symbol, autoFormat)` | `faker.finance.amount({ min, max, dec, symbol, autoFormat })` |
10+
| `faker.finance.iban(formatted, countryCode)` | `faker.finance.iban({ formatted, countryCode })` |

package.json

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -86,31 +86,31 @@
8686
"@actions/github": "~6.0.0",
8787
"@algolia/client-search": "~4.22.1",
8888
"@eslint-types/deprecation": "2.0.0-1",
89-
"@eslint-types/jsdoc": "~48.2.0",
89+
"@eslint-types/jsdoc": "48.2.0",
9090
"@eslint-types/prettier": "5.1.3",
91-
"@eslint-types/typescript-eslint": "~7.0.2",
92-
"@eslint-types/unicorn": "~51.0.1",
91+
"@eslint-types/typescript-eslint": "7.0.2",
92+
"@eslint-types/unicorn": "51.0.1",
9393
"@types/markdown-it": "~13.0.7",
94-
"@types/node": "~20.11.24",
94+
"@types/node": "~20.11.25",
9595
"@types/sanitize-html": "~2.11.0",
9696
"@types/semver": "~7.5.8",
9797
"@types/validator": "~13.11.9",
98-
"@typescript-eslint/eslint-plugin": "~7.1.0",
99-
"@typescript-eslint/parser": "~7.1.0",
98+
"@typescript-eslint/eslint-plugin": "7.1.1",
99+
"@typescript-eslint/parser": "7.1.1",
100100
"@vitest/coverage-v8": "~1.3.1",
101101
"@vitest/ui": "~1.3.1",
102102
"@vueuse/core": "~10.9.0",
103103
"conventional-changelog-cli": "~4.1.0",
104104
"cypress": "~13.6.6",
105-
"eslint": "~8.57.0",
106-
"eslint-config-prettier": "~9.1.0",
107-
"eslint-define-config": "~2.1.0",
108-
"eslint-gitignore": "~0.1.0",
109-
"eslint-plugin-deprecation": "~2.0.0",
110-
"eslint-plugin-jsdoc": "~48.2.0",
111-
"eslint-plugin-prettier": "~5.1.3",
112-
"eslint-plugin-unicorn": "~51.0.1",
113-
"eslint-plugin-vitest": "~0.3.22",
105+
"eslint": "8.57.0",
106+
"eslint-config-prettier": "9.1.0",
107+
"eslint-define-config": "2.1.0",
108+
"eslint-gitignore": "0.1.0",
109+
"eslint-plugin-deprecation": "2.0.0",
110+
"eslint-plugin-jsdoc": "48.2.1",
111+
"eslint-plugin-prettier": "5.1.3",
112+
"eslint-plugin-unicorn": "51.0.1",
113+
"eslint-plugin-vitest": "0.3.25",
114114
"glob": "~10.3.10",
115115
"npm-run-all2": "~6.1.2",
116116
"prettier": "3.2.5",
@@ -121,11 +121,11 @@
121121
"standard-version": "~9.5.0",
122122
"tsup": "~8.0.2",
123123
"tsx": "~4.7.1",
124-
"typedoc": "~0.25.10",
125-
"typescript": "~5.3.3",
124+
"typedoc": "~0.25.12",
125+
"typescript": "~5.4.2",
126126
"validator": "~13.11.0",
127-
"vite": "~5.1.4",
128-
"vitepress": "1.0.0-rc.44",
127+
"vite": "~5.1.5",
128+
"vitepress": "1.0.0-rc.45",
129129
"vitest": "~1.3.1",
130130
"vue": "~3.4.21"
131131
},

0 commit comments

Comments
 (0)