Packages

svelte

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

Your version

5.20.5

27 Feb 2025Where it was published

5.59.1 is the newest release of 5.x.

In short

5 fixed

Security

6 advisories affect 5.20.5; 5.55.7 fixes them

1 more

Release note

Patch Changes

  • Allow double hyphen css selector names

  • class:directive not working with $restProps #15386
    fix: spread add an useless cssHash on non-scoped element

  • Catch error on @const tag in svelte:boundary in DEV mode

  • Allow for duplicate var declarations

  • Fix : bug "$0 is not defined" on svelte:element with a function call on class

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.