Consider migrating to the compression built into zlib
nathanpeck opened this issue · comments
Nathan Peck commented
This package still uses iltorb, which is no longer needed in modern versions of Node:
npm WARN deprecated iltorb@2.4.3: The zlib module provides APIs for brotli compression/decompression starting with Node.js v10.16.0, please use it over iltorb
Regev Brody commented
Thanks for the issue submission. I want to support node 6 and above, so I can't remove iltorb as a dependency. Would you mind making a pr that will try to use zlib only if applicable?
Regev Brody commented
npm/npm#7340 there is an idea there on how to install conditional dependencies
Regev Brody commented
https://stackoverflow.com/questions/44956778/conditional-postinstall-in-package-json-depending-on-your-os there ia an idea here as well
Regev Brody commented
@nathanpeck released in 4.1.0
Nathan Peck commented
Awesome! Massive thanks for the fast turnaround time on that! I was
planning to PR but you beat me to it hah
…On Fri, Apr 10, 2020 at 1:51 PM Regev Brody ***@***.***> wrote:
@nathanpeck <https://github.com/nathanpeck> released in 4.1.0
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#87 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AA2VN6WQLXE2OLG723VNAKTRL5MDFANCNFSM4MDOU3CA>
.
Regev Brody commented
Haha you didn't respond so i figured you didn't have the time.
Glad to help!
If you like the library, a star would be much appreciated