@remix-run/node-fetch-server
1.0.1 · 19 Nov 2026MIT5.4M / weekRepositoryHomepagenpmAtom feed
Upgrading @remix-run/node-fetch-server From 1.0.0 to 1.0.1
1 release in betweenevery note read
Reading releases, release notes and advisories…
- 0
- changes to make
- 0
- advisories fixed
- 0
- new
- 1
- fix
Release by release
- Fixed
createRequest()andcreateRequestListener()now validate the request host for every handler, including handlers that take no arguments. The effective host, whether it comes from thehostoption, a trustedForwardedorX-Forwarded-Hostheader, HTTP/2:authority, orHost, must be a hostname or bracketed IPv6 address with an optional port. Values with a path, query, fragment, userinfo, whitespace, or control characters, such asexample.com/../adminoruser@example.com, makecreateRequest()throw.createRequestListener()passes the error toonErrorand responds with400 Bad RequestunlessonErrorreturns a response. An invalid trustedX-Forwarded-Hostis rejected instead of falling back toHost.
- Fixed
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.