compareTo(other) {
    const majorCheck = this.major_ - other.major_;
    const minorCheck = this.minor_ - other.minor_;

    return majorCheck || minorCheck;
  }
Returns:
 - positive if |this| > |other|
 - zero if |this| == |other|
 - negative if |this| < |other|

@param {!shaka.deprecate.Version} other
@return {number}