Skip to content

Commit

Permalink
Merge branch 'next' into infra/netlify/diff-to-next
Browse files Browse the repository at this point in the history
  • Loading branch information
xDivisionByZerox authored Mar 18, 2024
2 parents 07b459f + 6dee178 commit 5f96368
Show file tree
Hide file tree
Showing 24 changed files with 2,852 additions and 38,610 deletions.
16 changes: 16 additions & 0 deletions docs/guide/upgrading_v9/2753.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
### Remove deprecated location methods

Removed deprecated location methods

| old | replacement |
| ------------------------------------------------------------------ | ------------------------------------------------------------------ |
| `faker.location.zipCodeByState` | `faker.location.zipCode({ state })` |
| `faker.location.cityName` | `faker.location.city` |
| `faker.location.streetName` | `faker.location.street` |
| `faker.location.stateAbbr()` | `faker.location.state({ abbreviated: true })` |
| `faker.location.latitude(max, min, precision)` | `faker.location.latitude({ max, min, precision })` |
| `faker.location.longitude(max, min, precision)` | `faker.location.longitude({ max, min, precision })` |
| `faker.location.direction(abbreviated)` | `faker.location.direction({ abbreviated })` |
| `faker.location.cardinalDirection(abbreviated)` | `faker.location.cardinalDirection({ abbreviated })` |
| `faker.location.ordinalDirection(abbreviated)` | `faker.location.ordinalDirection({ abbreviated })` |
| `faker.location.nearbyGPSCoordinate(coordinate, radius, isMetric)` | `faker.location.nearbyGPSCoordinate({ origin, radius, isMetric })` |
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -98,17 +98,17 @@
"@eslint-types/typescript-eslint": "7.0.2",
"@eslint-types/unicorn": "51.0.1",
"@types/markdown-it": "13.0.7",
"@types/node": "20.11.25",
"@types/node": "20.11.28",
"@types/sanitize-html": "2.11.0",
"@types/semver": "7.5.8",
"@types/validator": "13.11.9",
"@typescript-eslint/eslint-plugin": "7.2.0",
"@typescript-eslint/parser": "7.2.0",
"@vitest/coverage-v8": "1.3.1",
"@vitest/ui": "1.3.1",
"@vitest/coverage-v8": "1.4.0",
"@vitest/ui": "1.4.0",
"@vueuse/core": "10.9.0",
"conventional-changelog-cli": "4.1.0",
"cypress": "13.6.6",
"cypress": "13.7.0",
"eslint": "8.57.0",
"eslint-config-prettier": "9.1.0",
"eslint-define-config": "2.1.0",
Expand All @@ -131,12 +131,12 @@
"typedoc": "0.25.12",
"typescript": "5.4.2",
"validator": "13.11.0",
"vite": "5.1.5",
"vite": "5.1.6",
"vitepress": "1.0.0-rc.45",
"vitest": "1.3.1",
"vitest": "1.4.0",
"vue": "3.4.21"
},
"packageManager": "pnpm@8.15.4",
"packageManager": "pnpm@8.15.5",
"engines": {
"node": ">=18.0.0",
"npm": ">=9.0.0"
Expand Down
Loading

0 comments on commit 5f96368

Please sign in to comment.