fix: remove using of includes to support IE by WikiRik · Pull Request #2540 · validatorjs/validator.js

@WikiRik

Rebased version of #2099. This PR adds back support for IE.
Fixes #1272

Checklist

  • PR contains only changes related; no stray files, etc.
  • README updated (where applicable)
  • Tests written (where applicable)
  • References provided in PR (where applicable)

rubiin

@WikiRik

@codecov

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.96%. Comparing base (991e5ac) to head (6edcb5a).
Report is 3 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #2540   +/-   ##
=======================================
  Coverage   99.96%   99.96%           
=======================================
  Files         113      114    +1     
  Lines        2527     2535    +8     
  Branches      641      641           
=======================================
+ Hits         2526     2534    +8     
  Partials        1        1           

☔ View full report in Codecov by Sentry.
📢 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.

profnandaa