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

feat(encoding): add TextDecoderStream and TextEncoderStream #267

Merged
merged 2 commits into from Feb 28, 2023
Merged

feat(encoding): add TextDecoderStream and TextEncoderStream #267

merged 2 commits into from Feb 28, 2023

Conversation

ykzts
Copy link
Contributor

@ykzts ykzts commented Feb 25, 2023

TextDecoderStream and TextEncoderStream can be added to EdgeVM to convert a ReadableStream that returns a Uint8Array like Response.body into a string using pipeThrough().

@changeset-bot
Copy link

changeset-bot bot commented Feb 25, 2023

🦋 Changeset detected

Latest commit: 4bfb7ff

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@vercel
Copy link

vercel bot commented Feb 25, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated
edge-runtime ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Feb 28, 2023 at 11:32AM (UTC)

@Kikobeats
Copy link
Member

Thanks, I'm trying to figure out what's happening at CI

@Kikobeats Kikobeats merged commit 605f849 into vercel:main Feb 28, 2023
@github-actions github-actions bot mentioned this pull request Feb 28, 2023
@ykzts ykzts deleted the add-text-x-stream branch February 28, 2023 14:37
@Kikobeats
Copy link
Member

@ykzts thanks for this and welcome as contributor!

Shipped under https://github.com/vercel/edge-runtime/releases/tag/edge-runtime%402.1.0 🎉

@Kikobeats
Copy link
Member

@ykzts just to keep you in touch how amazing this PR was, It will be soon be part of Next.js codebase
vercel/next.js#46818 🙂

jridgewell pushed a commit to jridgewell/edge-runtime that referenced this pull request Jun 23, 2023
…el#267)

* feat(encoding): add `TextDecoderStream` and `TextEncoderStream`

* Create purple-monkeys-melt.md

---------

Co-authored-by: Kiko Beats <josefrancisco.verdu@gmail.com>
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.

None yet

2 participants