-
-
Notifications
You must be signed in to change notification settings - Fork 35.6k
Dictionary support for zstd #59105
Copy link
Copy link
Closed
Labels
feature requestIssues that request new features to be added to Node.js.Issues that request new features to be added to Node.js.
Metadata
Metadata
Assignees
Labels
feature requestIssues that request new features to be added to Node.js.Issues that request new features to be added to Node.js.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Projects
Status
Awaiting Triage
What is the problem this feature will solve?
zstd decompression does not work for archives that initially used a compression dictionary, as there is no way to input a dictionary when calling the function in Node's zlib library. This leads to dictionary wrong errors when attempting to decompress.
What is the feature you are proposing to solve the problem?
Include the ability to use zstd's dictionary feature when calling for zstd (de)compression using the zlib library functions.
What alternatives have you considered?
Using existing community modules for zstd, but these often use much older versions of zstd.