Skip to content

misc(logger): update debug dep to v4#16601

Merged
connorjclark merged 2 commits intoGoogleChrome:mainfrom
dargmuesli:chore/deps/debug-v4
Jul 23, 2025
Merged

misc(logger): update debug dep to v4#16601
connorjclark merged 2 commits intoGoogleChrome:mainfrom
dargmuesli:chore/deps/debug-v4

Conversation

@dargmuesli
Copy link
Contributor

@dargmuesli dargmuesli commented Jul 22, 2025

Summary

Update the debug dependency for lighthouse-logger to v4.
There don't seem to be any relevant breaking changes except for Node updates.
Apparently the supported colors are extended since debug v3, especially by adding supports-color as a dependency. So maybe it's possible to drop the custom colors definition in lighthouse-logger/index.js, but I don't fully understand why it was added that way years ago, thus I didn't touch it.

Hopefully allows for Vite to get less confused about multiple debug versions in my project (don't ask what's going on).

Related Issues/PRs

#13721 (comment)

@dargmuesli dargmuesli requested a review from a team as a code owner July 22, 2025 00:28
@dargmuesli dargmuesli requested review from paulirish and removed request for a team July 22, 2025 00:28
@dargmuesli dargmuesli changed the title chore(deps): update debug to v4 Jul 22, 2025
@dargmuesli
Copy link
Contributor Author

I've also updated the repository link so that it should be shown on https://www.npmjs.com/package/lighthouse-logger

@connorjclark connorjclark changed the title deps: update debug to v4 Jul 23, 2025
@connorjclark connorjclark merged commit d026c0e into GoogleChrome:main Jul 23, 2025
25 of 26 checks passed
@dargmuesli dargmuesli deleted the chore/deps/debug-v4 branch November 24, 2025 21:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants