@axe-core/playwright 4.8.2-e8094c1.0 → 4.8.3-854eeb3.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.js +13 -0
- package/package.json +6 -4
package/dist/index.js
CHANGED
|
@@ -372,3 +372,16 @@ var AxeBuilder = class {
|
|
|
372
372
|
0 && (module.exports = {
|
|
373
373
|
AxeBuilder
|
|
374
374
|
});
|
|
375
|
+
|
|
376
|
+
if (module.exports.default) {
|
|
377
|
+
var ___default_export = module.exports.default;
|
|
378
|
+
var ___export_entries = Object.entries(module.exports);
|
|
379
|
+
module.exports = ___default_export;
|
|
380
|
+
___export_entries.forEach(([key, value]) => {
|
|
381
|
+
if (module.exports[key]) {
|
|
382
|
+
throw new Error(`Export "${key}" already exists on default export`);
|
|
383
|
+
}
|
|
384
|
+
|
|
385
|
+
module.exports[key] = value;
|
|
386
|
+
});
|
|
387
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@axe-core/playwright",
|
|
3
|
-
"version": "4.8.
|
|
3
|
+
"version": "4.8.3-854eeb3.0+854eeb3",
|
|
4
4
|
"description": "Provides a method to inject and analyze web pages using axe",
|
|
5
5
|
"contributors": [
|
|
6
6
|
{
|
|
@@ -43,7 +43,10 @@
|
|
|
43
43
|
"prebuild": "rimraf dist",
|
|
44
44
|
"build": "tsup src/index.ts --dts --format esm,cjs",
|
|
45
45
|
"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",
|
|
46
47
|
"test:esm": "node test/esmTest.mjs",
|
|
48
|
+
"test:commonjs": "node test/commonjsTest.js",
|
|
49
|
+
"test:ts": "tsc test/tsTest.ts --noEmit --skipLibCheck --esModuleInterop",
|
|
47
50
|
"coverage": "nyc npm run test",
|
|
48
51
|
"prepare": "npx playwright install && npm run build"
|
|
49
52
|
},
|
|
@@ -56,14 +59,13 @@
|
|
|
56
59
|
"@types/express": "^4.17.14",
|
|
57
60
|
"@types/mocha": "^10.0.0",
|
|
58
61
|
"@types/node": "^20.8.10",
|
|
59
|
-
"
|
|
62
|
+
"async-listen": "^3.0.1",
|
|
60
63
|
"axe-test-fixtures": "github:dequelabs/axe-test-fixtures#v1",
|
|
61
64
|
"chai": "^4.3.6",
|
|
62
65
|
"express": "^4.18.2",
|
|
63
66
|
"mocha": "^10.0.0",
|
|
64
67
|
"nyc": "^15.1.0",
|
|
65
68
|
"rimraf": "^5.0.5",
|
|
66
|
-
"test-listen": "^1.1.0",
|
|
67
69
|
"ts-node": "^10.9.1",
|
|
68
70
|
"tsup": "^7.2.0",
|
|
69
71
|
"typescript": "^4.8.4"
|
|
@@ -90,5 +92,5 @@
|
|
|
90
92
|
"functions": 100,
|
|
91
93
|
"lines": 95
|
|
92
94
|
},
|
|
93
|
-
"gitHead": "
|
|
95
|
+
"gitHead": "854eeb31d9b540ed30d602452c1d833600ecad20"
|
|
94
96
|
}
|