Skip to content

Commit 4278f07

Browse files
committed
Fix: The isMobilePhone validator incorrectly rejects valid Uzbeki
1 parent 7fdc788 commit 4278f07

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/lib/isMobilePhone.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ const phones = {
154154
'tr-TR': /^(\+?90|0)?5\d{9}$/,
155155
'tk-TM': /^(\+993|993|8)\d{8}$/,
156156
'uk-UA': /^(\+?38)?0(50|6[36-8]|7[357]|9[1-9])\d{7}$/,
157-
'uz-UZ': /^(\+?998)?(6[125-79]|7[1-69]|88|9\d)\d{7}$/,
157+
'uz-UZ': /^(\+?998)?(6[125-79]|7[0-9]|88|9\d)\d{7}$/,
158158
'vi-VN': /^((\+?84)|0)((3([2-9]))|(5([25689]))|(7([0|6-9]))|(8([1-9]))|(9([0-9])))([0-9]{7})$/,
159159
'zh-CN': /^((\+|00)86)?(1[3-9]|9[28])\d{9}$/,
160160
'zh-TW': /^(\+?886\-?|0)?9\d{8}$/,

0 commit comments

Comments
 (0)