From caf409b0053c4603e0c4ddb9b4f59cc49022486a Mon Sep 17 00:00:00 2001 From: fernahh Date: Mon, 24 Jul 2017 08:55:01 -0300 Subject: [PATCH] feat(version): generate new dist files --- dist/creditcard.js | 4 ++-- dist/creditcard.min.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dist/creditcard.js b/dist/creditcard.js index 578932e..c8a363e 100644 --- a/dist/creditcard.js +++ b/dist/creditcard.js @@ -1,5 +1,5 @@ /*! - * creditcard.js v2.1.1 + * creditcard.js v2.1.2 * Created by @ContaAzul. * * Licensed MIT. @@ -98,7 +98,7 @@ var CREDIT_CARD_LIST = [{ regexpFull: '^3(?:0[0-5]|[68][0-9])[0-9]{11}$' }, { name: 'Discover', - regexpFull: '^6(?:011|5[0-9]{2})[0-9]{12}$' + regexpFull: '^6(?:011|5[0-9]{2}|4[4-9][0-9]{1}|(22(12[6-9]|1[3-9][0-9]|[2-8][0-9]{2}|9[01][0-9]|92[0-5]$)[0-9]{10}$))[0-9]{12}$' }, { name: 'Hipercard', regexpFull: '^(38[0-9]{17}|60[0-9]{14})$' diff --git a/dist/creditcard.min.js b/dist/creditcard.min.js index a025e6e..4573257 100644 --- a/dist/creditcard.min.js +++ b/dist/creditcard.min.js @@ -1,7 +1,7 @@ /*! - * creditcard.js v2.1.1 + * creditcard.js v2.1.2 * Created by @ContaAzul. * * Licensed MIT. */ -!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var r;r="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,r.CreditCard=e()}}(function(){var e,r,n;return function e(r,n,t){function i(a,o){if(!n[a]){if(!r[a]){var l="function"==typeof require&&require;if(!o&&l)return l(a,!0);if(u)return u(a,!0);var f=new Error("Cannot find module '"+a+"'");throw f.code="MODULE_NOT_FOUND",f}var s=n[a]={exports:{}};r[a][0].call(s.exports,function(e){var n=r[a][1][e];return i(n?n:e)},s,s.exports,e,r,n,t)}return n[a].exports}for(var u="function"==typeof require&&require,a=0;a12)&&!(i<1e3||i>=3e3)))}}]),e}();r.exports=o},{"./creditCardList":2,"./helpers/luhn":3}],2:[function(e,r,n){"use strict";function t(e,r){if(!(e instanceof r))throw new TypeError("Cannot call a class as a function")}var i=function(){function e(e,r){for(var n=0;n0&&i%10===0}}]),e}();r.exports=u},{}]},{},[1])(1)}); \ No newline at end of file +!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var r;r="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,r.CreditCard=e()}}(function(){var e,r,n;return function e(r,n,t){function i(a,o){if(!n[a]){if(!r[a]){var l="function"==typeof require&&require;if(!o&&l)return l(a,!0);if(u)return u(a,!0);var f=new Error("Cannot find module '"+a+"'");throw f.code="MODULE_NOT_FOUND",f}var s=n[a]={exports:{}};r[a][0].call(s.exports,function(e){var n=r[a][1][e];return i(n?n:e)},s,s.exports,e,r,n,t)}return n[a].exports}for(var u="function"==typeof require&&require,a=0;a12)&&!(i<1e3||i>=3e3)))}}]),e}();r.exports=o},{"./creditCardList":2,"./helpers/luhn":3}],2:[function(e,r,n){"use strict";function t(e,r){if(!(e instanceof r))throw new TypeError("Cannot call a class as a function")}var i=function(){function e(e,r){for(var n=0;n0&&i%10===0}}]),e}();r.exports=u},{}]},{},[1])(1)}); \ No newline at end of file