Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

luisrivas
Copy link
Contributor

@luisrivas luisrivas commented Jul 4, 2021

According to this Vietnam phone number guide, we should accept 11 length phone numbers as valid when the number starts with the 84 country code. In addition, I am adding the 55 area code.

Closes #813

Checklist

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

Copy link
Member

@profnandaa profnandaa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, please fix the merge conflicts and we should be good to go.

@codecov
Copy link

codecov bot commented Jul 16, 2021

Codecov Report

Merging #1689 (c0f9b3c) into master (01eeaef) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##            master     #1689   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          101       101           
  Lines         1862      1862           
=========================================
  Hits          1862      1862           
Impacted Files Coverage Δ
src/lib/isMobilePhone.js 100.00% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 01eeaef...c0f9b3c. Read the comment docs.

@luisrivas
Copy link
Contributor Author

Fixed! @profnandaa

@luisrivas luisrivas requested a review from profnandaa July 16, 2021 13:44
@profnandaa profnandaa merged commit e08e79a into validatorjs:master Jul 16, 2021
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 not valid number phone in VietNam

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.