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 1.5.0 to 1.5.1

4

build/ibantools.js

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

* @see module:ibantools
* @version 1.5.0
* @version 1.5.1
* @license MPL-2.0

@@ -239,3 +239,3 @@ */

function isValidBIC(bic) {
var reg = new RegExp('^[a-zA-Z]{6}[a-zA-Z0-9]{2}[A-Z0-9]{0,3}$', '');
var reg = new RegExp('^[a-zA-Z]{6}[a-zA-Z0-9]{2}([a-zA-Z0-9]{3})?$', '');
return reg.test(bic);

@@ -242,0 +242,0 @@ }

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

* @see module:ibantools
* @version 1.5.0
* @version 1.5.1
* @license MPL-2.0

@@ -231,3 +231,3 @@ */

export function isValidBIC(bic) {
var reg = new RegExp('^[a-zA-Z]{6}[a-zA-Z0-9]{2}[A-Z0-9]{0,3}$', '');
var reg = new RegExp('^[a-zA-Z]{6}[a-zA-Z0-9]{2}([a-zA-Z0-9]{3})?$', '');
return reg.test(bic);

@@ -234,0 +234,0 @@ }

{
"name": "ibantools",
"version": "1.5.0",
"version": "1.5.1",
"description": "Validation, extraction and creation of IBAN, BBAN, BIC/SWIFT numbers plus some other helpful stuff",

@@ -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