You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Account number is not correct or missing for Iceland, Mauritius, Ireland, Seychelles, Portugal, Montenegro.
To Reproduce
run ibantools.extractIBAN(iban) from node.js (latest npm version)
Iceland
Mauritius
Ireland
Seychelles
Portugal
Montenegro
Note: I haven't checked all the countries but the pattern seems to be that it's incorrect when the country's IBAN format does not end with the account number. (more info on my testing source at the bottom)
Expected behavior
Account numbers should be correct and populated for all these countries.
Environment:
node.js ibantools v4.5.1
Additional context
To replicate easily and fix globally:
Describe the bug
Account number is not correct or missing for Iceland, Mauritius, Ireland, Seychelles, Portugal, Montenegro.
To Reproduce
run ibantools.extractIBAN(iban) from node.js (latest npm version)
Iceland
Mauritius
Ireland
Seychelles
Portugal
Montenegro
Note: I haven't checked all the countries but the pattern seems to be that it's incorrect when the country's IBAN format does not end with the account number. (more info on my testing source at the bottom)
Expected behavior
Account numbers should be correct and populated for all these countries.
Environment:
node.js ibantools v4.5.1
Additional context
To replicate easily and fix globally:
The text was updated successfully, but these errors were encountered: