creditcard.js 3.0.41 → 3.0.43
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.
- package/dist/creditcard.js +3 -3
- package/dist/creditcard.min.js +1 -1
- package/package.json +1 -1
package/dist/creditcard.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @name creditcard.js 3.0.
|
|
2
|
+
* @name creditcard.js 3.0.42
|
|
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});}));
|
package/dist/creditcard.min.js
CHANGED