npm-audit-report
Advanced tools
Comparing version 1.0.6 to 1.0.7
{ | ||
"name": "npm-audit-report", | ||
"version": "1.0.6", | ||
"version": "1.0.7", | ||
"description": "Given a response from the npm security api, render it into a variety of security reports", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -151,2 +151,3 @@ 'use strict' | ||
const table = new Table(tableOptions) | ||
const patchedIn = advisory.patched_versions.replace(' ', '') === '<0.0.0' ? 'No patch available' : advisory.patched_versions | ||
@@ -156,3 +157,3 @@ table.push( | ||
{'Package': advisory.module_name}, | ||
{'Patched in': advisory.patched_versions}, | ||
{'Patched in': patchedIn}, | ||
{'Dependency of': `${resolution.path.split('>')[0]} ${resolution.dev ? '[dev]' : ''}`}, | ||
@@ -159,0 +160,0 @@ {'Path': `${resolution.path.split('>').join(' > ')}`}, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
12437
272