Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ibantools

Package Overview
Dependencies
Maintainers
1
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ibantools - npm Package Compare versions

Comparing version 3.2.2 to 3.2.3

399

build/ibantools.js

@@ -11,3 +11,3 @@ /*!

* @module ibantools
* @version 3.2.2
* @version 3.2.3
* @license MPL-2.0

@@ -35,3 +35,5 @@ * @preferred

if (spec !== undefined &&
spec.bban_regexp &&
spec.bban_regexp !== null &&
spec.chars &&
spec.chars === iban.length &&

@@ -64,4 +66,6 @@ reg.test(iban.slice(2, 4)) &&

spec !== null &&
spec.bban_regexp &&
spec.bban_regexp !== null &&
spec.chars &&
spec.chars !== null &&
spec.bban_regexp !== null &&
spec.chars - 4 === bban.length &&

@@ -90,3 +94,3 @@ checkFormatBBAN(bban, spec.bban_regexp)) {

if (spec !== undefined) {
return spec.SEPA;
return spec.SEPA ? spec.SEPA : false;
}

@@ -113,4 +117,6 @@ }

spec !== undefined &&
spec.chars &&
spec.chars !== null &&
spec.chars === formated_bban.length + 4 &&
spec.bban_regexp &&
spec.bban_regexp !== null &&

@@ -268,3 +274,13 @@ checkFormatBBAN(formated_bban, spec.bban_regexp)) {

function getCountrySpecifications() {
return countrySpecs;
var countyMap = {};
for (var countyCode in countrySpecs) {
var county = countrySpecs[countyCode];
countyMap[countyCode] = {
chars: county.chars ? county.chars : null,
bban_regexp: county.bban_regexp ? county.bban_regexp : null,
IBANRegistry: county.IBANRegistry ? county.IBANRegistry : false,
SEPA: county.SEPA ? county.SEPA : false,
};
}
return countyMap;
}

@@ -331,3 +347,2 @@ exports.getCountrySpecifications = getCountrySpecifications;

IBANRegistry: true,
SEPA: false,
},

@@ -338,7 +353,6 @@ AE: {

IBANRegistry: true,
SEPA: false,
},
AF: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
AG: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
AI: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
AF: {},
AG: {},
AI: {},
AL: {

@@ -348,17 +362,14 @@ chars: 28,

IBANRegistry: true,
SEPA: false,
},
AM: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
AM: {},
AO: {
chars: 25,
bban_regexp: '^[0-9]{21}$',
IBANRegistry: false,
SEPA: false,
},
AQ: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
AR: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
AS: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
AQ: {},
AR: {},
AS: {},
AT: { chars: 20, bban_regexp: '^[0-9]{16}$', IBANRegistry: true, SEPA: true },
AU: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
AW: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
AU: {},
AW: {},
AX: {

@@ -368,3 +379,2 @@ chars: 18,

IBANRegistry: true,
SEPA: false,
},

@@ -375,3 +385,2 @@ AZ: {

IBANRegistry: true,
SEPA: false,
},

@@ -382,6 +391,5 @@ BA: {

IBANRegistry: true,
SEPA: false,
},
BB: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
BD: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
BB: {},
BD: {},
BE: { chars: 16, bban_regexp: '^[0-9]{12}$', IBANRegistry: true, SEPA: true },

@@ -391,4 +399,2 @@ BF: {

bban_regexp: '^[0-9]{23}$',
IBANRegistry: false,
SEPA: false,
},

@@ -399,3 +405,2 @@ BG: {

IBANRegistry: true,
SEPA: true,
},

@@ -406,3 +411,2 @@ BH: {

IBANRegistry: true,
SEPA: false,
},

@@ -412,4 +416,2 @@ BI: {

bban_regexp: '^[0-9]{12}$',
IBANRegistry: false,
SEPA: false,
},

@@ -419,4 +421,2 @@ BJ: {

bban_regexp: '^[A-Z]{1}[0-9]{23}$',
IBANRegistry: false,
SEPA: false,
},

@@ -427,8 +427,7 @@ BL: {

IBANRegistry: true,
SEPA: false,
},
BM: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
BN: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
BO: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
BQ: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
BM: {},
BN: {},
BO: {},
BQ: {},
BR: {

@@ -438,8 +437,7 @@ chars: 29,

IBANRegistry: true,
SEPA: false,
},
BS: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
BT: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
BV: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
BW: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
BS: {},
BT: {},
BV: {},
BW: {},
BY: {

@@ -449,13 +447,10 @@ chars: 28,

IBANRegistry: true,
SEPA: false,
},
BZ: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
CA: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
CC: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
CD: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
BZ: {},
CA: {},
CC: {},
CD: {},
CF: {
chars: 27,
bban_regexp: '^[0-9]{23}$',
IBANRegistry: false,
SEPA: false,
},

@@ -465,4 +460,2 @@ CG: {

bban_regexp: '^[0-9]{23}$',
IBANRegistry: false,
SEPA: false,
},

@@ -478,15 +471,11 @@ CH: {

bban_regexp: '^[A-Z]{1}[0-9]{23}$',
IBANRegistry: false,
SEPA: false,
},
CK: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
CL: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
CK: {},
CL: {},
CM: {
chars: 27,
bban_regexp: '^[0-9]{23}$',
IBANRegistry: false,
SEPA: false,
},
CN: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
CO: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
CN: {},
CO: {},
CR: {

@@ -496,8 +485,7 @@ chars: 22,

IBANRegistry: true,
SEPA: false,
},
CU: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
CV: { chars: 25, bban_regexp: '^[0-9]{21}$', IBANRegistry: false, SEPA: false },
CW: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
CX: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
CU: {},
CV: { chars: 25, bban_regexp: '^[0-9]{21}$' },
CW: {},
CX: {},
CY: {

@@ -514,7 +502,5 @@ chars: 28,

bban_regexp: '^[0-9]{23}$',
IBANRegistry: false,
SEPA: false,
},
DK: { chars: 18, bban_regexp: '^[0-9]{14}$', IBANRegistry: true, SEPA: true },
DM: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
DM: {},
DO: {

@@ -524,3 +510,2 @@ chars: 28,

IBANRegistry: true,
SEPA: false,
},

@@ -530,16 +515,14 @@ DZ: {

bban_regexp: '^[0-9]{20}$',
IBANRegistry: false,
SEPA: false,
},
EC: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
EC: {},
EE: { chars: 20, bban_regexp: '^[0-9]{16}$', IBANRegistry: true, SEPA: true },
EG: { chars: 29, bban_regexp: '^[0-9]{25}', IBANRegistry: true, SEPA: false },
EH: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
ER: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
EG: { chars: 29, bban_regexp: '^[0-9]{25}', IBANRegistry: true },
EH: {},
ER: {},
ES: { chars: 24, bban_regexp: '^[0-9]{20}$', IBANRegistry: true, SEPA: true },
ET: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
ET: {},
FI: { chars: 18, bban_regexp: '^[0-9]{14}$', IBANRegistry: true, SEPA: true },
FJ: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
FK: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
FM: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
FJ: {},
FK: {},
FM: {},
FO: { chars: 18, bban_regexp: '^[0-9]{14}$', IBANRegistry: true, SEPA: true },

@@ -555,4 +538,2 @@ FR: {

bban_regexp: '^[0-9]{23}$',
IBANRegistry: false,
SEPA: false,
},

@@ -565,3 +546,3 @@ GB: {

},
GD: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
GD: {},
GE: {

@@ -571,3 +552,2 @@ chars: 22,

IBANRegistry: true,
SEPA: false,
},

@@ -578,6 +558,5 @@ GF: {

IBANRegistry: true,
SEPA: false,
},
GG: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
GH: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
GG: {},
GH: {},
GI: {

@@ -590,4 +569,4 @@ chars: 23,

GL: { chars: 18, bban_regexp: '^[0-9]{14}$', IBANRegistry: true, SEPA: true },
GM: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
GN: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
GM: {},
GN: {},
GP: {

@@ -597,3 +576,2 @@ chars: 27,

IBANRegistry: true,
SEPA: false,
},

@@ -603,4 +581,2 @@ GQ: {

bban_regexp: '^[0-9]{23}$',
IBANRegistry: false,
SEPA: false,
},

@@ -613,3 +589,3 @@ GR: {

},
GS: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
GS: {},
GT: {

@@ -619,24 +595,19 @@ chars: 28,

IBANRegistry: true,
SEPA: false,
},
GU: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
GU: {},
GW: {
chars: 25,
bban_regexp: '^[A-Z]{2}[0-9]{19}$',
IBANRegistry: false,
SEPA: false,
},
GY: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
HK: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
HM: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
GY: {},
HK: {},
HM: {},
HN: {
chars: 28,
bban_regexp: '^[A-Z]{4}[0-9]{20}$',
IBANRegistry: false,
SEPA: false,
},
HR: { chars: 21, bban_regexp: '^[0-9]{17}$', IBANRegistry: true, SEPA: true },
HT: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
HT: {},
HU: { chars: 28, bban_regexp: '^[0-9]{24}$', IBANRegistry: true, SEPA: true },
ID: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
ID: {},
IE: {

@@ -652,7 +623,6 @@ chars: 22,

IBANRegistry: true,
SEPA: false,
},
IM: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
IN: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
IO: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
IM: {},
IN: {},
IO: {},
IQ: {

@@ -662,3 +632,2 @@ chars: 23,

IBANRegistry: true,
SEPA: false,
},

@@ -668,4 +637,2 @@ IR: {

bban_regexp: '^[0-9]{22}$',
IBANRegistry: false,
SEPA: false,
},

@@ -679,4 +646,4 @@ IS: { chars: 26, bban_regexp: '^[0-9]{22}$', IBANRegistry: true, SEPA: true },

},
JE: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
JM: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
JE: {},
JM: {},
JO: {

@@ -686,18 +653,15 @@ chars: 30,

IBANRegistry: true,
SEPA: false,
},
JP: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
KE: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
KG: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
KH: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
KI: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
JP: {},
KE: {},
KG: {},
KH: {},
KI: {},
KM: {
chars: 27,
bban_regexp: '^[0-9]{23}$',
IBANRegistry: false,
SEPA: false,
},
KN: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
KP: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
KR: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
KN: {},
KP: {},
KR: {},
KW: {

@@ -707,5 +671,4 @@ chars: 30,

IBANRegistry: true,
SEPA: false,
},
KY: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
KY: {},
KZ: {

@@ -715,5 +678,4 @@ chars: 20,

IBANRegistry: true,
SEPA: false,
},
LA: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
LA: {},
LB: {

@@ -723,3 +685,2 @@ chars: 28,

IBANRegistry: true,
SEPA: false,
},

@@ -730,3 +691,2 @@ LC: {

IBANRegistry: true,
SEPA: false,
},

@@ -739,5 +699,5 @@ LI: {

},
LK: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
LR: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
LS: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
LK: {},
LR: {},
LS: {},
LT: { chars: 20, bban_regexp: '^[0-9]{16}$', IBANRegistry: true, SEPA: true },

@@ -760,3 +720,2 @@ LU: {

IBANRegistry: true,
SEPA: false,
},

@@ -766,4 +725,2 @@ MA: {

bban_regexp: '^[0-9]{24}$',
IBANRegistry: false,
SEPA: false,
},

@@ -780,3 +737,2 @@ MC: {

IBANRegistry: true,
SEPA: false,
},

@@ -787,3 +743,2 @@ ME: {

IBANRegistry: true,
SEPA: false,
},

@@ -794,3 +749,2 @@ MF: {

IBANRegistry: true,
SEPA: false,
},

@@ -800,6 +754,4 @@ MG: {

bban_regexp: '^[0-9]{23}$',
IBANRegistry: false,
SEPA: false,
},
MH: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
MH: {},
MK: {

@@ -809,3 +761,2 @@ chars: 19,

IBANRegistry: true,
SEPA: false,
},

@@ -815,9 +766,7 @@ ML: {

bban_regexp: '^[A-Z]{1}[0-9]{23}$',
IBANRegistry: false,
SEPA: false,
},
MM: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
MN: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
MO: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
MP: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
MM: {},
MN: {},
MO: {},
MP: {},
MQ: {

@@ -827,3 +776,2 @@ chars: 27,

IBANRegistry: true,
SEPA: false,
},

@@ -834,5 +782,4 @@ MR: {

IBANRegistry: true,
SEPA: false,
},
MS: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
MS: {},
MT: {

@@ -848,15 +795,12 @@ chars: 31,

IBANRegistry: true,
SEPA: false,
},
MV: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
MW: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
MX: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
MY: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
MV: {},
MW: {},
MX: {},
MY: {},
MZ: {
chars: 25,
bban_regexp: '^[0-9]{21}$',
IBANRegistry: false,
SEPA: false,
},
NA: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
NA: {},
NC: {

@@ -866,3 +810,2 @@ chars: 27,

IBANRegistry: true,
SEPA: false,
},

@@ -872,12 +815,8 @@ NE: {

bban_regexp: '^[A-Z]{2}[0-9]{22}$',
IBANRegistry: false,
SEPA: false,
},
NF: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
NG: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
NF: {},
NG: {},
NI: {
chars: 32,
bban_regexp: '^[A-Z]{4}[0-9]{24}$',
IBANRegistry: false,
SEPA: false,
},

@@ -891,9 +830,9 @@ NL: {

NO: { chars: 15, bban_regexp: '^[0-9]{11}$', IBANRegistry: true, SEPA: true },
NP: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
NR: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
NU: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
NZ: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
OM: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
PA: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
PE: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
NP: {},
NR: {},
NU: {},
NZ: {},
OM: {},
PA: {},
PE: {},
PF: {

@@ -903,6 +842,5 @@ chars: 27,

IBANRegistry: true,
SEPA: false,
},
PG: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
PH: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
PG: {},
PH: {},
PK: {

@@ -912,3 +850,2 @@ chars: 24,

IBANRegistry: true,
SEPA: false,
},

@@ -920,6 +857,5 @@ PL: { chars: 28, bban_regexp: '^[0-9]{24}$', IBANRegistry: true, SEPA: true },

IBANRegistry: true,
SEPA: false,
},
PN: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
PR: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
PN: {},
PR: {},
PS: {

@@ -929,7 +865,6 @@ chars: 29,

IBANRegistry: true,
SEPA: false,
},
PT: { chars: 25, bban_regexp: '^[0-9]{21}$', IBANRegistry: true, SEPA: true },
PW: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
PY: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
PW: {},
PY: {},
QA: {

@@ -939,3 +874,2 @@ chars: 29,

IBANRegistry: true,
SEPA: false,
},

@@ -946,3 +880,2 @@ RE: {

IBANRegistry: true,
SEPA: false,
},

@@ -959,6 +892,5 @@ RO: {

IBANRegistry: true,
SEPA: false,
},
RU: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
RW: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
RU: {},
RW: {},
SA: {

@@ -968,5 +900,4 @@ chars: 24,

IBANRegistry: true,
SEPA: false,
},
SB: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
SB: {},
SC: {

@@ -976,12 +907,11 @@ chars: 31,

IBANRegistry: true,
SEPA: false,
},
SD: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
SD: {},
SE: { chars: 24, bban_regexp: '^[0-9]{20}$', IBANRegistry: true, SEPA: true },
SG: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
SH: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
SG: {},
SH: {},
SI: { chars: 19, bban_regexp: '^[0-9]{15}$', IBANRegistry: true, SEPA: true },
SJ: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
SJ: {},
SK: { chars: 24, bban_regexp: '^[0-9]{20}$', IBANRegistry: true, SEPA: true },
SL: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
SL: {},
SM: {

@@ -996,8 +926,6 @@ chars: 27,

bban_regexp: '^[A-Z]{1}[0-9]{23}$',
IBANRegistry: false,
SEPA: false,
},
SO: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
SR: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
SS: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
SO: {},
SR: {},
SS: {},
ST: {

@@ -1007,3 +935,2 @@ chars: 25,

IBANRegistry: true,
SEPA: false,
},

@@ -1014,13 +941,10 @@ SV: {

IBANRegistry: true,
SEPA: false,
},
SX: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
SY: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
SZ: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
TC: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
SX: {},
SY: {},
SZ: {},
TC: {},
TD: {
chars: 27,
bban_regexp: '^[0-9]{23}$',
IBANRegistry: false,
SEPA: false,
},

@@ -1031,3 +955,2 @@ TF: {

IBANRegistry: true,
SEPA: false,
},

@@ -1037,8 +960,6 @@ TG: {

bban_regexp: '^[A-Z]{2}[0-9]{22}$',
IBANRegistry: false,
SEPA: false,
},
TH: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
TJ: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
TK: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
TH: {},
TJ: {},
TK: {},
TL: {

@@ -1048,5 +969,4 @@ chars: 23,

IBANRegistry: true,
SEPA: false,
},
TM: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
TM: {},
TN: {

@@ -1056,5 +976,4 @@ chars: 24,

IBANRegistry: true,
SEPA: false,
},
TO: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
TO: {},
TR: {

@@ -1064,8 +983,7 @@ chars: 26,

IBANRegistry: true,
SEPA: false,
},
TT: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
TV: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
TW: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
TZ: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
TT: {},
TV: {},
TW: {},
TZ: {},
UA: {

@@ -1075,12 +993,11 @@ chars: 29,

IBANRegistry: true,
SEPA: false,
},
UG: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
UM: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
US: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
UY: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
UZ: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
VA: { chars: 22, bban_regexp: '^[0-9]{18}', IBANRegistry: true, SEPA: false },
VC: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
VE: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
UG: {},
UM: {},
US: {},
UY: {},
UZ: {},
VA: { chars: 22, bban_regexp: '^[0-9]{18}', IBANRegistry: true },
VC: {},
VE: {},
VG: {

@@ -1090,7 +1007,6 @@ chars: 24,

IBANRegistry: true,
SEPA: false,
},
VI: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
VN: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
VU: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
VI: {},
VN: {},
VU: {},
WF: {

@@ -1100,5 +1016,4 @@ chars: 27,

IBANRegistry: true,
SEPA: false,
},
WS: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
WS: {},
XK: {

@@ -1108,5 +1023,4 @@ chars: 20,

IBANRegistry: true,
SEPA: false,
},
YE: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
YE: {},
YT: {

@@ -1116,7 +1030,6 @@ chars: 27,

IBANRegistry: true,
SEPA: false,
},
ZA: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
ZM: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
ZW: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
ZA: {},
ZM: {},
ZW: {},
};

@@ -11,3 +11,3 @@ /*!

* @module ibantools
* @version 3.2.2
* @version 3.2.3
* @license MPL-2.0

@@ -33,3 +33,5 @@ * @preferred

if (spec !== undefined &&
spec.bban_regexp &&
spec.bban_regexp !== null &&
spec.chars &&
spec.chars === iban.length &&

@@ -61,4 +63,6 @@ reg.test(iban.slice(2, 4)) &&

spec !== null &&
spec.bban_regexp &&
spec.bban_regexp !== null &&
spec.chars &&
spec.chars !== null &&
spec.bban_regexp !== null &&
spec.chars - 4 === bban.length &&

@@ -86,3 +90,3 @@ checkFormatBBAN(bban, spec.bban_regexp)) {

if (spec !== undefined) {
return spec.SEPA;
return spec.SEPA ? spec.SEPA : false;
}

@@ -108,4 +112,6 @@ }

spec !== undefined &&
spec.chars &&
spec.chars !== null &&
spec.chars === formated_bban.length + 4 &&
spec.bban_regexp &&
spec.bban_regexp !== null &&

@@ -259,3 +265,13 @@ checkFormatBBAN(formated_bban, spec.bban_regexp)) {

export function getCountrySpecifications() {
return countrySpecs;
var countyMap = {};
for (var countyCode in countrySpecs) {
var county = countrySpecs[countyCode];
countyMap[countyCode] = {
chars: county.chars ? county.chars : null,
bban_regexp: county.bban_regexp ? county.bban_regexp : null,
IBANRegistry: county.IBANRegistry ? county.IBANRegistry : false,
SEPA: county.SEPA ? county.SEPA : false,
};
}
return countyMap;
}

@@ -319,3 +335,2 @@ /**

IBANRegistry: true,
SEPA: false,
},

@@ -326,7 +341,6 @@ AE: {

IBANRegistry: true,
SEPA: false,
},
AF: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
AG: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
AI: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
AF: {},
AG: {},
AI: {},
AL: {

@@ -336,17 +350,14 @@ chars: 28,

IBANRegistry: true,
SEPA: false,
},
AM: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
AM: {},
AO: {
chars: 25,
bban_regexp: '^[0-9]{21}$',
IBANRegistry: false,
SEPA: false,
},
AQ: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
AR: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
AS: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
AQ: {},
AR: {},
AS: {},
AT: { chars: 20, bban_regexp: '^[0-9]{16}$', IBANRegistry: true, SEPA: true },
AU: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
AW: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
AU: {},
AW: {},
AX: {

@@ -356,3 +367,2 @@ chars: 18,

IBANRegistry: true,
SEPA: false,
},

@@ -363,3 +373,2 @@ AZ: {

IBANRegistry: true,
SEPA: false,
},

@@ -370,6 +379,5 @@ BA: {

IBANRegistry: true,
SEPA: false,
},
BB: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
BD: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
BB: {},
BD: {},
BE: { chars: 16, bban_regexp: '^[0-9]{12}$', IBANRegistry: true, SEPA: true },

@@ -379,4 +387,2 @@ BF: {

bban_regexp: '^[0-9]{23}$',
IBANRegistry: false,
SEPA: false,
},

@@ -387,3 +393,2 @@ BG: {

IBANRegistry: true,
SEPA: true,
},

@@ -394,3 +399,2 @@ BH: {

IBANRegistry: true,
SEPA: false,
},

@@ -400,4 +404,2 @@ BI: {

bban_regexp: '^[0-9]{12}$',
IBANRegistry: false,
SEPA: false,
},

@@ -407,4 +409,2 @@ BJ: {

bban_regexp: '^[A-Z]{1}[0-9]{23}$',
IBANRegistry: false,
SEPA: false,
},

@@ -415,8 +415,7 @@ BL: {

IBANRegistry: true,
SEPA: false,
},
BM: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
BN: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
BO: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
BQ: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
BM: {},
BN: {},
BO: {},
BQ: {},
BR: {

@@ -426,8 +425,7 @@ chars: 29,

IBANRegistry: true,
SEPA: false,
},
BS: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
BT: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
BV: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
BW: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
BS: {},
BT: {},
BV: {},
BW: {},
BY: {

@@ -437,13 +435,10 @@ chars: 28,

IBANRegistry: true,
SEPA: false,
},
BZ: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
CA: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
CC: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
CD: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
BZ: {},
CA: {},
CC: {},
CD: {},
CF: {
chars: 27,
bban_regexp: '^[0-9]{23}$',
IBANRegistry: false,
SEPA: false,
},

@@ -453,4 +448,2 @@ CG: {

bban_regexp: '^[0-9]{23}$',
IBANRegistry: false,
SEPA: false,
},

@@ -466,15 +459,11 @@ CH: {

bban_regexp: '^[A-Z]{1}[0-9]{23}$',
IBANRegistry: false,
SEPA: false,
},
CK: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
CL: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
CK: {},
CL: {},
CM: {
chars: 27,
bban_regexp: '^[0-9]{23}$',
IBANRegistry: false,
SEPA: false,
},
CN: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
CO: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
CN: {},
CO: {},
CR: {

@@ -484,8 +473,7 @@ chars: 22,

IBANRegistry: true,
SEPA: false,
},
CU: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
CV: { chars: 25, bban_regexp: '^[0-9]{21}$', IBANRegistry: false, SEPA: false },
CW: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
CX: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
CU: {},
CV: { chars: 25, bban_regexp: '^[0-9]{21}$' },
CW: {},
CX: {},
CY: {

@@ -502,7 +490,5 @@ chars: 28,

bban_regexp: '^[0-9]{23}$',
IBANRegistry: false,
SEPA: false,
},
DK: { chars: 18, bban_regexp: '^[0-9]{14}$', IBANRegistry: true, SEPA: true },
DM: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
DM: {},
DO: {

@@ -512,3 +498,2 @@ chars: 28,

IBANRegistry: true,
SEPA: false,
},

@@ -518,16 +503,14 @@ DZ: {

bban_regexp: '^[0-9]{20}$',
IBANRegistry: false,
SEPA: false,
},
EC: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
EC: {},
EE: { chars: 20, bban_regexp: '^[0-9]{16}$', IBANRegistry: true, SEPA: true },
EG: { chars: 29, bban_regexp: '^[0-9]{25}', IBANRegistry: true, SEPA: false },
EH: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
ER: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
EG: { chars: 29, bban_regexp: '^[0-9]{25}', IBANRegistry: true },
EH: {},
ER: {},
ES: { chars: 24, bban_regexp: '^[0-9]{20}$', IBANRegistry: true, SEPA: true },
ET: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
ET: {},
FI: { chars: 18, bban_regexp: '^[0-9]{14}$', IBANRegistry: true, SEPA: true },
FJ: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
FK: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
FM: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
FJ: {},
FK: {},
FM: {},
FO: { chars: 18, bban_regexp: '^[0-9]{14}$', IBANRegistry: true, SEPA: true },

@@ -543,4 +526,2 @@ FR: {

bban_regexp: '^[0-9]{23}$',
IBANRegistry: false,
SEPA: false,
},

@@ -553,3 +534,3 @@ GB: {

},
GD: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
GD: {},
GE: {

@@ -559,3 +540,2 @@ chars: 22,

IBANRegistry: true,
SEPA: false,
},

@@ -566,6 +546,5 @@ GF: {

IBANRegistry: true,
SEPA: false,
},
GG: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
GH: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
GG: {},
GH: {},
GI: {

@@ -578,4 +557,4 @@ chars: 23,

GL: { chars: 18, bban_regexp: '^[0-9]{14}$', IBANRegistry: true, SEPA: true },
GM: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
GN: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
GM: {},
GN: {},
GP: {

@@ -585,3 +564,2 @@ chars: 27,

IBANRegistry: true,
SEPA: false,
},

@@ -591,4 +569,2 @@ GQ: {

bban_regexp: '^[0-9]{23}$',
IBANRegistry: false,
SEPA: false,
},

@@ -601,3 +577,3 @@ GR: {

},
GS: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
GS: {},
GT: {

@@ -607,24 +583,19 @@ chars: 28,

IBANRegistry: true,
SEPA: false,
},
GU: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
GU: {},
GW: {
chars: 25,
bban_regexp: '^[A-Z]{2}[0-9]{19}$',
IBANRegistry: false,
SEPA: false,
},
GY: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
HK: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
HM: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
GY: {},
HK: {},
HM: {},
HN: {
chars: 28,
bban_regexp: '^[A-Z]{4}[0-9]{20}$',
IBANRegistry: false,
SEPA: false,
},
HR: { chars: 21, bban_regexp: '^[0-9]{17}$', IBANRegistry: true, SEPA: true },
HT: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
HT: {},
HU: { chars: 28, bban_regexp: '^[0-9]{24}$', IBANRegistry: true, SEPA: true },
ID: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
ID: {},
IE: {

@@ -640,7 +611,6 @@ chars: 22,

IBANRegistry: true,
SEPA: false,
},
IM: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
IN: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
IO: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
IM: {},
IN: {},
IO: {},
IQ: {

@@ -650,3 +620,2 @@ chars: 23,

IBANRegistry: true,
SEPA: false,
},

@@ -656,4 +625,2 @@ IR: {

bban_regexp: '^[0-9]{22}$',
IBANRegistry: false,
SEPA: false,
},

@@ -667,4 +634,4 @@ IS: { chars: 26, bban_regexp: '^[0-9]{22}$', IBANRegistry: true, SEPA: true },

},
JE: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
JM: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
JE: {},
JM: {},
JO: {

@@ -674,18 +641,15 @@ chars: 30,

IBANRegistry: true,
SEPA: false,
},
JP: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
KE: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
KG: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
KH: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
KI: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
JP: {},
KE: {},
KG: {},
KH: {},
KI: {},
KM: {
chars: 27,
bban_regexp: '^[0-9]{23}$',
IBANRegistry: false,
SEPA: false,
},
KN: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
KP: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
KR: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
KN: {},
KP: {},
KR: {},
KW: {

@@ -695,5 +659,4 @@ chars: 30,

IBANRegistry: true,
SEPA: false,
},
KY: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
KY: {},
KZ: {

@@ -703,5 +666,4 @@ chars: 20,

IBANRegistry: true,
SEPA: false,
},
LA: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
LA: {},
LB: {

@@ -711,3 +673,2 @@ chars: 28,

IBANRegistry: true,
SEPA: false,
},

@@ -718,3 +679,2 @@ LC: {

IBANRegistry: true,
SEPA: false,
},

@@ -727,5 +687,5 @@ LI: {

},
LK: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
LR: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
LS: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
LK: {},
LR: {},
LS: {},
LT: { chars: 20, bban_regexp: '^[0-9]{16}$', IBANRegistry: true, SEPA: true },

@@ -748,3 +708,2 @@ LU: {

IBANRegistry: true,
SEPA: false,
},

@@ -754,4 +713,2 @@ MA: {

bban_regexp: '^[0-9]{24}$',
IBANRegistry: false,
SEPA: false,
},

@@ -768,3 +725,2 @@ MC: {

IBANRegistry: true,
SEPA: false,
},

@@ -775,3 +731,2 @@ ME: {

IBANRegistry: true,
SEPA: false,
},

@@ -782,3 +737,2 @@ MF: {

IBANRegistry: true,
SEPA: false,
},

@@ -788,6 +742,4 @@ MG: {

bban_regexp: '^[0-9]{23}$',
IBANRegistry: false,
SEPA: false,
},
MH: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
MH: {},
MK: {

@@ -797,3 +749,2 @@ chars: 19,

IBANRegistry: true,
SEPA: false,
},

@@ -803,9 +754,7 @@ ML: {

bban_regexp: '^[A-Z]{1}[0-9]{23}$',
IBANRegistry: false,
SEPA: false,
},
MM: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
MN: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
MO: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
MP: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
MM: {},
MN: {},
MO: {},
MP: {},
MQ: {

@@ -815,3 +764,2 @@ chars: 27,

IBANRegistry: true,
SEPA: false,
},

@@ -822,5 +770,4 @@ MR: {

IBANRegistry: true,
SEPA: false,
},
MS: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
MS: {},
MT: {

@@ -836,15 +783,12 @@ chars: 31,

IBANRegistry: true,
SEPA: false,
},
MV: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
MW: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
MX: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
MY: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
MV: {},
MW: {},
MX: {},
MY: {},
MZ: {
chars: 25,
bban_regexp: '^[0-9]{21}$',
IBANRegistry: false,
SEPA: false,
},
NA: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
NA: {},
NC: {

@@ -854,3 +798,2 @@ chars: 27,

IBANRegistry: true,
SEPA: false,
},

@@ -860,12 +803,8 @@ NE: {

bban_regexp: '^[A-Z]{2}[0-9]{22}$',
IBANRegistry: false,
SEPA: false,
},
NF: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
NG: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
NF: {},
NG: {},
NI: {
chars: 32,
bban_regexp: '^[A-Z]{4}[0-9]{24}$',
IBANRegistry: false,
SEPA: false,
},

@@ -879,9 +818,9 @@ NL: {

NO: { chars: 15, bban_regexp: '^[0-9]{11}$', IBANRegistry: true, SEPA: true },
NP: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
NR: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
NU: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
NZ: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
OM: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
PA: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
PE: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
NP: {},
NR: {},
NU: {},
NZ: {},
OM: {},
PA: {},
PE: {},
PF: {

@@ -891,6 +830,5 @@ chars: 27,

IBANRegistry: true,
SEPA: false,
},
PG: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
PH: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
PG: {},
PH: {},
PK: {

@@ -900,3 +838,2 @@ chars: 24,

IBANRegistry: true,
SEPA: false,
},

@@ -908,6 +845,5 @@ PL: { chars: 28, bban_regexp: '^[0-9]{24}$', IBANRegistry: true, SEPA: true },

IBANRegistry: true,
SEPA: false,
},
PN: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
PR: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
PN: {},
PR: {},
PS: {

@@ -917,7 +853,6 @@ chars: 29,

IBANRegistry: true,
SEPA: false,
},
PT: { chars: 25, bban_regexp: '^[0-9]{21}$', IBANRegistry: true, SEPA: true },
PW: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
PY: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
PW: {},
PY: {},
QA: {

@@ -927,3 +862,2 @@ chars: 29,

IBANRegistry: true,
SEPA: false,
},

@@ -934,3 +868,2 @@ RE: {

IBANRegistry: true,
SEPA: false,
},

@@ -947,6 +880,5 @@ RO: {

IBANRegistry: true,
SEPA: false,
},
RU: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
RW: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
RU: {},
RW: {},
SA: {

@@ -956,5 +888,4 @@ chars: 24,

IBANRegistry: true,
SEPA: false,
},
SB: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
SB: {},
SC: {

@@ -964,12 +895,11 @@ chars: 31,

IBANRegistry: true,
SEPA: false,
},
SD: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
SD: {},
SE: { chars: 24, bban_regexp: '^[0-9]{20}$', IBANRegistry: true, SEPA: true },
SG: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
SH: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
SG: {},
SH: {},
SI: { chars: 19, bban_regexp: '^[0-9]{15}$', IBANRegistry: true, SEPA: true },
SJ: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
SJ: {},
SK: { chars: 24, bban_regexp: '^[0-9]{20}$', IBANRegistry: true, SEPA: true },
SL: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
SL: {},
SM: {

@@ -984,8 +914,6 @@ chars: 27,

bban_regexp: '^[A-Z]{1}[0-9]{23}$',
IBANRegistry: false,
SEPA: false,
},
SO: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
SR: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
SS: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
SO: {},
SR: {},
SS: {},
ST: {

@@ -995,3 +923,2 @@ chars: 25,

IBANRegistry: true,
SEPA: false,
},

@@ -1002,13 +929,10 @@ SV: {

IBANRegistry: true,
SEPA: false,
},
SX: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
SY: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
SZ: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
TC: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
SX: {},
SY: {},
SZ: {},
TC: {},
TD: {
chars: 27,
bban_regexp: '^[0-9]{23}$',
IBANRegistry: false,
SEPA: false,
},

@@ -1019,3 +943,2 @@ TF: {

IBANRegistry: true,
SEPA: false,
},

@@ -1025,8 +948,6 @@ TG: {

bban_regexp: '^[A-Z]{2}[0-9]{22}$',
IBANRegistry: false,
SEPA: false,
},
TH: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
TJ: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
TK: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
TH: {},
TJ: {},
TK: {},
TL: {

@@ -1036,5 +957,4 @@ chars: 23,

IBANRegistry: true,
SEPA: false,
},
TM: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
TM: {},
TN: {

@@ -1044,5 +964,4 @@ chars: 24,

IBANRegistry: true,
SEPA: false,
},
TO: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
TO: {},
TR: {

@@ -1052,8 +971,7 @@ chars: 26,

IBANRegistry: true,
SEPA: false,
},
TT: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
TV: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
TW: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
TZ: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
TT: {},
TV: {},
TW: {},
TZ: {},
UA: {

@@ -1063,12 +981,11 @@ chars: 29,

IBANRegistry: true,
SEPA: false,
},
UG: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
UM: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
US: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
UY: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
UZ: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
VA: { chars: 22, bban_regexp: '^[0-9]{18}', IBANRegistry: true, SEPA: false },
VC: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
VE: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
UG: {},
UM: {},
US: {},
UY: {},
UZ: {},
VA: { chars: 22, bban_regexp: '^[0-9]{18}', IBANRegistry: true },
VC: {},
VE: {},
VG: {

@@ -1078,7 +995,6 @@ chars: 24,

IBANRegistry: true,
SEPA: false,
},
VI: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
VN: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
VU: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
VI: {},
VN: {},
VU: {},
WF: {

@@ -1088,5 +1004,4 @@ chars: 27,

IBANRegistry: true,
SEPA: false,
},
WS: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
WS: {},
XK: {

@@ -1096,5 +1011,4 @@ chars: 20,

IBANRegistry: true,
SEPA: false,
},
YE: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
YE: {},
YT: {

@@ -1104,7 +1018,6 @@ chars: 27,

IBANRegistry: true,
SEPA: false,
},
ZA: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
ZM: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
ZW: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
ZA: {},
ZM: {},
ZW: {},
};
{
"name": "ibantools",
"version": "3.2.2",
"version": "3.2.3",
"description": "Validation, extraction and creation of IBAN, BBAN, BIC/SWIFT numbers plus some other helpful stuff like ISO 3136-1 alpha 2 country list",

@@ -5,0 +5,0 @@ "keywords": [

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc