PATH: //opt/alt/alt-nodejs14/root/lib/node_modules/npm/lib/utils
FILE_BARU
CREATE
FOLDER_BARU
MKDIR
UPLOAD_FILE
GO
[ .. KEMBALI ]
📄 ansi-trim.js
↓
X
📄 cache-file.js
↓
X
📄 child-path.js
↓
X
📁 completion/
X
📄 completion.sh
↓
X
📄 correct-mkdir.js
↓
X
📄 deep-sort-object.js
↓
X
📄 depr-check.js
↓
X
📄 did-you-mean.js
↓
X
📄 error-handler.js
↓
X
📄 error-message.js
↓
X
📄 escape-arg.js
↓
X
📄 escape-exec-path.js
↓
X
📄 funding.js
↓
X
📄 gently-rm.js
↓
X
📄 git.js
↓
X
📄 gunzip-maybe.js
↓
X
📄 is-registry.js
↓
X
📄 is-windows-bash.js
↓
X
📄 is-windows-shell.js
↓
X
📄 is-windows.js
↓
X
📄 lifecycle-cmd.js
↓
X
📄 lifecycle.js
↓
X
📄 link.js
↓
X
📄 locker.js
↓
X
📄 metrics-launch.js
↓
X
📄 metrics.js
↓
X
📄 module-name.js
↓
X
📄 move.js
↓
X
📄 no-progress-while-running.js
↓
X
📄 open-url.js
↓
X
📄 otplease.js
↓
X
📄 output.js
↓
X
📄 package-id.js
↓
X
📄 parse-json.js
↓
X
📄 perf.js
↓
X
📄 pick-manifest-from-registry-metadata.js
↓
X
📄 pulse-till-done.js
↓
X
📄 read-local-package.js
↓
X
📄 read-user-info.js
↓
X
📄 replace-info.js
↓
X
📄 save-stack.js
↓
X
📄 spawn.js
↓
X
📄 temp-filename.js
↓
X
📄 umask.js
↓
X
📄 unix-format-path.js
↓
X
📄 unsupported.js
↓
X
📄 usage.js
↓
X
📄 warn-deprecated.js
↓
X
SAVING...
BERHASIL DIUBAH!
EDITING: metrics-launch.js
'use strict' /* eslint-disable camelcase */ module.exports = launchSendMetrics var fs = require('graceful-fs') var child_process = require('child_process') if (require.main === module) main() function launchSendMetrics () { var path = require('path') var npm = require('../npm.js') try { if (!npm.config.get('send-metrics')) return var cliMetrics = path.join(npm.config.get('cache'), 'anonymous-cli-metrics.json') var targetRegistry = npm.config.get('metrics-registry') fs.statSync(cliMetrics) return runInBackground(__filename, [cliMetrics, targetRegistry]) } catch (ex) { // if the metrics file doesn't exist, don't run } } function runInBackground (js, args, opts) { if (!args) args = [] args.unshift(js) if (!opts) opts = {} opts.stdio = 'ignore' opts.detached = true var child = child_process.spawn(process.execPath, args, opts) child.unref() return child } function main () { var sendMetrics = require('./metrics.js').send var metricsFile = process.argv[2] var metricsRegistry = process.argv[3] sendMetrics(metricsFile, metricsRegistry) }
SIMPAN PERUBAHAN