From c6ddb6462fe32bf3a27b2c4a62a032a92e982429 Mon Sep 17 00:00:00 2001 From: isaacs Date: Thu, 11 Sep 2014 16:42:10 -0700 Subject: 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. --- bin/npm-cli.js | 6 ------ 1 file changed, 6 deletions(-) (limited to 'bin') 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) -- cgit v1.2.3