antfu-collective / icones

⚡️ Icon Explorer with Instant searching, powered by Iconify
https://icones.js.org
MIT License
4.95k stars 240 forks source link

Version select #252

Closed Avaray closed 6 months ago

Avaray commented 6 months ago

Clear and concise description of the problem

Would be nice to have possibility to choose version of iconify, to see list of icons available only in that specific version.

I started using Astro with the only reasonable at this moment library astro-icon. Unfortunately astro-icon uses iconify/json in version 1.1.461 that was released 2 years ago. Most of my favourite icons are not there. I wish to know which icons are available, but I have no idea how to browse icons from that old versions. So, that's how this idea came about.

Suggested solution

Possibility to browse icons from old versions.

Alternative

Upload file of old version to be able to browse them?

Additional context

No response

Validations

cyberalien commented 6 months ago

Can't you just install latest @iconify/json as dependency?

edit: if npm complains about version mismatch, try pnpm instead. It can be configured to override dependency of any package.

Avaray commented 6 months ago

Can't you just install latest @iconify/json as dependency?

edit: if npm complains about version mismatch, try pnpm instead. It can be configured to override dependency of any package.

Thanks for advice. I'm pretty sure I did it with pnpm at the very beginning and it didn't work. But I will try again tomorrow.

antfu commented 6 months ago

I am not sure if this is something that worth the effort to support something legacy. I think it would be more reasonable to wait for astro-icons to keep up-to-date. Otherwise you might fork this project and upgrade the icondata on your local to see.

Avaray commented 6 months ago

I agree. Backward compatibility can be problematic.