compression
1.8.2 · 11 Sep 2026MIT61.4M / weekRepositoryHomepagenpmAtom feed
Upgrading compression From 1.7.0 to 1.8.2
8 releases in betweennotes for 6
Counted from 6 of 8 release notes. Advisories are counted from the advisory database, in full.
Before you upgrade
Tick each one off as you go- breaking1.7.5
Security
Fixes 1 advisory affecting 1.7.0
- compression vulnerable to Denial of Service via memory leak on premature response closehigh · GHSA-vc2v-76pw-4v95
- 1.8.2
Release by release
- security
- fixed
Match Cache-Control no-transform directive case-insensitively
1.8.1nothing new or fixed in the note
- new
Add default option
- new
Support for brotli
- new
- breaking
Remove --bail option
- breaking
1.7.1 – 1.7.44 releases, nothing new or fixed; 2 without a note
5 other lines we could not sort, mostly version bumps
- 1.8.0
Refactor chunkLength function for improved readability and consistency
- 1.8.0
Refactor toBuffer function to simplify buffer check logic
- 1.8.0
Use headersSent instead of _header
- 1.8.0
Bugfix/use write head instead of implicit header
- 1.7.5
Replace accepts with negotiator
50 internal lines (docs, tests, tooling) left out.