diff --git a/docs/guide/upgrading.md b/docs/guide/upgrading.md index ba30e0b8356..81a48ad8bed 100644 --- a/docs/guide/upgrading.md +++ b/docs/guide/upgrading.md @@ -427,7 +427,7 @@ Removed deprecated location methods #### Direction definitions reorganized The locale definitions used by `faker.location.direction()`, `faker.location.cardinalDirection()` and `faker.location.ordinalDirection()` have been reorganized. -Previously, they were organized under `definitions.location.direction` and `definitions.location.direction_abbr` and where values were required to be in a specific order. +Previously, they were located under `definitions.location.direction` and `definitions.location.direction_abbr` and their values were required to be in a specific order. Now, all values are nested under `definitions.location.direction` with descriptive property names. If you are using the public methods, no changes are required. You only need to change your code if you are accessing the raw definitions e.g. in `faker.helpers.fake()`.