You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 6, 2021. It is now read-only.
Brotli compression algorithm has landed earlier this year into Node.js core and is exposed via zlib module since v11.7.0. This version of the compressor requires only Node.js itself and no other external modules or binaries.
Please consider switching to this algorithm on supported configurations, while falling back to binaries only where the new API is not available (on Node < 11.7.0), both during installation (that is, downloading/building binaries conditionally) and on runtime.
Potentially, the usage of the Node.js API can be made optional, via a new config flag, and possibly disabled by default until Node.js 12 enters LTS phase later this year.
I believe this change will alleviate the difficulties some of the users (and users of downstream packages) have with pre-built binaries and node-gyp, will definitely speed up the installation, as well as may give some more confidence regarding security. Personally, I am particularly interested to see the new algorithm to be used in gulp-brotli (see issue #5 there).
Brotli compression algorithm has landed earlier this year into Node.js core and is exposed via
zlib
module since v11.7.0. This version of the compressor requires only Node.js itself and no other external modules or binaries.Please consider switching to this algorithm on supported configurations, while falling back to binaries only where the new API is not available (on Node < 11.7.0), both during installation (that is, downloading/building binaries conditionally) and on runtime.
Potentially, the usage of the Node.js API can be made optional, via a new config flag, and possibly disabled by default until Node.js 12 enters LTS phase later this year.
I believe this change will alleviate the difficulties some of the users (and users of downstream packages) have with pre-built binaries and node-gyp, will definitely speed up the installation, as well as may give some more confidence regarding security. Personally, I am particularly interested to see the new algorithm to be used in
gulp-brotli
(see issue #5 there).See also:
compression-webpack-plugin
already supports brotli via the new APIThe text was updated successfully, but these errors were encountered: