credit-card
Advanced tools
Comparing version 2.0.0 to 3.0.0
@@ -14,4 +14,4 @@ 'use strict'; | ||
cardType: 'MASTERCARD', | ||
cardPattern: /^5[1-5][0-9]{14}$/, | ||
partialPattern: /^5[1-5]/, | ||
cardPattern: /^(?:5[1-5][0-9]{2}|222[1-9]|22[3-9][0-9]|2[3-6][0-9]{2}|27[0-1][0-9]|2720)[0-9]{12}$/, | ||
partialPattern: /^(?:5[1-5]|222[1-9]|22[3-9][0-9]|2[3-6][0-9]{2}|27[0-1][0-9]|2720)/, | ||
cvvPattern: /^\d{3}$/ | ||
@@ -18,0 +18,0 @@ }, |
{ | ||
"name": "credit-card", | ||
"version": "2.0.0", | ||
"version": "3.0.0", | ||
"description": "credit card validation", | ||
@@ -17,3 +17,3 @@ "author": "Continuation Labs <contact@continuation.io> (http://continuation.io/)", | ||
"scripts": { | ||
"test": "belly-button && lab -v -t 100 -a code" | ||
"test": "belly-button -f && lab -v -t 100 -a code" | ||
}, | ||
@@ -24,8 +24,8 @@ "engines": { | ||
"dependencies": { | ||
"reach": "1.x.x" | ||
"reach": "1.0.0" | ||
}, | ||
"devDependencies": { | ||
"belly-button": "1.x.x", | ||
"code": "2.x.x", | ||
"lab": "8.x.x" | ||
"belly-button": "3.x.x", | ||
"code": "3.x.x", | ||
"lab": "11.x.x" | ||
}, | ||
@@ -32,0 +32,0 @@ "keywords": [ |
@@ -280,2 +280,2 @@ # credit-card | ||
A list of test credit cards is available from [http://www.paypalobjects.com/en_US/vhelp/paypalmanager_help/credit_card_numbers.htm](PayPal). | ||
A list of test credit cards is available from [PayPal](http://www.paypalobjects.com/en_US/vhelp/paypalmanager_help/credit_card_numbers.htm). |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
20000
4
207
1
+ Addedreach@1.0.0(transitive)
- Removedreach@1.0.1(transitive)
Updatedreach@1.0.0