unfetch
unfetch copied to clipboard
π Bare minimum 500b fetch polyfill.
Resolves #54
not sure that this is favorable or not but thought that it might be and it allows for easier testing of the creation of responses and their properties.
A few things to unpack here As far as I can tell we only need the header keys, we don't actually need to construct the entries and headers objects with...
Fixes #106 I think `onreadystatechange` is more than enough for our case. Otherwise, full support requires both XDomainRequest and XMLHttpRequest
Need to add regex tests. Tested expression on validators, it gives strange results. @developit could you provide expectations?
Shave off one more byte from plain js, and two from the polyfill. Unfortunately adds one byte to the umd build. Before: ``` Build "unfetch" to dist: 496 B: unfetch.js...
Since fetch apis are used a lot in a typical web application, it would be nice to have a `unfetch.defaults` object that sets default parameters of all requests. A use...
I did try putting together a PR that runs all tests at [github/fetch](https://github.com/github/fetch) but got overwhelmed by amount of work required. Basically it should be done via Git submodules and...
Just updated my `isomorphic-unfetch` and when I've run the application, the following error occur: ```sh WARNING in ./node_modules/node-domexception/index.js 5:31-56 Module not found: Error: Can't resolve 'worker_threads' in '/home/kari/Γrea de Trabalho/Quirons/frontend/node_modules/node-domexception'...
I have followed the official instruction to install unfetch `npm i unfetch`; however, when I `import fetch from 'unfetch'`, `Module not found: Can't resolve 'unfetch'` pop out, I am using...