Universal WHATWG Fetch API for Node, Browsers and React Native.
BREAKING CHANGES
FEATURES
node-fetch
, whatwg-fetch
, native browser and native node fetch.whatwg-fetch
to 3.6.2. Please refer to whatwg-fetch
release notes between 3.0.0 and 3.6.2 for features and bug fixes.fetch.ponyfill
is set to true
when custom implementation is used. This improves debuggability.Full Changelog: https://github.com/lquixada/cross-fetch/compare/v3.1.7...v3.1.8
Full Changelog: https://github.com/lquixada/cross-fetch/compare/v3.1.6...v3.1.7
Full Changelog: https://github.com/lquixada/cross-fetch/compare/v3.1.5...v3.1.6
Full Changelog: https://github.com/lquixada/cross-fetch/compare/v3.1.4...v3.1.5
🐞 fixed typescript errors.
🐞 fixed typescript compilation error causing #95, #101, #102.
🐞 added missing Headers interface augmentation from lib.dom.iterable.d.ts (#97)
🐞 fixed missing fetch api types from constructor signatures #96 (thanks @jstewmon)
⚡️ improved TypeScript support with own fetch API type definitions (thanks @jstewmon)
⚡️ set fetch.ponyfill
to true
when custom ponyfill implementation is used.
💡 set the same fetch API test suite to run against node-fetch
, whatwg-fetch
and native fetch.