nsp-reporter-mocha
v1.0.1
Published
Mocha-compatible reporter for the Node Security Project
Downloads
6
Readme
nsp-reporter-mocha
Mocha json-compatible reporter for the Node Security Project (nsp)
See the nsp website for more information.
Sample Output
{
"stats": {
"tests": 1,
"passes": 0,
"failures": 1,
"duration": 750,
"start": "2017-11-27T22:54:24.609Z",
"end": "2017-11-27T22:54:25.359Z"
},
"failures": [
{
"title": "Regular Expression Denial of Service",
"fullTitle": "debug v2.6.8 Regular Expression Denial of Service",
"duration": 0,
"errorCount": 1,
"error": "Module debug has a known vulnerability: \"Regular Expression Denial of Service\" (vulnerable: <= 2.6.8 || >= 3.0.0 <= 3.0.1, patched: >= 2.6.9 < 3.0.0 || >= 3.1.0, yours: 2.6.8), see https://nodesecurity.io/advisories/534"
}
],
"passes": [],
"skipped": []
}