erickzhao

#52244: build: replace chalk with node:util styleText

Merged
Created: Jul 2, 2026, 2:40:51 PM
Merged: Jul 3, 2026, 8:49:37 PM
4 comments
Target: main

Description of Change

Removes the chalk devDependency in favor of the built-in styleText API from node:util, which is available in all Node versions used by the project's scripts and CI.

Closes #52225

Checklist

Release Notes

Notes: none

Backports

42-x-y
In-flight
PR Number
#52259
Waiting to be merged
43-x-y
In-flight
PR Number
#52258
Waiting to be merged
44-x-y
In-flight
PR Number
#52257
Waiting to be merged

Semver Impact

Major
Breaking changes
Minor
New features
Patch
Bug fixes
None
Docs, tests, etc.

Semantic Versioning helps users understand the impact of updates:

  • Major (X.y.z): Breaking changes that may require code modifications
  • Minor (x.Y.z): New features that maintain backward compatibility
  • Patch (x.y.Z): Bug fixes that don't change the API
  • None: Changes that don't affect using facing parts of Electron