Skip to content

Commit

Permalink
unsupported: update supported version expression
Browse files Browse the repository at this point in the history
End of an era.

Credit: @othiym23
Reviewed-By: @zkat
Reviewed-By: @iarna
PR-URL: npm/npm#14503
  • Loading branch information
othiym23 committed Nov 3, 2016
1 parent ab630c9 commit 731ae52
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/utils/unsupported.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict'
var semver = require('semver')
var supportedNode = '0.10 || 0.12 || >= 4'
var supportedNode = '>= 4'
var knownBroken = '>=0.1 <=0.7'

var checkVersion = exports.checkVersion = function (version) {
Expand Down
6 changes: 3 additions & 3 deletions test/tap/unsupported.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ var test = require('tap').test
var unsupported = require('../../lib/utils/unsupported.js')

var versions = [
// broken unsupported
// broken unsupported
['v0.1.103', true, true],
['v0.2.0', true, true],
['v0.3.5', true, true],
Expand All @@ -13,9 +13,9 @@ var versions = [
['v0.7.8', true, true],
['v0.8.28', false, true],
['v0.9.6', false, true],
['v0.10.48', false, false],
['v0.10.48', false, true],
['v0.11.16', false, true],
['v0.12.9', false, false],
['v0.12.9', false, true],
['v1.0.1', false, true],
['v1.6.0', false, true],
['v2.3.1', false, true],
Expand Down

0 comments on commit 731ae52

Please sign in to comment.