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 #4213

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Feb 7, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
isomorphic-unfetch 3.1.0 -> 4.0.2 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 - "every weekend" (UTC), 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 4 times, most recently from 8e521bc to eea69c5 Compare February 26, 2024 11:26
@renovate renovate bot force-pushed the renovate/isomorphic-unfetch-4.x branch 6 times, most recently from 1813a3a to a5d4a3b Compare March 6, 2024 10:40
@renovate renovate bot force-pushed the renovate/isomorphic-unfetch-4.x branch 3 times, most recently from 6e53b95 to b942525 Compare March 22, 2024 16:08
@renovate renovate bot force-pushed the renovate/isomorphic-unfetch-4.x branch 9 times, most recently from fb2db61 to 6fa2fcd Compare April 3, 2024 12:39
@renovate renovate bot force-pushed the renovate/isomorphic-unfetch-4.x branch 6 times, most recently from b636ce9 to 2f59556 Compare April 10, 2024 12:06
@renovate renovate bot force-pushed the renovate/isomorphic-unfetch-4.x branch 2 times, most recently from 1e28e60 to d992037 Compare April 19, 2024 07:10
@renovate renovate bot force-pushed the renovate/isomorphic-unfetch-4.x branch from d992037 to b7e9c31 Compare April 22, 2024 13:47
@renovate renovate bot force-pushed the renovate/isomorphic-unfetch-4.x branch 6 times, most recently from db0835f to 3ab886f Compare May 8, 2024 14:23
@renovate renovate bot force-pushed the renovate/isomorphic-unfetch-4.x branch 4 times, most recently from 56e4985 to 15860f8 Compare May 15, 2024 15:50
@renovate renovate bot force-pushed the renovate/isomorphic-unfetch-4.x branch 6 times, most recently from 74556f7 to 61feb90 Compare May 29, 2024 14:48
@renovate renovate bot force-pushed the renovate/isomorphic-unfetch-4.x branch 2 times, most recently from cc8ae89 to c60fabe Compare June 10, 2024 17:31
@renovate renovate bot force-pushed the renovate/isomorphic-unfetch-4.x branch from c60fabe to 0c55135 Compare June 11, 2024 11:12
@bkrem bkrem closed this Jun 11, 2024
Copy link
Contributor Author

renovate bot commented Jun 11, 2024

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future 4.x releases. But if you manually upgrade to 4.x then Renovate will re-enable minor and patch updates automatically.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

@renovate renovate bot deleted the renovate/isomorphic-unfetch-4.x branch June 11, 2024 11:14
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

1 participant