@axe-core/playwright 4.10.2-d0f62a9.0 → 4.10.2-e53cd36.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/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +3 -3
- package/dist/index.mjs +3 -3
- package/package.json +2 -2
package/dist/index.d.mts
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -131,7 +131,7 @@ var AxeBuilder = class {
|
|
|
131
131
|
includes;
|
|
132
132
|
excludes;
|
|
133
133
|
option;
|
|
134
|
-
|
|
134
|
+
axeSource;
|
|
135
135
|
legacyMode = false;
|
|
136
136
|
errorUrl;
|
|
137
137
|
constructor({ page, axeSource }) {
|
|
@@ -139,7 +139,7 @@ var AxeBuilder = class {
|
|
|
139
139
|
this.includes = [];
|
|
140
140
|
this.excludes = [];
|
|
141
141
|
this.option = {};
|
|
142
|
-
this.
|
|
142
|
+
this.axeSource = axeSource;
|
|
143
143
|
this.errorUrl = "https://github.com/dequelabs/axe-core-npm/blob/develop/packages/playwright/error-handling.md";
|
|
144
144
|
}
|
|
145
145
|
/**
|
|
@@ -284,7 +284,7 @@ var AxeBuilder = class {
|
|
|
284
284
|
* @returns String
|
|
285
285
|
*/
|
|
286
286
|
script() {
|
|
287
|
-
return this.source;
|
|
287
|
+
return this.axeSource || source;
|
|
288
288
|
}
|
|
289
289
|
async runLegacy(context) {
|
|
290
290
|
const frames = this.page.frames();
|
package/dist/index.mjs
CHANGED
|
@@ -96,7 +96,7 @@ var AxeBuilder = class {
|
|
|
96
96
|
includes;
|
|
97
97
|
excludes;
|
|
98
98
|
option;
|
|
99
|
-
|
|
99
|
+
axeSource;
|
|
100
100
|
legacyMode = false;
|
|
101
101
|
errorUrl;
|
|
102
102
|
constructor({ page, axeSource }) {
|
|
@@ -104,7 +104,7 @@ var AxeBuilder = class {
|
|
|
104
104
|
this.includes = [];
|
|
105
105
|
this.excludes = [];
|
|
106
106
|
this.option = {};
|
|
107
|
-
this.
|
|
107
|
+
this.axeSource = axeSource;
|
|
108
108
|
this.errorUrl = "https://github.com/dequelabs/axe-core-npm/blob/develop/packages/playwright/error-handling.md";
|
|
109
109
|
}
|
|
110
110
|
/**
|
|
@@ -249,7 +249,7 @@ var AxeBuilder = class {
|
|
|
249
249
|
* @returns String
|
|
250
250
|
*/
|
|
251
251
|
script() {
|
|
252
|
-
return this.source;
|
|
252
|
+
return this.axeSource || source;
|
|
253
253
|
}
|
|
254
254
|
async runLegacy(context) {
|
|
255
255
|
const frames = this.page.frames();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@axe-core/playwright",
|
|
3
|
-
"version": "4.10.2-
|
|
3
|
+
"version": "4.10.2-e53cd36.0+e53cd36",
|
|
4
4
|
"description": "Provides a method to inject and analyze web pages using axe",
|
|
5
5
|
"contributors": [
|
|
6
6
|
{
|
|
@@ -92,5 +92,5 @@
|
|
|
92
92
|
"functions": 100,
|
|
93
93
|
"lines": 95
|
|
94
94
|
},
|
|
95
|
-
"gitHead": "
|
|
95
|
+
"gitHead": "e53cd36d0770a8323577946b0438f058b87a0aad"
|
|
96
96
|
}
|