Packages

@remix-run/node-fetch-server

1.0.1 · 19 Nov 2026MIT5.4M / weekRepositoryHomepagenpmAtom feed

Your version

1.0.1

Latest19 Nov 2026Where it was published

In short

1 fixed

Release note

Patch Changes

  • createRequest() and createRequestListener() now validate the request host for every handler, including handlers that take no arguments. The effective host, whether it comes from the host option, a trusted Forwarded or X-Forwarded-Host header, HTTP/2 :authority, or Host, must be a hostname or bracketed IPv6 address with an optional port. Values with a path, query, fragment, userinfo, whitespace, or control characters, such as example.com/../admin or user@example.com, make createRequest() throw. createRequestListener() passes the error to onError and responds with 400 Bad Request unless onError returns a response. An invalid trusted X-Forwarded-Host is rejected instead of falling back to Host.

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.