Open ST-DDT opened 1 year ago
We want to deprecate the finance.maskedNumber() method for removal.
finance.maskedNumber()
*
const data = faker.finance.iban(); // "DE31070946979005090431" const maskedData = data.replace(/(?<=.{4})\w(?=.{2})/g, '*'); // "DE31****************31"
On hold until after the release of v9.0 to give the community time to react to this suggestion and state whether they use the method, what for and how it could be made more useful.
We want to deprecate the
finance.maskedNumber()
method for removal.Reasons for removal
*
instead of being outright removed.Suggested workaround
See also