Skip to content

feat(isMobilePhone): add American Samoa (en-AS) - #2919

Open
whoalin1 wants to merge 5 commits into
validatorjs:masterfrom
whoalin1:mobile-phone-en-AS
Open

whoalin1 wants to merge 5 commits into
validatorjs:masterfrom
whoalin1:mobile-phone-en-AS

Conversation

@whoalin1

@whoalin1 whoalin1 commented Oct 7, 2026

Copy link
Copy Markdown

Summary

Refs #1761

Add en-AS (American Samoa) to isMobilePhone.

Test plan

  • npm test -- -g isMobilePhone
  • Valid samples in en-AS block pass; invalid rejected

The first upload wrote the full file contents without the en-AS line and test block. This commit adds en-AS only.
Upload overwrite of src/lib/isMobilePhone.js including en-AS.
Upload overwrite of test/validators.test.js with en-AS block after en-US.
@codecov

codecov Bot commented Oct 7, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (9ff3424) to head (ef4262b).

Additional details and impacted files
@@            Coverage Diff            @@
##            master     #2919   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          114       114           
  Lines         2599      2599           
  Branches       658       658           
=========================================
  Hits          2599      2599           

☔ View full report in Codecov by Harness.
📢 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