Skip to content

fix(isCreditCard): anchor Mastercard regex#2788

Open
TisanSmart232 wants to merge 1 commit into
validatorjs:masterfrom
TisanSmart232:fix-mastercard-prefix-match
Open

fix(isCreditCard): anchor Mastercard regex#2788
TisanSmart232 wants to merge 1 commit into
validatorjs:masterfrom
TisanSmart232:fix-mastercard-prefix-match

Fix Mastercard credit card prefix matching

7597f48
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Jun 29, 2026 in 0s

100.00% (+0.00%) compared to 3d2f4b3

View this Pull Request on Codecov

100.00% (+0.00%) compared to 3d2f4b3

Details

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (3d2f4b3) to head (7597f48).

Additional details and impacted files
@@            Coverage Diff            @@
##            master     #2788   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          114       114           
  Lines         2587      2587           
  Branches       656       656           
=========================================
  Hits          2587      2587           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.