Packages

svelte

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

Upgrading svelte From 5.55.1 to 5.55.7

6 releases in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 5.55.1Newest 5.x5.59.1Latest5.58.0
0
changes to make
4
advisories fixed
0
new
40
fixes

Security

  • Prevent XSS on hydratable from user contents

    5.55.7

Release by release

  1. 5.55.7

    Security fix14 May 20263 fixes
    • Security

      Prevent XSS on hydratable from user contents

    • Fixed

      Disallow empty attribute names during SSR

    • Fixed

      Harden regex

    • Fixed

      Move Svelte runtime properties to symbols

  2. 5.55.6

    14 May 202618 fixes
    • Fixed

      Leave stale promises to wait for a later resolution, instead of rejecting

    • Fixed

      Keep dependencies of $state.eager/pending

    • Fixed

      Reapply context after transforming error during SSR

    • Fixed

      Don't rebase just-created batches

  3. 5.55.5

    23 Apr 20262 fixes
    • Fixed

      Don't mark deriveds while an effect is updating

    • Fixed

      Do not dispatch introstart event with animation of animate directive

  4. 5.55.4

    14 Apr 20263 fixes
    • Fixed

      Never mark a child effect root as inert

    • Fixed

      Reset context after waiting on blockers of @const expressions

    • Fixed

      Keep flushing new eager effects

  5. 5.55.3

    10 Apr 20265 fixes
    • Fixed

      Ensure proper HMR updates for dynamic components

    • Fixed

      Correctly calculate @const blockers

    • Fixed

      Freeze deriveds once their containing effects are destroyed

    • Fixed

      Defer error boundary rendering in forks

    • Fixed

      Avoid false positives for reactivity loss warning

  6. 5.55.2

    7 Apr 20269 fixes
    • Fixed

      Invalidate @const tags based on visible references in legacy mode

    • Fixed

      Handle parens in template expressions more robustly

    • Fixed

      Disallow -- in idPrefix

    • Fixed

      Correct types for ontoggle on <details> elements

3 internal lines (docs, tests, tooling) left out.

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.