@harrytwright/logger-redactions-uri
v1.1.0
Published
Redaction of URI's from production logs
Downloads
3
Readme
@harrytwright/logger-redactions-uri
A CVE-2020-7661
safe version of zeke/redact-url
.
Usage
const logger = require('@harrytwright/logger')
logger.redactions(require('@harrytwright/logger-redactions-uri'))
Or adding @harrytwright/logger
and redactions
to your package.json
:
{
"name": "package",
"scripts": {
...
},
"dependency": {
"@harrytwright/logger-redactions-uri": "1.0.0"
},
"@harrytwright/logger": {
"redactions": [
"@harrytwright/logger-redactions-uri"
]
}
}