@axe-core/webdriverjs 4.8.2-c2990f7.0 → 4.8.2-d5becec.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 +5 -0
- package/dist/index.mjs +5 -0
- package/package.json +5 -4
package/dist/index.js
CHANGED
|
@@ -528,6 +528,11 @@ ${error2}`
|
|
|
528
528
|
return res;
|
|
529
529
|
}
|
|
530
530
|
};
|
|
531
|
+
if (typeof module === "object") {
|
|
532
|
+
module.exports = AxeBuilder;
|
|
533
|
+
module.exports.default = AxeBuilder;
|
|
534
|
+
module.exports.AxeBuilder = AxeBuilder;
|
|
535
|
+
}
|
|
531
536
|
// Annotate the CommonJS export names for ESM import in node:
|
|
532
537
|
0 && (module.exports = {
|
|
533
538
|
AxeBuilder
|
package/dist/index.mjs
CHANGED
|
@@ -493,6 +493,11 @@ ${error2}`
|
|
|
493
493
|
return res;
|
|
494
494
|
}
|
|
495
495
|
};
|
|
496
|
+
if (typeof module === "object") {
|
|
497
|
+
module.exports = AxeBuilder;
|
|
498
|
+
module.exports.default = AxeBuilder;
|
|
499
|
+
module.exports.AxeBuilder = AxeBuilder;
|
|
500
|
+
}
|
|
496
501
|
export {
|
|
497
502
|
AxeBuilder,
|
|
498
503
|
AxeBuilder as default
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@axe-core/webdriverjs",
|
|
3
|
-
"version": "4.8.2-
|
|
3
|
+
"version": "4.8.2-d5becec.0+d5becec",
|
|
4
4
|
"description": "Provides a method to inject and analyze web pages using axe",
|
|
5
5
|
"contributors": [
|
|
6
6
|
{
|
|
@@ -49,7 +49,9 @@
|
|
|
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",
|
|
52
53
|
"test:esm": "node test/esmTest.mjs",
|
|
54
|
+
"test:commonjs": "node test/commonjsTest.js",
|
|
53
55
|
"coverage": "nyc npm run test",
|
|
54
56
|
"prepare": "npm run build"
|
|
55
57
|
},
|
|
@@ -72,7 +74,7 @@
|
|
|
72
74
|
"@types/mocha": "^10.0.0",
|
|
73
75
|
"@types/node": "^20.8.10",
|
|
74
76
|
"@types/selenium-webdriver": "^4.1.5",
|
|
75
|
-
"
|
|
77
|
+
"async-listen": "^3.0.1",
|
|
76
78
|
"axe-test-fixtures": "github:dequelabs/axe-test-fixtures#v1",
|
|
77
79
|
"chai": "^4.3.6",
|
|
78
80
|
"chromedriver": "latest",
|
|
@@ -81,7 +83,6 @@
|
|
|
81
83
|
"nyc": "^15.1.0",
|
|
82
84
|
"rimraf": "^5.0.5",
|
|
83
85
|
"selenium-webdriver": "^4.8.1",
|
|
84
|
-
"test-listen": "^1.1.0",
|
|
85
86
|
"ts-node": "^10.9.1",
|
|
86
87
|
"tsup": "^7.2.0",
|
|
87
88
|
"typescript": "^4.8.4"
|
|
@@ -111,5 +112,5 @@
|
|
|
111
112
|
"functions": 85,
|
|
112
113
|
"lines": 85
|
|
113
114
|
},
|
|
114
|
-
"gitHead": "
|
|
115
|
+
"gitHead": "d5bececb595e1177be16bfa9d642bd21c2e9262e"
|
|
115
116
|
}
|