Universal WHATWG Fetch API for Node, Browsers and React Native.
MIT License
Bot releases are hidden (Show)
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.Published by lquixada over 1 year ago
Full Changelog: https://github.com/lquixada/cross-fetch/compare/v3.1.7...v3.1.8
Published by lquixada over 1 year ago
Full Changelog: https://github.com/lquixada/cross-fetch/compare/v3.1.6...v3.1.7
Published by lquixada over 1 year ago
Full Changelog: https://github.com/lquixada/cross-fetch/compare/v3.1.5...v3.1.6
Published by lquixada over 2 years ago
Full Changelog: https://github.com/lquixada/cross-fetch/compare/v3.1.4...v3.1.5
Published by lquixada over 3 years ago
🐞 fixed typescript errors.
Published by lquixada over 3 years ago
🐞 fixed typescript compilation error causing #95, #101, #102.
Published by lquixada over 3 years ago
🐞 added missing Headers interface augmentation from lib.dom.iterable.d.ts (#97)
Published by lquixada over 3 years ago
🐞 fixed missing fetch api types from constructor signatures #96 (thanks @jstewmon)
Published by lquixada over 3 years ago
⚡️ 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.
Published by lquixada about 4 years ago
⚡️ updated node-fetch to 2.6.1
Published by lquixada over 4 years ago
⚡️ whatwg-fetch is not a prod dependency anymore (#63)
⚡️ updated all dev dependencies.
Published by lquixada over 5 years ago
🐞 bugfix #35: fixed TypeScript failing on types when dom lib is not present.
Published by lquixada over 5 years ago
🐞 bugfix #38: fixed the browser ponyfill stomping the global fetch function on React Native (thanks @msluther)
import {fetch} from 'cross-fetch'
on a browser bundle.fetch.polyfill
is now set to undefined
instead of false
.Published by lquixada almost 6 years ago
🐞 bugfix #26: fixed TypeScript usage without esModuleInterop. (thanks @mattmccutchen)
Published by lquixada over 6 years ago
🐞 bugfix #19: fixed typescript definitions (thanks @evert)
Published by lquixada over 6 years ago
🐞 bugfix: fixed 'realFetch.call is not a function' when cross-fetch is bundled with webpack set to target node (@jamespedid, @alexvetter in #15)