sync-fetch
0.7.1 · 15 Sep 2026MIT13.3M / weekRepositoryHomepagenpmAtom feed
0.7.1 is the newest release of 0.1.x.
In short
5 new24 fixed
Release note
Bug Fixes
body: also inline constructor
body: clone as sync instance
body: default to null body
body: do not consume body on clone
body: fix cloning consuming the body
body: handle multi-value headers
body: inline body for super call
body: make body methods enumerable
body: make clone method enumerable
body: only use super.buffer()
body: pass stream to original Body
body: throw error on stream input
body: throw error when body already used
request: count other bodies as string
request: pass body as-is
request: properly include headers
request: special handling for input body strings
request: support node-fetch-only props
response: fix response error type
response: include url
response: properly include headers
response: support all body types
response: support redirected prop
response: throw body errors late
Support Node 8
Features
body: catch async errors
browser: make working browser alternative
fetch: improve child process handling
fetch: support Node URL object input
Initial implementation
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.