pqina / svelte-filepond

🔌 A handy FilePond adapter component for Svelte
MIT License
247 stars 10 forks source link

Svelte 5 Warning: `accessors` option has been deprecated #24

Open forna opened 4 months ago

forna commented 4 months ago

Now Svelte 5 is officially in Release Candidate stage.

svelte@5.0.0-next.115 produces the following warning: svelte-filepond/src/Component.svelte:1:16 e 'accessors' option has been deprecated. It will have no effect in runes mode

Beware the line in Component.svelte: <svelte:options accessors /> cannot simply be deleted, removing it will cause the component to stop working and produce errors like: getfiles is not a function

More info: https://svelte-5-preview.vercel.app/docs/breaking-changes#breaking-changes-in-runes-mode https://github.com/sveltejs/svelte/issues/9827