Skip to content

Commit e5a96ff

Browse files
authored
Merge branch 'next' into fix/limit-intl-error
2 parents 704fb07 + 012ba2c commit e5a96ff

9 files changed

Lines changed: 181 additions & 35 deletions

File tree

docs/guide/upgrading.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -284,12 +284,14 @@ By default, `faker.number.float` no longer defaults to a precision of 0.01
284284

285285
```js
286286
// OLD
287+
faker.datatype.number(); // 88999 (NOTE: The default max was 99999)
287288
faker.datatype.number({ max: 100 }); // 35
288289
faker.datatype.number({ max: 100, precision: 0.01 }); // 35.21
289290
faker.datatype.float({ max: 100 }); // 35.21
290291
faker.datatype.float({ max: 100, precision: 0.001 }); // 35.211
291292

292293
// NEW
294+
faker.number.int({ max: 99999 }); // 88999 (NOTE: the default max is now Number.MAX_SAFE_INTEGER)
293295
faker.number.int({ max: 100 }); // 35
294296
faker.number.float({ max: 100 }); // 35.21092065742612
295297
faker.number.float({ max: 100, precision: 0.01 }); // 35.21

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,11 +93,11 @@
9393
},
9494
"devDependencies": {
9595
"@actions/github": "~5.1.1",
96-
"@algolia/client-search": "~4.17.0",
96+
"@algolia/client-search": "~4.17.1",
9797
"@types/markdown-it": "~12.2.3",
9898
"@types/node": "~20.1.2",
9999
"@types/prettier": "~2.7.2",
100-
"@types/react": "~18.2.6",
100+
"@types/react": "~18.2.7",
101101
"@types/sanitize-html": "~2.9.0",
102102
"@types/semver": "~7.5.0",
103103
"@types/validator": "~13.7.17",
@@ -134,7 +134,7 @@
134134
"typescript": "~4.9.5",
135135
"validator": "~13.9.0",
136136
"vite": "~4.3.8",
137-
"vitepress": "1.0.0-alpha.75",
137+
"vitepress": "1.0.0-beta.1",
138138
"vitest": "~0.31.1",
139139
"vue": "~3.3.4"
140140
},

pnpm-lock.yaml

Lines changed: 135 additions & 27 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
File renamed without changes.

src/locales/ro_MD/location/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
*/
55
import type { LocationDefinition } from '../../..';
66
import building_number from './building_number';
7-
import city from './city';
87
import city_name from './city_name';
8+
import city_pattern from './city_pattern';
99
import city_prefix from './city_prefix';
1010
import county from './county';
1111
import default_country from './default_country';
@@ -20,8 +20,8 @@ import street_prefix from './street_prefix';
2020

2121
const location: LocationDefinition = {
2222
building_number,
23-
city,
2423
city_name,
24+
city_pattern,
2525
city_prefix,
2626
county,
2727
default_country,

0 commit comments

Comments
 (0)