Skip to content

Commit 63f6259

Browse files
authored
Merge branch 'next' into fix/number/float/multipleOf-where-min-equals-max
2 parents 29f1d03 + 62486af commit 63f6259

30 files changed

+1431
-1208
lines changed

.github/workflows/check-release-pr.yml

+1-3
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
path: playground
2929

3030
- name: Install pnpm
31-
uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 # v4.0.0
31+
uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
3232
with:
3333
package_json_file: faker/package.json
3434

@@ -45,8 +45,6 @@ jobs:
4545
run: |
4646
cd faker
4747
pnpm install
48-
env:
49-
CYPRESS_INSTALL_BINARY: 0
5048
5149
- name: Build - faker
5250
run: |

.github/workflows/ci.yml

+11-18
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
fetch-depth: 0
3030

3131
- name: Install pnpm
32-
uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 # v4.0.0
32+
uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
3333

3434
- name: Set node version to ${{ matrix.node_version }}
3535
uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
@@ -39,8 +39,6 @@ jobs:
3939

4040
- name: Install deps
4141
run: pnpm install
42-
env:
43-
CYPRESS_INSTALL_BINARY: 0
4442

4543
- name: Build
4644
run: pnpm run build
@@ -77,7 +75,7 @@ jobs:
7775
fetch-depth: 0
7876

7977
- name: Install pnpm
80-
uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 # v4.0.0
78+
uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
8179

8280
- name: Set node version to ${{ matrix.node_version }}
8381
uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
@@ -87,8 +85,6 @@ jobs:
8785

8886
- name: Install deps
8987
run: pnpm install
90-
env:
91-
CYPRESS_INSTALL_BINARY: 0
9288

9389
- name: Build
9490
run: pnpm run build
@@ -99,7 +95,7 @@ jobs:
9995
e2e-test:
10096
runs-on: ubuntu-latest
10197
container:
102-
image: cypress/browsers:node-22.0.0-chrome-124.0.6367.60-1-ff-125.0.2-edge-124.0.2478.51-1@sha256:02eaae11b7d3dc9f408a5f64c3990faea75943d612ea86b8b218d95b48f22ce8
98+
image: cypress/browsers:22.14.0@sha256:0bb89e2255ab99e3dddea6496205ceb5541578fc24df2dcc26056dc4e0451bbc
10399
options: --user 1001
104100
timeout-minutes: 10
105101
name: 'E2E Doc Test: node-22, ubuntu-latest'
@@ -108,14 +104,17 @@ jobs:
108104
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
109105

110106
- name: Install pnpm
111-
uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 # v4.0.0
107+
uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
112108

113109
- name: Install deps
114110
run: pnpm install
115111

116112
- name: Build docs
117113
run: pnpm run docs:build:ci
118114

115+
- name: Download Cypress
116+
run: pnpm run docs:test:e2e:install
117+
119118
- id: e2e
120119
name: Run e2e
121120
run: pnpm run docs:test:e2e:run
@@ -131,7 +130,7 @@ jobs:
131130
fetch-depth: 0
132131

133132
- name: Install pnpm
134-
uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 # v4.0.0
133+
uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
135134

136135
- name: Set node version to 22
137136
uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
@@ -141,8 +140,6 @@ jobs:
141140

142141
- name: Install deps
143142
run: pnpm install
144-
env:
145-
CYPRESS_INSTALL_BINARY: 0
146143

147144
- name: Lint
148145
run: pnpm run lint
@@ -161,7 +158,7 @@ jobs:
161158
fetch-depth: 0
162159

163160
- name: Install pnpm
164-
uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 # v4.0.0
161+
uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
165162

166163
- name: Set node version to 22
167164
uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
@@ -171,8 +168,6 @@ jobs:
171168

172169
- name: Install deps
173170
run: pnpm install
174-
env:
175-
CYPRESS_INSTALL_BINARY: 0
176171

177172
- name: Build types
178173
run: pnpm run build
@@ -191,7 +186,7 @@ jobs:
191186
fetch-depth: 0
192187

193188
- name: Install pnpm
194-
uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 # v4.0.0
189+
uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
195190

196191
- name: Set node version to 22
197192
uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
@@ -201,8 +196,6 @@ jobs:
201196

