catamphetamine / libphonenumber-js

A simpler (and smaller) rewrite of Google Android's libphonenumber library in javascript
https://catamphetamine.gitlab.io/libphonenumber-js/
MIT License
2.8k stars 216 forks source link

+13107549 is somehow valid? #461

Closed ksinghal closed 7 months ago

ksinghal commented 7 months ago

Somehow this short number is valid. It should not be. I am using the latest version of libphonenumber-js - "libphonenumber-js": "^1.10.53"

catamphetamine commented 7 months ago

See “bug reporting” section of the readme

On Fri, 5 Apr 2024 at 20:36, Karan Singhal @.***> wrote:

Somehow this short number is valid. It should not be. I am using the latest version of libphonenumber-js - "libphonenumber-js": "^1.10.53"

— Reply to this email directly, view it on GitHub https://github.com/catamphetamine/libphonenumber-js/issues/461, or unsubscribe https://github.com/notifications/unsubscribe-auth/AADUP333EN3XFRGYFYSGU3LY33OKJAVCNFSM6AAAAABFZQ7KSWVHI2DSMVQWIX3LMV43ASLTON2WKOZSGIZDQNJRGA3TINI . You are receiving this because you are subscribed to this thread.Message ID: @.***>

ksinghal commented 7 months ago

Thanks for your help! Was able to find a solution by comparing your demo and the google version.