PHP 8.2.30
Preview: json.js Size: 284 B
/proc/self/root/proc/thread-self/root/lib/node_modules/npm/node_modules/npm-audit-report/reporters/json.js

'use strict'

const report = function (data, options) {
  const defaults = {
    indent: 2
  }

  const config = Object.assign({}, defaults, options)

  const json = JSON.stringify(data, null, config.indent)
  return {
    report: json,
    exitCode: 0
  }
}

module.exports = report

Directory Contents

Dirs: 0 × Files: 5

Name Size Perms Modified Actions
6.38 KB lrw-r--r-- 2021-03-10 14:36:40
Edit Download
1.61 KB lrw-r--r-- 2021-03-10 14:36:40
Edit Download
284 B lrw-r--r-- 2021-03-10 14:36:40
Edit Download
2.95 KB lrw-r--r-- 2021-03-10 14:36:40
Edit Download
265 B lrw-r--r-- 2021-03-10 14:36:40
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).