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

fetch blob update #16

Open
jimmywarting opened this issue Oct 1, 2021 · 1 comment
Open

fetch blob update #16

jimmywarting opened this issue Oct 1, 2021 · 1 comment

Comments

@jimmywarting
Copy link

fetch-blob
The reason this library exists is because fetch-blob chooses to compromise Web API compatibility of blob.stream() by using nodejs native Readable stream. We found this to be problematic when sharing code across nodejs and browser runtimes. Instead this library stays true to the specification by using ReadableStream implementation from web-streams-polyfill library even if that is less convenient in nodejs context.

This is no longer true as fetch-blob@3 uses web stream as well now...

@Gozala
Copy link
Contributor

Gozala commented Jan 19, 2022

Thanks for the update @jimmywarting that's good to know! Once I'll have a time I'll investigate if there are still enough differences to justify existence of @web-std/blob or whether it could be deprecated in favor of fetch-blob.

Longer term I really just want to get rid of all these polyfills in favor of node native implementations.

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