Packages

astro

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

Your version

7.2.4

19 Aug 2026Where it was published

7.4.13 is the newest release of 7.x.

In short

4 fixed3 internal

Security

Fixes 1 advisory that affected 7.2.3

Release note

Patch Changes

  • Fixes builds hanging when an image file is malformed

  • Fixes base path stripping to respect path-segment boundaries. With a configured base such as /docs, a request like /docs-archive/page is no longer treated as being under the base, so routing and context.url.pathname now agree on the same pathname.

  • Fixes astro build throwing TypeError: Missing parameter for dynamic routes when build.format: 'preserve' and trailingSlash: 'always' are used together. Stripping the framework-injected .html suffix dropped the trailing slash that the compiled route pattern requires, so the route no longer matched itself and its params resolved as empty.

  • Fixes Astro.site always being undefined when rendering components via the Container API, even when site is set in astroConfig

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.