Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update dependency isomorphic-unfetch to v4 #581

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Dec 31, 2022

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
isomorphic-unfetch ^3.1.0 -> ^4.0.0 age adoption passing confidence

Release Notes

developit/unfetch (isomorphic-unfetch)

v4.0.2

Compare Source

v4.0.1

Compare Source

Quick publishing fix.

v4.0.0

Compare Source

🦄 Small breaking change for awesome ponyness:

  • unfetch is now a pure 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, thanks @​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:

<script src="https://unpkg.com/unfetch/polyfill"></script>
<!-- that's it! -->
<script>foo = await fetch('/foo.json')</script>

Otherwise, if you're using Unfetch and bundling your code, continue as you were before:

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

// 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.

@renovate renovate bot force-pushed the renovate/isomorphic-unfetch-4.x branch from a0b5a45 to a0c2406 Compare January 14, 2023 01:59
@renovate renovate bot force-pushed the renovate/isomorphic-unfetch-4.x branch 2 times, most recently from fd921c4 to a91a32c Compare February 1, 2023 00:50
@renovate renovate bot force-pushed the renovate/isomorphic-unfetch-4.x branch from a91a32c to 2538f54 Compare February 4, 2023 03:06
@renovate renovate bot force-pushed the renovate/isomorphic-unfetch-4.x branch 2 times, most recently from 3b3854d to 35683a0 Compare February 20, 2023 22:15
@renovate renovate bot force-pushed the renovate/isomorphic-unfetch-4.x branch from 35683a0 to 1647284 Compare March 7, 2023 08:13
@renovate renovate bot force-pushed the renovate/isomorphic-unfetch-4.x branch from 1647284 to 0b334ac Compare March 31, 2023 21:48
@renovate renovate bot force-pushed the renovate/isomorphic-unfetch-4.x branch from 0b334ac to 494dafa Compare April 13, 2023 03:30
@renovate renovate bot force-pushed the renovate/isomorphic-unfetch-4.x branch 2 times, most recently from cb6282e to b13e8de Compare May 4, 2023 02:11
@renovate renovate bot force-pushed the renovate/isomorphic-unfetch-4.x branch from b13e8de to 978d0bd Compare May 31, 2023 21:00
@renovate renovate bot force-pushed the renovate/isomorphic-unfetch-4.x branch from 978d0bd to 418ecbb Compare June 21, 2023 15:58
@renovate renovate bot force-pushed the renovate/isomorphic-unfetch-4.x branch from 418ecbb to c656e28 Compare July 8, 2023 08:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

0 participants