v2.1.0
Added
- New
configoptions:onSanitizecallback: this will be called after the request's value was sanitized, with two named parameters: thekeythat was sanitized, and the rawreqobject.dryRunboolean: if set, sanitization will not take place. Useful when combined withonSanitizeto report on the keys which would have been sanitized.
- TypeScript types
- Official support for node v16.