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(isPassportNumber): fix regex Azerbaijan #2284

Merged
merged 3 commits into from
Apr 25, 2024

Conversation

amaliacatalina
Copy link
Contributor

fix(isPassportNumber): regex fix for Azerbaijan

Fixed regex for Azerbaijan isPassportNumber

https://irb.gc.ca/en/country-information/rir/Pages/index.aspx?doc=455354&pls=1
"According to Keesing, the passport number is 8 digits preceded by a letter (ibid.)"

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

codecov bot commented Sep 7, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.95%. Comparing base (b958bd7) to head (f66253a).
Report is 4 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #2284   +/-   ##
=======================================
  Coverage   99.95%   99.95%           
=======================================
  Files         107      107           
  Lines        2454     2454           
  Branches      619      619           
=======================================
  Hits         2453     2453           
  Partials        1        1           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@stickyrst
Copy link

Awesome, thanks! Needed this

Copy link
Member

@WikiRik WikiRik left a comment

Choose a reason for hiding this comment

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

Code changes look good. Please update the PR title to fix(isPassportNumber): fix regex Azerbaijan

Also, this fixes #2274

@amaliacatalina amaliacatalina changed the title Regex fix for Azerbaijan fix(isPassportNumber): fix regex Azerbaijan Sep 14, 2023
@amaliacatalina
Copy link
Contributor Author

Code changes look good. Please update the PR title to fix(isPassportNumber): fix regex Azerbaijan

Also, this fixes #2274

Name changed.

@stickyrst
Copy link

Hello,

@WikiRik what do we need to do to approve this one?

@stickyrst
Copy link

Hello! This has still not been approved

@stickyrst
Copy link

how is this still not merged yet?

@profnandaa profnandaa merged commit 752bd09 into validatorjs:master Apr 25, 2024
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants