Open haitrr opened 4 years ago
Hi @vroyibg ! Thanks for bringing this up! I'll go forward with an update for the underlying phone number library today.
The underlying library was updated, should address the issue. I'll add in some follow-up around managing those dependencies automatically to avoid this in the future.
It is now 2021 and the issue still exists for new SG phone number starting with "89" like 89089790.
@patw0929 @mcataford Help! Anyone still maintaining this lib? We need to update libphonenumber-js-utils
for new SG phone numbers.
Any updates on this?
This error is due to the package
libphonenumber-js-utils
is out of date compare to Google'slibphonenumber
. The phone number format for Singapore has changed: https://github.com/google/libphonenumber/pull/2402Expected Behavior
+6589234567
should be a valid phone number for SingaporeCurrent Behavior
+6589234567
is not a valid phone number for Singapore.Possible Solution
Upgrade
libphonenumber-js-utils
to sync with the latestlibphonenumber
.Environment
8.0.1
all