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
Merged
PR Number
#52259
Merged At
Jul 4, 2026, 9:44:04 PM
Released In
v42.6.1
Release Date
Jul 7, 2026, 11:00:21 AM
43-x-y
Merged
PR Number
#52258
Merged At
Jul 5, 2026, 12:38:40 AM
Released In
v43.1.0
Release Date
Jul 7, 2026, 11:00:21 AM
44-x-y
Merged
PR Number
#52257
Merged At
Jul 4, 2026, 9:44:45 PM
Released In
v44.0.0-alpha.2
Release Date
Jul 6, 2026, 3:00:14 PM

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