pa11y-ci-reporter-runner 5.0.0 → 5.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/reporter-builder.js +2 -2
- package/package.json +6 -5
package/lib/reporter-builder.js
CHANGED
|
@@ -5,7 +5,7 @@ const path = require('node:path');
|
|
|
5
5
|
const reporterMethods = ['beforeAll', 'begin', 'results', 'error', 'afterAll'];
|
|
6
6
|
const noop = () => {};
|
|
7
7
|
|
|
8
|
-
/* eslint-disable
|
|
8
|
+
/* eslint-disable node/global-require -- load models pa11y-ci behavior for loading
|
|
9
9
|
user-provided reporters */
|
|
10
10
|
const loadReporter = (reporterName) => {
|
|
11
11
|
try {
|
|
@@ -16,7 +16,7 @@ const loadReporter = (reporterName) => {
|
|
|
16
16
|
return require(path.resolve(process.cwd(), reporterName));
|
|
17
17
|
}
|
|
18
18
|
};
|
|
19
|
-
/* eslint-enable
|
|
19
|
+
/* eslint-enable node/global-require -- load models pa11y-ci behavior for loading
|
|
20
20
|
user-provided reporters */
|
|
21
21
|
|
|
22
22
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pa11y-ci-reporter-runner",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.1",
|
|
4
4
|
"description": "Pa11y CI Reporter Runner is designed to facilitate testing of Pa11y CI reporters. Given a Pa11y CI JSON results file and optional configuration it simulates the Pa11y CI calls to the reporter.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -41,18 +41,19 @@
|
|
|
41
41
|
},
|
|
42
42
|
"homepage": "https://gitlab.com/gitlab-ci-utils/pa11y-ci-reporter-runner",
|
|
43
43
|
"devDependencies": {
|
|
44
|
-
"@aarongoldenthal/eslint-config-standard": "^
|
|
45
|
-
"eslint": "^
|
|
44
|
+
"@aarongoldenthal/eslint-config-standard": "^28.0.0",
|
|
45
|
+
"eslint": "^9.4.0",
|
|
46
|
+
"globals": "^15.4.0",
|
|
46
47
|
"jest": "^29.7.0",
|
|
47
48
|
"jest-junit": "^16.0.0",
|
|
48
49
|
"markdownlint-cli2": "^0.13.0",
|
|
49
50
|
"pa11y-ci-reporter-cli-summary": "^3.0.0",
|
|
50
|
-
"prettier": "^3.2
|
|
51
|
+
"prettier": "^3.3.2",
|
|
51
52
|
"tsd": "^0.31.0",
|
|
52
53
|
"typescript": "^5.4.5"
|
|
53
54
|
},
|
|
54
55
|
"dependencies": {
|
|
55
56
|
"lodash": "^4.17.21",
|
|
56
|
-
"xstate": "^5.13.
|
|
57
|
+
"xstate": "^5.13.2"
|
|
57
58
|
}
|
|
58
59
|
}
|