Packages

astro

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

Your version

4.9.3

5 Jun 2024Where it was published

4.16.19 is the newest release of 4.x.

In short

6 fixed

Security

24 advisories affect 4.9.3; 7.4.5 fixes them

19 more

Release note

Patch Changes

  • Guard globalThis.astroAsset usage in proxy code to avoid errors in wonky situations

  • Improves isPromise utility to check the presence of then on an object before trying to access it - which can cause undesired side-effects on Proxy objects

  • Suggest pnpm dlx instead of pnpx in update check.

  • Fixes invalid MIME types in Picture source elements for jpg and svg extensions, which was preventing otherwise valid source variations from being shown by the browser

  • Fixes an internal error that prevented the AstroContainer to render the Content component.

    You can now write code similar to the following to render content collections:

    const entry = await getEntry(collection, slug);
    const { Content } = await entry.render();
    const content = await container.renderToString(Content);
  • Retain client scripts in content cache

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.