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

use polyfill fallback for older env? #2

Open
jimmywarting opened this issue Jan 22, 2022 · 2 comments
Open

use polyfill fallback for older env? #2

jimmywarting opened this issue Jan 22, 2022 · 2 comments

Comments

@jimmywarting
Copy link

What do you think?
use web-streams-polyfill when it isn't avalible?

@ksm2
Copy link
Owner

ksm2 commented Jan 23, 2022

Thanks for your suggestion @jimmywarting ! My original idea was to make code reuse easier between environments which natively support Web Streams like modern browsers and Node.js 16+, however, I do see the appeal in supporting older platforms a as well. Also, I actually added a little polyfill to support async iteration on Chrome.

Do you have a specific platform in mind to support?

@jimmywarting
Copy link
Author

I have been in the lookout for something that supports lowest LTS (v14.17) as that is going to be our lowest targeted support for node-fetch@4 when v12 goes EOL in April
We want to change res.body to be a whatwg stream and use built-in AbortController that came in node v14.17

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

No branches or pull requests

2 participants