Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorisaacs <i@izs.me>2014-09-12 03:42:10 +0400
committerisaacs <i@izs.me>2014-09-12 03:42:10 +0400
commitc6ddb6462fe32bf3a27b2c4a62a032a92e982429 (patch)
treefc4bd3d2fbfe46a4afcb8868f95aa41863394bbe /bin
parent47b340ec27af4cc23c0a0de777246e96395e043c (diff)
Remove engines
Node v0.6 is pretty much gone at this point. Also, the -pre upsets SemVer 4, making it annoying to test npm on Node in development.
Diffstat (limited to 'bin')
-rwxr-xr-xbin/npm-cli.js6
1 files changed, 0 insertions, 6 deletions
diff --git a/bin/npm-cli.js b/bin/npm-cli.js
index ef8873542..79ae7f50a 100755
--- a/bin/npm-cli.js
+++ b/bin/npm-cli.js
@@ -61,12 +61,6 @@ log.info("using", "node@%s", process.version)
// make sure that this version of node works with this version of npm.
var semver = require("semver")
, nodeVer = process.version
- , reqVer = npm.nodeVersionRequired
-if (reqVer && !semver.satisfies(nodeVer, reqVer)) {
- return errorHandler(new Error(
- "npm doesn't work with node " + nodeVer
- + "\nRequired: node@" + reqVer), true)
-}
process.on("uncaughtException", errorHandler)