summaryrefslogtreecommitdiff
path: root/ext/node/ops/crypto/mod.rs
diff options
context:
space:
mode:
authorNathan Whitaker <17734409+nathanwhit@users.noreply.github.com>2024-03-15 17:24:13 -0700
committerGitHub <noreply@github.com>2024-03-15 17:24:13 -0700
commitebbc897b69f906d88a99768a2fff7661e2894670 (patch)
treed2df67377137b85d113447009fd8efc16c3a2d42 /ext/node/ops/crypto/mod.rs
parentc342cd36ba1af12d005167369d3a2f508496ef5d (diff)
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.
Diffstat (limited to 'ext/node/ops/crypto/mod.rs')
0 files changed, 0 insertions, 0 deletions