@axe-core/puppeteer 4.10.2 → 4.10.3-0c124f7.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/README.md CHANGED
@@ -4,6 +4,8 @@ Provides a chainable axe API for Puppeteer and automatically injects into all fr
4
4
 
5
5
  Previous versions of this program were maintained at [dequelabs/axe-puppeteer](https://github.com/dequelabs/axe-puppeteer).
6
6
 
7
+ This package does not follow Semantic Versioning (SemVer) but instead uses the major and minor version (but not patch version) of axe-core that the package uses. For example, if the API version is v4.7.2, then the axe-core version used by the package will be v4.7.x. The patch version of this package may include bug fixes and new API features but will not introduce breaking changes.
8
+
7
9
  ## Getting Started
8
10
 
9
11
  Install [Node.js](https://docs.npmjs.com/getting-started/installing-node) if you haven't already.
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 src_exports = {};
32
- __export(src_exports, {
31
+ var index_exports = {};
32
+ __export(index_exports, {
33
33
  AxePuppeteer: () => AxePuppeteer,
34
- default: () => src_default,
34
+ default: () => index_default,
35
35
  loadPage: () => loadPage
36
36
  });
37
- module.exports = __toCommonJS(src_exports);
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 src_default = AxePuppeteer;
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("node:module");
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("node:module");
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 src_default = AxePuppeteer;
501
+ var index_default = AxePuppeteer;
502
502
  export {
503
503
  AxePuppeteer,
504
- src_default as default,
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.2",
3
+ "version": "4.10.3-0c124f7.0+0c124f7",
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": "^4.17.14",
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": "^4.18.2",
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": "1055c5d005e72ad190987c358ebb361631909a85"
93
+ "gitHead": "0c124f7f0949758977cc62d8557d4ed8eb3aa484"
94
94
  }