New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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.1.0 to 3.2.0

13

build/ibantools.js

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

* @see module:ibantools
* @version 3.1.0
* @version 3.2.0
* @license MPL-2.0

@@ -17,2 +17,3 @@ */

Object.defineProperty(exports, "__esModule", { value: true });
exports.extractBIC = exports.isValidBIC = exports.getCountrySpecifications = exports.friendlyFormatIBAN = exports.electronicFormatIBAN = exports.extractIBAN = exports.composeIBAN = exports.isSEPACountry = exports.isValidBBAN = exports.isValidIBAN = void 0;
/**

@@ -291,2 +292,5 @@ * Validate IBAN

function isValidBIC(bic) {
if (!bic) {
return false;
}
var reg = new RegExp("^[a-zA-Z]{6}[a-zA-Z0-9]{2}([a-zA-Z0-9]{3})?$", "");

@@ -715,3 +719,8 @@ var spec = countrySpecs[bic.toUpperCase().slice(4, 6)];

},
LY: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
LY: {
chars: 25,
bban_regexp: "^[0-9]{21}$",
IBANRegistry: true,
SEPA: false
},
MA: {

@@ -718,0 +727,0 @@ chars: 28,

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

* @see module:ibantools
* @version 3.1.0
* @version 3.2.0
* @license MPL-2.0

@@ -281,2 +281,5 @@ */

export function isValidBIC(bic) {
if (!bic) {
return false;
}
var reg = new RegExp("^[a-zA-Z]{6}[a-zA-Z0-9]{2}([a-zA-Z0-9]{3})?$", "");

@@ -703,3 +706,8 @@ var spec = countrySpecs[bic.toUpperCase().slice(4, 6)];

},
LY: { chars: null, bban_regexp: null, IBANRegistry: false, SEPA: false },
LY: {
chars: 25,
bban_regexp: "^[0-9]{21}$",
IBANRegistry: true,
SEPA: false
},
MA: {

@@ -706,0 +714,0 @@ chars: 28,

38

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

@@ -40,3 +40,3 @@ "keywords": [

"build": "rm -rf dist && rm -rf jsnext && rm -rf build && gulp all",
"test": "gulp coverage",
"test": "gulp test-it",
"karma": "gulp karma",

@@ -52,9 +52,7 @@ "coverage": "gulp coverage",

"devDependencies": {
"@types/chai": "^4.1",
"@types/mocha": "^7.0",
"chai": "^4.1",
"chai": "^4.2.0",
"cheerio": "^0.22",
"coveralls": "^3.0.3",
"docdash": "^1.1",
"gulp": "^4.0.1",
"coveralls": "^3.1.0",
"docdash": "^1.2.0",
"gulp": "^4.0.2",
"gulp-mocha": "^7.0",

@@ -64,17 +62,17 @@ "gulp-rename": "^2.0",

"gulp-typescript": "^5.0",
"istanbul": "^0.4",
"jasmine-core": "^3.1",
"jsdoc": "^3.6.3",
"karma": "^4.4.1",
"jasmine-core": "^3.6.0",
"jsdoc": "^3.6.6",
"karma": "^5.2.3",
"karma-chrome-launcher": "^3.1",
"karma-jasmine": "^3.1",
"karma-jasmine": "^4.0",
"karma-requirejs": "^1.1",
"merge2": "^1.2.1",
"mocha": "^7.0",
"merge2": "^1.4.1",
"mocha": "^8.2.0",
"mocha-lcov-reporter": "^1.2.0",
"prettier": "^2.0.2",
"requirejs": "^2.3",
"tslint": "^6.1",
"typescript": "^3.8"
"nyc": "^15.1.0",
"prettier": "^2.1.2",
"requirejs": "^2.3.6",
"tslint": "^6.1.3",
"typescript": "^3.9.7"
}
}
}

@@ -8,2 +8,3 @@ # IBANTools

[![Build CI](https://github.com/Simplify/ibantools/workflows/Build%20CI/badge.svg?branch=master)](https://github.com/Simplify/ibantools/actions?query=workflow%3A%22Build+CI%22)
[![Build Status](https://travis-ci.org/Simplify/ibantools.svg?branch=master)](https://travis-ci.org/Simplify/ibantools)

@@ -10,0 +11,0 @@ [![Coverage Status](https://coveralls.io/repos/github/Simplify/ibantools/badge.svg?branch=master)](https://coveralls.io/github/Simplify/ibantools?branch=master)

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