@astrojs/svelte
9.1.6 · 13 Nov 2026MIT224k / weekRepositoryHomepagenpmAtom feed
8.1.2 is the newest release of 8.x.
In short
1 new
Security
1 advisory affects 8.1.0; 9.1.2 fixes them
- LowAstro: Reflected XSS via unescaped slot names in @astrojs/svelteGHSA-f4j9-crrj-867q · 12 Nov 2026Fixed in 9.1.2
Release note
Minor Changes
This change updates the Svelte integration's type shims to treat non-children
snippet props andany-typed props as optional. Previously, these were
incorrectly marked as required in Astro files, causing false-positive type
errors when using Svelte 5 components.Adds
HandleSnippetPropsto make Snippets optional in Astro.Distinguishes between generic and non-generic components to preserve inference.
Updates TSX generation to apply the appropriate directive wrapper.
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.