Packages

astro

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

Your version

5.1.6

13 Jan 2025Where it was published

5.18.2 is the newest release of 5.x.

In short

6 fixed

Security

21 advisories affect 5.1.6; 7.4.5 fixes them

16 more

Release note

Patch Changes

  • Removes encryption of empty props to allow server island cacheability

  • Fixes a case where accessing astro:env APIs or import.meta.env inside the content config file would not work

  • Fix Astro.currentLocale returning the incorrect locale when using fallback rewrites in SSR mode

  • Skips updating content layer files if content is unchanged

  • Improves the session error messages

  • Ensures old content collection entry is deleted if a markdown frontmatter slug is changed in dev

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.