- Fixes expiration date results when year is current year and month is invalid
- Update files in
dist/
- Readme clarifications
- Fixes validation of space separated expiration dates
- Fixes potential validity of slashless expiration dates
- Fixes validation of expiration dates that are too long
- Fixes CVV validation to not always validate 3-digit values as
isValid: true
- Fixes 3-digit expiration date handling, such as 220 being Feb, 2020
- Use one Lodash dependency
- CVV validator can accept an array of possible length values
- Contextually validate month based on current date.
- Update
credit-card-type
to 4.0.0
- The npm module now includes built files under
dist/
.
- The returned value for
card.length
is now anArray
and calledcard.lengths
to account for variable-length cards such as UnionPay.
- Initial release