Skip to main content

render_json

Function render_json 

Source
pub fn render_json(report: &AuditReport) -> String
Expand description

An npm audit --json-shaped report: a vulnerabilities object keyed by package name (each with its affected installed versions, the max severity, and the advisories under via) plus a metadata.vulnerabilities per-severity count block.