semver-utils
Advanced tools
Comparing version 1.1.2 to 1.1.3
{ | ||
"name": "semver-utils", | ||
"version": "1.1.2", | ||
"version": "1.1.3", | ||
"description": "Tools for manipulating semver strings and objects", | ||
@@ -5,0 +5,0 @@ "homepage": "https://git.coolaj86.com/coolaj86/semver-utils.js", |
@@ -11,3 +11,3 @@ (function () { | ||
//, reSemverRange = /\s*((\|\||\-)|(([<>~]?=?)\s*(v)?([0-9]+)(\.(x|[0-9]+))?(\.(x|[0-9]+))?(([\-+])([a-zA-Z0-9\.]+))?))\s*/g | ||
, reSemverRange = /\s*((\|\||\-)|(([<>~^]?=?)\s*(v)?([0-9]+)(\.(x|\*|[0-9]+))?(\.(x|\*|[0-9]+))?(([\-+])([a-zA-Z0-9\.-]+))?))\s*/g | ||
, reSemverRange = /\s*((\|\||\-)|(([<>~^]*=?)\s*(v)?([0-9]+)(\.(x|\*|[0-9]+))?(\.(x|\*|[0-9]+))?(([\-+])([a-zA-Z0-9\.-]+))?))\s*/g | ||
; | ||
@@ -14,0 +14,0 @@ |
@@ -192,2 +192,12 @@ var assert = require('chai').assert; | ||
}); | ||
it('should parse ~> ranges', function() { | ||
deepOwnEqual(semverutils.parseRange('~> 2.0.0'), [{ | ||
semver: '~> 2.0.0', | ||
operator: '~>', | ||
major: '2', | ||
minor: '0', | ||
patch: '0' | ||
}]); | ||
}); | ||
}); |
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license
Found 1 instance in 1 package
Copyleft License
License(Experimental) Copyleft license information was found
Found 1 instance in 1 package
No License Found
License(Experimental) License information could not be found
Found 1 instance in 1 package
Non-permissive License
License(Experimental) A license not known to be considered permissive was found
Found 1 instance in 1 package
13856
6
1
326
80