axe-core 4.12.1 → 4.13.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/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.1",
4
+ "version": "4.13.0",
5
5
  "license": "MPL-2.0",
6
6
  "engines": {
7
7
  "node": ">=4"
@@ -64,100 +64,46 @@
64
64
  "LICENSE-3RD-PARTY.txt",
65
65
  "gather-internals.js"
66
66
  ],
67
- "standard-version": {
67
+ "commit-and-tag-version": {
68
68
  "scripts": {
69
- "postbump": "npm ci && npm run sri-update && git add doc/rule-descriptions.md"
69
+ "postbump": "pnpm ci && pnpm run sri-update && git add doc/rule-descriptions.md"
70
70
  },
71
71
  "skip": {
72
72
  "tag": true
73
73
  }
74
74
  },
75
- "scripts": {
76
- "start": "http-server -a \"\" -p 9876 --silent",
77
- "develop": "grunt dev --force",
78
- "api-docs": "jsdoc --configure .jsdoc.json",
79
- "build": "grunt",
80
- "patch": "npx patch-package",
81
- "unpatch": "npx patch-package --reverse",
82
- "eslint": "eslint --color --format stylish '{lib,test,build,doc}/**/*.js' 'Gruntfile.js' '.github/bin/*.mjs'",
83
- "test": "npm run test:tsc && run-s \"test:unit:* -- {@}\" --",
84
- "test:tsc": "tsc",
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'",
96
- "integration": "node test/integration/full/test-webdriver.js",
97
- "integration:apg": "mocha --fail-zero test/aria-practices/*.spec.js",
98
- "integration:chrome": "npm run integration -- browser=Chrome",
99
- "integration:firefox": "npm run integration -- browser=Firefox",
100
- "test:integration": "npm run test:integration:chrome",
101
- "test:integration:chrome": "start-server-and-test 9876 integration:chrome",
102
- "test:integration:firefox": "start-server-and-test 9876 integration:firefox",
103
- "test:examples": "node ./doc/examples/test-examples",
104
- "test:act": "mocha --fail-zero test/act-rules/*.spec.js",
105
- "test:apg": "start-server-and-test 9876 integration:apg",
106
- "test:locales": "mocha test/test-locales.js",
107
- "test:virtual-rules": "mocha test/test-virtual-rules.js",
108
- "test:rule-help-version": "mocha test/test-rule-help-version.js",
109
- "test:node": "node test/node/node.js",
110
- "test:jsdom": "mocha test/node/jsdom.js",
111
- "version": "echo \"use 'npm run release' to bump axe-core version\" && exit 1",
112
- "release": "git fetch origin --tags --force && standard-version -a",
113
- "rule-gen": "node build/rule-generator",
114
- "sri-update": "grunt build && node build/sri-update && git add sri-history.json",
115
- "sri-validate": "node build/sri-update --validate",
116
- "codemod:modernize-tests": "node build/codemods/modernize-test-files.mjs",
117
- "fmt": "prettier --write .",
118
- "fmt:check": "prettier --check .",
119
- "prepare": "husky && npm run patch",
120
- "prebuild": "node ./build/check-node-version.js",
121
- "pretest": "node ./build/check-node-version.js",
122
- "pretest:unit:integration": "npm run build:integration-tests",
123
- "postbuild": "prettier --write ./locales/_template.json ./doc/rule-descriptions.md"
124
- },
125
75
  "devDependencies": {
126
76
  "@axe-core/webdriverjs": "^4.10.2",
127
77
  "@babel/core": "^7.20.12",
128
- "@babel/plugin-proposal-object-rest-spread": "^7.20.7",
78
+ "@babel/plugin-transform-object-rest-spread": "^7.29.7",
129
79
  "@babel/preset-env": "^7.20.2",
130
80
  "@babel/runtime-corejs3": "^7.20.7",
131
81
  "@deque/dot": "^1.1.5",
132
- "@types/node": "^25.6.0",
133
- "@web/test-runner": "^0.20.2",
134
- "aria-practices": "github:w3c/aria-practices#ce0336bd82d7d3651abcbde86af644197ddbc629",
82
+ "@types/node": "^4.9.5",
83
+ "@web/test-runner": "^1.0.0",
84
+ "aria-practices": "github:w3c/aria-practices#18c1a2fca626f7aeb33270e23ae9b18833e2164d",
135
85
  "aria-query": "^5.1.3",
136
86
  "chai": "^4.3.7",
137
87
  "chalk": "^4.x",
88
+ "chokidar": "^4.0.3",
138
89
  "chromedriver": "latest",
139
90
  "clean-jsdoc-theme": "^4.2.17",
140
91
  "clone": "^2.1.2",
141
92
  "colorjs.io": "0.4.3",
93
+ "commit-and-tag-version": "^13.1.0",
142
94
  "conventional-commits-parser": "^5.0.0",
143
95
  "core-js": "^3.27.1",
96
+ "core-js-pure": "^3.27.1",
144
97
  "css-selector-parser": "^1.4.1",
145
98
  "emoji-regex": "^10.2.1",
146
99
  "es6-promise": "^4.2.8",
147
100
  "esbuild": "^0.10.x",
148
- "eslint": "^9.2.0",
101
+ "eslint": "^10.6.0",
149
102
  "eslint-config-prettier": "^10.0.1",
150
103
  "eslint-plugin-mocha-no-only": "^1.2.0",
151
104
  "execa": "5.x",
152
- "glob": "^10.3.10",
105
+ "glob": "^13.0.6",
153
106
  "globals": "^17.1.0",
154
- "grunt": "^1.5.3",
155
- "grunt-babel": "^8.0.0",
156
- "grunt-bytesize": "^0.2.0",
157
- "grunt-contrib-clean": "^2.0.1",
158
- "grunt-contrib-concat": "^2.1.0",
159
- "grunt-contrib-uglify": "^5.2.2",
160
- "grunt-contrib-watch": "^1.1.0",
161
107
  "html-entities": "^2.4.0",
162
108
  "http-server": "^14.1.1",
163
109
  "husky": "^9.0.7",
@@ -165,22 +111,18 @@
165
111
  "jquery": "^4.0.0",
166
112
  "jsdoc": "^4.0.2",
167
113
  "jsdom": "^29.0.2",
168
- "lint-staged": "^16.1.0",
114
+ "lint-staged": "^17.0.7",
169
115
  "memoizee": "^0.4.15",
170
116
  "mocha": "^11.1.0",
171
117
  "node-notifier": "^10.0.1",
172
118
  "npm-run-all": "^4.1.5",
173
119
  "outdent": "^0.8.0",
174
- "parse5": "^8.0.0",
175
- "patch-package": "^8.0.0",
176
120
  "prettier": "^3.0.3",
177
- "recast": "^0.23.11",
178
121
  "revalidator": "^0.3.1",
179
122
  "selenium-webdriver": "^4.7.1",
180
123
  "serve-handler": "^6.1.5",
181
- "sinon": "^21.0.0",
124
+ "sinon": "^22.0.0",
182
125
  "sri-toolbox": "^0.2.0",
183
- "standard-version": "^9.5.0",
184
126
  "start-server-and-test": "^3.0.2",
185
127
  "typedarray": "^0.0.7",
186
128
  "typescript": "^6.0.3",
@@ -196,5 +138,55 @@
196
138
  "prettier --write",
197
139
  "eslint --fix"
198
140
  ]
141
+ },
142
+ "scripts": {
143
+ "start": "http-server -a \"\" -p 9876 --silent",
144
+ "develop": "node build/run-build.mjs --watch",
145
+ "api-docs": "jsdoc --configure .jsdoc.json",
146
+ "build": "node build/run-build.mjs",
147
+ "translate": "node build/run-build.mjs translate",
148
+ "eslint": "eslint --color --format stylish '{lib,test}/**/*.{js,mjs}' 'build/**/*.mjs' 'doc/**/*.{js,mjs}' '.github/bin/*.mjs'",
149
+ "test": "pnpm run test:tsc && run-s \"test:unit:* -- {@}\" --",
150
+ "test:tsc": "tsc",
151
+ "test:unit": "web-test-runner --config test/wtr.config.mjs",
152
+ "test:debug": "web-test-runner --config test/wtr.debug.config.mjs --manual",
153
+ "build:integration-tests": "node build/generate-integration-tests.js",
154
+ "test:unit:core": "web-test-runner --config test/wtr.config.mjs --files 'test/core/**/*.js'",
155
+ "test:unit:commons": "web-test-runner --config test/wtr.config.mjs --files 'test/commons/**/*.js'",
156
+ "test:unit:rule-matches": "web-test-runner --config test/wtr.config.mjs --files 'test/rule-matches/**/*.js'",
157
+ "test:unit:checks": "web-test-runner --config test/wtr.config.mjs --files 'test/checks/**/*.js'",
158
+ "test:unit:api": "web-test-runner --config test/wtr.config.mjs --files 'test/integration/api/**/*.js'",
159
+ "test:unit:integration": "web-test-runner --config test/wtr.config.mjs --files 'tmp/integration-tests/**/*.test.js'",
160
+ "test:unit:virtual-rules": "web-test-runner --config test/wtr.config.mjs --files 'test/integration/virtual-rules/**/*.js'",
161
+ "test:unit:gather-internals": "web-test-runner --config test/wtr.config.mjs --files 'test/gather-internals/**/*.js'",
162
+ "integration": "node test/integration/full/test-webdriver.js",
163
+ "integration:apg": "mocha --fail-zero test/aria-practices/*.spec.js",
164
+ "integration:chrome": "pnpm run integration -- browser=Chrome",
165
+ "integration:firefox": "pnpm run integration -- browser=Firefox",
166
+ "test:integration": "pnpm run test:integration:chrome",
167
+ "test:integration:chrome": "start-server-and-test 9876 integration:chrome",
168
+ "test:integration:firefox": "start-server-and-test 9876 integration:firefox",
169
+ "test:examples": "node ./doc/examples/test-examples",
170
+ "test:act": "mocha --fail-zero test/act-rules/*.spec.js",
171
+ "test:apg": "start-server-and-test 9876 integration:apg",
172
+ "test:locales": "mocha test/test-locales.js",
173
+ "test:virtual-rules": "mocha test/test-virtual-rules.js",
174
+ "test:rule-help-version": "mocha test/test-rule-help-version.js",
175
+ "test:node": "node test/node/node.js",
176
+ "test:jsdom": "mocha test/node/jsdom.js",
177
+ "version": "echo \"use 'pnpm run release' to bump axe-core version\" && exit 1",
178
+ "release": "git fetch origin --tags --force && commit-and-tag-version -a",
179
+ "rule-gen": "node build/rule-generator.mjs",
180
+ "sri-update": "pnpm run build && node build/sri-update.mjs && git add sri-history.json",
181
+ "sri-validate": "node build/sri-update.mjs --validate",
182
+ "codemod:modernize-tests": "node build/codemods/modernize-test-files.mjs",
183
+ "fmt": "prettier --write .",
184
+ "fmt:check": "prettier --check .",
185
+ "prebuild": "node ./build/check-node-version.mjs",
186
+ "pretest": "node ./build/check-node-version.mjs",
187
+ "pretest:unit:integration": "pnpm run build:integration-tests",
188
+ "test:build": "node --test build/run-build/*.test.mjs",
189
+ "validate": "node build/run-build.mjs validate",
190
+ "postbuild": "prettier --write ./locales/_template.json ./doc/rule-descriptions.md"
199
191
  }
200
- }
192
+ }
package/sri-history.json CHANGED
@@ -422,5 +422,9 @@
422
422
  "4.12.1": {
423
423
  "axe.js": "sha256-FRl8Y/9oP3b35USiZrI5x7sAP6jiyQTDJDTQ6f9ldd4=",
424
424
  "axe.min.js": "sha256-ZqiqqVqLBEp/10pUNYc78E/2WhynVWfJIbdQl0IIWhQ="
425
+ },
426
+ "4.13.0": {
427
+ "axe.js": "sha256-E4qTpM57fGwI7YQUTkXc2Mw20tT/jtZzYZ+vBAaQbYg=",
428
+ "axe.min.js": "sha256-wk8Je9L0UdT5M+i8fY1Tn4ZyouvLXMn58+7IypRwoME="
425
429
  }
426
430
  }