svelte
5.58.0 · 18 Nov 2026MIT10.4M / weekRepositoryHomepagenpmAtom feed
5.59.1 is the newest release of 5.x.
In short
18 fixed2 internal
Security
4 advisories affect 5.55.6; 5.55.7 fixes them
- ModerateSvelte: SSR XSS via Insecure Promise Serialization in hydratableGHSA-f3cj-j4f6-wq85 · 14 May 2026Fixed in 5.55.7
- ModerateSvelte Vulnerable to XSS via DOM Clobbering of Internal Framework StateGHSA-rcqx-6q8c-2c42 · 14 May 2026Fixed in 5.55.7
- ModerateSvelte: ReDoS in `<svelte:element>` Tag ValidationGHSA-9rmh-mm8f-r9h6 · 14 May 2026Fixed in 5.55.7
- ModerateSvelte SSR vulnerable to cross-site scripting via spread attributesGHSA-pr6f-5x2q-rwfp · 14 May 2026Fixed in 5.55.7
Release note
Patch Changes
Leave stale promises to wait for a later resolution, instead of rejecting
Keep dependencies of
$state.eager/pendingReapply context after transforming error during SSR
Don't rebase just-created batches
Flush eager effects in production
Rethrow error of failed iterable after calling
return()Account for proxified instance when updating
bind:thisEnsure scheduled batch is flushed if not obsolete
Resolve stale deriveds with latest value
Correctly compile component member expressions for SSR
Reset
source.updatedstack traces afterflushReplacing async 'blocking' strategy with 'merging'
Allow
@debugtags to reference awaited variablesre-run fallback props if dependencies update
Abort running obsolete async branches
Ignore comments when reading CSS values
Wrap
Promise.allinsaveduring SSRIgnore false-positive errors of
$inspectdependencies
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.