From 5c3b6e032bdd0488c48b82c4395459be7ee50fb0 Mon Sep 17 00:00:00 2001 From: Shinigami Date: Tue, 18 Apr 2023 17:26:59 +0200 Subject: refactor(finance): rename account to accountNumber (#2054) --- docs/guide/upgrading.md | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'docs/guide') diff --git a/docs/guide/upgrading.md b/docs/guide/upgrading.md index 7618ab84..d0322a0b 100644 --- a/docs/guide/upgrading.md +++ b/docs/guide/upgrading.md @@ -191,6 +191,10 @@ The `faker.address.*` methods will continue to work as an alias in v8 and v9, bu | `faker.address.streetPrefix` | _Removed_ | | `faker.address.streetSuffix` | _Removed_ | +### `faker.finance.account` changed to `faker.finance.accountNumber` + +The `faker.finance.account` method has been renamed to `faker.finance.accountNumber` to better reflect the data it returns and not to get confused with a user "Account". + ### Number methods of `faker.datatype` moved to new `faker.number` module The number-related methods previously found in `faker.datatype` have been moved to a new `faker.number` module. -- cgit v1.2.3