function coerce(version) {
  return version === DEV_VERSION || version === LATEST
    ? version
    : semver.coerce(version).toString();
}
Coerces the given string into a valid version (semver compliant or
one of our special values).
@param {string} version The version to coerce.
@returns  {string} The coerced version.