{"size": 341, "ext": "js", "max_stars_repo_path": "src/core/determineDiffTsvVersion.js", "max_stars_repo_name": "idiomaspuentes/translation-helps-rcl", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "src/core/determineDiffTsvVersion.js", "max_issues_repo_name": "idiomaspuentes/translation-helps-rcl", "max_issues_repo_issues_event_min_datetime": "2020-11-04T19:58:46.000Z", "max_issues_repo_issues_event_max_datetime": "2022-02-07T22:17:46.000Z", "max_forks_repo_path": "src/core/determineDiffTsvVersion.js", "max_forks_repo_name": "idiomaspuentes/translation-helps-rcl", "max_forks_repo_forks_event_min_datetime": "2021-08-18T14:46:03.000Z", "max_forks_repo_forks_event_max_datetime": "2021-11-06T20:11:26.000Z"}
{"max_stars_count": null, "max_issues_count": 24, "max_forks_count": 2, "avg_line_length": 21.3125, "max_line_length": 74, "alphanum_fraction": 0.642228739}
function arrayEquals(_a, _b) {
  const a = _a.sort()
  const b = _b.sort()

  return (
    Array.isArray(a) &&
    Array.isArray(b) &&
    a.length === b.length &&
    a.every((val, index) => val === b[index])
  )
}

export default function determineDiffTsvVersion(initialHeaders, headers) {
  return !arrayEquals(initialHeaders, headers)
}
