function getLatestVersionOf(version) {
  let foundVersion = filteredTags.find(v => v[0] === version);

  // fallback to "0" in case a version cannot be found
  if (!foundVersion) {
    console.error(`Could not find a version for major "${version}"`);
    foundVersion = [0, 0, 0];
  }

  return { listed: stringifySemverNumber(foundVersion), path: stringifySemverNumber(foundVersion, true) };
}
Get the latest version for the provided major version
@param {number} version major version to search for
@returns {Version}