card-validator
card-validator copied to clipboard
Validate credit cards as users type.
This PR introduces a significant improvement to how we handle credit card type definitions within our application. Previously, we maintained a local `CreditCardType` interface, which required manual updates and maintenance....
Vitest
## Quick PR Summary * Setup the base config to support vitest * Removed jest support * Moved all type declarations into types file ## Why Vitest is a "blazingly...
This came out of #112, I thought we might document our design decision a little better.
Hi, I made this change proposal to be able to support [Vite](https://vitejs.dev), `export = cardValidator` is not valid when targeting ES6. This PR fixes it, and as card-validator depends on...
Updated `credit-card-type` version to reflect security updates.
### General information - Library version: 10.0.0 - Browser and OS: Chrome 127.0.6533.119 (64-bit) on MacOS 14.5 ### Issue description Our test suites set the test suite time 2020-01-01 (using...
Right now card number validation is not working for [belkart](https://belkart.by/) Starts with 9112, 9113 (mastercard) examples: ``` 9112 3800 9999 9999 9112 3100 9999 1048 ```
Card Number: 6505 0703 1003 9904 Issuing Bank: CAIXA Card Brand: DISCOVER Card Type: CREDIT Card Level: PERSONAL Please check card valid in https://www.bincodes.com/creditcard-checker/ Run: let card_number = "6505 0703...
### Summary Adding/updating a series of Github Actions workflows to automate publishing to NPM. #### New: - **version-bump.yml** - Automatically bumps npm version - Runs manually or via `publish.yml` -...