Skip to content

feat(isMobilePhone): add en-KY and en-BB mobile phone locales#2716

Open
pratik1258m wants to merge 1 commit into
validatorjs:masterfrom
pratik1258m:feat/add-cayman-barbados-phones
Open

feat(isMobilePhone): add en-KY and en-BB mobile phone locales#2716
pratik1258m wants to merge 1 commit into
validatorjs:masterfrom
pratik1258m:feat/add-cayman-barbados-phones

Conversation

@pratik1258m
Copy link
Copy Markdown

@pratik1258m pratik1258m commented May 23, 2026

This PR adds mobile phone number validation support for two missing English-speaking Caribbean territories under the North American Numbering Plan (+1):

  • Cayman Islands (en-KY): Validates the 345 area code.
  • Barbados (en-BB): Validates the 246 area code.

References:

  • Cayman Islands mobile phone format: +1 (345) XXX-XXXX (ITU-T E.164 Recommendation, NANPA)
  • Barbados mobile phone format: +1 (246) XXX-XXXX (ITU-T E.164 Recommendation, NANPA)

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 23, 2026

Codecov Report

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

Additional details and impacted files
@@            Coverage Diff            @@
##            master     #2716   +/-   ##
=========================================
  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.

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.

1 participant