Packages

svelte

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

Your version

5.55.2

7 Apr 2026Where it was published

5.59.1 is the newest release of 5.x.

In short

9 fixed

Security

4 advisories affect 5.55.2; 5.55.7 fixes them

Release note

Patch Changes

  • Invalidate @const tags based on visible references in legacy mode

  • Handle parens in template expressions more robustly

  • Disallow -- in idPrefix

  • Correct types for ontoggle on <details> elements

  • Don't override $destroy/set/on instance methods in dev mode

  • Unskip branches of earlier batches after commit

  • Never set derived.v inside fork

  • Skip rebase logic in non-async mode

  • Don't reset status of uninitialized deriveds

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.