creditable
Advanced tools
Comparing version 1.0.5 to 1.0.6
@@ -6,6 +6,6 @@ // Input a credit card number string, returns a key signifying the type of credit card it is | ||
var types = { | ||
MASTERCARD: /^5[1-5]/, | ||
MASTERCARD: /^(2[2-7]|5[1-5])/, // 22-27 and 51-55 | ||
VISA: /^4/, | ||
DISCOVER: /^6(011|5)/, | ||
AMEX: /^3[47]/ | ||
DISCOVER: /^6(011|5)/, // 6011 or 65 | ||
AMEX: /^3[47]/ // 34 or 37 | ||
}; | ||
@@ -12,0 +12,0 @@ |
{ | ||
"name": "creditable", | ||
"version": "1.0.5", | ||
"version": "1.0.6", | ||
"description": "Utilities for working with credit card form input.", | ||
@@ -5,0 +5,0 @@ "main": "creditablecardtype.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5486