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: unsupported.js
'use strict' var semver = require('semver') var supported = require('../../package.json').engines.node var knownBroken = '<6.2.0 || 9 <9.3.0' var checkVersion = exports.checkVersion = function (version) { var versionNoPrerelease = version.replace(/-.*$/, '') return { version: versionNoPrerelease, broken: semver.satisfies(versionNoPrerelease, knownBroken), unsupported: !semver.satisfies(versionNoPrerelease, supported) } } exports.checkForBrokenNode = function () { var nodejs = checkVersion(process.version) if (nodejs.broken) { console.error('ERROR: npm is known not to run on Node.js ' + process.version) console.error("You'll need to upgrade to a newer Node.js version in order to use this") console.error('version of npm. You can find the latest version at https://nodejs.org/') process.exit(1) } } exports.checkForUnsupportedNode = function () { var nodejs = checkVersion(process.version) if (nodejs.unsupported) { var log = require('npmlog') log.warn('npm', 'npm does not support Node.js ' + process.version) log.warn('npm', 'You should probably upgrade to a newer version of node as we') log.warn('npm', "can't make any promises that npm will work with this version.") log.warn('npm', 'You can find the latest version at https://nodejs.org/') } }
SIMPAN PERUBAHAN