Packages

astro

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

Your version

4.12.1

18 Jul 2024Where it was published

4.16.19 is the newest release of 4.x.

In short

1 new2 fixed

Security

24 advisories affect 4.12.1; 7.4.5 fixes them

19 more

Release note

Patch Changes

  • Adds a new function called addClientRenderer to the Container API.

    This function should be used when rendering components using the client:* directives. The addClientRenderer API must be used
    after the use of the addServerRenderer:

    const container = await experimental_AstroContainer.create();
    container.addServerRenderer({ renderer });
    container.addClientRenderer({ name: '@astrojs/react', entrypoint: '@astrojs/react/client.js' });
    const response = await container.renderToResponse(Component);
  • Fixes inferRemoteSize type not working

  • Hide the dev toolbar on window.print() (CTRL + P)

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.