Packages

svelte

5.58.0 · 18 Nov 2026MIT10.4M / weekRepositoryHomepagenpmAtom feed

Your version

5.1.0

23 Oct 2024Where it was published

5.59.1 is the newest release of 5.x.

In short

2 new9 fixed

Security

6 advisories affect 5.1.0; 5.55.7 fixes them

1 more

Release note

Minor Changes

  • Export mount() options as the MountOptions type

  • Allow usage of getContext() within $derived runes

Patch Changes

  • Properly migrate ts with inferred type comments

  • Correct property name conversion in custom transitions

  • Ensure $effect.tracking returns false inside transition functions

  • Migrate default slots to children snippet

  • Don't print errors on migration errors

  • Prevent spread attribute from overriding class directive

  • Ensure :has selectors followed by other selectors match

  • Ensure muted DOM property works correctly in FF

  • Show filename information in legacy_recursive_reactive_block

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.