Packages

svelte

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

Your version

5.1.10

5 Nov 2024Where it was published

5.59.1 is the newest release of 5.x.

In short

13 fixed

Security

6 advisories affect 5.1.10; 5.55.7 fixes them

1 more

Release note

Patch Changes

  • Ensure non-matching elements are scoped for :not(...) selector

  • Ensure video elements autoplay in safari

  • Ensure trailing multiline comments on props produce correct code (#14143#issuecomment-2455702689)

  • Correctly infer <a> tag namespace

  • Check options namespace for top level svelte:elements

  • Ensure migrate keeps inline/trailing comments in $props type definition

  • Update links in JSDoc

  • Ensure SvelteMap and SvelteSet work with generators in dev

  • Only output the key for each_key_duplicate

  • Prevent migrated snippet from shadow snippet prop

  • Pass along anchor in legacy class wrappers

  • Recognize all custom element prop definitions

  • Migrate multiple declarations with only some exported correctly

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.