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(web): do not rely on ReadableStream.from #492

Merged
merged 1 commit into from
Oct 8, 2023
Merged

Conversation

KnorpelSenf
Copy link
Member

Fixes #491

@KnorpelSenf KnorpelSenf added the fix Fixes a bug label Oct 7, 2023
@codecov
Copy link

codecov bot commented Oct 7, 2023

Codecov Report

All modified lines are covered by tests ✅

Comparison is base (a92b766) 46.51% compared to head (9b942be) 46.51%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #492   +/-   ##
=======================================
  Coverage   46.51%   46.51%           
=======================================
  Files          19       19           
  Lines        5615     5615           
  Branches      226      226           
=======================================
  Hits         2612     2612           
  Misses       3000     3000           
  Partials        3        3           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@KnorpelSenf KnorpelSenf marked this pull request as draft October 7, 2023 17:30
@KnorpelSenf
Copy link
Member Author

Apparently CFW does not support new ReadableStream. Why???

@KnorpelSenf
Copy link
Member Author

@rojvv
Copy link
Member

rojvv commented Oct 7, 2023

Apparently CFW does not support new ReadableStream. Why???

Because they didn’t know of @KnightNiwrem when they decided to not support it.

@KnorpelSenf
Copy link
Member Author

It does support it, but you have to set a flag: #493 (comment)

@KnorpelSenf KnorpelSenf marked this pull request as ready for review October 8, 2023 08:14
@KnorpelSenf KnorpelSenf merged commit fb58202 into main Oct 8, 2023
@KnorpelSenf KnorpelSenf deleted the no-readable-from branch October 8, 2023 08:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix Fixes a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bug: passing blob to new InputFile() lead to this error on **Vercel Edge Runtime**:
4 participants