SILENT KILLERPanel

Current Path: > > lib > node_modules > npm > node_modules > pacote


Operation   : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
Software     : Apache
Server IP    : 162.0.232.56 | Your IP: 216.73.216.111
Domains      : 1034 Domain(s)
Permission   : [ 0755 ]

Files and Folders in: //lib/node_modules/npm/node_modules/pacote

NameTypeSizeLast ModifiedActions
lib Directory - -
node_modules Directory - -
CHANGELOG.md File 44436 bytes March 10 2021 14:36:37.
LICENSE File 1103 bytes March 10 2021 14:36:37.
README.md File 9833 bytes March 10 2021 14:36:37.
extract.js File 3064 bytes March 10 2021 14:36:37.
index.js File 262 bytes March 10 2021 14:36:37.
manifest.js File 1147 bytes March 10 2021 14:36:37.
package.json File 3430 bytes March 10 2021 14:36:37.
packument.js File 822 bytes March 10 2021 14:36:37.
prefetch.js File 1978 bytes March 10 2021 14:36:37.
tarball.js File 2022 bytes March 10 2021 14:36:37.

Reading File: //lib/node_modules/npm/node_modules/pacote/manifest.js

'use strict'

const fetchManifest = require('./lib/fetch').manifest
const finalizeManifest = require('./lib/finalize-manifest')
const optCheck = require('./lib/util/opt-check')
const pinflight = require('promise-inflight')
const npa = require('npm-package-arg')

module.exports = manifest
function manifest (spec, opts) {
  opts = optCheck(opts)
  spec = npa(spec, opts.where)

  const label = [
    spec.name,
    spec.saveSpec || spec.fetchSpec,
    spec.type,
    opts.cache,
    opts.registry,
    opts.scope
  ].join(':')
  return pinflight(label, () => {
    const startTime = Date.now()
    return fetchManifest(spec, opts).then(rawManifest => {
      return finalizeManifest(rawManifest, spec, opts)
    }).then(manifest => {
      if (opts.annotate) {
        manifest._from = spec.saveSpec || spec.raw
        manifest._requested = spec
        manifest._spec = spec.raw
        manifest._where = opts.where
      }
      const elapsedTime = Date.now() - startTime
      opts.log.silly('pacote', `${spec.type} manifest for ${spec.name}@${spec.saveSpec || spec.fetchSpec} fetched in ${elapsedTime}ms`)
      return manifest
    })
  })
}

SILENT KILLER Tool