@axe-core/puppeteer 4.10.3-bc53f16.0 → 4.10.3-c7bbb3e.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.
Files changed (2) hide show
  1. package/dist/index.mjs +2 -2
  2. package/package.json +6 -6
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");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@axe-core/puppeteer",
3
- "version": "4.10.3-bc53f16.0+bc53f16",
3
+ "version": "4.10.3-c7bbb3e.0+c7bbb3e",
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,10 +44,10 @@
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",
48
- "mocha": "^10.0.0",
47
+ "express": "^5.1.0",
48
+ "mocha": "^11.7.1",
49
49
  "nyc": "^17.1.0",
50
- "puppeteer": "22.12.1",
50
+ "puppeteer": "24.22.2",
51
51
  "sinon": "^18.0.0",
52
52
  "source-map-support": "^0.5.21",
53
53
  "ts-node": "^10.9.1",
@@ -90,5 +90,5 @@
90
90
  "functions": 85,
91
91
  "lines": 85
92
92
  },
93
- "gitHead": "bc53f16025d91a75b7c77f3ebc246c2fe4952020"
93
+ "gitHead": "c7bbb3e819174cc7fd3963fb2a29d70f07b6efc9"
94
94
  }