Packages

astro

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

Your version

5.10.1

23 Jun 2025Where it was published

5.18.2 is the newest release of 5.x.

In short

2 new5 fixed

Security

23 advisories affect 5.10.1; 7.4.5 fixes them

18 more

Release note

Patch Changes

  • Fixes a bug in live collections that caused it to incorrectly complain about the collection being defined in the wrong file

  • Fixes rendering of special boolean attributes for custom elements

  • Fixes a case where the toolbar audit would incorrectly flag images processed by Astro in content collections documents

  • Adds lastModified field to experimental live collection cache hints

    Live loaders can now set a lastModified field in the cache hints for entries and collections to indicate when the data was last modified. This is then available in the cacheHint field returned by getCollection and getEntry.

  • Adds an informative message in dev mode when the CSP feature is enabled.

  • Fixes a bug where inline styles and scripts didn't work when CSP was enabled. Now when adding <styles> elements inside an Astro component, their hashes care correctly computed.

  • Updates wrong link

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.