4.2.0
版本发布时间: 2020-09-30 01:58:08
developit/unfetch最新发布版本:isomorphic-4.0.2(2023-01-03 10:30:59)
- Fix unintentional use of arrow functions in some 4.1.0 builds (#138, thanks @simon04!)
- Fix usage in Web Workers (#109)
-
.json()
parse errors return a rejected Promise instead of throwing (#112, thanks @sunsean!) - Improved TypeScript typings (#117 & #121, thanks @Andarist & @0x80!)
- Add support for passing
URL
objects tofetch()
(#141, thanks @Edorka for the tip!)
Please make sure to also update to
isomorphic-unfetch@3.1.0
, which includes a security fix fornode-fetch
. (thanks @sakito21)