axe-core 4.12.0 → 4.12.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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "axe-core",
3
3
  "description": "Accessibility engine for automated Web UI testing",
4
- "version": "4.12.0",
4
+ "version": "4.12.1",
5
5
  "license": "MPL-2.0",
6
6
  "engines": {
7
7
  "node": ">=4"
@@ -82,16 +82,17 @@
82
82
  "eslint": "eslint --color --format stylish '{lib,test,build,doc}/**/*.js' 'Gruntfile.js' '.github/bin/*.mjs'",
83
83
  "test": "npm run test:tsc && run-s \"test:unit:* -- {@}\" --",
84
84
  "test:tsc": "tsc",
85
- "test:unit": "karma start test/karma.conf.js",
86
- "test:debug": "npm run test:unit -- --no-single-run --browsers=ChromeDebugging",
87
- "test:unit:core": "npm run test:unit -- testDirs=core",
88
- "test:unit:commons": "npm run test:unit -- testDirs=commons",
89
- "test:unit:rule-matches": "npm run test:unit -- testDirs=rule-matches",
90
- "test:unit:checks": "npm run test:unit -- testDirs=checks",
91
- "test:unit:api": "npm run test:unit -- testDirs=api",
92
- "test:unit:integration": "npm run test:unit -- testDirs=integration",
93
- "test:unit:virtual-rules": "npm run test:unit -- testDirs=virtual-rules",
94
- "test:unit:gather-internals": "npm run test:unit -- testDirs=gather-internals",
85
+ "test:unit": "web-test-runner --config test/wtr.config.mjs",
86
+ "test:debug": "web-test-runner --config test/wtr.debug.config.mjs --manual",
87
+ "build:integration-tests": "node build/generate-integration-tests.js",
88
+ "test:unit:core": "web-test-runner --config test/wtr.config.mjs --files 'test/core/**/*.js'",
89
+ "test:unit:commons": "web-test-runner --config test/wtr.config.mjs --files 'test/commons/**/*.js'",
90
+ "test:unit:rule-matches": "web-test-runner --config test/wtr.config.mjs --files 'test/rule-matches/**/*.js'",
91
+ "test:unit:checks": "web-test-runner --config test/wtr.config.mjs --files 'test/checks/**/*.js'",
92
+ "test:unit:api": "web-test-runner --config test/wtr.config.mjs --files 'test/integration/api/**/*.js'",
93
+ "test:unit:integration": "web-test-runner --config test/wtr.config.mjs --files 'tmp/integration-tests/**/*.test.js'",
94
+ "test:unit:virtual-rules": "web-test-runner --config test/wtr.config.mjs --files 'test/integration/virtual-rules/**/*.js'",
95
+ "test:unit:gather-internals": "web-test-runner --config test/wtr.config.mjs --files 'test/gather-internals/**/*.js'",
95
96
  "integration": "node test/integration/full/test-webdriver.js",
96
97
  "integration:apg": "mocha --fail-zero test/aria-practices/*.spec.js",
97
98
  "integration:chrome": "npm run integration -- browser=Chrome",
@@ -118,6 +119,7 @@
118
119
  "prepare": "husky && npm run patch",
119
120
  "prebuild": "node ./build/check-node-version.js",
120
121
  "pretest": "node ./build/check-node-version.js",
122
+ "pretest:unit:integration": "npm run build:integration-tests",
121
123
  "postbuild": "prettier --write ./locales/_template.json ./doc/rule-descriptions.md"
122
124
  },
123
125
  "devDependencies": {
@@ -128,6 +130,7 @@
128
130
  "@babel/runtime-corejs3": "^7.20.7",
129
131
  "@deque/dot": "^1.1.5",
130
132
  "@types/node": "^25.6.0",
133
+ "@web/test-runner": "^0.20.2",
131
134
  "aria-practices": "github:w3c/aria-practices#ce0336bd82d7d3651abcbde86af644197ddbc629",
132
135
  "aria-query": "^5.1.3",
133
136
  "chai": "^4.3.7",
@@ -162,14 +165,6 @@
162
165
  "jquery": "^4.0.0",
163
166
  "jsdoc": "^4.0.2",
164
167
  "jsdom": "^29.0.2",
165
- "karma": "^6.4.1",
166
- "karma-chai": "^0.1.0",
167
- "karma-chrome-launcher": "^3.1.1",
168
- "karma-firefox-launcher": "^2.1.2",
169
- "karma-ie-launcher": "^1.0.0",
170
- "karma-mocha": "^2.0.1",
171
- "karma-sinon": "^1.0.5",
172
- "karma-spec-reporter": "^0.0.36",
173
168
  "lint-staged": "^16.1.0",
174
169
  "memoizee": "^0.4.15",
175
170
  "mocha": "^11.1.0",
package/sri-history.json CHANGED
@@ -418,5 +418,9 @@
418
418
  "4.12.0": {
419
419
  "axe.js": "sha256-oNBNtCwIenGwI5OepWKyxcy5/OyV+O6pYjPmYhZrVvU=",
420
420
  "axe.min.js": "sha256-oK/ECKvsvgb/dnUDPn6ixARmGBYhZ6qkzhAwsQlj3s4="
421
+ },
422
+ "4.12.1": {
423
+ "axe.js": "sha256-FRl8Y/9oP3b35USiZrI5x7sAP6jiyQTDJDTQ6f9ldd4=",
424
+ "axe.min.js": "sha256-ZqiqqVqLBEp/10pUNYc78E/2WhynVWfJIbdQl0IIWhQ="
421
425
  }
422
426
  }