github withastro/astro @astrojs/node@10.0.3

latest releases: astro@6.0.7, @astrojs/vercel@10.0.2, @astrojs/svelte@8.0.3...
6 hours ago

Patch Changes

  • #15735 9685e2d Thanks @fa-sharp! - Fixes an EventEmitter memory leak when serving static pages from Node.js middleware.

    When using the middleware handler, requests that were being passed on to Express / Fastify (e.g. static files / pre-rendered pages / etc.) weren't cleaning up socket listeners before calling next(), causing a memory leak warning. This fix makes sure to run the cleanup before calling next().

Don't miss a new astro release

NewReleases is sending notifications on new releases.