Make semver-compare public and add convenience semver= function.