@axe-core/puppeteer 4.10.3-833ea82.0 → 4.10.3-92b8eae.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 -5
- package/dist/index.mjs +4 -4
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -28,13 +28,13 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
28
28
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
29
|
|
|
30
30
|
// src/index.ts
|
|
31
|
-
var
|
|
32
|
-
__export(
|
|
31
|
+
var index_exports = {};
|
|
32
|
+
__export(index_exports, {
|
|
33
33
|
AxePuppeteer: () => AxePuppeteer,
|
|
34
|
-
default: () =>
|
|
34
|
+
default: () => index_default,
|
|
35
35
|
loadPage: () => loadPage
|
|
36
36
|
});
|
|
37
|
-
module.exports = __toCommonJS(
|
|
37
|
+
module.exports = __toCommonJS(index_exports);
|
|
38
38
|
|
|
39
39
|
// src/axePuppeteer.ts
|
|
40
40
|
var import_assert2 = __toESM(require("assert"));
|
|
@@ -529,7 +529,7 @@ var OwningAxePuppeteer = class extends AxePuppeteer {
|
|
|
529
529
|
};
|
|
530
530
|
|
|
531
531
|
// src/index.ts
|
|
532
|
-
var
|
|
532
|
+
var index_default = AxePuppeteer;
|
|
533
533
|
// Annotate the CommonJS export names for ESM import in node:
|
|
534
534
|
0 && (module.exports = {
|
|
535
535
|
AxePuppeteer,
|
package/dist/index.mjs
CHANGED
|
@@ -122,7 +122,7 @@ async function injectJSModule(frame) {
|
|
|
122
122
|
if (typeof __require === "function" && typeof __require.resolve === "function") {
|
|
123
123
|
axeCorePath = __require.resolve("axe-core");
|
|
124
124
|
} else {
|
|
125
|
-
const { createRequire } = await import("
|
|
125
|
+
const { createRequire } = await import("module");
|
|
126
126
|
const filename = pathToFileURL(getFilename()).toString();
|
|
127
127
|
const require2 = createRequire(filename);
|
|
128
128
|
axeCorePath = require2.resolve("axe-core");
|
|
@@ -184,7 +184,7 @@ async function frameSourceInject(frame, source, config) {
|
|
|
184
184
|
if (typeof __require === "function" && typeof __require.resolve === "function") {
|
|
185
185
|
axeCorePath = __require.resolve("axe-core");
|
|
186
186
|
} else {
|
|
187
|
-
const { createRequire } = await import("
|
|
187
|
+
const { createRequire } = await import("module");
|
|
188
188
|
const filename = pathToFileURL2(getFilename()).toString();
|
|
189
189
|
const require2 = createRequire(filename);
|
|
190
190
|
axeCorePath = require2.resolve("axe-core");
|
|
@@ -498,9 +498,9 @@ var OwningAxePuppeteer = class extends AxePuppeteer {
|
|
|
498
498
|
};
|
|
499
499
|
|
|
500
500
|
// src/index.ts
|
|
501
|
-
var
|
|
501
|
+
var index_default = AxePuppeteer;
|
|
502
502
|
export {
|
|
503
503
|
AxePuppeteer,
|
|
504
|
-
|
|
504
|
+
index_default as default,
|
|
505
505
|
loadPage
|
|
506
506
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@axe-core/puppeteer",
|
|
3
|
-
"version": "4.10.3-
|
|
3
|
+
"version": "4.10.3-92b8eae.0+92b8eae",
|
|
4
4
|
"description": "Provides a chainable axe API for Puppeteer and automatically injects into all frames",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"license": "MPL-2.0",
|
|
37
37
|
"devDependencies": {
|
|
38
38
|
"@types/chai": "^4.3.3",
|
|
39
|
-
"@types/express": "^
|
|
39
|
+
"@types/express": "^5.0.3",
|
|
40
40
|
"@types/mocha": "^10.0.0",
|
|
41
41
|
"@types/node": "^22.0.2",
|
|
42
42
|
"@types/sinon": "^17.0.0",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"axe-test-fixtures": "github:dequelabs/axe-test-fixtures#v1",
|
|
45
45
|
"chai": "^4.3.6",
|
|
46
46
|
"cross-dirname": "^0.1.0",
|
|
47
|
-
"express": "^
|
|
47
|
+
"express": "^5.1.0",
|
|
48
48
|
"mocha": "^10.0.0",
|
|
49
49
|
"nyc": "^17.1.0",
|
|
50
50
|
"puppeteer": "22.12.1",
|
|
@@ -90,5 +90,5 @@
|
|
|
90
90
|
"functions": 85,
|
|
91
91
|
"lines": 85
|
|
92
92
|
},
|
|
93
|
-
"gitHead": "
|
|
93
|
+
"gitHead": "92b8eae13d04a3463a97b082956f7508b19e9265"
|
|
94
94
|
}
|