(expanded = !expanded)}
>
{patch.name}
{#if hasPatchOptions}

{/if}
{#if patch.description}
{patch.description}
{/if}
{#if !patch.compatiblePackages?.length}
- 🌎 Universal patch
{:else}
{#each patch.compatiblePackages as pkg}
-
📦 {pkg.name}
{/each}
{/if}
{#if hasPatchOptions}
- ⚙️ Patch options
{/if}
{#if patch.compatiblePackages?.length && patch.compatiblePackages[0].versions?.length}
{#if showAllVersions}
{#each patch.compatiblePackages[0].versions.reverse() as version}
-
🎯 {version}
{/each}
{:else}
-
🎯 {patch.compatiblePackages[0].versions.slice(-1)}
{/if}
{#if patch.compatiblePackages[0].versions.length > 1}
-
{/if}
{:else}
- 🎯 Any version
{/if}
{#if expanded && hasPatchOptions}
{#each options as option}
{option.title}
{option.description}
{/each}
{/if}