pa11y-ci-reporter-runner 3.0.1 → 4.0.0

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/index.js CHANGED
@@ -8,7 +8,7 @@
8
8
  * @module pa11y-ci-reporter-runner
9
9
  */
10
10
 
11
- const fs = require('fs');
11
+ const fs = require('node:fs');
12
12
  const formatter = require('./lib/formatter');
13
13
  const reporterBuilder = require('./lib/reporter-builder');
14
14
  const createConfig = require('./lib/config');
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- const path = require('path');
3
+ const path = require('node:path');
4
4
 
5
5
  const reporterMethods = ['beforeAll', 'begin', 'results', 'error', 'afterAll'];
6
6
  const noop = () => {};
package/package.json CHANGED
@@ -1,19 +1,19 @@
1
1
  {
2
2
  "name": "pa11y-ci-reporter-runner",
3
- "version": "3.0.1",
3
+ "version": "4.0.0",
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": {
7
- "build-types": "tsc index.js --declaration --allowJs --emitDeclarationOnly",
8
- "hooks-pre-commit": "npm run lint && npm run prettier-check",
9
- "hooks-pre-push": "npm audit --audit-level=critical && npm test",
10
- "lint": "npm run lint-js && npm run lint-md",
11
- "lint-js": "eslint .",
12
- "lint-md": "markdownlint-cli2 \"**/*.md\" \"#node_modules\" \"#Archive\"",
13
- "prettier-check": "prettier --check .",
14
- "prettier-fix": "prettier --write .",
7
+ "build:types": "tsc index.js --declaration --allowJs --emitDeclarationOnly",
8
+ "hooks:pre-commit": "npm run lint && npm run prettier:check",
9
+ "hooks:pre-push": "npm audit --audit-level=critical && npm test",
10
+ "lint": "npm run lint:js && npm run lint:md",
11
+ "lint:js": "eslint .",
12
+ "lint:md": "markdownlint-cli2 \"**/*.md\" \"#node_modules\" \"#Archive\"",
13
+ "prettier:check": "prettier --check .",
14
+ "prettier:fix": "prettier --write .",
15
15
  "test": "jest --ci",
16
- "test-types": "tsd"
16
+ "test:types": "tsd"
17
17
  },
18
18
  "repository": {
19
19
  "type": "git",
@@ -29,7 +29,7 @@
29
29
  "author": "Aaron Goldenthal <npm@aarongoldenthal.com>",
30
30
  "license": "MIT",
31
31
  "engines": {
32
- "node": "^16.13.0 || ^18.12.0 || >=20.0.0"
32
+ "node": "^18.12.0 || >=20.0.0"
33
33
  },
34
34
  "files": [
35
35
  "index.d.ts",
@@ -41,18 +41,18 @@
41
41
  },
42
42
  "homepage": "https://gitlab.com/gitlab-ci-utils/pa11y-ci-reporter-runner",
43
43
  "devDependencies": {
44
- "@aarongoldenthal/eslint-config-standard": "^23.1.1",
45
- "eslint": "^8.47.0",
46
- "jest": "^29.6.2",
44
+ "@aarongoldenthal/eslint-config-standard": "^24.0.0",
45
+ "eslint": "^8.52.0",
46
+ "jest": "^29.7.0",
47
47
  "jest-junit": "^16.0.0",
48
- "markdownlint-cli2": "^0.8.1",
48
+ "markdownlint-cli2": "^0.10.0",
49
49
  "pa11y-ci-reporter-cli-summary": "^3.0.0",
50
- "prettier": "^3.0.1",
51
- "tsd": "^0.28.1",
52
- "typescript": "^5.1.6"
50
+ "prettier": "^3.0.3",
51
+ "tsd": "^0.29.0",
52
+ "typescript": "^5.2.2"
53
53
  },
54
54
  "dependencies": {
55
55
  "lodash": "^4.17.21",
56
- "xstate": "^4.38.2"
56
+ "xstate": "^4.38.3"
57
57
  }
58
58
  }