You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using faker.phone.number({ style: 'international' }), a deprecation warning is issued and no number is returned.
Using the code sample the output will be:
warn: [@faker-js/faker]: faker.phone.number(format) is deprecated since v8.1 and will be removed in v9.0. Please use faker.phone.number(), faker.string.numeric() or faker.helpers.fromRegExp() instead.
International number:
Number: (538) 625-6227 x991
Pre-Checks
Describe the bug
When using
faker.phone.number({ style: 'international' })
, a deprecation warning is issued and no number is returned.Using the code sample the output will be:
,
Minimal reproduction code
Additional Context
No response
Environment Info
Which module system do you use?
Used Package Manager
npm
The text was updated successfully, but these errors were encountered: