Packages

astro

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

Upgrading astro From 6.2.1 to 6.2.2

1 release in betweenevery note read

Other targets from 6.2.1Newest 6.x6.4.8Clears its 11 advisories7.4.7Latest7.4.13
  1. 6.2.1yours
  2. 6.2.2target
0
changes to make
0
advisories fixed
0
new
16
fixes

Security

Release by release

  1. 6.2.2

    4 May 202616 fixes
    • Fixed

      Fixes head metadata propagation in dev for adapters that load modules in the prerender Vite environment, such as @astrojs/cloudflare. The astro:head-metadata plugin previously only tracked the ssr environment, so maybeRenderHead() could fire inside an unrelated component's <template> element, trapping subsequent hoisted <style> blocks.

    • Fixed

      Fixes build crash when processing animated AVIF images. Sharp now gracefully passes through unsupported image formats instead of crashing during the build.

    • Fixed

      Fixes scoped styles applying to the wrong element when vite.css.transformer is set to 'lightningcss' and a selector uses a nested & inside :where(...), such as Tailwind v4's space-x-*, space-y-*, and divide-* utilities.

    • Fixed

      Fixes data-astro-prefetch="tap" not triggering when clicking nested elements (e.g. <span>, <img>, <svg>) inside an anchor tag.

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.