2.0.0
The returned value for card.length is now an Array and called card.lengths to account for variable-length cards such as UnionPay.
The returned value for card.length is now an Array and called card.lengths to account for variable-length cards such as UnionPay.