Commit a3af797
committed
fix(ui): respect semver filter when showing latest tag
The 'latest' tag was unconditionally added to visible results even when
it didn't match the active semver filter. This caused versions like 7.6.0
to appear when filtering by ranges like '^7.5 <7.6'.
Remove the special case handling for the 'latest' tag and let it flow
naturally through the filtering logic. This makes the behavior more
predictable and fixes the bug where non-matching versions were displayed.1 parent 5324b96 commit a3af797
File tree
3 files changed
+826
-552
lines changed- app/components/Package
- test/nuxt/components/Package
3 files changed
+826
-552
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
210 | 210 | | |
211 | 211 | | |
212 | 212 | | |
213 | | - | |
214 | | - | |
215 | | - | |
216 | | - | |
217 | | - | |
218 | | - | |
219 | | - | |
220 | | - | |
| 213 | + | |
221 | 214 | | |
222 | 215 | | |
223 | 216 | | |
| |||
0 commit comments