$88 GRAYBYTE WORDPRESS FILE MANAGER $39

SERVER : vnpttt-amd7f72-h1.vietnix.vn #1 SMP Fri May 24 12:42:50 UTC 2024
SERVER IP : 103.200.23.149 | ADMIN IP 216.73.216.22
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

/opt/cpanel/ea-nodejs22/lib/node_modules/npm/node_modules/@npmcli/arborist/bin/

HOME
Current File : /opt/cpanel/ea-nodejs22/lib/node_modules/npm/node_modules/@npmcli/arborist/bin//funding.js
const Arborist = require('../')

const log = require('./lib/logging.js')

module.exports = (options, time) => {
  const query = options._.shift()
  const a = new Arborist(options)
  return a
    .loadVirtual()
    .then(tree => {
      // only load the actual tree if the virtual one doesn't have modern metadata
      if (!tree.meta || !(tree.meta.originalLockfileVersion >= 2)) {
        log.error('old metadata, load actual')
        throw 'load actual'
      } else {
        log.error('meta ok, return virtual tree')
        return tree
      }
    })
    .catch(() => a.loadActual())
    .then(time)
    .then(({ timing, result: tree }) => {
      if (!query) {
        for (const node of tree.inventory.values()) {
          if (node.package.funding) {
            log.info(node.name, node.location, node.package.funding)
          }
        }
      } else {
        for (const node of tree.inventory.query('name', query)) {
          if (node.package.funding) {
            log.info(node.name, node.location, node.package.funding)
          }
        }
      }
      return `read ${tree.inventory.size} deps in ${timing.ms}`
    })
}

Current_dir [ NOT WRITEABLE ] Document_root [ WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
16 Mar 2026 5.04 PM
root / root
0755
lib
--
16 Mar 2026 5.04 PM
root / root
0755
actual.js
0.537 KB
17 Jan 2026 1.16 AM
root / root
0644
audit.js
1.366 KB
17 Jan 2026 1.16 AM
root / root
0644
funding.js
1.115 KB
17 Jan 2026 1.16 AM
root / root
0644
ideal.js
0.387 KB
17 Jan 2026 1.16 AM
root / root
0644
index.js
3.282 KB
17 Jan 2026 1.16 AM
root / root
0755
license.js
1.45 KB
17 Jan 2026 1.16 AM
root / root
0644
prune.js
1.121 KB
17 Jan 2026 1.16 AM
root / root
0644
reify.js
1.121 KB
17 Jan 2026 1.16 AM
root / root
0644
shrinkwrap.js
0.204 KB
17 Jan 2026 1.16 AM
root / root
0644
virtual.js
0.355 KB
17 Jan 2026 1.16 AM
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2026 CONTACT ME
Static GIF