PATH:
opt
/
bitninja-node-dojo
/
lib
/
node_modules
/
npm
/
lib
/
install
'use strict' var npa = require('npm-package-arg') const isRegistry = require('../utils/is-registry.js') module.exports = function (name, sw, where) { try { if (sw.version && sw.integrity) { return npa.resolve(name, sw.version, where) } else if (sw.from) { const spec = npa(sw.from, where) if (isRegistry(spec) && sw.version) { return npa.resolve(name, sw.version, where) } else if (!sw.resolved) { return spec } } if (sw.resolved) { return npa.resolve(name, sw.resolved, where) } } catch (_) { } return npa.resolve(name, sw.version, where) }
[+]
action
[-] validate-args.js
[edit]
[-] save.js
[edit]
[-] is-prod-dep.js
[edit]
[-] get-requested.js
[edit]
[-] actions.js
[edit]
[-] is-fs-access-available.js
[edit]
[-] copy-tree.js
[edit]
[-] writable.js
[edit]
[+]
..
[-] update-package-json.js
[edit]
[-] is-only-dev.js
[edit]
[-] is-only-optional.js
[edit]
[-] check-permissions.js
[edit]
[-] inflate-shrinkwrap.js
[edit]
[-] flatten-tree.js
[edit]
[-] is-extraneous.js
[edit]
[-] access-error.js
[edit]
[-] audit.js
[edit]
[-] exists.js
[edit]
[-] mutate-into-logical-tree.js
[edit]
[-] fund.js
[edit]
[-] module-staging-path.js
[edit]
[-] deps.js
[edit]
[-] validate-tree.js
[edit]
[-] and-finish-tracker.js
[edit]
[-] is-dev-dep.js
[edit]
[-] diff-trees.js
[edit]
[-] decompose-actions.js
[edit]
[-] node.js
[edit]
[-] realize-shrinkwrap-specifier.js
[edit]
[-] and-ignore-errors.js
[edit]
[-] inflate-bundled.js
[edit]
[-] read-shrinkwrap.js
[edit]
[-] and-add-parent-to-errors.js
[edit]
[-] has-modern-meta.js
[edit]
[-] report-optional-failure.js
[edit]
[-] is-opt-dep.js
[edit]