202197
- name: Install deps
203198
run: pnpm install
204-
env:
205-
CYPRESS_INSTALL_BINARY: 0
206199

207200
- name: Build
208201
run: pnpm run build
@@ -211,7 +204,7 @@ jobs:
211204
run: pnpm vitest run --coverage
212205

213206
- name: Upload coverage to Codecov
214-
uses: codecov/codecov-action@13ce06bfc6bbe3ecf90edbbf1bc32fe5978ca1d3 # v5.3.1
207+
uses: codecov/codecov-action@0565863a31f2c772f9f0395002a31e3f06189574 # v5.4.0
215208
with:
216209
token: ${{ secrets.CODECOV_TOKEN }}
217210
fail_ci_if_error: true

.github/workflows/integration-test.yml

+1-3
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
fetch-depth: 0
2222

2323
- name: Install pnpm
24-
uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 # v4.0.0
24+
uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
2525

2626
- name: Set node version to 22
2727
uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
@@ -31,8 +31,6 @@ jobs:
3131

3232
- name: Install deps
3333
run: pnpm install
34-
env:
35-
CYPRESS_INSTALL_BINARY: 0
3634

3735
- name: Build
3836
run: pnpm run build

.github/workflows/pr.yml

+1-3
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
fetch-depth: 0
2121

2222
- name: Install pnpm
23-
uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 # v4.0.0
23+
uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
2424

2525
- name: Set node version to 22
2626
uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
@@ -30,8 +30,6 @@ jobs:
3030

3131
- name: Install deps
3232
run: pnpm install
33-
env:
34-
CYPRESS_INSTALL_BINARY: 0
3533

3634
- name: Generate code
3735
id: generate

.github/workflows/prepare-release-pr.yml

+1-3
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
token: ${{ secrets.GH_TOKEN }}
3131

3232
- name: Install pnpm
33-
uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 # v4.0.0
33+
uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
3434

3535
- name: Set node version to 22
3636
uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
@@ -40,8 +40,6 @@ jobs:
4040

4141
- name: Install deps
4242
run: pnpm install
43-
env:
44-
CYPRESS_INSTALL_BINARY: 0
4543

4644
- name: Run release
4745
run: |

.github/workflows/publish-release.yml

+1-4
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
token: ${{ secrets.GH_TOKEN }}
2222

2323
- name: Install pnpm
24-
uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 # v4.0.0
24+
uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
2525

2626
- name: Set node version to 22
2727
uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
@@ -31,8 +31,6 @@ jobs:
3131

3232
- name: Install deps
3333
run: pnpm install --frozen-lockfile
34-
env:
35-
CYPRESS_INSTALL_BINARY: 0
3634

3735
- name: Gather release information
3836
run: |
@@ -57,7 +55,6 @@ jobs:
5755
run: |
5856
pnpm publish --tag next --no-git-checks
5957
env:
60-
CYPRESS_INSTALL_BINARY: 0
6158
NPM_CONFIG_PROVENANCE: true
6259

6360
- name: Set latest/next dist-tag

.nvmrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
lts/iron
1+
lts/jod

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<p>Generate massive amounts of fake (but realistic) data for testing and development.</p>
55

