Describe the bug
The isMobilePhone function returns false for valid Uzbekistan phone numbers that use newer carrier codes, such as 77 (Ucell) or potentially others like 33 (Humans) and 88 (Mobiuz). A valid number like +998770178734 currently fails validation.
In Uzbekistan, valid carrier prefixes immediately following the +998 country code currently include at least: 33, 55, 77, 88, 90, 91, 93, 94, 95, 97, 98, and 99.
Examples
const validator = require('validator');
// Expected: true, Actual: false
console.log(validator.isMobilePhone('+998770179999', 'uz-UZ'));
Additional context
Validator.js version: 13.15.26
Node.js version: 24.13.1
OS platform: windows
Describe the bug
The
isMobilePhonefunction returnsfalsefor valid Uzbekistan phone numbers that use newer carrier codes, such as77(Ucell) or potentially others like33(Humans) and88(Mobiuz). A valid number like+998770178734currently fails validation.In Uzbekistan, valid carrier prefixes immediately following the
+998country code currently include at least:33,55,77,88,90,91,93,94,95,97,98, and99.Examples
const validator = require('validator');
// Expected: true, Actual: false
console.log(validator.isMobilePhone('+998770179999', 'uz-UZ'));
Additional context
Validator.js version: 13.15.26
Node.js version: 24.13.1
OS platform: windows