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 4.1.2 to 4.1.3

8

build/ibantools.js

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

* @module ibantools
* @version 4.1.2
* @version 4.1.3
* @license MPL-2.0

@@ -484,3 +484,7 @@ * @preferred

var part = validationString.slice(0, 6);
validationString = (parseInt(part, 10) % 97).toString() + validationString.slice(part.length);
var value = parseInt(part, 10) % 97;
if (isNaN(value)) {
return NaN;
}
validationString = value.toString() + validationString.slice(part.length);
}

@@ -487,0 +491,0 @@ return parseInt(validationString, 10) % 97;

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

* @module ibantools
* @version 4.1.2
* @version 4.1.3
* @license MPL-2.0

@@ -470,3 +470,7 @@ * @preferred

var part = validationString.slice(0, 6);
validationString = (parseInt(part, 10) % 97).toString() + validationString.slice(part.length);
var value = parseInt(part, 10) % 97;
if (isNaN(value)) {
return NaN;
}
validationString = value.toString() + validationString.slice(part.length);
}

@@ -473,0 +477,0 @@ return parseInt(validationString, 10) % 97;

{
"name": "ibantools",
"version": "4.1.2",
"version": "4.1.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