Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(isMobilePhone): Fix wrong dv-MV mobile phone matching (issue #2101) #2109

Merged
merged 2 commits into from
Jan 29, 2023

Commits on Jan 28, 2023

  1. fix(isMobilePhone): fix invalid RegExp for dv-MV

    The RegExp and corresponding tests were testing a wrong format.
    Correct format can be found in the numbering plan:
    https://web.archive.org/web/20220614004138/https://cam.gov.mv/docs/Numbering_plan.pdf
    
    fixes issue validatorjs#2101
    pano9000 committed Jan 28, 2023
    Configuration menu
    Copy the full SHA
    7bcd2f0 View commit details
    Browse the repository at this point in the history
  2. test(isMobilePhone): fix tests for dv-MV RegExp

    associated with issue validatorjs#2101
    pano9000 committed Jan 28, 2023
    Configuration menu
    Copy the full SHA
    fba5b32 View commit details
    Browse the repository at this point in the history