@axe-core/playwright 4.10.2-7c450cb.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 CHANGED
@@ -11,7 +11,7 @@ declare class AxeBuilder {
11
11
  private includes;
12
12
  private excludes;
13
13
  private option;
14
- private source;
14
+ private axeSource;
15
15
  private legacyMode;
16
16
  private errorUrl;
17
17
  constructor({ page, axeSource }: AxePlaywrightParams);
package/dist/index.d.ts CHANGED
@@ -11,7 +11,7 @@ declare class AxeBuilder {
11
11
  private includes;
12
12
  private excludes;
13
13
  private option;
14
- private source;
14
+ private axeSource;
15
15
  private legacyMode;
16
16
  private errorUrl;
17
17
  constructor({ page, axeSource }: AxePlaywrightParams);
package/dist/index.js CHANGED
@@ -131,7 +131,7 @@ var AxeBuilder = class {
131
131
  includes;
132
132
  excludes;
133
133
  option;
134
- source;
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.source = axeSource || source;
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
- source;
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.source = axeSource || source;
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-7c450cb.0+7c450cb",
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
  {
@@ -51,7 +51,7 @@
51
51
  "prepare": "npx playwright install && npm run build"
52
52
  },
53
53
  "dependencies": {
54
- "axe-core": "~4.10.1"
54
+ "axe-core": "~4.10.2"
55
55
  },
56
56
  "devDependencies": {
57
57
  "@playwright/test": "^1.44.0",
@@ -92,5 +92,5 @@
92
92
  "functions": 100,
93
93
  "lines": 95
94
94
  },
95
- "gitHead": "7c450cbdbfca06493ff16952f471bae816c58092"
95
+ "gitHead": "e53cd36d0770a8323577946b0438f058b87a0aad"
96
96
  }