nrm

nsp-reporter-mocha

Node Security Project tool mocha-json output formatter

Showing:

Popularity

Downloads/wk

3

GitHub Stars

0

Maintenance

Last Commit

4yrs ago

Contributors

0

Package

Dependencies

0

Size (min+gzip)

0.5KB

License

Apache-2.0

Type Definitions

Tree-Shakeable

No?

Categories

Readme

nsp-reporter-mocha

npm Travis CI Coverage Status node License

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": []
}

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100