Skip to content

deps: update debug from ~2.6.9 to ~4.4.0#1141

Closed
Offwhite-Del wants to merge 1 commit into
expressjs:masterfrom
Offwhite-Del:upgrade-debug-to-v4
Closed

deps: update debug from ~2.6.9 to ~4.4.0#1141
Offwhite-Del wants to merge 1 commit into
expressjs:masterfrom
Offwhite-Del:upgrade-debug-to-v4

Conversation

@Offwhite-Del

Copy link
Copy Markdown

Summary

Updates the debug runtime dependency from ~2.6.9 (2017) to ~4.4.0 (latest stable).

Why

  • debug@2.6.x is 9 years old with no security patches since 2017
  • express-session has 6.4k GitHub stars and millions of weekly npm downloads
  • Part of a series of debug upgrades across expressjs middleware (see morgan#364, compression#279)

What Changed

Package Before After
debug ~2.6.9 ~4.4.0

Verification

npm install && npm test

173 passing, 0 failures

debug 2.6.x was released in 2017. This upgrade brings 9 years of
security fixes and improvements from v3.x/v4.x.

Backward compatible — session uses debug in the simplest way.
Verified: 173 tests pass (0 failures).
@Offwhite-Del

Copy link
Copy Markdown
Author

Closing after re-review. The same dependency was already updated to patched 4.4.3 on the maintained v2 line in #1130. This PR targets the legacy master line and proposes ~4.4.0, which can select compromised 4.4.2 from caches.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant