Update semver to 2.2.x

Update semver to 2.2.x to support the new semver specification.