creditcard.js 3.0.40 → 3.0.42

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,9 +1,9 @@
1
1
  /**
2
- * @name creditcard.js 3.0.39
2
+ * @name creditcard.js 3.0.41
3
3
  * @license MIT
4
4
  * @author ContaAzul (contaazul.com)
5
5
  */
6
- (function(g,f){typeof exports==='object'&&typeof module!=='undefined'?f(exports):typeof define==='function'&&define.amd?define(['exports'],f):(g=typeof globalThis!=='undefined'?globalThis:g||self,f(g.CreditCard={}));}(this,(function(exports){'use strict';var CARDS = [{
6
+ (function(g,f){typeof exports==='object'&&typeof module!=='undefined'?f(exports):typeof define==='function'&&define.amd?define(['exports'],f):(g=typeof globalThis!=='undefined'?globalThis:g||self,f(g.CreditCard={}));})(this,(function(exports){'use strict';var CARDS = [{
7
7
  name: 'Banescard',
8
8
  bins: /^(603182)[0-9]{10,12}/,
9
9
  codeLength: 3
@@ -154,4 +154,4 @@ function sumNumber(number) {
154
154
  sum += (even = !even) ? computed[digit] : digit;
155
155
  }
156
156
  return sum;
157
- }exports.getCreditCardNameByNumber=getCreditCardNameByNumber;exports.isExpirationDateValid=isExpirationDateValid;exports.isSecurityCodeValid=isSecurityCodeValid;exports.isValid=isValid;Object.defineProperty(exports,'__esModule',{value:true});})));
157
+ }exports.getCreditCardNameByNumber=getCreditCardNameByNumber;exports.isExpirationDateValid=isExpirationDateValid;exports.isSecurityCodeValid=isSecurityCodeValid;exports.isValid=isValid;Object.defineProperty(exports,'__esModule',{value:true});}));
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @name creditcard.js 3.0.39
2
+ * @name creditcard.js 3.0.41
3
3
  * @license MIT
4
4
  * @author ContaAzul (contaazul.com)
5
5
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "creditcard.js",
3
- "version": "3.0.40",
3
+ "version": "3.0.42",
4
4
  "description": "A simple library for credit-card validation in JavaScript",
5
5
  "main": "dist/creditcard.js",
6
6
  "files": [