Skip to content

fix: update 'uz-UZ' mobile phone regex to include newer carrier prefixes#2713

Open
harsh-pandhe wants to merge 1 commit into
validatorjs:masterfrom
harsh-pandhe:fix-uzbekistan-phone-regex
Open

fix: update 'uz-UZ' mobile phone regex to include newer carrier prefixes#2713
harsh-pandhe wants to merge 1 commit into
validatorjs:masterfrom
harsh-pandhe:fix-uzbekistan-phone-regex

Conversation

@harsh-pandhe
Copy link
Copy Markdown

Closes #2683

This PR updates the isMobilePhone regex for the uz-UZ locale to include newer, active carrier prefixes (33, 50, 55, 77, 88) alongside the existing ones, as requested in the issue.

Verification Source: This updated prefix list aligns with the International Telecommunication Union (ITU) National Numbering Plan for Uzbekistan.

Checklist

  • PR contains only changes related; no stray files, etc.
  • README updated (where applicable)
  • Tests written (where applicable)
  • References provided in PR (where applicable)

@codecov
Copy link
Copy Markdown

codecov Bot commented May 19, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (7fdc788) to head (e94b9d1).

Additional details and impacted files
@@            Coverage Diff            @@
##            master     #2713   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          114       114           
  Lines         2587      2587           
  Branches       656       656           
=========================================
  Hits          2587      2587           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@rubiin rubiin requested a review from WikiRik May 19, 2026 09:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

isMobilePhone('uz-UZ') returns false for valid Uzbekistan carrier codes (e.g., 77)

1 participant