Semver for platform.js