validator.js icon indicating copy to clipboard operation
validator.js copied to clipboard

docs: escape and unescape

Open ovarn opened this issue 2 years ago • 2 comments

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)

ovarn avatar Oct 14 '23 22:10 ovarn

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              

see 3 files with indirect coverage changes

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

codecov[bot] avatar Oct 14 '23 22:10 codecov[bot]

Sorry @WikiRik, I unintentionally clicked the "Re-request review".

ovarn avatar Oct 16 '23 08:10 ovarn