404

[ Avaa Bypassed ]




Upload:

Command:

botdev@18.188.212.154: ~ $
'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
    })
  })
}

Filemanager

Name Type Size Permission Actions
lib Folder 0755
node_modules Folder 0755
CHANGELOG.md File 43.39 KB 0644
LICENSE File 1.08 KB 0644
README.md File 9.6 KB 0644
extract.js File 2.99 KB 0644
index.js File 262 B 0644
manifest.js File 1.12 KB 0644
package.json File 13.42 KB 0644
packument.js File 822 B 0644
prefetch.js File 1.93 KB 0644
tarball.js File 1.97 KB 0644