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 4.3.3 to 4.3.4

2

build/ibantools.d.ts

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

* ```
* // returns {bankCode: "ABNA", countryCode: "NL", locationCode: "2A", branchCode: null, testBIC: flase, valid: true}
* // returns {bankCode: "ABNA", countryCode: "NL", locationCode: "2A", branchCode: null, testBIC: false, valid: true}
* ibantools.extractBIC("ABNANL2A");

@@ -244,0 +244,0 @@ * ```

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

* @module ibantools
* @version 4.3.3
* @version 4.3.4
* @license MPL-2.0

@@ -67,3 +67,3 @@ * @preferred

ValidationErrorsIBAN[ValidationErrorsIBAN["QRIBANNotAllowed"] = 7] = "QRIBANNotAllowed";
})(ValidationErrorsIBAN = exports.ValidationErrorsIBAN || (exports.ValidationErrorsIBAN = {}));
})(ValidationErrorsIBAN || (exports.ValidationErrorsIBAN = ValidationErrorsIBAN = {}));
/**

@@ -359,3 +359,3 @@ * validateIBAN

function mod9710Iban(iban) {
return mod9710(replaceCharaterWithCode(iban.slice(3) + iban.slice(0, 4)));
return mod9710(replaceCharaterWithCode(iban.slice(4) + iban.slice(0, 4)));
}

@@ -432,3 +432,3 @@ /**

ValidationErrorsBIC[ValidationErrorsBIC["WrongBICFormat"] = 2] = "WrongBICFormat";
})(ValidationErrorsBIC = exports.ValidationErrorsBIC || (exports.ValidationErrorsBIC = {}));
})(ValidationErrorsBIC || (exports.ValidationErrorsBIC = ValidationErrorsBIC = {}));
/**

@@ -467,3 +467,3 @@ * validateBIC

* ```
* // returns {bankCode: "ABNA", countryCode: "NL", locationCode: "2A", branchCode: null, testBIC: flase, valid: true}
* // returns {bankCode: "ABNA", countryCode: "NL", locationCode: "2A", branchCode: null, testBIC: false, valid: true}
* ibantools.extractBIC("ABNANL2A");

@@ -972,3 +972,6 @@ * ```

FJ: {},
FK: {},
FK: {
chars: 18,
bban_regexp: '^[A-Z]{2}[0-9]{12}$',
},
FM: {},

@@ -1254,4 +1257,4 @@ FO: { chars: 18, bban_regexp: '^[0-9]{14}$', IBANRegistry: true },

NI: {
chars: 32,
bban_regexp: '^[A-Z]{4}[0-9]{24}$',
chars: 28,
bban_regexp: '^[A-Z]{4}[0-9]{20}$',
},

@@ -1447,3 +1450,3 @@ NL: {

UZ: {},
VA: { chars: 22, bban_regexp: '^[0-9]{18}', IBANRegistry: true },
VA: { chars: 22, bban_regexp: '^[0-9]{18}', IBANRegistry: true, SEPA: true },
VC: {},

@@ -1450,0 +1453,0 @@ VE: {},

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

* @module ibantools
* @version 4.3.3
* @version 4.3.4
* @license MPL-2.0

@@ -347,3 +347,3 @@ * @preferred

function mod9710Iban(iban) {
return mod9710(replaceCharaterWithCode(iban.slice(3) + iban.slice(0, 4)));
return mod9710(replaceCharaterWithCode(iban.slice(4) + iban.slice(0, 4)));
}

@@ -451,3 +451,3 @@ /**

* ```
* // returns {bankCode: "ABNA", countryCode: "NL", locationCode: "2A", branchCode: null, testBIC: flase, valid: true}
* // returns {bankCode: "ABNA", countryCode: "NL", locationCode: "2A", branchCode: null, testBIC: false, valid: true}
* ibantools.extractBIC("ABNANL2A");

@@ -954,3 +954,6 @@ * ```

FJ: {},
FK: {},
FK: {
chars: 18,
bban_regexp: '^[A-Z]{2}[0-9]{12}$',
},
FM: {},

@@ -1236,4 +1239,4 @@ FO: { chars: 18, bban_regexp: '^[0-9]{14}$', IBANRegistry: true },

NI: {
chars: 32,
bban_regexp: '^[A-Z]{4}[0-9]{24}$',
chars: 28,
bban_regexp: '^[A-Z]{4}[0-9]{20}$',
},

@@ -1429,3 +1432,3 @@ NL: {

UZ: {},
VA: { chars: 22, bban_regexp: '^[0-9]{18}', IBANRegistry: true },
VA: { chars: 22, bban_regexp: '^[0-9]{18}', IBANRegistry: true, SEPA: true },
VC: {},

@@ -1432,0 +1435,0 @@ VE: {},

{
"name": "ibantools",
"version": "4.3.3",
"version": "4.3.4",
"description": "Validation, extraction and creation of IBAN, BBAN, BIC/SWIFT numbers plus some other helpful stuff like ISO 3136-1 alpha 2 country list",

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

"eslint": "^8.0.0",
"eslint-config-prettier": "^8.3.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-prettier": "^4.0.0",
"jasmine-core": "^4.0.0",
"jasmine-core": "^5.0.0",
"karma": "^6.3.4",

@@ -68,0 +68,0 @@ "karma-chrome-launcher": "^3.1",

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