@axe-core/watcher 4.5.0 → 4.5.1-next.1c0ec970

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,6 +1,6 @@
1
1
  {
2
2
  "name": "@axe-core/watcher",
3
- "version": "4.5.0",
3
+ "version": "4.5.1-next.1c0ec970",
4
4
  "description": "",
5
5
  "license": "UNLICENSED",
6
6
  "exports": {
@@ -51,7 +51,7 @@
51
51
  "EXTENSION-LICENSES-3RD-PARTY.md"
52
52
  ],
53
53
  "engines": {
54
- "node": "^20.18.1 || ^22.11.0 || ^24.11.0"
54
+ "node": ">=22.11.0"
55
55
  },
56
56
  "wireit": {
57
57
  "build": {
@@ -66,19 +66,15 @@
66
66
  "dist/**"
67
67
  ]
68
68
  },
69
- "test": {
70
- "command": "mocha 'src/**/*.test.ts' --exit",
71
- "output": []
72
- },
73
69
  "test:e2e": {
74
- "command": "mocha 'e2e/*.test.ts'",
70
+ "command": "pnpm run test:files 'e2e/*.test.ts' 'e2e/puppeteer/**/*.test.ts'",
75
71
  "dependencies": [
76
72
  "copy-extension"
77
73
  ],
78
74
  "output": []
79
75
  },
80
76
  "test:proxy": {
81
- "command": "mocha proxy-tests/proxy.test.ts --timeout 30000 --exit",
77
+ "command": "pnpm run test:files proxy-tests/proxy.test.ts",
82
78
  "output": []
83
79
  },
84
80
  "serve:e2e": {
@@ -86,10 +82,13 @@
86
82
  "service": true
87
83
  },
88
84
  "coverage": {
89
- "command": "nyc pnpm test",
85
+ "command": "NODE_V8_COVERAGE=\"$PWD/coverage-v8\" pnpm run test:files 'e2e/*.test.ts' 'e2e/puppeteer/**/*.test.ts' && pnpm run coverage:report",
86
+ "dependencies": [
87
+ "copy-extension"
88
+ ],
90
89
  "output": [
91
90
  "coverage/**",
92
- ".nyc_output/**"
91
+ "coverage-v8/**"
93
92
  ],
94
93
  "clean": true
95
94
  },
@@ -130,14 +129,12 @@
130
129
  "@types/cors": "^2.8.12",
131
130
  "@types/debug": "^4.1.12",
132
131
  "@types/express": "^5.0.6",
133
- "@types/mocha": "^10.0.0",
134
132
  "@types/morgan": "^1.9.3",
135
- "@types/node": "22.20.0",
133
+ "@types/node": "22.20.1",
136
134
  "@types/react": "19",
137
135
  "@types/react-dom": "19",
138
136
  "@types/selenium-webdriver": "^4.1.15",
139
137
  "@types/semver": "^7.5.8",
140
- "@types/sinon": "^21.0.0",
141
138
  "@wdio/types": "^9.0.4",
142
139
  "axe-core": "^4.12.1",
143
140
  "axe-test-fixtures": "github:dequelabs/axe-test-fixtures#v1",
@@ -146,16 +143,14 @@
146
143
  "cypress": "^15.8.1",
147
144
  "execa": "5",
148
145
  "express": "^5.2.1",
149
- "jsdom": "^29.0.1",
150
- "mocha": "^11.0.1",
146
+ "jsdom": "^30.0.0",
147
+ "monocart-coverage-reports": "^2.12.0",
151
148
  "morgan": "^1.10.0",
152
- "nyc": "^18.0.0",
153
149
  "playwright-core": "^1.45.0",
154
150
  "puppeteer": "^25.1.0",
155
151
  "react": "^19.1.0",
156
152
  "react-dom": "^19.1.0",
157
153
  "selenium-webdriver": "^4.11.1",
158
- "sinon": "^22.0.0",
159
154
  "ts-loader": "^9.5.2",
160
155
  "ts-node": "^10.9.2",
161
156
  "typescript": "^5.1.6",
@@ -193,11 +188,12 @@
193
188
  },
194
189
  "scripts": {
195
190
  "build": "wireit",
196
- "test": "wireit",
197
191
  "test:e2e": "wireit",
192
+ "test:files": "node --no-experimental-strip-types --require ts-node/register --require ./src/test-env.js --test --test-concurrency=1 --test-force-exit",
198
193
  "test:proxy": "wireit",
199
194
  "serve:e2e": "wireit",
200
195
  "coverage": "wireit",
196
+ "coverage:report": "node scripts/pruneV8Coverage.mjs coverage-v8 && node scripts/coverageReport.mjs coverage-v8",
201
197
  "copy-extension-license-file": "wireit",
202
198
  "copy-extension": "wireit",
203
199
  "dev": "pnpm run build --watch"