Linux v69820.1blu.de 4.15.0 #1 SMP Mon Sep 30 15:36:27 MSK 2024 x86_64
Apache/2.4.58
Server IP : 195.90.215.149 & Your IP : 216.73.217.80
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
share /
nodejs /
@npmcli /
arborist /
bin /
Delete
Unzip
Name
Size
Permission
Date
Action
lib
[ DIR ]
drwxr-xr-x
2024-07-10 10:56
actual.js
550
B
-rw-r--r--
2023-11-23 07:39
audit.js
1.37
KB
-rw-r--r--
2023-11-23 07:39
funding.js
1.12
KB
-rw-r--r--
2023-11-23 07:39
ideal.js
396
B
-rw-r--r--
2023-11-23 07:39
index.js
3.26
KB
-rwxr-xr-x
2023-11-23 07:39
license.js
1.45
KB
-rw-r--r--
2023-11-23 07:39
prune.js
1.12
KB
-rw-r--r--
2023-11-23 07:39
reify.js
1.12
KB
-rw-r--r--
2023-11-23 07:39
shrinkwrap.js
209
B
-rw-r--r--
2023-11-23 07:39
virtual.js
364
B
-rw-r--r--
2023-11-23 07:39
Save
Rename
const Arborist = require('../') const printTree = require('./lib/print-tree.js') const log = require('./lib/logging.js') const printDiff = diff => { const { depth } = require('treeverse') depth({ tree: diff, visit: d => { if (d.location === '') { return } switch (d.action) { case 'REMOVE': log.info('REMOVE', d.actual.location) break case 'ADD': log.info('ADD', d.ideal.location, d.ideal.resolved) break case 'CHANGE': log.info('CHANGE', d.actual.location, { from: d.actual.resolved, to: d.ideal.resolved, }) break } }, getChildren: d => d.children, }) } module.exports = (options, time) => { const arb = new Arborist(options) return arb .prune(options) .then(time) .then(async ({ timing, result: tree }) => { printTree(tree) if (options.dryRun) { printDiff(arb.diff) } if (tree.meta && options.save) { await tree.meta.save() } return `resolved ${tree.inventory.size} deps in ${timing.seconds}` }) }