scripts/utils/changelog.mjs/replaceVersions
export function replaceVersions(data, prevVer, newVer, isPatch = false) {
  return data
    .replace(
      /prettier stable/gi,
      `Prettier ${isPatch ? prevVer : formatVersion(prevVer)}`
    )
    .replace(
      /prettier main/gi,
      `Prettier ${isPatch ? newVer : formatVersion(newVer)}`
    );
}