Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace chalk with cli-color #83

Closed
nelsonic opened this issue Jan 18, 2024 · 1 comment · Fixed by #84
Closed

Replace chalk with cli-color #83

nelsonic opened this issue Jan 18, 2024 · 1 comment · Fixed by #84
Labels
chore a tedious but necessary task often paying technical debt T5m Quick tasks that take 5 mins or less. See: GTD 2 min rule.

Comments

@nelsonic
Copy link
Member

As noted in #73 chalk has made a Unnecessary Breaking Change!

"require() of ES modules is not supported"

So I propose replacing:

var chalk = require('chalk');
var red = chalk.red, green = chalk.green, cyan = chalk.cyan;

with:

var clc = require("cli-color");
var red = clc.redBright, green = clc.greenBright, cyan = clc.cyanBright;

This will avoid future @dependabot PRs failing.

@nelsonic nelsonic added chore a tedious but necessary task often paying technical debt T5m Quick tasks that take 5 mins or less. See: GTD 2 min rule. labels Jan 18, 2024
nelsonic added a commit that referenced this issue Jan 18, 2024
@nelsonic
Copy link
Member Author

PR: #84

nelsonic added a commit that referenced this issue Jan 18, 2024
@asntc asntc closed this as completed in #84 Jan 18, 2024
asntc added a commit that referenced this issue Jan 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore a tedious but necessary task often paying technical debt T5m Quick tasks that take 5 mins or less. See: GTD 2 min rule.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant