diff --git a/README.md b/README.md
index b0eac19..ac5ab0a 100644
--- a/README.md
+++ b/README.md
@@ -139,7 +139,7 @@ If you're opening issues related to these, please mention the version that the i
## License
Pa11y Dashboard is licensed under the [GNU General Public License 3.0][info-license].
-Copyright © 2013–2019, Team Pa11y and contributors
+Copyright © 2013–2020, Team Pa11y and contributors
[gpl]: http://www.gnu.org/licenses/gpl-3.0.html
[mongo]: http://www.mongodb.org/
diff --git a/index.js b/index.js
index 233eea3..63d97b6 100644
--- a/index.js
+++ b/index.js
@@ -14,7 +14,7 @@
// along with Pa11y Dashboard. If not, see .
'use strict';
-const chalk = require('chalk');
+const kleur = require('kleur');
const config = require('./config');
process.on('SIGINT', () => {
@@ -29,16 +29,16 @@ require('./app')(config, (error, app) => {
}
console.log('');
- console.log(chalk.underline.magenta('Pa11y Dashboard started'));
- console.log(chalk.grey('mode: %s'), process.env.NODE_ENV);
- console.log(chalk.grey('uri: %s'), app.address);
+ console.log(kleur.underline().magenta('Pa11y Dashboard started'));
+ console.log(kleur.grey('mode: %s'), process.env.NODE_ENV);
+ console.log(kleur.grey('uri: %s'), app.address);
app.on('route-error', error => {
const stack = (error.stack ? error.stack.split('\n') : [error.message]);
- const msg = chalk.red(stack.shift());
+ const msg = kleur.red(stack.shift());
console.error('');
console.error(msg);
- console.error(chalk.grey(stack.join('\n')));
+ console.error(kleur.grey(stack.join('\n')));
});
// Start the webservice if required
@@ -50,11 +50,11 @@ require('./app')(config, (error, app) => {
}
console.log('');
- console.log(chalk.underline.cyan('Pa11y Webservice started'));
- console.log(chalk.grey('mode: %s'), process.env.NODE_ENV);
- console.log(chalk.grey('uri: %s'), webservice.server.info.uri);
- console.log(chalk.grey('database: %s'), config.webservice.database);
- console.log(chalk.grey('cron: %s'), config.webservice.cron);
+ console.log(kleur.underline().cyan('Pa11y Webservice started'));
+ console.log(kleur.grey('mode: %s'), process.env.NODE_ENV);
+ console.log(kleur.grey('uri: %s'), webservice.server.info.uri);
+ console.log(kleur.grey('database: %s'), config.webservice.database);
+ console.log(kleur.grey('cron: %s'), config.webservice.cron);
});
}
diff --git a/package.json b/package.json
index 1f09d4e..f280241 100644
--- a/package.json
+++ b/package.json
@@ -26,14 +26,14 @@
},
"dependencies": {
"body-parser": "~1.19.0",
- "chalk": "~2.4.2",
"compression": "~1.7.4",
- "express-hbs": "~2.1.2",
"express": "~4.17.1",
+ "express-hbs": "~2.1.2",
"http-headers": "~3.0.2",
+ "kleur": "^4.0.2",
"moment": "~2.24.0",
- "pa11y-webservice-client-node": "~2.0.0",
"pa11y-webservice": "~3.1.2",
+ "pa11y-webservice-client-node": "~2.0.0",
"underscore": "~1.9.1"
},
"devDependencies": {