mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
Adds optional dictionary support to zlib’s zstdCompress and zstdDecompress APIs. This enables better compression ratios when the dictionary matches expected input structure or content patterns. The implementation allows passing a `dictionary` buffer through the options object. Support was added to both streaming and convenience methods. Tests and documentation were also updated to reflect this new capability. Fixes: https://github.com/nodejs/node/issues/59105 PR-URL: https://github.com/nodejs/node/pull/59240 Reviewed-By: Anna Henningsen <anna@addaleax.net>
1.1 KiB
1.1 KiB