Packages

astro

7.4.13 · 18 Nov 2026MIT12.5M / weekRepositoryHomepagenpmAtom feed

Your version

5.1.8

20 Jan 2025Where it was published

5.18.2 is the newest release of 5.x.

In short

9 fixed

Security

21 advisories affect 5.1.8; 7.4.5 fixes them

16 more

Release note

Patch Changes

  • Fixes the issue that audit incorrectly flag images as above the fold when the scrolling container is not body

  • Fixes a bug that caused references to be incorrectly reported as invalid

  • Fixes a bug in dev where files would stop being watched if the Astro config file was edited

  • Fixes a bug where the content layer would use an outdated version of the Astro config if it was edited in dev

  • Fixes an issue where server islands do not work in projects that use an adapter but only have prerendered pages. If an adapter is added, the server island endpoint will now be added by default.

  • Fixes a case where astro:actions types would not work when using src/actions.ts

  • Upgrades Vite

  • Fixes a bug that caused the dev server to return an error if requesting "//"

  • Fixes a bug that caused Astro to attempt to inject environment variables into non-source files, causing performance problems and broken builds

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.