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: change fetch polyfill #109

Merged
merged 1 commit into from
Sep 28, 2020
Merged

fix: change fetch polyfill #109

merged 1 commit into from
Sep 28, 2020

Conversation

soedirgo
Copy link
Member

What kind of change does this PR introduce?

Bug fix.

What is the current behavior?

There's some problems using postgrest-js from jspm, probably related to developit/unfetch#104 and developit/unfetch#109. The repo doesn't look too healthy, so I'm switching to cross-fetch for the fetch polyfill, which uses github/fetch under the hood.

@soedirgo soedirgo merged commit 7a35c11 into master Sep 28, 2020
@soedirgo soedirgo deleted the fix/fetch-upstream branch September 28, 2020 07:54
@github-actions
Copy link

🎉 This PR is included in version 0.18.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

@soedirgo
Copy link
Member Author

Update: Apparently the bug doesn't exist when using Skypack, but I'll keep this change for now.

@kiwicopple
Copy link
Member

Looks like they finally solved this @soedirgo developit/unfetch#109

I want to confirm that we'll stick with cross-fetch? If so, I will migrate gotrue-js too

@soedirgo
Copy link
Member Author

Yeah, I'm partial towards cross-fetch because of project health.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants