developit/unfetch
### [`v4.0.2`](https://togithub.com/developit/unfetch/compare/4.0.1...ee5810e7f9cd769677984b159d7e250adf4611b9)
[Compare Source](https://togithub.com/developit/unfetch/compare/4.0.1...ee5810e7f9cd769677984b159d7e250adf4611b9)
### [`v4.0.1`](https://togithub.com/developit/unfetch/releases/tag/4.0.1)
[Compare Source](https://togithub.com/developit/unfetch/compare/4.0.0...4.0.1)
Quick publishing fix.
### [`v4.0.0`](https://togithub.com/developit/unfetch/releases/tag/4.0.0)
[Compare Source](https://togithub.com/developit/unfetch/compare/3.1.0...4.0.0)
🦄 **Small breaking change for awesome ponyness:**
- `unfetch` is now a pure [ponyfill](https://togithub.com/sindresorhus/ponyfill).
- `unfetch/polyfill` is now the polyfill version (even smaller than the ponyfill!)
- All modules are shipped in all formats, and the polyfill is now < 500b.
- Also a little bugfix for IE11 ([#85](https://togithub.com/developit/unfetch/issues/85), thanks [@khusa](https://togithub.com/khusa))
> TL;DR: `require('unfetch')` no longer returns `window.fetch` when it exists. For that, use `unfetch/polyfill`.
This change makes unfetch lovely to use as a polyfill from HTML:
```html
```
Otherwise, if you're using Unfetch and bundling your code, continue as you were before:
```js
if (!self.fetch) self.fetch = require('unfetch');
// or simply:
import 'unfetch/polyfill';
```
**Important** - the one thing to avoid:
> Since unfetch is a proper ponyfill, it will now overwrite `fetch` even in supported browsers if you do the following
>
> ```js
> // never do this!
> window.fetch = require('unfetch');
> ```
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
^3.1.0
->^4.0.0
Release Notes
developit/unfetch
### [`v4.0.2`](https://togithub.com/developit/unfetch/compare/4.0.1...ee5810e7f9cd769677984b159d7e250adf4611b9) [Compare Source](https://togithub.com/developit/unfetch/compare/4.0.1...ee5810e7f9cd769677984b159d7e250adf4611b9) ### [`v4.0.1`](https://togithub.com/developit/unfetch/releases/tag/4.0.1) [Compare Source](https://togithub.com/developit/unfetch/compare/4.0.0...4.0.1) Quick publishing fix. ### [`v4.0.0`](https://togithub.com/developit/unfetch/releases/tag/4.0.0) [Compare Source](https://togithub.com/developit/unfetch/compare/3.1.0...4.0.0) 🦄 **Small breaking change for awesome ponyness:** - `unfetch` is now a pure [ponyfill](https://togithub.com/sindresorhus/ponyfill). - `unfetch/polyfill` is now the polyfill version (even smaller than the ponyfill!) - All modules are shipped in all formats, and the polyfill is now < 500b. - Also a little bugfix for IE11 ([#85](https://togithub.com/developit/unfetch/issues/85), thanks [@khusa](https://togithub.com/khusa)) > TL;DR: `require('unfetch')` no longer returns `window.fetch` when it exists. For that, use `unfetch/polyfill`. This change makes unfetch lovely to use as a polyfill from HTML: ```html ``` Otherwise, if you're using Unfetch and bundling your code, continue as you were before: ```js if (!self.fetch) self.fetch = require('unfetch'); // or simply: import 'unfetch/polyfill'; ``` **Important** - the one thing to avoid: > Since unfetch is a proper ponyfill, it will now overwrite `fetch` even in supported browsers if you do the following > > ```js > // never do this! > window.fetch = require('unfetch'); > ```Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.