read-installed
Advanced tools
Comparing version 0.2.1 to 0.2.2
{ | ||
"name": "read-installed", | ||
"description": "Read all the installed packages in a folder, and return a tree structure with all the data.", | ||
"version": "0.2.1", | ||
"version": "0.2.2", | ||
"repository": { | ||
@@ -14,3 +14,3 @@ "type": "git", | ||
"dependencies": { | ||
"semver": "1.x", | ||
"semver": "2", | ||
"slide": "~1.1.3", | ||
@@ -17,0 +17,0 @@ "read-package-json": "1" |
@@ -182,4 +182,4 @@ | ||
if (reqver | ||
&& semver.validRange(reqver) | ||
&& !semver.satisfies(obj.version, reqver)) { | ||
&& semver.validRange(reqver, true) | ||
&& !semver.satisfies(obj.version, reqver, true)) { | ||
obj.invalid = true | ||
@@ -285,3 +285,3 @@ } | ||
&& !url.parse(deps[d]).protocol | ||
&& !semver.satisfies(found.version, deps[d])) { | ||
&& !semver.satisfies(found.version, deps[d], true)) { | ||
// the bad thing will happen | ||
@@ -320,3 +320,3 @@ log("unmet dependency", obj.path + " requires "+d+"@'"+deps[d] | ||
if (!semver.satisfies(dependency.version, peerDeps[d])) { | ||
if (!semver.satisfies(dependency.version, peerDeps[d], true)) { | ||
dependency.peerInvalid = true | ||
@@ -323,0 +323,0 @@ } |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
12657
+ Addedsemver@2.3.2(transitive)
- Removedsemver@1.1.44.3.6(transitive)
Updatedsemver@2