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