Your IP : 3.144.92.231


Current Path : /proc/self/root/usr/lib/node_modules/npm/node_modules/npm-audit-report/reporters/
Upload File :
Current File : //proc/self/root/usr/lib/node_modules/npm/node_modules/npm-audit-report/reporters/quiet.js

'use strict'

const Utils = require('../lib/utils')

const report = function (data) {
  const totalVulnCount = Utils.totalVulnCount(data.metadata.vulnerabilities)

  return {
    report: '',
    exitCode: totalVulnCount === 0 ? 0 : 1
  }
}

module.exports = report

?>