astro
7.4.13 · 18 Nov 2026MIT12.5M / weekRepositoryHomepagenpmAtom feed
7.4.13 is the newest release of 7.x.
In short
8 fixed
Security
2 advisories affect 7.4.1; 7.4.7 fixes them
- ModerateAstro: Image endpoint in @astrojs/node can read files from a case-variant sibling of the output directory on case-sensitive filesystemsGHSA-r3h5-4585-7x3w · 13 Nov 2026Fixed in 7.4.7
- LowAstro: XSS via attribute injection in dynamic tag namesGHSA-mh32-jxcr-mh9f · 13 Nov 2026Fixed in 7.4.5
Release note
Patch Changes
Preserves the last modified date of cached optimized images and incrementally restored build output when copying them into the build output on all platforms
Fixes a typo in the error message shown when a font
cssVariableis invalidFixes a bug where projects whose path contains an apostrophe (
') failed to load sessions, middleware, a cache provider, or asrc/fetch.tshandlerFixes a
TSCONFIG_ERRORduringastro buildwhen a parent directory contains atsconfig.jsonthat cannot be resolved, such as one extendingastro/tsconfigs/strictwithout installed dependenciesFixes an
Unterminated stringbuild error when application code imports fromastro/config(for example,fontProvidersin a shared fonts module)Fixes missing styles in production builds for conditionally rendered framework components (e.g. Svelte components inside
{#if}blocks) imported by a hydrated islandFixes style-only HMR in
.astrocomponents falling back to a full page reload when a PostCSS plugin (such as@unocss/postcss) lists the component as a dependency of its own styleFixes increasing memory usage when editing the Astro configuration while the dev server is running
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.