Bump compression from 1.7.5 to 1.8.0
Bumps compression from 1.7.5 to 1.8.0.
Release notes
Sourced from compression's releases.
v1.8.0
What's Changed
- Refactor chunkLength function for improved readability and consistency by
@Ayoub-Mabroukin expressjs/compression#203- Refactor toBuffer function to simplify buffer check logic by
@Ayoub-Mabroukin expressjs/compression#201- ci: add CodeQL (SAST) by
@bjohansebasin expressjs/compression#204- Use headersSent instead of _header by
@maritzin expressjs/compression#129- Bugfix/use write head instead of implicit header by
@Icehunterin expressjs/compression#170- feat: add default option by
@bjohansebasin expressjs/compression#191- ci: update ci workflow by
@bjohansebasin expressjs/compression#206- feat: support for brotli by
@bjohansebasin expressjs/compression#194- docs: improve readme by
@bjohansebasin expressjs/compression#209- docs: keywords field by
@bjohansebasin expressjs/compression#210- refactor: simplify encoding negotiation logic by
@bjohansebasin expressjs/compression#213New Contributors
@Ayoub-Mabroukmade their first contribution in expressjs/compression#203@maritzmade their first contribution in expressjs/compression#129@Icehuntermade their first contribution in expressjs/compression#170Full Changelog: https://github.com/expressjs/compression/compare/1.7.5...v1.8.0
Changelog
Sourced from compression's changelog.
1.8.0 / 2025-02-10
- Use
res.headersSentwhen available- Replace
_implicitHeaderwithwriteHeadproperty- add brotli support for versions of node that support it
- Add the enforceEncoding option for requests without
Accept-Encodingheader
Commits
-
c7ace2cv1.8.0 -
0af2a9afix: don't handle * in enforceEncoding (#213) -
82c9cb5fix(docs): keywords field (#210) -
0cf7d3ffix(docs): improve readme (#209) -
d272132feat: support for brotli (#194) -
96df7c5improve ci workflow (#206) -
f4e596cfeat: add default option (#191) -
b7d5d77Bugfix/use write head instead of implicit header (#170) -
8e5641cUse headersSent instead of _header (#129) -
7b7f84bci: add CodeQL (SAST) (#204) - Additional commits viewable in compare view
Maintainer changes
This version was pushed to npm by wesleytodd, a new releaser for compression since your current version.
Dependabot commands
You can trigger Dependabot actions by commenting on this MR
-
$dependabot recreatewill recreate this MR rewriting all the manual changes and resolving conflicts