@astrojs/solid-js
7.1.6 · 13 Nov 2026MIT382.4k / weekRepositoryHomepagenpmAtom feed
2.2.1 is the newest release of 2.x.
In short
3 fixed
Security
1 advisory affects 2.2.0; 7.1.2 fixes them
- LowAstro: Reflected XSS via unescaped slot names in @astrojs/solid-jsGHSA-jmv2-qgxf-f995 · 12 Nov 2026Fixed in 7.1.2
Release note
Minor Changes
Prevent removal of nested slots within islands
This change introduces a new flag that renderers can add called
supportsAstroStaticSlot. What this does is let Astro know that the render is sending<astro-static-slot>as placeholder values for static (non-hydrated) slots which Astro will then remove.This change is completely backwards compatible, but fixes bugs caused by combining ssr-only and client-side framework components like so:
<Component> <div> <Component client:load> <span>Nested</span> </Component> </div> </Component>
Patch Changes
Always build edge/worker runtime with Vite
webworkerSSR targetSpecify
"files"field to only publish necessary files
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.