66
[![npm version](https://badgen.net/npm/v/@faker-js/faker)](https://www.npmjs.com/package/@faker-js/faker)
7-
[![npm downloads](https://badgen.net/npm/dm/@faker-js/faker)](https://npm-compare.com/@faker-js/faker/#timeRange=ALL)
7+
[![npm downloads](https://badgen.net/npm/dm/@faker-js/faker)](https://www.npmjs.com/package/@faker-js/faker)
88
[![Continuous Integration](https://github.com/faker-js/faker/actions/workflows/ci.yml/badge.svg)](https://github.com/faker-js/faker/actions/workflows/ci.yml)
99
[![codecov](https://codecov.io/gh/faker-js/faker/branch/next/graph/badge.svg?token=N61U168G08)](https://codecov.io/gh/faker-js/faker)
1010
[![Chat on Discord](https://img.shields.io/badge/chat-discord-blue?style=flat&logo=discord)](https://chat.fakerjs.dev)

netlify.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[build.environment]
2-
NODE_VERSION = "18"
2+
NODE_VERSION = "22"
33

44
# Documentation
55
[build]

package.json

+31-25
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@
1818
"docs:dev:run": "vitepress dev docs",
1919
"docs:serve": "vitepress serve docs --port 5173",
2020
"docs:diff": "tsx ./scripts/diff.ts",
21-
"docs:test:e2e:ci": "run-s docs:build:ci docs:test:e2e:run",
21+
"docs:test:e2e:ci": "run-s docs:build:ci docs:test:e2e:install docs:test:e2e:run",
22+
"docs:test:e2e:install": "cypress install",
2223
"docs:test:e2e:run": "run-p --race docs:serve \"cypress run\"",
2324
"docs:test:e2e:open": "run-p --race docs:serve \"cypress open\"",
2425
"format": "prettier --cache --write .",
@@ -105,48 +106,53 @@
105106
"dist"
106107
],
107108
"devDependencies": {
108-
"@eslint/compat": "1.2.6",
109-
"@eslint/js": "9.19.0",
110-
"@stylistic/eslint-plugin": "3.0.1",
111-
"@types/eslint__js": "8.42.3",
112-
"@types/node": "22.13.0",
109+
"@eslint/compat": "1.2.7",
110+
"@eslint/js": "9.21.0",
111+
"@stylistic/eslint-plugin": "4.1.0",
112+
"@types/node": "22.13.8",
113113
"@types/sanitize-html": "2.13.0",
114114
"@types/semver": "7.5.8",
115115
"@types/validator": "13.12.2",
116-
"@vitest/coverage-v8": "3.0.5",
117-
"@vitest/eslint-plugin": "1.1.25",
118-
"@vitest/ui": "3.0.5",
119-
"@vueuse/core": "12.5.0",
116+
"@vitest/coverage-v8": "3.0.7",
117+
"@vitest/eslint-plugin": "1.1.36",
118+
"@vitest/ui": "3.0.7",
119+
"@vueuse/core": "12.7.0",
120120
"commit-and-tag-version": "12.5.0",
121-
"cypress": "14.0.1",
122-
"eslint": "9.19.0",
123-
"eslint-config-prettier": "10.0.1",
121+
"cypress": "14.1.0",
122+
"eslint": "9.21.0",
123+
"eslint-config-prettier": "10.0.2",
124124
"eslint-plugin-file-progress": "3.0.1",
125125
"eslint-plugin-jsdoc": "50.6.3",
126126
"eslint-plugin-prettier": "5.2.3",
127-
"eslint-plugin-unicorn": "56.0.1",
127+
"eslint-plugin-unicorn": "57.0.0",
128128
"jiti": "2.4.2",
129129
"npm-run-all2": "7.0.2",
130-
"prettier": "3.4.2",
130+
"prettier": "3.5.2",
131131
"prettier-plugin-organize-imports": "4.1.0",
132-
"prettier-plugin-packagejson": "2.5.8",
132+
"prettier-plugin-packagejson": "2.5.9",
133133
"rimraf": "5.0.10",
134134
"sanitize-html": "2.14.0",
135-
"semver": "7.7.0",
136-
"ts-morph": "25.0.0",
137-
"tsup": "8.3.6",
138-
"tsx": "4.19.2",
139-
"typescript": "5.7.3",
140-
"typescript-eslint": "8.23.0",
135+
"semver": "7.7.1",
136+
"ts-morph": "25.0.1",
137+
"tsup": "8.4.0",
138+
"tsx": "4.19.3",
139+
"typescript": "5.8.2",
140+
"typescript-eslint": "8.25.0",
141141
"validator": "13.12.0",
142142
"vitepress": "1.6.3",
143-
"vitest": "3.0.5",
143+
"vitest": "3.0.7",
144144
"vue": "3.5.13",
145-
"vue-tsc": "2.2.0"
145+
"vue-tsc": "2.2.6"
146146
},
147-
"packageManager": "pnpm@9.15.4",
147+
"packageManager": "pnpm@10.5.2",
148148
"engines": {
149149
"node": ">=18.0.0",
150150
"npm": ">=9.0.0"
151+
},
152+
"pnpm": {
153+
"ignoredBuiltDependencies": [
154+
"cypress",
155+
"esbuild"
156+
]
151157
}
152158
}

0 commit comments

Comments
 (0)