yuyang041060120 / ng2-validation

angular2 validation
https://yuyang041060120.github.io/ng2-validation/index.html
MIT License
611 stars 213 forks source link

[libphonenumber-js] `parse()` bug: Feb 1st, 2018, ver. "1.0.9" — Feb 6th, 2018, ver. "1.0.12" #121

Closed catamphetamine closed 6 years ago

catamphetamine commented 6 years ago

A small FYI. There was a bug in libphonenumber-js introduced in version 1.0.9 and fixed in version 1.0.13 which prevented some of the countries from their phone numbers being parsed correctly. E.g. parse("+212659777777") would return {} instead of { country: 'MA', phone: '659777777' }. The buggy versions have been deleted from NPM registry but still anyone who installed libphonenumber-js in those 5 days is affected by the bug.