Packages

svelte

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

Upgrading svelte From 4.2.2 to 4.2.20

18 releases in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 4.2.2Clears its 7 advisories5.55.7Latest5.58.0
  1. 4.2.2yours
  2. 17 releases
  3. 4.2.20target

Security

Release by release

  1. 4.2.20

    20 May 20251 fix
    • Fixed

      Properly remove event listeners in Component's removeEventListener

  2. 4.2.19

    23 Aug 20242 fixes
    • Fixed

      Ensure typings for <svelte:options> are picked up

    • Fixed

      Escape < in attribute strings

  3. 4.2.18nothing new or fixed in the note

  4. 4.2.17

    13 May 20241 fix
    • Fixed

      Correctly handle falsy values of style directives in SSR mode

  5. 4.2.16

    7 May 20241 fix
    • Fixed

      Check if svelte component exists on custom element destroy

  6. 4.2.15

    17 Apr 20241 new
    • New

      Support attribute selector inside :global()

  7. 4.2.14

    12 Apr 20241 fix
    • Fixed

      Fix parsing camelcase container query name

  8. 4.2.13

    10 Apr 20241 fix
    • Fixed

      Applying :global for +,~ sibling combinator when slots are present

1 internal line (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.