svelte
5.58.0 · 18 Nov 2026MIT10.4M / weekRepositoryHomepagenpmAtom feed
5.59.1 is the newest release of 5.x.
In short
10 fixed
Release note
Patch Changes
Error at compile time on duplicate snippet/declaration tag definitions
Parse declaration tag contents more robustly
Correctly transform references to earlier declarators in a declaration tag (e.g.
{let a = $state(0), b = $derived(a * 2)})Avoid spurious
state_referenced_locallywarnings for$deriveddeclarations in declaration tagsTolerate whitespace before
let/constin declaration tagsPrevent infinite loop when a tag's expression ends with a trailing
/at the end of the inputMore robust parsing of declaration tags with regards to
typePreserve newlines in spread input values when the
typeattribute is applied aftervalueUpdate
SvelteURLSearchParamswhen setting duplicate keys to the same joined valueCheck references for blockers on server, too
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.