code: function compareVersions(fstVer, sndVer) {
      if (semver.lt(fstVer, sndVer)) {
          return 1;
      }
      if (semver.gt(fstVer, sndVer)) {
          return -1;
      }
      return 0;
  }
docs: Compares to semver versions.
  
  @param {String} fstVer
  @param {String} sndVer
  @returns {Number} -1 if fstVer if older than sndVer, 1 if newer and 0 if
  versions are equal.