1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-22 07:14:47 -05:00
denoland-deno/ext
Nathan Whitaker ebbc897b69
fix(ext/node): Reimplement StringDecoder to match node's behavior (#22933)
Fixes #22158.

Basically reimplements the whole `StringDecoder` with a much more direct
translation (read like one-to-one) of node's current logic. The old
implementation was closer to node's super old impl and it was too hard
to keep the code structure while matching the behavior of their new
logic.

This adds support for UTF-16LE, ascii, and latin1. 

This also enables the node_compat test, which now passes without
modification.
2024-03-15 17:24:13 -07:00
..
broadcast_channel chore: Forward 1.41.3 release commit (#22930) 2024-03-14 21:23:24 +00:00
cache chore: Forward 1.41.3 release commit (#22930) 2024-03-14 21:23:24 +00:00
canvas chore: Forward 1.41.3 release commit (#22930) 2024-03-14 21:23:24 +00:00
console chore: Forward 1.41.3 release commit (#22930) 2024-03-14 21:23:24 +00:00
cron chore: Forward 1.41.3 release commit (#22930) 2024-03-14 21:23:24 +00:00
crypto chore: Forward 1.41.3 release commit (#22930) 2024-03-14 21:23:24 +00:00
fetch chore: Forward 1.41.3 release commit (#22930) 2024-03-14 21:23:24 +00:00
ffi chore: Forward 1.41.3 release commit (#22930) 2024-03-14 21:23:24 +00:00
fs chore: Forward 1.41.3 release commit (#22930) 2024-03-14 21:23:24 +00:00
http chore: Forward 1.41.3 release commit (#22930) 2024-03-14 21:23:24 +00:00
io chore: Forward 1.41.3 release commit (#22930) 2024-03-14 21:23:24 +00:00
kv chore: Forward 1.41.3 release commit (#22930) 2024-03-14 21:23:24 +00:00
napi chore: Forward 1.41.3 release commit (#22930) 2024-03-14 21:23:24 +00:00
net chore: Forward 1.41.3 release commit (#22930) 2024-03-14 21:23:24 +00:00
node fix(ext/node): Reimplement StringDecoder to match node's behavior (#22933) 2024-03-15 17:24:13 -07:00
tls chore: Forward 1.41.3 release commit (#22930) 2024-03-14 21:23:24 +00:00
url chore: Forward 1.41.3 release commit (#22930) 2024-03-14 21:23:24 +00:00
web chore: Forward 1.41.3 release commit (#22930) 2024-03-14 21:23:24 +00:00
webgpu chore: Forward 1.41.3 release commit (#22930) 2024-03-14 21:23:24 +00:00
webidl chore: Forward 1.41.3 release commit (#22930) 2024-03-14 21:23:24 +00:00
websocket chore: Forward 1.41.3 release commit (#22930) 2024-03-14 21:23:24 +00:00
webstorage chore: Forward 1.41.3 release commit (#22930) 2024-03-14 21:23:24 +00:00