Skip to content

remove text-decoding - #120

Merged
Uzlopak merged 1 commit into
fastify:masterfrom
KhafraDev:text-decoding
Aug 23, 2023
Merged

remove text-decoding#120
Uzlopak merged 1 commit into
fastify:masterfrom
KhafraDev:text-decoding

Conversation

@KhafraDev

Copy link
Copy Markdown
Contributor

This was added in #50 for reasons I don't really understand. According to the PR node's TextDecoder is the fastest (and I assume it's even faster now), provides the same features, and is available globally since node v11.

@Uzlopak

Uzlopak commented Aug 13, 2023

Copy link
Copy Markdown
Contributor

It was for Backwards compatibility.

@Uzlopak Uzlopak assigned Uzlopak and unassigned Uzlopak Aug 13, 2023
@Uzlopak
Uzlopak requested review from Uzlopak and kibertoad August 13, 2023 18:59

@Uzlopak Uzlopak left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Added semver major label.

@kibertoad

Copy link
Copy Markdown
Member

@KhafraDev @Uzlopak wasn't it for compatibility with non-node runtimes, such as AtlasDB workers?

@kibertoad

Copy link
Copy Markdown
Member

no, #100 seems to be a different thing

@Uzlopak Uzlopak left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Blocking till we investigate or come to a conclusion on how to avoid breaking too much

@Uzlopak

Uzlopak commented Aug 13, 2023

Copy link
Copy Markdown
Contributor

Talked with kibertoad.

The issue with firebase_admin was that dicer does not need the TextDecoder. And this PR should not break firebase_admin.

@Uzlopak Uzlopak left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Uzlopak
Uzlopak merged commit 1cdb224 into fastify:master Aug 23, 2023
@KhafraDev
KhafraDev deleted the text-decoding branch August 23, 2023 15:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants