pa11y-ci-reporter-runner 5.0.0 → 5.0.2

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/README.md CHANGED
@@ -88,7 +88,7 @@ The reporter runner has five control functions:
88
88
  - `runUntil(targetState, targetUrl)`: Simulates Pa11y CI running the analysis
89
89
  from the provided JSON results file from the current state through the
90
90
  specified state/URL, calling the associated reporter functions as noted
91
- above. An error is thrown if the end of the results are reached and the
91
+ previously. An error is thrown if the end of the results are reached and the
92
92
  target wasn't found. This function takes the following arguments:
93
93
  - `targetState`: The target state of the runner (any state noted previously
94
94
  except `init`, or any valid value of the `RunnerStates` enum).
@@ -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 n/global-require -- load models pa11y-ci behavior for loading
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 n/global-require -- load models pa11y-ci behavior for loading
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.0",
3
+ "version": "5.0.2",
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": "^27.0.1",
45
- "eslint": "^8.57.0",
44
+ "@aarongoldenthal/eslint-config-standard": "^31.0.1",
45
+ "eslint": "^9.9.1",
46
+ "globals": "^15.9.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.5",
51
- "tsd": "^0.31.0",
52
- "typescript": "^5.4.5"
51
+ "prettier": "^3.3.3",
52
+ "tsd": "^0.31.1",
53
+ "typescript": "^5.5.4"
53
54
  },
54
55
  "dependencies": {
55
56
  "lodash": "^4.17.21",
56
- "xstate": "^5.13.0"
57
+ "xstate": "^5.17.4"
57
58
  }
58
59
  }