index.js
function checkSemver(localVersion,testRange) {
    var parts = localVersion.split("-");
    return semver.satisfies(parts[0],testRange);
}
function checkSemver(localVersion,testRange) {
    var parts = localVersion.split("-");
    return semver.satisfies(parts[0],testRange);
}
function checkSemver ( localVersion , testRange ) { var parts = localVersion . split ( "-" ) ; return semver . satisfies ( parts [ 0 ] , testRange ) ; }
As we have prerelease tags in development version, they need stripping off before semver will do a sensible comparison with a range.
As we have prerelease tags in development version they need stripping off before semver will do a sensible comparison with a range .