validatorjs/validator.js
Missing validation for Macedonian phone numbers
Aperta
#2497 aperta il 14 nov 2024
good first issuepr-raised🐛 bug
Metriche repository
- Star
- (23.739 stelle)
- Metriche merge PR
- (Metriche PR in attesa)
Descrizione
Explanation validator.isMobilePhone cannot validate a good (valid) Macedonian phone number.
The macedonian number starts with +389, and is followed by 8 digits, or if written with national prefix (0), it will be 9 digits in length.
Additional context Validator.js version: v.13.11.0 Node.js version: v23.1.0