Linux premium71.web-hosting.com 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64
LiteSpeed
Server IP : 198.187.29.8 & Your IP : 3.14.255.247
Domains :
Cant Read [ /etc/named.conf ]
User : cleahvkv
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
lib /
node_modules /
npm /
lib /
Delete
Unzip
Name
Size
Permission
Date
Action
auth
[ DIR ]
drwxr-xr-x
2024-03-03 22:36
config
[ DIR ]
drwxr-xr-x
2024-03-03 22:36
doctor
[ DIR ]
drwxr-xr-x
2024-03-03 22:36
install
[ DIR ]
drwxr-xr-x
2024-03-03 22:36
search
[ DIR ]
drwxr-xr-x
2024-03-03 22:36
utils
[ DIR ]
drwxr-xr-x
2024-03-03 22:36
access.js
5.54
KB
-rw-r--r--
2021-03-10 14:36
adduser.js
1.31
KB
-rw-r--r--
2021-03-10 14:36
audit.js
10.56
KB
-rw-r--r--
2021-03-10 14:36
bin.js
515
B
-rw-r--r--
2021-03-10 14:36
bugs.js
864
B
-rw-r--r--
2021-03-10 14:36
build.js
4.44
KB
-rw-r--r--
2021-03-10 14:36
cache.js
4.66
KB
-rw-r--r--
2021-03-10 14:36
ci.js
1.31
KB
-rw-r--r--
2021-03-10 14:36
completion.js
7.11
KB
-rw-r--r--
2021-03-10 14:36
config.js
7.43
KB
-rw-r--r--
2021-03-10 14:36
dedupe.js
4.88
KB
-rw-r--r--
2021-03-10 14:36
deprecate.js
2.11
KB
-rw-r--r--
2021-03-10 14:36
dist-tag.js
4.11
KB
-rw-r--r--
2021-03-10 14:36
docs.js
1.04
KB
-rw-r--r--
2021-03-10 14:36
doctor.js
3.98
KB
-rw-r--r--
2021-03-10 14:36
edit.js
1.37
KB
-rw-r--r--
2021-03-10 14:36
explore.js
1.67
KB
-rw-r--r--
2021-03-10 14:36
fetch-package-metadata.js
3.97
KB
-rw-r--r--
2021-03-10 14:36
fetch-package-metadata.md
1.77
KB
-rw-r--r--
2021-03-10 14:36
fund.js
4.91
KB
-rw-r--r--
2021-03-10 14:36
get.js
235
B
-rw-r--r--
2021-03-10 14:36
help-search.js
5.64
KB
-rw-r--r--
2021-03-10 14:36
help.js
6.35
KB
-rw-r--r--
2021-03-10 14:36
hook.js
4.62
KB
-rw-r--r--
2021-03-10 14:36
init.js
2.74
KB
-rw-r--r--
2021-03-10 14:36
install-ci-test.js
486
B
-rw-r--r--
2021-03-10 14:36
install-test.js
507
B
-rw-r--r--
2021-03-10 14:36
install.js
36.47
KB
-rw-r--r--
2021-03-10 14:36
link.js
5.6
KB
-rw-r--r--
2021-03-10 14:36
logout.js
1.26
KB
-rw-r--r--
2021-03-10 14:36
ls.js
16.09
KB
-rw-r--r--
2021-03-10 14:36
npm.js
14.37
KB
-rw-r--r--
2021-03-10 14:36
org.js
4.18
KB
-rw-r--r--
2021-03-10 14:36
outdated.js
12.28
KB
-rw-r--r--
2021-03-10 14:36
owner.js
6.6
KB
-rw-r--r--
2021-03-10 14:36
pack.js
11.79
KB
-rw-r--r--
2021-03-10 14:36
ping.js
1.11
KB
-rw-r--r--
2021-03-10 14:36
prefix.js
330
B
-rw-r--r--
2021-03-10 14:36
profile.js
11.13
KB
-rw-r--r--
2021-03-10 14:36
prune.js
2.23
KB
-rw-r--r--
2021-03-10 14:36
publish.js
5.14
KB
-rw-r--r--
2021-03-10 14:36
rebuild.js
2.09
KB
-rw-r--r--
2021-03-10 14:36
repo.js
1.44
KB
-rw-r--r--
2021-03-10 14:36
restart.js
64
B
-rw-r--r--
2021-03-10 14:36
root.js
320
B
-rw-r--r--
2021-03-10 14:36
run-script.js
5.41
KB
-rw-r--r--
2021-03-10 14:36
search.js
3.36
KB
-rw-r--r--
2021-03-10 14:36
set.js
276
B
-rw-r--r--
2021-03-10 14:36
shrinkwrap.js
9.82
KB
-rw-r--r--
2021-03-10 14:36
star.js
2.11
KB
-rw-r--r--
2021-03-10 14:36
stars.js
1.03
KB
-rw-r--r--
2021-03-10 14:36
start.js
62
B
-rw-r--r--
2021-03-10 14:36
stop.js
61
B
-rw-r--r--
2021-03-10 14:36
substack.js
509
B
-rw-r--r--
2021-03-10 14:36
team.js
4.61
KB
-rw-r--r--
2021-03-10 14:36
test.js
374
B
-rw-r--r--
2021-03-10 14:36
token.js
6.66
KB
-rw-r--r--
2021-03-10 14:36
unbuild.js
4.27
KB
-rw-r--r--
2021-03-10 14:36
uninstall.js
2.21
KB
-rw-r--r--
2021-03-10 14:36
unpublish.js
3.51
KB
-rw-r--r--
2021-03-10 14:36
update.js
2.16
KB
-rw-r--r--
2021-03-10 14:36
version.js
9.79
KB
-rw-r--r--
2021-03-10 14:36
view.js
15.11
KB
-rw-r--r--
2021-03-10 14:36
visnup.js
4.01
KB
-rw-r--r--
2021-03-10 14:36
whoami.js
1.77
KB
-rw-r--r--
2021-03-10 14:36
xmas.js
1.62
KB
-rw-r--r--
2021-03-10 14:36
Save
Rename
'use strict' module.exports = update const url = require('url') const log = require('npmlog') const Bluebird = require('bluebird') const npm = require('./npm.js') const Installer = require('./install.js').Installer const usage = require('./utils/usage') const outdated = Bluebird.promisify(npm.commands.outdated) update.usage = usage( 'update', 'npm update [-g] [<pkg>...]' ) update.completion = npm.commands.outdated.completion function update (args, cb) { return update_(args).asCallback(cb) } function update_ (args) { let dryrun = false if (npm.config.get('dry-run')) dryrun = true log.verbose('update', 'computing outdated modules to update') return outdated(args, true).then((rawOutdated) => { const outdated = rawOutdated.map(function (ww) { return { dep: ww[0], depname: ww[1], current: ww[2], wanted: ww[3], latest: ww[4], req: ww[5], what: ww[1] + '@' + ww[3] } }) const wanted = outdated.filter(function (ww) { if (ww.current === ww.wanted && ww.wanted !== ww.latest) { log.verbose( 'outdated', 'not updating', ww.depname, "because it's currently at the maximum version that matches its specified semver range" ) } return ww.current !== ww.wanted }) if (wanted.length === 0) return log.info('outdated', 'updating', wanted) const toInstall = {} wanted.forEach(function (ww) { // use the initial installation method (repo, tar, git) for updating if (url.parse(ww.req).protocol) ww.what = ww.req const where = (ww.dep.parent && ww.dep.parent.path) || ww.dep.path const isTransitive = !(ww.dep.requiredBy || []).some((p) => p.isTop) const key = where + ':' + String(isTransitive) if (!toInstall[key]) toInstall[key] = {where: where, opts: {saveOnlyLock: isTransitive}, what: []} if (toInstall[key].what.indexOf(ww.what) === -1) toInstall[key].what.push(ww.what) }) return Bluebird.each(Object.keys(toInstall), (key) => { const deps = toInstall[key] const inst = new Installer(deps.where, dryrun, deps.what, deps.opts) return inst.run() }) }) }