Comparing version 4.1.5 to 4.1.6
@@ -198,4 +198,4 @@ /*! | ||
locationCode?: string; | ||
branchCode?: string; | ||
testBIC?: boolean; | ||
branchCode: string | null; | ||
testBIC: boolean; | ||
valid: boolean; | ||
@@ -202,0 +202,0 @@ } |
@@ -11,3 +11,3 @@ /*! | ||
* @module ibantools | ||
* @version 4.1.5 | ||
* @version 4.1.6 | ||
* @license MPL-2.0 | ||
@@ -428,3 +428,3 @@ * @preferred | ||
result.testBIC = result.locationCode[1] === '0' ? true : false; | ||
result.branchCode = bic.length > 8 ? bic.slice(8) : '619'; | ||
result.branchCode = bic.length > 8 ? bic.slice(8) : null; | ||
result.valid = true; | ||
@@ -1176,3 +1176,6 @@ } | ||
MM: {}, | ||
MN: {}, | ||
MN: { | ||
chars: 20, | ||
bban_regexp: '^[0-9]{16}$', | ||
}, | ||
MO: {}, | ||
@@ -1179,0 +1182,0 @@ MP: {}, |
@@ -11,3 +11,3 @@ /*! | ||
* @module ibantools | ||
* @version 4.1.5 | ||
* @version 4.1.6 | ||
* @license MPL-2.0 | ||
@@ -415,3 +415,3 @@ * @preferred | ||
result.testBIC = result.locationCode[1] === '0' ? true : false; | ||
result.branchCode = bic.length > 8 ? bic.slice(8) : '619'; | ||
result.branchCode = bic.length > 8 ? bic.slice(8) : null; | ||
result.valid = true; | ||
@@ -1162,3 +1162,6 @@ } | ||
MM: {}, | ||
MN: {}, | ||
MN: { | ||
chars: 20, | ||
bban_regexp: '^[0-9]{16}$', | ||
}, | ||
MO: {}, | ||
@@ -1165,0 +1168,0 @@ MP: {}, |
{ | ||
"name": "ibantools", | ||
"version": "4.1.5", | ||
"version": "4.1.6", | ||
"description": "Validation, extraction and creation of IBAN, BBAN, BIC/SWIFT numbers plus some other helpful stuff like ISO 3136-1 alpha 2 country list", | ||
@@ -68,6 +68,6 @@ "keywords": [ | ||
"karma-chrome-launcher": "^3.1", | ||
"karma-jasmine": "^4.0", | ||
"karma-jasmine": "^5.0", | ||
"karma-requirejs": "^1.1", | ||
"merge2": "^1.4.1", | ||
"mocha": "^9.0.2", | ||
"mocha": "^10.0.0", | ||
"mocha-lcov-reporter": "^1.2.0", | ||
@@ -77,5 +77,8 @@ "nyc": "^15.1.0", | ||
"requirejs": "^2.3.6", | ||
"typedoc": "^0.22.9", | ||
"typedoc": "^0.23.1", | ||
"typescript": "^4.3.5" | ||
}, | ||
"resolutions": { | ||
"source-map": "^0.8.0-beta.0" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
107442
3088