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

Update node-fetch to ^2.0.0 (major change) #157

Closed
wants to merge 1 commit into from

Conversation

leoselig
Copy link

@leoselig leoselig commented Feb 8, 2018

This will change the behavior of isomorphic-fetch if imported in a
Node.js environment. The actual major changes can be found in the
2.0.0 release notes of node-fetch.
See: https://github.com/bitinn/node-fetch/blob/master/CHANGELOG.md#v200

Overall, this should increase the usefulness of isomorphic-fetch by a lot since version 2 aligns the implementation with the spec for a lot of issues. For instance, I expect this to fix:

This will change the behavior of `isomorphic-fetch` if imported in a
Node.js environment. The actual major changes can be found in the
`2.0.0` release notes of node-fetch.
See: https://github.com/bitinn/node-fetch/blob/master/CHANGELOG.md#v200
@leoselig
Copy link
Author

leoselig commented Feb 8, 2018

That error confuses me. Why is it checking files in the dependencies? Is that intentional?

@dbkaplun
Copy link

Any word on this?

@znarf
Copy link

znarf commented May 14, 2018

@leoselig Thank you for contributing this PR. That would be really great to have.

@IanVS
Copy link

IanVS commented Jun 12, 2018

I'd love to have headers.entries(). But it seems like maybe isomorphic-fetch is dead / unmaintained? There hasn't been a release in a very long time...

@hulkish
Copy link

hulkish commented Jul 1, 2018

@matthew-andrews Would like to see this land. Can you release this, please?

@styfle
Copy link

styfle commented Aug 2, 2018

There have been several new releases since 2.0.0
Maybe update this PR to "node-fetch": "^2.2.0"

@codler
Copy link

codler commented Oct 9, 2018

I started on new fetch which uses node-fetch 2.x https://github.com/codler/fetch-register

@yordis
Copy link

yordis commented Oct 15, 2018

@matthew-andrews could you support us with this issue, please.

@jacktuck
Copy link

v1 is not spec compliant in regards to utf-8, please can we land this?

https://github.com/bitinn/node-fetch/blob/master/CHANGELOG.md#response-and-request-classes

@matthew-andrews
Copy link
Owner

matthew-andrews commented Sep 14, 2020

This has been resolved in master … sorry for the huge delay. I will release as a major version soon, please test against your applications.

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.

10 participants