You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 83b2fb9
Browse filesBrowse the repository at this point in the historyBrowse files
@@ -570,6 +597,11 @@ export function narrowToApplicable(group, entries) {
570
597
/** @param {ReturnType<typeof groupAlerts>[number]} group */
571
598
exportfunctionbuildIssueTitle(group){
572
599
constn=group.advisories.length;
600
+
// An unverified target is not advertised as the version to move to: a title
601
+
// is often all a notification shows.
602
+
if(group.targetVerified===false){
603
+
return`chore(deps): find a safe release of \`${group.package}\` in \`${group.manifestPath}\` (${n}${n===1 ? "advisory" : "advisories"}, no listed fix clears them)`;
604
+
}
573
605
return`chore(deps): bump \`${group.package}\` to \`${group.fixedIn}\` in \`${group.manifestPath}\` (${n}${n===1 ? "advisory" : "advisories"})`;
574
606
}
575
607
@@ -691,7 +723,7 @@ export function buildIssueBody(
691
723
conststeps=
692
724
group.targetVerified===false
693
725
? [
694
-
`**Choose a target first.** No patched version these advisories list is outside every range below (\`${group.fixedIn}\` is still in range of ${(group.targetStillOpen??[]).map((g)=>`\`${g}\``).join(", ")}). Find a release of \`${group.package}\` that no listed range covers, then make the edit this repo uses for it: raise the declared range, or pin it with ${group.ecosystem==="pip" ? "`uv lock --upgrade-package` or `constraint-dependencies`" : "an `overrides` entry"}.`,
726
+
`**Choose a target first.** No patched version these advisories list is a safe target: ${unverifiedReason(group)}. Find a release of \`${group.package}\` that no listed range covers, then make the edit this repo uses for it: raise the declared range, or pin it with ${group.ecosystem==="pip" ? "`uv lock --upgrade-package` or `constraint-dependencies`" : "an `overrides` entry"}.`,
695
727
]
696
728
: group.ecosystem==="pip"
697
729
? pipFix(group,{ declaredSpec })
@@ -720,7 +752,7 @@ export function buildIssueBody(
720
752
`| Manifest | \`${cell(group.manifestPath)}\` |`,
721
753
`| Vulnerable on \`${TARGET_BRANCH}\` | ${[...newSet(affected.map((e)=>e.version))].map((v)=>`\`${cell(v)}\``).join(", ")||"—"} |`,
722
754
group.targetVerified===false
723
-
? `| Bump to | \`${cell(group.fixedIn)}\` is the highest patched version below, but ⚠️ it is still in range of ${(group.targetStillOpen??[]).map((g)=>`\`${cell(g)}\``).join(", ")}: pick a release outside every range listed |`
755
+
? `| Bump to | ⚠️ none found: ${cell(unverifiedReason(group))}. Pick a release outside every range listed |`
724
756
: `| Bump to | \`${cell(group.fixedIn)}\`, the lowest patched version below that is outside every range listed |`,
0 commit comments