#52244: build: replace chalk with node:util styleText
Merged
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
- I have built and tested this change
- I have filled out the PR description
- I have reviewed and verified the changes
-
npm testpasses - PR release notes describe the change in a way relevant to app developers, and are capitalized, punctuated, and past tense.
Release Notes
Notes: none
Backports
42-x-y
MergedPR Number
#52259Merged At
Jul 4, 2026, 9:44:04 PM
Released In
v42.6.1Release Date
Jul 7, 2026, 11:00:21 AM
43-x-y
MergedPR Number
#52258Merged At
Jul 5, 2026, 12:38:40 AM
Released In
v43.1.0Release Date
Jul 7, 2026, 11:00:21 AM
44-x-y
MergedPR Number
#52257Merged At
Jul 4, 2026, 9:44:45 PM
Released In
v44.0.0-alpha.2Release 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