Comparing version 1.6.1-alpha3 to 1.6.1-alpha4
@@ -77,2 +77,9 @@ module.exports = { | ||
// the * semver rule won't match pre-releases, which in our case is a | ||
// problem, so if the version is indeed *, we'll reset it to the exact same | ||
// version as our target package to allow for a match. | ||
if (pkgVersion === '*') { | ||
pkgVersion = fromPkg.version; | ||
} | ||
if (semver.valid(fromPkg.version) && | ||
@@ -79,0 +86,0 @@ semver.satisfies(fromPkg.version, pkgVersion)) { |
@@ -5,3 +5,3 @@ { | ||
"main": "lib/index.js", | ||
"version": "1.6.1-alpha3", | ||
"version": "1.6.1-alpha4", | ||
"directories": { | ||
@@ -39,3 +39,3 @@ "test": "test" | ||
"request": "^2.60.0", | ||
"semver": "^5.0.1", | ||
"semver": "^5.1.0", | ||
"snyk-config": "^1.0.0", | ||
@@ -42,0 +42,0 @@ "snyk-module": "^1.0.1", |
3625536
3914
Updatedsemver@^5.1.0