REDROOM
PHP 8.2.30
Path:
Logout
Edit File
Size: 911 B
Close
/proc/self/root/opt/alt/alt-nodejs20/root/lib/node_modules/npm/node_modules/npm-audit-report/lib/index.js
Text
Base64
'use strict' const reporters = { install: require('./reporters/install'), detail: require('./reporters/detail'), json: require('./reporters/json'), quiet: require('./reporters/quiet'), } const exitCode = require('./exit-code.js') module.exports = Object.assign((data, options = {}) => { const { reporter = 'install', chalk, unicode = true, indent = 2, } = options // CLI defaults this to `null` so the defaulting method above doesn't work const auditLevel = options.auditLevel || 'low' if (!data) { throw Object.assign( new TypeError('ENOAUDITDATA'), { code: 'ENOAUDITDATA', message: 'missing audit data', } ) } if (typeof data.toJSON === 'function') { data = data.toJSON() } return { report: reporters[reporter](data, { chalk, unicode, indent }), exitCode: exitCode(data, auditLevel), } }, { reporters })
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 1 × Files: 3
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
reporters
DIR
-
drwxr-xr-x
2026-03-14 07:02:08
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
colors.js
575 B
lrw-r--r--
2026-02-23 03:24:43
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
exit-code.js
419 B
lrw-r--r--
2026-02-23 03:24:43
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
index.js
911 B
lrw-r--r--
2026-02-23 03:24:43
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).