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

chore: fix merge conflicts #1851

Merged
merged 11 commits into from Oct 31, 2021
Merged

chore: fix merge conflicts #1851

merged 11 commits into from Oct 31, 2021

Commits on Oct 31, 2021

  1. feat(isMobilePhone): regex for Burkina Faso fr-BF and Namibia en-NA l…

    …ocales
    
    chore: squashed commits from #1834
    
    feat(isMobilePhone): regex for Namibia locale
    
    fix(isMobilePhone): removing telephone validation
    
    fix(isMobliePhone): regex now validates as intended
    
    fix(isMobilePhone): requiring phone number prefixes in validation
    
    feat(isMobilePhone): regex for Burkina Faso locale
    
    fix(isMobilePhone): removing code intended for a different branch
    
    fix(isMobilePhone): Making plus sign optional
    
    feat(isMobilePhone): regex for Burkina Faso locale
    ZeeMangena authored and profnandaa committed Oct 31, 2021
    Copy the full SHA
    5c2d69e View commit details
    Browse the repository at this point in the history
  2. feat(isMobilePhone): add Maldives dv-MV locale

    chore: squashed #1829
    
    Add locale for Maldives in mobile phone validator
    
    Add tests for mobile numbers validation of maldives locale i.e. dv-MV
    
    Update readme to add Maldives locale (dv-MV) in isMobilePhone documentation
    Prajwalrajbasnet authored and profnandaa committed Oct 31, 2021
    Copy the full SHA
    c96d805 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    ed60123 View commit details
    Browse the repository at this point in the history
  4. feat(isMobilePhone): add Kiribati en-KI locale

    [chore] squashed from #1820
    
    Clean up validator and add trailing comma
    c-tanner authored and profnandaa committed Oct 31, 2021
    Copy the full SHA
    8627e48 View commit details
    Browse the repository at this point in the history
  5. feat(isMobilePhone): add Frech Polynesia fr-PF locale

    Create validation for frech polynesia mobile phones according to wikipedia:
    
    https://en.wikipedia.org/wiki/Telephone_numbers_in_French_Polynesia#Mobile
    hereje authored and profnandaa committed Oct 31, 2021
    Copy the full SHA
    f7ff349 View commit details
    Browse the repository at this point in the history
  6. feat(isMobilePhone): add Guyana en-GY locale

    [chore] fixed merge conflicts in #1784
    
    feat: (isMobilePhone) Add Guyana mobile phone validation
    
    Fix linter errors
    mfkrause authored and profnandaa committed Oct 31, 2021
    Copy the full SHA
    0e5d5d4 View commit details
    Browse the repository at this point in the history
  7. feat(isMobilePhone): add Turkmenistan tk-TM

    squashed commits and resolved merge conflict for #1780
    
    Add Turkmenistan validation regax
    
    Update README.md to include Turkmenistan (tk-Tm)
    
    Add test cases for tk-TM
    
    add missing comma for isMobilePhone.js
    
    add missing commas for test/validators.js
    husan-eshonqulov authored and profnandaa committed Oct 31, 2021
    Copy the full SHA
    26605f9 View commit details
    Browse the repository at this point in the history
  8. feat(isMobilePhone): add Botswana en-BW locale

    Added new condition for Botswana
    
    New regex for Botswana numbers
    
    Phone number information was found from the following sources:
    - https://www.howtocallabroad.com/botswana/
    - https://countrycode.org/botswana
    
    Updated README.md to include en-BW
    
    Included the new case for Botswana (en-BW)
    
    Added test cases for isMobilePhone en-BW
    
    Added some test cases to check length for the phone number & area code pattern.
    
    Changed regex for BW
    
    Fixed the pattern for Botswana mobile phone numbers and edited the test cases. I followed the convention from Table 8 of the national numbering plan document and the mobile number pattern on the Wiki page.
    
    Update validators.js
    
    Oops! Looks like the file didn't update with some of my modified test cases - my apologies!
    mgndolan authored and profnandaa committed Oct 31, 2021
    Copy the full SHA
    a3faa83 View commit details
    Browse the repository at this point in the history
  9. feat(isMobilePhone): add Palestine ar-PS locale

    Add isMobilePhone test for ar-PS
    
    Add ar-PS to isMobilePhone readme
    
    Correct ar-PS validation
    
    Update ar-PS isMobible tests
    brendan-c authored and profnandaa committed Oct 31, 2021
    Copy the full SHA
    5b06703 View commit details
    Browse the repository at this point in the history
  10. feat(isMobilePhone): add El Salvador es-SV locale

    * Solve issue with wrong validation on El Salvador mobile phones
    * update tests accordingly
    
    in order to define the right regEx, the following site was
    consulted.
    
    https://www.siget.gob.sv/guia-de-servicios/consulta-el-plan-de-numeracion/numeros-moviles/
    hereje authored and profnandaa committed Oct 31, 2021
    Copy the full SHA
    f17e220 View commit details
    Browse the repository at this point in the history
  11. Copy the full SHA
    83cb7f8 View commit details
    Browse the repository at this point in the history