REDROOM
PHP 8.2.30
Path:
Logout
Edit File
Size: 606 B
Close
/proc/thread-self/root/opt/alt/alt-nodejs6/root/usr/lib/node_modules/npm/lib/install/action/global-install.js
Text
Base64
'use strict' var path = require('path') var npm = require('../../npm.js') var Installer = require('../../install.js').Installer var packageId = require('../../utils/package-id.js') module.exports = function (top, buildpath, pkg, log, next) { log.silly('global-install', packageId(pkg)) var globalRoot = path.resolve(npm.globalDir, '..') npm.config.set('global', true) var install = new Installer(globalRoot, false, [pkg.package.name + '@' + pkg.package._requested.spec]) install.link = false install.run(function () { npm.config.set('global', false) next.apply(null, arguments) }) }
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 0 × Files: 14
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
build.js
425 B
lrw-r--r--
2021-09-28 09:36:05
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
extract.js
2.79 KB
lrw-r--r--
2021-09-28 09:36:05
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
fetch.js
882 B
lrw-r--r--
2021-09-28 09:36:05
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
finalize.js
2.74 KB
lrw-r--r--
2021-09-28 09:36:05
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
global-install.js
606 B
lrw-r--r--
2021-09-28 09:36:05
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
global-link.js
242 B
lrw-r--r--
2021-09-28 09:36:05
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
install.js
298 B
lrw-r--r--
2021-09-28 09:36:05
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
move.js
3.16 KB
lrw-r--r--
2021-09-28 09:36:05
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
postinstall.js
306 B
lrw-r--r--
2021-09-28 09:36:05
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
preinstall.js
305 B
lrw-r--r--
2021-09-28 09:36:05
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
prepublish.js
305 B
lrw-r--r--
2021-09-28 09:36:05
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
remove.js
2.42 KB
lrw-r--r--
2021-09-28 09:36:05
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
test.js
293 B
lrw-r--r--
2021-09-28 09:36:05
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
update-linked.js
356 B
lrw-r--r--
2021-09-28 09:36:05
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).