ankurrsinghal / svelte-legos

A framework for Svelte Utilities 💡 Current status: 87 utilities.
https://svelte-legos.surge.sh
MIT License
804 stars 29 forks source link

Svelte 5 Compatibility #125

Closed jalavosus closed 2 weeks ago

jalavosus commented 2 weeks ago

This PR introduces at least basic compatibility with Svelte 5.

Refactored out all svelte/internal imports, which fixed 95% of issues preventing this package from working with Svelte 5. Also updated the peer dependency.

I'm sure I missed some things.

ankurrsinghal commented 2 weeks ago

This is awesome. Thanks @jalavosus.

jalavosus commented 2 weeks ago

Happy to oblige. I use this library in several client frontends, so contributing seems like the polite thing to do.

Merge and update at your leisure.