Uh oh!
There was an error while loading. Please reload this page.
Revert "util: add fast path for Latin1 decoding" - #60889
Conversation
nodejs-github-bot
commented
Nov 29, 2025
Review requested:
|
f266cc1 to
a76afd8Comparemcollina
commented
Nov 29, 2025
cc @mertcanaltin maybe there is an alternative fix. |
nodejs-github-bot
commented
Nov 29, 2025
mertcanaltin
commented
Nov 29, 2025
@mertcanaltin Is there any encoding in |
mertcanaltin
commented
Nov 29, 2025
Yes, I just checked, and as you said, there is no valid use case for the Latin1 method in the TextDecoder API, so it can be removed. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@## main #60889 +/- ##
=======================================
Coverage 88.55% 88.56% =======================================
Files 703 703 Lines 208291 208250 -41 Branches 40174 40156 -18 =======================================
- Hits 184454 184429 -25 + Misses 15829 15826 -3 + Partials 8008 7995 -13
🚀 New features to boost your workflow:
|
mertcanaltin
commented
Nov 29, 2025
I think this should be separate PRs, because:
Also tests from #58890 would be helpful (upd: #60893 covers that now!) No objection for going ahead and landing #60893 though, but then it has to be backported to all branches which regressed |
ChALkeR
commented
Nov 29, 2025
Let's go with #60893, it looks cleaner after an update Not closing this PR until that lands though in case something arises on review |
mertcanaltin
commented
Nov 29, 2025
Okay, thank you very much for your support and details. It was great working with you. 🚀 |
mcollina
commented
Dec 4, 2025
closing because the other PR landed |
This reverts commit 20bcaa0 (#55275)
Fixes: #60888
Fixes: #59515
Fixes: #56542
Refs: #55275 (comment)
Refs: #55275 (comment)