fmaclen / svelte-currency-input

A masked form input that converts numbers to localized currency formats as you type
https://svelte-currency-input.fernando.is
MIT License
37 stars 5 forks source link

Set Svelte 4.x as `peerDependency` in `package.json` #71

Open fmaclen opened 11 months ago

fmaclen commented 11 months ago

Reverted from 4.x to 3.x in https://github.com/fmaclen/svelte-currency-input/pull/70

Making this change means that we can no longer support types in Svelte 3.x which would be a breaking change.

fmaclen commented 11 months ago

Or maybe not.

peerDependency was set by the SvelteKit skeleton package generator. I added it this project here, but then it caused issues. This was later removed and so far it has not been a problem.

The library doesn't require (so far) any specific versions of Svelte so demanding a specific version as a peer dependency doesn't seem to be worth it.