Linux worldls-302.fr.planethoster.net 4.18.0-553.8.1.lve.el7h.x86_64 #1 SMP Thu Jul 4 15:19:33 UTC 2024 x86_64
LiteSpeed
Server IP : 10.185.0.203 & Your IP : 216.73.217.14
Domains :
Cant Read [ /etc/named.conf ]
User : gerathty
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
local /
lib /
node_modules /
npm /
lib /
utils /
Delete
Unzip
Name
Size
Permission
Date
Action
completion
[ DIR ]
drwxr-xr-x
2017-12-07 00:46
ansi-trim.js
211
B
-rw-r--r--
2017-11-03 01:22
child-path.js
290
B
-rw-r--r--
2017-11-03 01:22
completion.sh
1.74
KB
-rwxr-xr-x
2017-11-03 01:22
correct-mkdir.js
3.04
KB
-rw-r--r--
2017-09-28 04:27
deep-sort-object.js
363
B
-rw-r--r--
2017-11-03 01:22
depr-check.js
451
B
-rw-r--r--
2017-11-03 01:22
did-you-mean.js
495
B
-rw-r--r--
2017-11-03 01:22
error-handler.js
6.05
KB
-rw-r--r--
2017-11-03 01:22
error-message.js
10.21
KB
-rw-r--r--
2017-11-28 04:37
escape-arg.js
673
B
-rw-r--r--
2017-11-03 01:22
escape-exec-path.js
777
B
-rw-r--r--
2017-11-03 01:22
gently-rm.js
484
B
-rw-r--r--
2017-11-28 04:37
get-publish-config.js
919
B
-rw-r--r--
2017-11-03 01:22
git.js
1.26
KB
-rw-r--r--
2017-11-03 01:22
gunzip-maybe.js
552
B
-rw-r--r--
2017-11-03 01:22
is-registry.js
295
B
-rw-r--r--
2017-11-28 04:37
is-windows-bash.js
129
B
-rw-r--r--
2017-11-03 01:22
is-windows-shell.js
153
B
-rw-r--r--
2017-11-03 01:22
is-windows.js
59
B
-rw-r--r--
2017-11-03 01:22
lifecycle-cmd.js
496
B
-rw-r--r--
2017-11-03 01:22
lifecycle.js
364
B
-rw-r--r--
2017-11-03 01:22
link.js
234
B
-rw-r--r--
2017-11-28 04:37
locker.js
1.81
KB
-rw-r--r--
2017-11-03 01:22
map-to-registry.js
2.79
KB
-rw-r--r--
2017-11-03 01:22
metrics-launch.js
1.05
KB
-rw-r--r--
2017-11-03 01:22
metrics.js
2.03
KB
-rw-r--r--
2017-11-03 01:22
module-name.js
935
B
-rw-r--r--
2017-11-03 01:22
move.js
290
B
-rw-r--r--
2017-11-03 01:22
no-progress-while-running.js
541
B
-rw-r--r--
2017-11-03 01:22
output.js
210
B
-rw-r--r--
2017-11-03 01:22
package-id.js
399
B
-rw-r--r--
2017-11-03 01:22
parse-json.js
592
B
-rw-r--r--
2017-11-03 01:22
perf.js
562
B
-rw-r--r--
2017-11-03 01:22
pick-manifest-from-registry-metadata.js
905
B
-rw-r--r--
2017-11-03 01:22
pulse-till-done.js
783
B
-rw-r--r--
2017-11-03 01:22
read-local-package.js
329
B
-rw-r--r--
2017-11-03 01:22
read-user-info.js
1.75
KB
-rw-r--r--
2017-11-03 01:22
save-stack.js
349
B
-rw-r--r--
2017-11-03 01:22
spawn.js
1.38
KB
-rw-r--r--
2017-11-03 01:22
temp-filename.js
173
B
-rw-r--r--
2017-11-03 01:22
umask.js
343
B
-rw-r--r--
2017-11-03 01:22
unix-format-path.js
85
B
-rw-r--r--
2017-11-03 01:22
unsupported.js
2.21
KB
-rw-r--r--
2017-11-28 04:37
usage.js
576
B
-rw-r--r--
2017-11-03 01:22
warn-deprecated.js
556
B
-rw-r--r--
2017-11-03 01:22
Save
Rename
'use strict' exports.start = startMetrics exports.stop = stopMetrics exports.save = saveMetrics exports.send = sendMetrics var fs = require('fs') var path = require('path') var npm = require('../npm.js') var uuid = require('uuid') var inMetrics = false function startMetrics () { if (inMetrics) return // loaded on demand to avoid any recursive deps when `./metrics-launch` requires us. var metricsLaunch = require('./metrics-launch.js') npm.metricsProcess = metricsLaunch() } function stopMetrics () { if (inMetrics) return if (npm.metricsProcess) npm.metricsProcess.kill('SIGKILL') } function saveMetrics (itWorked) { if (inMetrics) return // If the metrics reporter hasn't managed to PUT yet then kill it so that it doesn't // step on our updating the anonymous-cli-metrics json stopMetrics() var metricsFile = path.join(npm.config.get('cache'), 'anonymous-cli-metrics.json') var metrics try { metrics = JSON.parse(fs.readFileSync(metricsFile)) metrics.metrics.to = new Date().toISOString() if (itWorked) { ++metrics.metrics.successfulInstalls } else { ++metrics.metrics.failedInstalls } } catch (ex) { metrics = { metricId: uuid.v4(), metrics: { from: new Date().toISOString(), to: new Date().toISOString(), successfulInstalls: itWorked ? 1 : 0, failedInstalls: itWorked ? 0 : 1 } } } try { fs.writeFileSync(metricsFile, JSON.stringify(metrics)) } catch (ex) { // we couldn't write the error metrics file, um, well, oh well. } } function sendMetrics (metricsFile, metricsRegistry) { inMetrics = true var cliMetrics = JSON.parse(fs.readFileSync(metricsFile)) npm.load({}, function (err) { if (err) return npm.registry.config.retry.retries = 0 npm.registry.sendAnonymousCLIMetrics(metricsRegistry, cliMetrics, function (err) { if (err) { fs.writeFileSync(path.join(path.dirname(metricsFile), 'last-send-metrics-error.txt'), err.stack) } else { fs.unlinkSync(metricsFile) } }) }) }