forked from external-repos/pa11y-dashboard
Compare commits
4 Commits
Author | SHA1 | Date | |
---|---|---|---|
![]() |
ff8142b4e4 | ||
![]() |
2f7e8ae451 | ||
![]() |
a2cc2c7942 | ||
![]() |
59f657b422 |
@@ -1,6 +1,12 @@
|
|||||||
|
|
||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## 3.2.0 (2020-10-05)
|
||||||
|
|
||||||
|
* Update pa11y to version 5.3.0, which means better compatibility with sites using AMD modules
|
||||||
|
* Update pa11y-webservice to version 3.2.0, which adds the ability to configure the number of workers running pa11y tests
|
||||||
|
* Update several dependencies
|
||||||
|
* Replace chalk with kleur
|
||||||
|
|
||||||
## 3.1.0 (2019-09-27)
|
## 3.1.0 (2019-09-27)
|
||||||
|
|
||||||
* Display the task ID before each line of output, so it's clear to which task a line of output belongs to when they run in parallel.
|
* Display the task ID before each line of output, so it's clear to which task a line of output belongs to when they run in parallel.
|
||||||
|
@@ -139,7 +139,7 @@ If you're opening issues related to these, please mention the version that the i
|
|||||||
## License
|
## License
|
||||||
|
|
||||||
Pa11y Dashboard is licensed under the [GNU General Public License 3.0][info-license].<br/>
|
Pa11y Dashboard is licensed under the [GNU General Public License 3.0][info-license].<br/>
|
||||||
Copyright © 2013–2019, Team Pa11y and contributors
|
Copyright © 2013–2020, Team Pa11y and contributors
|
||||||
|
|
||||||
[gpl]: http://www.gnu.org/licenses/gpl-3.0.html
|
[gpl]: http://www.gnu.org/licenses/gpl-3.0.html
|
||||||
[mongo]: http://www.mongodb.org/
|
[mongo]: http://www.mongodb.org/
|
||||||
|
22
index.js
22
index.js
@@ -14,7 +14,7 @@
|
|||||||
// along with Pa11y Dashboard. If not, see <http://www.gnu.org/licenses/>.
|
// along with Pa11y Dashboard. If not, see <http://www.gnu.org/licenses/>.
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
const chalk = require('chalk');
|
const kleur = require('kleur');
|
||||||
const config = require('./config');
|
const config = require('./config');
|
||||||
|
|
||||||
process.on('SIGINT', () => {
|
process.on('SIGINT', () => {
|
||||||
@@ -29,16 +29,16 @@ require('./app')(config, (error, app) => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
console.log('');
|
console.log('');
|
||||||
console.log(chalk.underline.magenta('Pa11y Dashboard started'));
|
console.log(kleur.underline().magenta('Pa11y Dashboard started'));
|
||||||
console.log(chalk.grey('mode: %s'), process.env.NODE_ENV);
|
console.log(kleur.grey('mode: %s'), process.env.NODE_ENV);
|
||||||
console.log(chalk.grey('uri: %s'), app.address);
|
console.log(kleur.grey('uri: %s'), app.address);
|
||||||
|
|
||||||
app.on('route-error', error => {
|
app.on('route-error', error => {
|
||||||
const stack = (error.stack ? error.stack.split('\n') : [error.message]);
|
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('');
|
||||||
console.error(msg);
|
console.error(msg);
|
||||||
console.error(chalk.grey(stack.join('\n')));
|
console.error(kleur.grey(stack.join('\n')));
|
||||||
});
|
});
|
||||||
|
|
||||||
// Start the webservice if required
|
// Start the webservice if required
|
||||||
@@ -50,11 +50,11 @@ require('./app')(config, (error, app) => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
console.log('');
|
console.log('');
|
||||||
console.log(chalk.underline.cyan('Pa11y Webservice started'));
|
console.log(kleur.underline().cyan('Pa11y Webservice started'));
|
||||||
console.log(chalk.grey('mode: %s'), process.env.NODE_ENV);
|
console.log(kleur.grey('mode: %s'), process.env.NODE_ENV);
|
||||||
console.log(chalk.grey('uri: %s'), webservice.server.info.uri);
|
console.log(kleur.grey('uri: %s'), webservice.server.info.uri);
|
||||||
console.log(chalk.grey('database: %s'), config.webservice.database);
|
console.log(kleur.grey('database: %s'), config.webservice.database);
|
||||||
console.log(chalk.grey('cron: %s'), config.webservice.cron);
|
console.log(kleur.grey('cron: %s'), config.webservice.cron);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
22
package.json
22
package.json
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "pa11y-dashboard",
|
"name": "pa11y-dashboard",
|
||||||
"version": "3.1.0",
|
"version": "3.2.0",
|
||||||
"private": true,
|
"private": true,
|
||||||
"description": "Pa11y Dashboard is a visual web interface to the Pa11y accessibility reporter",
|
"description": "Pa11y Dashboard is a visual web interface to the Pa11y accessibility reporter",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
@@ -26,26 +26,26 @@
|
|||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"body-parser": "~1.19.0",
|
"body-parser": "~1.19.0",
|
||||||
"chalk": "~2.4.2",
|
|
||||||
"compression": "~1.7.4",
|
"compression": "~1.7.4",
|
||||||
"express-hbs": "~2.1.2",
|
|
||||||
"express": "~4.17.1",
|
"express": "~4.17.1",
|
||||||
|
"express-hbs": "~2.1.2",
|
||||||
"http-headers": "~3.0.2",
|
"http-headers": "~3.0.2",
|
||||||
"moment": "~2.24.0",
|
"kleur": "~4.1.2",
|
||||||
|
"moment": "~2.29.0",
|
||||||
|
"pa11y-webservice": "~3.2.0",
|
||||||
"pa11y-webservice-client-node": "~2.0.0",
|
"pa11y-webservice-client-node": "~2.0.0",
|
||||||
"pa11y-webservice": "~3.1.2",
|
"underscore": "~1.11.0"
|
||||||
"underscore": "~1.9.1"
|
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"bower": "^1.8.8",
|
"bower": "^1.8.8",
|
||||||
"cheerio": "^1.0.0-rc.3",
|
"cheerio": "^1.0.0-rc.3",
|
||||||
"eslint": "^6.4.0",
|
"eslint": "^6.8.0",
|
||||||
"less": "^3.10.3",
|
"less": "^3.11.1",
|
||||||
"mocha": "^6.2.0",
|
"mocha": "^7.2.0",
|
||||||
"pa11y-lint-config": "^1.2.1",
|
"pa11y-lint-config": "^1.2.1",
|
||||||
"proclaim": "^3.6.0",
|
"proclaim": "^3.6.0",
|
||||||
"request": "^2.88.0",
|
"request": "^2.88.2",
|
||||||
"uglify-js": "^3.6.0"
|
"uglify-js": "^3.11.0"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "node index.js",
|
"start": "node index.js",
|
||||||
|
Reference in New Issue
Block a user