@axe-core/playwright 4.7.2-alpha.388 → 4.7.2-alpha.390

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
@@ -231,7 +231,7 @@ var AxeBuilder = class {
231
231
  */
232
232
  async analyze() {
233
233
  const context = normalizeContext(this.includes, this.excludes);
234
- const { page, option: options } = this;
234
+ const { page } = this;
235
235
  page.evaluate(this.script());
236
236
  const runPartialDefined = await page.evaluate(
237
237
  'typeof window.axe.runPartial === "function"'
package/dist/index.mjs CHANGED
@@ -197,7 +197,7 @@ var AxeBuilder = class {
197
197
  */
198
198
  async analyze() {
199
199
  const context = normalizeContext(this.includes, this.excludes);
200
- const { page, option: options } = this;
200
+ const { page } = this;
201
201
  page.evaluate(this.script());
202
202
  const runPartialDefined = await page.evaluate(
203
203
  'typeof window.axe.runPartial === "function"'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@axe-core/playwright",
3
- "version": "4.7.2-alpha.388+23701dc",
3
+ "version": "4.7.2-alpha.390+0d0c9d1",
4
4
  "description": "Provides a method to inject and analyze web pages using axe",
5
5
  "contributors": [
6
6
  {
@@ -51,6 +51,7 @@
51
51
  "axe-core": "^4.7.0"
52
52
  },
53
53
  "devDependencies": {
54
+ "@playwright/test": "^1.34.3",
54
55
  "@types/chai": "^4.3.3",
55
56
  "@types/express": "^4.17.14",
56
57
  "@types/mocha": "^10.0.0",
@@ -61,8 +62,6 @@
61
62
  "express": "^4.18.2",
62
63
  "mocha": "^10.0.0",
63
64
  "nyc": "^15.1.0",
64
- "playwright": "^1.29.0",
65
- "playwright-core": "^1.29.0",
66
65
  "rimraf": "^3.0.2",
67
66
  "test-listen": "^1.1.0",
68
67
  "ts-node": "^10.9.1",
@@ -70,7 +69,7 @@
70
69
  "typescript": "^4.8.4"
71
70
  },
72
71
  "peerDependencies": {
73
- "playwright": ">= 1.0.0"
72
+ "playwright-core": ">= 1.0.0"
74
73
  },
75
74
  "nyc": {
76
75
  "include": [
@@ -91,5 +90,5 @@
91
90
  "functions": 100,
92
91
  "lines": 95
93
92
  },
94
- "gitHead": "23701dcbd2e57ef74b737798828475bf1dab7da3"
93
+ "gitHead": "0d0c9d1b75051b26f0bb745abc5c8974a9fa4d54"
95
94
  }