Skip to content

Commit

Permalink
feat(isIBAN): add Algeria locale (#2320)
Browse files Browse the repository at this point in the history
  • Loading branch information
thibault-lr authored Apr 27, 2024
1 parent 11ac6a4 commit d8c93d2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/lib/isIBAN.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ const ibanRegexThroughCountryCode = {
DE: /^(DE[0-9]{2})\d{18}$/,
DK: /^(DK[0-9]{2})\d{14}$/,
DO: /^(DO[0-9]{2})[A-Z]{4}\d{20}$/,
DZ: /^(DZ\d{24})$/,
EE: /^(EE[0-9]{2})\d{16}$/,
EG: /^(EG[0-9]{2})\d{25}$/,
ES: /^(ES[0-9]{2})\d{20}$/,
Expand Down
1 change: 1 addition & 0 deletions test/validators.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -5360,6 +5360,7 @@ describe('Validators', () => {
'IR200170000000339545727003',
'MZ97123412341234123412341',
'MA64011519000001205000534921',
'DZ580002100001113000000570',
],
invalid: [
'XX22YYY1234567890123',
Expand Down

0 comments on commit d8c93d2

Please sign in to comment.