lquixada / cross-fetch

Universal WHATWG Fetch API for Node, Browsers and React Native.
MIT License
1.66k stars 102 forks source link

fix: throws when fetch is readonly #137

Closed Jack-Works closed 1 year ago

Jack-Works commented 2 years ago

image

The current wrapper does not work when the fetch is readonly.

lquixada commented 1 year ago

@Jack-Works thanks for the PR. Would you mind describing the scenarios where the fetch function would be read-only?

Jack-Works commented 1 year ago

hello! we're experimenting with a sandbox environment. hope that answers the question

lquixada commented 1 year ago

@Jack-Works got it, I was actually checking if this change would improve or fix any broad-used environment like node.js, electron or a service worker.