Open SergeiEensalu opened 1 year ago
What's the exact issue?
isValidPhoneNumber("+485555555")
returns true, but should return false.
isValidPhoneNumber("+485555555")
returns true, but should return false.
Provide an online demo illustrating the issue.
And that online demo should use the "max" metadata
Same problem with number +375854545 or +3758*****
Polish numbers has 9 digits, not 7.
If you call
isValidPhoneNumber("+485555555")
, it returns that it is a valid Polish number.If you call
parsePhoneNumber("+485555555")
, then the result:Actually this is not true because 5555555 is not a Polish phone number. Exactly the same problem with the combination +481111111
Version "libphonenumber-js": "^1.10.30",