@axe-core/webdriverjs 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
|
@@ -532,3 +532,16 @@ ${error2}`
|
|
|
532
532
|
0 && (module.exports = {
|
|
533
533
|
AxeBuilder
|
|
534
534
|
});
|
|
535
|
+
|
|
536
|
+
if (module.exports.default) {
|
|
537
|
+
var ___default_export = module.exports.default;
|
|
538
|
+
var ___export_entries = Object.entries(module.exports);
|
|
539
|
+
module.exports = ___default_export;
|
|
540
|
+
___export_entries.forEach(([key, value]) => {
|
|
541
|
+
if (module.exports[key]) {
|
|
542
|
+
throw new Error(`Export "${key}" already exists on default export`);
|
|
543
|
+
}
|
|
544
|
+
|
|
545
|
+
module.exports[key] = value;
|
|
546
|
+
});
|
|
547
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@axe-core/webdriverjs",
|
|
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
|
{
|
|
@@ -49,7 +49,10 @@
|
|
|
49
49
|
"prebuild": "rimraf dist",
|
|
50
50
|
"build": "tsup src/index.ts --dts --format esm,cjs",
|
|
51
51
|
"test": "mocha --timeout 60000 -r ts-node/register 'test/**.spec.ts'",
|
|
52
|
+
"test:export": "npm run test:esm && npm run test:commonjs && npm run test:ts",
|
|
52
53
|
"test:esm": "node test/esmTest.mjs",
|
|
54
|
+
"test:commonjs": "node test/commonjsTest.js",
|
|
55
|
+
"test:ts": "tsc test/tsTest.ts --noEmit --skipLibCheck --esModuleInterop",
|
|
53
56
|
"coverage": "nyc npm run test",
|
|
54
57
|
"prepare": "npm run build"
|
|
55
58
|
},
|
|
@@ -72,7 +75,7 @@
|
|
|
72
75
|
"@types/mocha": "^10.0.0",
|
|
73
76
|
"@types/node": "^20.8.10",
|
|
74
77
|
"@types/selenium-webdriver": "^4.1.5",
|
|
75
|
-
"
|
|
78
|
+
"async-listen": "^3.0.1",
|
|
76
79
|
"axe-test-fixtures": "github:dequelabs/axe-test-fixtures#v1",
|
|
77
80
|
"chai": "^4.3.6",
|
|
78
81
|
"chromedriver": "latest",
|
|
@@ -81,7 +84,6 @@
|
|
|
81
84
|
"nyc": "^15.1.0",
|
|
82
85
|
"rimraf": "^5.0.5",
|
|
83
86
|
"selenium-webdriver": "^4.8.1",
|
|
84
|
-
"test-listen": "^1.1.0",
|
|
85
87
|
"ts-node": "^10.9.1",
|
|
86
88
|
"tsup": "^7.2.0",
|
|
87
89
|
"typescript": "^4.8.4"
|
|
@@ -111,5 +113,5 @@
|
|
|
111
113
|
"functions": 85,
|
|
112
114
|
"lines": 85
|
|
113
115
|
},
|
|
114
|
-
"gitHead": "
|
|
116
|
+
"gitHead": "854eeb31d9b540ed30d602452c1d833600ecad20"
|
|
115
117
|
}
|