X7ROOT File Manager
Current Path:
/opt/alt/alt-nodejs6/root/usr/lib/node_modules/npm/lib/install/action
opt
/
alt
/
alt-nodejs6
/
root
/
usr
/
lib
/
node_modules
/
npm
/
lib
/
install
/
action
/
??
..
??
build.js
(425 B)
??
extract.js
(2.79 KB)
??
fetch.js
(882 B)
??
finalize.js
(2.74 KB)
??
global-install.js
(606 B)
??
global-link.js
(242 B)
??
install.js
(298 B)
??
move.js
(3.16 KB)
??
postinstall.js
(306 B)
??
preinstall.js
(305 B)
??
prepublish.js
(305 B)
??
remove.js
(2.42 KB)
??
test.js
(293 B)
??
update-linked.js
(356 B)
Editing: fetch.js
'use strict' // var cache = require('../../cache.js') // var packageId = require('../../utils/package-id.js') // var moduleName = require('../../utils/module-name.js') module.exports = function (top, buildpath, pkg, log, next) { next() /* // FIXME: Unnecessary as long as we have to have the tarball to resolve all deps, which // is progressively seeming to be likely for the indefinite future. // ALSO fails for local deps specified with relative URLs outside of the top level. var name = moduleName(pkg) var version switch (pkg.package._requested.type) { case 'version': case 'range': version = pkg.package.version break case 'hosted': name = name + '@' + pkg.package._requested.spec break default: name = pkg.package._requested.raw } log.silly('fetch', packageId(pkg)) cache.add(name, version, top, false, next) */ }
Upload File
Create Folder