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

Changed Buffer creation in TextEncoder #8

Merged
merged 3 commits into from
Nov 27, 2021

Conversation

kibertoad
Copy link
Member

No description provided.

krizzje and others added 3 commits January 15, 2020 11:40
Buffer creation is changed in newer node versions.
Modified TextEncoder.prototype to support both the old constructor style as the new Buffer.from style
Remove unnecessary whiteline

Co-Authored-By: mscdex <mscdex@users.noreply.github.com>
Moved the isModernBuffer helper variable to the top level, as requested in the review
@kibertoad kibertoad merged commit 5885735 into fastify:master Nov 27, 2021
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.

2 participants