Skip to content

honour Date object passed as legacy 2nd arg to isAfter / isBefore#2783

Open
HrachShah wants to merge 5 commits into
validatorjs:masterfrom
HrachShah:fix/isAfter-isBefore-ignore-date-arg-when-object-passed-as-comparisonDate
Open

honour Date object passed as legacy 2nd arg to isAfter / isBefore#2783
HrachShah wants to merge 5 commits into
validatorjs:masterfrom
HrachShah:fix/isAfter-isBefore-ignore-date-arg-when-object-passed-as-comparisonDate

honour a Date object passed as the legacy second argument to isAfter …

f331d12
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Jun 26, 2026 in 1s

100.00% (+0.00%) compared to e36b279

View this Pull Request on Codecov

100.00% (+0.00%) compared to e36b279

Details

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (e36b279) to head (f331d12).
⚠️ Report is 2 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff            @@
##            master     #2783   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          114       114           
  Lines         2586      2599   +13     
  Branches       656       660    +4     
=========================================
+ Hits          2586      2599   +13     

☔ 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.