A CVE-2020-7661
safe version of zeke/redact-url
.
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"
]
}
}