Links on dependenices with **version union** (defined with OR operator like `1.0 || 2.0 || 3.0`) lead to 404 page. Example page: https://npmx.dev/package/@ngxi/unjs (see "Peer Dependency" section on the right). Clicking on version lands on https://npmx.dev/package/@angular/core/v/%5E18.0.0%20%7C%7C%20%5E19.0.0%20%7C%7C%20%5E20.0.0 --- **UPDATED** @danielroe clarified that app now should handle complex version ok (it was implemented in https://github.com/npmx-dev/npmx.dev/pull/103). Actual problem is versions has spaces, which should be removed in the URL `1 || 2` => `1||2` => https://npmx.dev/package/nitro/v/1%7C%7C2 **NOTE!** It seems like Range version with hyphen is not supported: `1-2` => Error 404 Example: https://npmx.dev/package/vite/v/%5E7%7C%7C%5E8%7C%7C%3E=8.0.0-0 works just fine <img width="2065" height="1263" alt="Image" src="https://github.com/user-attachments/assets/645b7244-1fe2-43eb-843c-eee3ad3e5fbd" /> <img width="873" height="128" alt="Image" src="https://github.com/user-attachments/assets/82cec92d-9ecc-48ac-8f1f-fd9ae68efa7f" />
Links on dependenices with version union (defined with OR operator like
1.0 || 2.0 || 3.0) lead to 404 page.Example page: https://npmx.dev/package/@ngxi/unjs (see "Peer Dependency" section on the right). Clicking on version lands on https://npmx.dev/package/@angular/core/v/%5E18.0.0%20%7C%7C%20%5E19.0.0%20%7C%7C%20%5E20.0.0
UPDATED
@danielroe clarified that app now should handle complex version ok (it was implemented in #103).
Actual problem is versions has spaces, which should be removed in the URL
1 || 2=>1||2=> https://npmx.dev/package/nitro/v/1%7C%7C2NOTE! It seems like Range version with hyphen is not supported:
1-2=> Error 404Example: https://npmx.dev/package/vite/v/%5E7%7C%7C%5E8%7C%7C%3E=8.0.0-0 works just fine