(cli): replace colors.js with chalk #18329
Labels
feature-request
A feature should be added or improved.
needs-triage
This issue or PR still needs to be triaged.
package/tools
Related to AWS CDK Tools or CLI
Description
A recent publish of
colors.js
is causing problems for a lot of software projects, including aws-cdk (see #18322, #18323, and #18324). The author of colors.js seems to be in crisis right now, and relying on their projects is risky.Migrating from colors.js to chalk is probably a good idea to reduce risk for aws-cdk users.
Use Case
For folks who do not pin
aws-cdk
(e.g., those who install globally or usenpx
to run), they could accidentally get one of the broken versions of colors.js.Proposed Solution
colors
is replaced withchalk
and remove fromdependencies
ofaws-cdk/package.json
Other information
No response
Acknowledge
The text was updated successfully, but these errors were encountered: