semver
Advanced tools
Comparing version 1.0.6 to 1.0.7
{ "name" : "semver" | ||
, "version" : "1.0.6" | ||
, "version" : "1.0.7" | ||
, "description" : "The semantic version parser used by npm." | ||
@@ -4,0 +4,0 @@ , "main" : "semver.js" |
@@ -1,5 +0,4 @@ | ||
# semver | ||
semver(1) -- The semantic versioner for npm | ||
=========================================== | ||
The semantic versioner for npm. | ||
## Usage | ||
@@ -6,0 +5,0 @@ |
@@ -298,3 +298,3 @@ | ||
test("comparison tests", function (t) { | ||
test("\ncomparison tests", function (t) { | ||
; [ ["0.0.0", "0.0.0foo"] | ||
@@ -334,6 +334,6 @@ , ["0.0.1", "0.0.0"] | ||
t.ok(neq(v0, v1), "neq('"+v0+"', '"+v1+"')") | ||
t.ok(cmp(v1, "==", v1), "cmp("+v1+"=="+v1+")") | ||
t.ok(cmp(v0, ">=", v1), "cmp("+v0+"<="+v1+")") | ||
t.ok(cmp(v1, "<=", v0), "cmp("+v1+">="+v0+")") | ||
t.ok(cmp(v0, "!=", v1), "cmp("+v0+"!="+v1+")") | ||
t.ok(cmp(v1, "==", v1), "cmp('"+v1+"' == '"+v1+"')") | ||
t.ok(cmp(v0, ">=", v1), "cmp('"+v0+"' >= '"+v1+"')") | ||
t.ok(cmp(v1, "<=", v0), "cmp('"+v1+"' <= '"+v0+"')") | ||
t.ok(cmp(v0, "!=", v1), "cmp('"+v0+"' != '"+v1+"')") | ||
}) | ||
@@ -343,3 +343,3 @@ t.end() | ||
test("equality tests", function (t) { | ||
test("\nequality tests", function (t) { | ||
; [ ["1.2.3", "v1.2.3"] | ||
@@ -395,3 +395,3 @@ , ["1.2.3", "=1.2.3"] | ||
test("range tests", function (t) { | ||
test("\nrange tests", function (t) { | ||
; [ ["1.0.0 - 2.0.0", "1.2.3"] | ||
@@ -458,3 +458,3 @@ , ["1.0.0", "1.0.0"] | ||
test("negative range tests", function (t) { | ||
test("\nnegative range tests", function (t) { | ||
; [ ["1.0.0 - 2.0.0", "2.2.3"] | ||
@@ -500,3 +500,3 @@ , ["1.0.0", "1.0.1"] | ||
test("increment versions test", function (t) { | ||
test("\nincrement versions test", function (t) { | ||
; [ [ "1.2.3", "major", "2.0.0" ] | ||
@@ -503,0 +503,0 @@ , [ "1.2.3", "minor", "1.3.0" ] |
22426
120