forked from faker-js/faker
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
36 changed files
with
620 additions
and
2,225 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
### Remove deprecated date methods | ||
|
||
Removed deprecated date methods | ||
|
||
| old | replacement | | ||
| -------------------------------------- | ------------------------------------------ | | ||
| `faker.date.past(years, refDate)` | `faker.date.past({ years, refDate })` | | ||
| `faker.date.future(years, refDate)` | `faker.date.future({ years, refDate })` | | ||
| `faker.date.between(from, to)` | `faker.date.between({ from, to })` | | ||
| `faker.date.betweens(from, to, count)` | `faker.date.betweens({ from, to, count })` | | ||
| `faker.date.recent(days, refDate)` | `faker.date.recent({ days, refDate })` | | ||
| `faker.date.soon(days, refDate)` | `faker.date.soon({ days, refDate })` | | ||
| `faker.date.month({ abbr })` | `faker.date.month({ abbreviated })` | | ||
| `faker.date.weekday({ abbr })` | `faker.date.weekday({ abbreviated })` | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
### Remove deprecated phone methods | ||
|
||
Removed deprecated phone methods | ||
|
||
| old | replacement | | ||
| ---------------------------- | -------------------------------------------------------------------------------- | | ||
| `faker.phone.number(format)` | `faker.phone.number()`, `faker.string.numeric()` or `faker.helpers.fromRegExp()` | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
### Remove deprecated git method | ||
|
||
Removed deprecated git method | ||
|
||
| old | replacement | | ||
| ---------------------- | ------------------------------------ | | ||
| `faker.git.shortSha()` | `faker.git.commitSha({ length: 7 })` | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
### Remove deprecated finance methods | ||
|
||
Removed deprecated finance methods | ||
|
||
| old | replacement | | ||
| --------------------------------------------------------- | ------------------------------------------------------------- | | ||
| `faker.finance.account` | `faker.finance.accountNumber` | | ||
| `faker.finance.mask` | `faker.finance.maskedNumber` | | ||
| `faker.finance.amount(min, max, dec, symbol, autoFormat)` | `faker.finance.amount({ min, max, dec, symbol, autoFormat })` | | ||
| `faker.finance.iban(formatted, countryCode)` | `faker.finance.iban({ formatted, countryCode })` | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.