Packages

miniflare

4.20260730.0 · 30 Jul 2026MIT57.5M / weekRepositoryHomepagenpmAtom feed

Your version

3.20240304.1

12 Mar 2024Where it was published

3.20250718.3 is the newest release of 3.x.

In short

2 fixed

Release note

Patch Changes

  • Ensure miniflare works with Node 21.7.0+

  • Ensure redirect responses handled correctly with dispatchFetch()

    Previously, if your Worker returned a redirect response, calling dispatchFetch(url) would send another request to the original url rather than the redirect. This change ensures redirects are followed correctly.

    • If your Worker returns a relative redirect or an absolute redirect with the same origin as the original url, the request will be sent to the Worker.

    • If your Worker instead returns an absolute redirect with a different origin, the request will be sent to the Internet.

    • If a redirected request to a different origin returns an absolute redirect with the same origin as the original url, the request will also be sent to the Worker.

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.