Packages

astro

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

Your version

4.5.18

10 Apr 2024Where it was published

4.16.19 is the newest release of 4.x.

In short

3 fixed

Security

24 advisories affect 4.5.18; 7.4.5 fixes them

19 more

Release note

Patch Changes

  • Fixes a regression where some very specific code rendered using expressive-code was not escaped properly.

  • Fixes a regression where constructing and returning 404 responses from a middleware resulted in the dev server getting stuck in a loop.

  • Fixes a false positive for div and span elements when running the Dev Toolbar accessibility audits.

    Those are special elements that don't have an interaction assigned by default. Instead, it is assigned through the role attribute. This means that cases like the following are now deemed correct:

    <div role="tablist"></div>
    <span role="button" onclick="" onkeydown=""></span>

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.