@axe-core/playwright 4.13.0 → 4.13.1-0bcb185.0.sha-0bcb185

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/dist/index.js CHANGED
@@ -98,6 +98,7 @@ var AxePartialRunner = class {
98
98
  this.initiator = initiator;
99
99
  this.partialPromise = caught(partialPromise);
100
100
  }
101
+ initiator;
101
102
  partialPromise;
102
103
  childRunners = [];
103
104
  addChildResults(childResultRunner) {
@@ -252,7 +253,8 @@ var AxeBuilder = class {
252
253
  } catch (error) {
253
254
  throw new Error(
254
255
  `${error.message}
255
- Please check out ${this.errorUrl}`
256
+ Please check out ${this.errorUrl}`,
257
+ { cause: error }
256
258
  );
257
259
  }
258
260
  }
package/dist/index.mjs CHANGED
@@ -63,6 +63,7 @@ var AxePartialRunner = class {
63
63
  this.initiator = initiator;
64
64
  this.partialPromise = caught(partialPromise);
65
65
  }
66
+ initiator;
66
67
  partialPromise;
67
68
  childRunners = [];
68
69
  addChildResults(childResultRunner) {
@@ -217,7 +218,8 @@ var AxeBuilder = class {
217
218
  } catch (error) {
218
219
  throw new Error(
219
220
  `${error.message}
220
- Please check out ${this.errorUrl}`
221
+ Please check out ${this.errorUrl}`,
222
+ { cause: error }
221
223
  );
222
224
  }
223
225
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@axe-core/playwright",
3
- "version": "4.13.0",
3
+ "version": "4.13.1-0bcb185.0.sha-0bcb185",
4
4
  "description": "Provides a method to inject and analyze web pages using axe",
5
5
  "contributors": [
6
6
  {
@@ -39,25 +39,29 @@
39
39
  "publishConfig": {
40
40
  "access": "public"
41
41
  },
42
+ "engines": {
43
+ "node": ">=22.12.0"
44
+ },
42
45
  "scripts": {
43
46
  "prebuild": "rimraf dist",
44
47
  "build": "tsup src/index.ts --dts --format esm,cjs",
45
48
  "test": "mocha --timeout 60000 -r ts-node/register 'test/**.spec.ts'",
46
- "test:export": "npm run test:esm && npm run test:commonjs && npm run test:ts",
49
+ "test:export": "pnpm run test:esm && pnpm run test:commonjs && pnpm run test:ts",
47
50
  "test:esm": "node test/esmTest.mjs",
48
51
  "test:commonjs": "node test/commonjsTest.js",
49
- "test:ts": "tsc test/tsTest.ts --noEmit --skipLibCheck --esModuleInterop",
50
- "coverage": "nyc npm run test",
51
- "prepare": "npx playwright install && npm run build"
52
+ "test:ts": "tsc --ignoreConfig test/tsTest.ts --noEmit --skipLibCheck --esModuleInterop",
53
+ "coverage": "nyc pnpm run test",
54
+ "prepare": "pnpm exec playwright install && pnpm run build"
52
55
  },
53
56
  "dependencies": {
54
57
  "axe-core": "~4.13.0"
55
58
  },
56
59
  "devDependencies": {
57
60
  "@playwright/test": "^1.60.0",
58
- "@types/chai": "^4.3.3",
61
+ "@types/chai": "^5.2.3",
59
62
  "@types/express": "^5.0.3",
60
63
  "@types/mocha": "^10.0.0",
64
+ "@types/node": "^24.10.1",
61
65
  "async-listen": "^3.0.1",
62
66
  "axe-test-fixtures": "github:dequelabs/axe-test-fixtures#v1",
63
67
  "chai": "^4.3.6",
@@ -89,5 +93,5 @@
89
93
  "functions": 100,
90
94
  "lines": 95
91
95
  },
92
- "gitHead": "70dca949a4e55e2fb83e4e6896fbbf788c56b6fd"
96
+ "gitHead": "0bcb1850683addb69343067263aa3fcd4ddd0561"
93
97
  }