ContaAzul / creditcard.js

A simple credit card validation library in JavaScript
http://contaazul.github.io/creditcard.js/
Other
374 stars 82 forks source link

fix: fixing isValid method #152

Open davidalves1 opened 2 years ago

davidalves1 commented 2 years ago

What is the change?

Fix isValid method when an invalid card number is passed with a valid checksum

Why make this change?

In order to fix this issue: https://github.com/ContaAzul/creditcard.js/issues/139

Test plan