Searched refs:auditResult (Results 1 – 3 of 3) sorted by relevance
210 }).then((auditResult) => {212 const actions = (auditResult.actions || []).reduce((acc, action) => {253 const metavuln = auditResult.metadata.vulnerabilities268 runId: auditResult.runId,273 const numScanned = auditResult.metadata.totalDependencies295 return i < minLevel ? count : count + (auditResult.metadata.vulnerabilities[level] || 0)299 return audit.printParseableReport(auditResult)301 return audit.printFullReport(auditResult)
794 }).then((auditResult) => {795 if (auditResult && !auditResult.metadata) {800 return this.printInstalledForJSON(diffs, auditResult)802 return this.printInstalledForParseable(diffs, auditResult)804 return this.printInstalledForHuman(diffs, auditResult)809 Installer.prototype.printInstalledForHuman = function (diffs, auditResult) { argument870 if (auditResult && auditResult.metadata && auditResult.metadata.totalDependencies) {871 actions.push('audited ' + packages(auditResult.metadata.totalDependencies))915 if (auditResult) {916 return audit.printInstallReport(auditResult)[all …]
93 function printInstallReport (auditResult) { argument95 return auditReport(auditResult, {102 function printFullReport (auditResult) { argument104 return auditReport(auditResult, {112 function printParseableReport (auditResult) { argument114 return auditReport(auditResult, {