Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jul 17, 2025

Bumps on-headers and compression. These dependencies needed to be updated together.
Updates on-headers from 1.0.2 to 1.1.0

Release notes

Sourced from on-headers's releases.

1.1.0

Important

What's Changed

New Contributors

Full Changelog: jshttp/on-headers@v1.0.2...v1.1.0

Changelog

Sourced from on-headers's changelog.

1.1.0 / 2025-07-17

Commits
  • 4b017af 1.1.0
  • b636f2d ♻️ refactor header array code
  • 3e2c2d4 ✨ ignore falsy header keys, matching node behavior
  • 172eb41 ✨ support duplicate headers
  • c6e3849 🔒️ fix array handling
  • 6893518 💚 update CI - add newer node versions
  • 56a345d ✨ add script to update known hashes
  • 175ab21 👷 add upstream change detection (#31)
  • ce0b2c8 ci: apply OSSF Scorecard security best practices (#20)
  • 1a38c54 fix: use ubuntu-latest as ci runner (#19)
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by ulisesgascon, a new releaser for on-headers since your current version.


Updates compression from 1.7.4 to 1.8.1

Release notes

Sourced from compression's releases.

v1.8.1

What's Changed

New Contributors

Full Changelog: expressjs/compression@1.8.0...v1.8.1

v1.8.0

What's Changed

New Contributors

Full Changelog: expressjs/compression@1.7.5...v1.8.0

1.7.5

What's Changed

... (truncated)

Changelog

Sourced from compression's changelog.

1.8.1 / 2025-07-17

1.8.0 / 2025-02-10

  • Use res.headersSent when available
  • Replace _implicitHeader with writeHead property
  • add brotli support for versions of node that support it
  • Add the enforceEncoding option for requests without Accept-Encoding header

1.7.5 / 2024-10-31

  • deps: Replace accepts with negotiator@~0.6.4
    • Add preference option
  • deps: [email protected]
    • Add petabyte (pb) support
    • Fix "thousandsSeparator" incorrecting formatting fractional part
    • Fix return value for un-parsable strings
  • deps: compressible@~2.0.18
    • Mark font/ttf as compressible
    • Remove compressible from multipart/mixed
    • deps: mime-db@'>= 1.43.0 < 2'
  • deps: [email protected]
Commits
  • 83a0c45 1.8.1
  • ce62713 deps: [email protected] (#246)
  • f4acb23 build(deps-dev): bump eslint-plugin-import from 2.31.0 to 2.32.0 (#244)
  • 6eaebe6 build(deps): bump actions/checkout from 4.1.1 to 4.2.2 (#241)
  • 37e0623 build(deps): bump ossf/scorecard-action from 2.4.1 to 2.4.2 (#240)
  • bc436b2 build(deps): bump actions/upload-artifact from 4.3.1 to 4.6.2 (#239)
  • 2f9f572 build(deps): bump github/codeql-action from 3.28.15 to 3.29.2 (#243)
  • 5f13b14 [StepSecurity] ci: Harden GitHub Actions (#235)
  • 76e0945 build(deps-dev): bump supertest from 6.2.3 to 6.3.4 (#231)
  • ae6ee80 build(deps-dev): bump eslint-plugin-import from 2.26.0 to 2.31.0 (#230)
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by ulisesgascon, a new releaser for compression since your current version.


You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot bot added dependencies One or more dependencies are being bumped javascript Pull requests that update Javascript code labels Jul 17, 2025
@dependabot dependabot bot requested a review from a team as a code owner July 17, 2025 21:19
@dependabot dependabot bot added dependencies One or more dependencies are being bumped javascript Pull requests that update Javascript code labels Jul 17, 2025
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/multi-96c788614a branch 2 times, most recently from 398ef38 to d3fff7d Compare July 22, 2025 07:02
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/multi-96c788614a branch from d3fff7d to 6ff9549 Compare August 8, 2025 19:30
@ankita10119
Copy link
Contributor

@dependabot rebase

Bumps [on-headers](https://github.com/jshttp/on-headers) and [compression](https://github.com/expressjs/compression). These dependencies needed to be updated together.

Updates `on-headers` from 1.0.2 to 1.1.0
- [Release notes](https://github.com/jshttp/on-headers/releases)
- [Changelog](https://github.com/jshttp/on-headers/blob/master/HISTORY.md)
- [Commits](jshttp/on-headers@v1.0.2...v1.1.0)

Updates `compression` from 1.7.4 to 1.8.1
- [Release notes](https://github.com/expressjs/compression/releases)
- [Changelog](https://github.com/expressjs/compression/blob/master/HISTORY.md)
- [Commits](expressjs/compression@1.7.4...v1.8.1)

---
updated-dependencies:
- dependency-name: on-headers
  dependency-version: 1.1.0
  dependency-type: indirect
- dependency-name: compression
  dependency-version: 1.8.1
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/multi-96c788614a branch from 6ff9549 to a981d56 Compare December 16, 2025 05:57
@ankita10119
Copy link
Contributor

@claude

@github-actions
Copy link

github-actions bot commented Dec 16, 2025

Claude finished @ankita10119's task —— View job


Review Complete

  • Read the PR diff
  • Understand project context
  • Perform security review
  • Perform dependency compatibility review
  • Provide overall assessment

Overall Assessment

✅ This PR is ready to be merged. The dependency updates address a critical security vulnerability (CVE-2025-7339) in on-headers and include backward-compatible enhancements in compression. All changes are contained to package-lock.json with proper version resolution and no breaking changes introduced.

Security Review

CVE-2025-7339 Fix (on-headers): The primary purpose of this update is to address CVE-2025-7339 in the on-headers package. The vulnerability relates to improper array handling in HTTP header processing. The fix in v1.1.0 includes:

  • Refactored header array code for proper handling
  • Support for duplicate headers (matching Node.js behavior)
  • Ignoring falsy header keys to match Node.js behavior
  • Improved array handling security

Impact: This is a transitive dependency (used by compression, which is used by webpack-dev-server). Since these packages are only in devDependencies, the vulnerability only affects the development environment, not production builds.

Dependency Compatibility Review

on-headers (1.0.2 → 1.1.0):

  • Minor version bump with backward-compatible changes
  • Maintains support for Node.js >= 0.8
  • Security fix is the primary change
  • No breaking API changes

compression (1.7.4 → 1.8.1):

  • Includes two releases (1.8.0 and 1.8.1)
  • Notable enhancements in 1.8.0:
    • Adds Brotli compression support (for supported Node.js versions)
    • Uses res.headersSent instead of private _header property
    • Replaces _implicitHeader with writeHead (better compatibility)
    • Adds enforceEncoding option for requests without Accept-Encoding header
  • Version 1.8.1 updates on-headers to fix CVE-2025-7339
  • Maintains Node.js >= 0.8 compatibility
  • All changes are backward-compatible

Transitive Dependency Updates:

  • bytes: 3.0.0 → 3.1.2 (via compression) - bug fixes and petabyte support
  • compressible: ~2.0.16 → ~2.0.18 (via compression) - updated MIME types
  • safe-buffer: 5.1.2 → 5.2.1 (via compression) - security updates
  • negotiator: New dependency replacing accepts in compression - more efficient content negotiation
  • Removal of nested bytes and safe-buffer overrides - cleaner dependency tree

Risk Assessment

  • Low Risk: All updates are patch/minor versions with backward compatibility
  • Security Benefit: Fixes a known CVE in header handling
  • Development Only: These packages are devDependencies used by webpack-dev-server
  • No Breaking Changes: API compatibility maintained across all updates

@ankita10119 ankita10119 merged commit 85eba82 into master Dec 16, 2025
5 of 6 checks passed
@ankita10119 ankita10119 deleted the dependabot/npm_and_yarn/multi-96c788614a branch December 16, 2025 06:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies One or more dependencies are being bumped javascript Pull requests that update Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants