function (existingVersionStrings, newVersion, newCodeName, versionOnly = false) {
  if (!existingVersionStrings || existingVersionStrings.length === 0) return -1
  return existingVersionStrings.findIndex((version) => {
    return hasNodeVersion(version, newVersion, newCodeName, versionOnly)
  })
}