-
-
Notifications
You must be signed in to change notification settings - Fork 37.3k
Dictionary support for zstd #59105
Copy link
Copy link
Closed
Labels
feature requestIssues requesting new Node.js features.Issues requesting new Node.js features.
Description
Activity
Metadata
Metadata
Assignees
Labels
feature requestIssues requesting new Node.js features.Issues requesting new Node.js features.
Type
Projects
- StatusShow more project fieldsAwaiting 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.