uNmAnNeR / imaskjs

vanilla javascript input mask
https://imask.js.org
MIT License
4.96k stars 258 forks source link

Svelte 5 support #1088

Open potykion opened 3 weeks ago

potykion commented 3 weeks ago

Describe the bug

When updating svelte 4 to svelte 5 got dependency conflict:

npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: lglz-front@0.0.1
npm ERR! Found: svelte@5.1.9
npm ERR! node_modules/svelte
npm ERR!   dev svelte@"^5.1.9" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer svelte@"^4.2.12" from @imask/svelte@7.6.1
npm ERR! node_modules/@imask/svelte
npm ERR!   @imask/svelte@"^7.6.1" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.

To Reproduce

Install @imask on fresh svelte 5 install

Expected behavior

@imask is compatible wth svelte 5

matthewt-assurity commented 8 hours ago

I also get this issue! It would be awesome if it could be resolved as I'd really like to use this plugin with Svelte 5.