@axe-core/playwright 4.13.1-a2efcac.0 → 4.13.1-ce7298c.0.sha-ce7298c
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 +3 -1
- package/dist/index.mjs +3 -1
- package/package.json +11 -7
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.1-
|
|
3
|
+
"version": "4.13.1-ce7298c.0.sha-ce7298c",
|
|
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": "
|
|
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
|
|
51
|
-
"prepare": "
|
|
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": "^
|
|
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": "
|
|
96
|
+
"gitHead": "ce7298c8e421b38d9c313081291093efb36909d2"
|
|
93
97
|
}
|