diff options
author | isaacs <i@izs.me> | 2014-09-12 03:42:10 +0400 |
---|---|---|
committer | isaacs <i@izs.me> | 2014-09-12 03:42:10 +0400 |
commit | c6ddb6462fe32bf3a27b2c4a62a032a92e982429 (patch) | |
tree | fc4bd3d2fbfe46a4afcb8868f95aa41863394bbe /lib/npm.js | |
parent | 47b340ec27af4cc23c0a0de777246e96395e043c (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 'lib/npm.js')
-rw-r--r-- | lib/npm.js | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/lib/npm.js b/lib/npm.js index b3640836a..5321debf3 100644 --- a/lib/npm.js +++ b/lib/npm.js @@ -44,16 +44,6 @@ try { var j = JSON.parse(fs.readFileSync( path.join(__dirname, "../package.json"))+"") npm.version = j.version - npm.nodeVersionRequired = j.engines.node - if (!semver.satisfies(pv, j.engines.node)) { - log.warn("unsupported version", ["" - ,"npm requires node version: "+j.engines.node - ,"And you have: "+pv - ,"which is not satisfactory." - ,"" - ,"Bad things will likely happen. You have been warned." - ,""].join("\n")) - } } catch (ex) { try { log.info("error reading version", ex) |