Comparing version 1.2.0 to 1.2.1
@@ -6,3 +6,3 @@ #!/usr/bin/env node | ||
const minimist = require('minimist'); | ||
const chalk = require('chalk'); | ||
const kleur = require('kleur'); | ||
const longest = require('longest'); | ||
@@ -151,5 +151,5 @@ const isDirectory = require('is-directory'); | ||
[ | ||
chalk.underline('Usage'), | ||
kleur.underline('Usage'), | ||
getUsage(), | ||
chalk.underline('Available tasks'), | ||
kleur.underline('Available tasks'), | ||
getTasksList(options), | ||
@@ -166,5 +166,5 @@ ].join('\n\n') | ||
' ', | ||
chalk.bold(binaryName), | ||
chalk.cyan(command), | ||
chalk.yellow(options), | ||
kleur.bold(binaryName), | ||
kleur.cyan(command), | ||
kleur.yellow(options), | ||
padEnd('', commandsWidth - (command + options).length), | ||
@@ -184,3 +184,3 @@ description && `# ${description}`, | ||
const description = Array.isArray(tasks[name]) ? `Runs ${listify(tasks[name])}` : tasks[name]; | ||
return ' ' + chalk.cyan(padEnd(name, nameColWidth)) + ' ' + description; | ||
return ' ' + kleur.cyan(padEnd(name, nameColWidth)) + ' ' + description; | ||
}) | ||
@@ -192,4 +192,4 @@ .join('\n'); | ||
console.log(); | ||
console.error(chalk.bold.red(message)); | ||
console.error(kleur.bold.red(message)); | ||
console.log(); | ||
} |
{ | ||
"name": "mrm", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"description": "Codemods for your project config files", | ||
@@ -31,6 +31,6 @@ "author": { | ||
"dependencies": { | ||
"chalk": "^2.4.1", | ||
"git-username": "^1.0.0", | ||
"glob": "^7.1.2", | ||
"is-directory": "^0.3.1", | ||
"kleur": "^1.0.0", | ||
"listify": "^1.0.0", | ||
@@ -37,0 +37,0 @@ "lodash": "^4.17.10", |
@@ -6,3 +6,3 @@ // @ts-check | ||
const glob = require('glob'); | ||
const chalk = require('chalk'); | ||
const kleur = require('kleur'); | ||
const requireg = require('requireg'); | ||
@@ -102,3 +102,3 @@ const { get, forEach } = require('lodash'); | ||
console.log(chalk.yellow(`Running alias ${aliasName}...`)); | ||
console.log(kleur.yellow(`Running alias ${aliasName}...`)); | ||
@@ -135,3 +135,3 @@ promiseSeries(tasks, name => { | ||
console.log(chalk.cyan(`Running ${taskName}...`)); | ||
console.log(kleur.cyan(`Running ${taskName}...`)); | ||
@@ -138,0 +138,0 @@ const module = require(modulePath); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
+ Addedkleur@^1.0.0
+ Addedkleur@1.0.2(transitive)
- Removedchalk@^2.4.1