1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-21 23:04:45 -05:00
denoland-deno/ext/node
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
..
benchmarks fix: implement child_process IPC (#21490) 2023-12-13 11:14:16 +01:00
ops fix(ext/node): Support private EC key signing (#22914) 2024-03-14 14:53:50 +01:00
polyfills fix(ext/node): Reimplement StringDecoder to match node's behavior (#22933) 2024-03-15 17:24:13 -07:00
analyze.rs fix: cjs export rewritten to invalid identifier (#21853) 2024-01-08 17:50:52 +00:00
build.rs chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
Cargo.toml chore: Forward 1.41.3 release commit (#22930) 2024-03-14 21:23:24 +00:00
clippy.toml refactor(ext/fs): deno_fs::FileSystem - conditional Send + Sync (#18993) 2023-05-08 11:02:02 -04:00
errors.rs chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
global.rs chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
lib.rs feat(node): implement fs.statfs() (#22862) 2024-03-13 10:57:59 +00:00
package_json.rs chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
path.rs chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
polyfill.rs chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
README.md chore(ext/node): correct publishing for ext/node (#15461) 2022-08-11 17:25:41 -04:00
resolution.rs fix(node): resolve types via package.json for directory import (#22878) 2024-03-13 22:37:56 -04:00

deno_node

require and other node related functionality for Deno.