validator.js
validator.js copied to clipboard
docs: escape and unescape
The doc for the escape and unescape doesn't match the implementation:
https://github.com/validatorjs/validator.js/blob/b958bd7d1026a434ad3bf90064d3dcb8b775f1a9/src/lib/escape.js#L11-L12 https://github.com/validatorjs/validator.js/blob/b958bd7d1026a434ad3bf90064d3dcb8b775f1a9/src/lib/unescape.js#L10-L11
Checklist
- [x] PR contains only changes related; no stray files, etc.
- [x] README updated (where applicable)
- [ ] Tests written (where applicable)
- [x] References provided in PR (where applicable)
Codecov Report
All modified lines are covered by tests :white_check_mark:
Comparison is base (
b958bd7) 99.95% compared to head (3ab8fde) 99.95%.
Additional details and impacted files
@@ Coverage Diff @@
## master #2325 +/- ##
==========================================
- Coverage 99.95% 99.95% -0.01%
==========================================
Files 107 107
Lines 2454 2449 -5
Branches 619 619
==========================================
- Hits 2453 2448 -5
Partials 1 1
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Sorry @WikiRik, I unintentionally clicked the "Re-request review".