Packages

astro

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

Your version

4.16.1

11 Oct 2024Where it was published

4.16.19 is the newest release of 4.x.

In short

2 fixed

Security

Fixes 1 advisory that affected 4.16.0

23 advisories affect 4.16.1; 7.4.5 fixes them

18 more

Release note

Patch Changes

  • Ensure we target scripts for execution in the router

    Using document.scripts is unsafe because if the application has a name="scripts" this will shadow the built-in document.scripts. Fix is to use getElementsByTagName to ensure we're only grabbing real scripts.

  • Fixes a bug where Astro Actions couldn't redirect to the correct pathname when there was a rewrite involved.

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.