pagean 14.0.1 → 14.1.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/lib/logger.js CHANGED
@@ -17,7 +17,7 @@ const testResultSymbols = Object.freeze({
17
17
 
18
18
  const nullFunction = () => {};
19
19
 
20
- /** @typedef {import('./lib/config.js').PageanConfig} PageanConfig */
20
+ /** @typedef {import('./config.js').PageanConfig} PageanConfig */
21
21
 
22
22
  /**
23
23
  * Factory function that creates an instance of a
package/lib/utilities.js CHANGED
@@ -7,14 +7,6 @@
7
7
  import path from 'node:path';
8
8
  import { readFile } from 'node:fs/promises';
9
9
 
10
- /**
11
- * The file containing the current module, using the CJS global name.
12
- *
13
- * @type {string}
14
- */
15
- // eslint-disable-next-line no-underscore-dangle -- match CJS name
16
- const __filename = import.meta.filename;
17
-
18
10
  /**
19
11
  * The directory containing the current module, using the CJS global name.
20
12
  *
@@ -41,4 +33,4 @@ const readJson = async (filepath) => {
41
33
  */
42
34
  const pkg = await readJson(path.join(__dirname, '..', 'package.json'));
43
35
 
44
- export { __dirname, __filename, readJson, pkg };
36
+ export { __dirname, readJson, pkg };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pagean",
3
- "version": "14.0.1",
3
+ "version": "14.1.0",
4
4
  "description": "Pagean is a web page analysis tool designed to automate tests requiring web pages to be loaded in a browser window (e.g. horizontal scrollbar, console errors)",
5
5
  "bin": {
6
6
  "pagean": "./bin/pagean.js",
@@ -53,17 +53,17 @@
53
53
  },
54
54
  "homepage": "https://gitlab.com/gitlab-ci-utils/pagean",
55
55
  "devDependencies": {
56
- "@aarongoldenthal/eslint-config-standard": "^36.0.0",
56
+ "@aarongoldenthal/eslint-config-standard": "^37.0.0",
57
57
  "@aarongoldenthal/stylelint-config-standard": "^20.0.0",
58
- "@vitest/coverage-v8": "^3.1.3",
58
+ "@vitest/coverage-v8": "^3.2.2",
59
59
  "bin-tester": "^6.0.0",
60
- "eslint": "^9.27.0",
61
- "globals": "^16.1.0",
60
+ "eslint": "^9.28.0",
61
+ "globals": "^16.2.0",
62
62
  "markdownlint-cli2": "^0.18.1",
63
63
  "prettier": "^3.5.3",
64
64
  "strip-ansi": "^7.1.0",
65
- "stylelint": "^16.19.1",
66
- "vitest": "^3.1.3"
65
+ "stylelint": "^16.20.0",
66
+ "vitest": "^3.2.2"
67
67
  },
68
68
  "dependencies": {
69
69
  "ajv": "^8.17.1",
@@ -73,11 +73,11 @@
73
73
  "commander": "^14.0.0",
74
74
  "cssesc": "^3.0.0",
75
75
  "handlebars": "^4.7.8",
76
- "htmlhint": "^1.1.4",
76
+ "htmlhint": "^1.5.0",
77
77
  "kleur": "^4.1.5",
78
78
  "normalize-url": "^8.0.1",
79
79
  "protocolify": "^4.0.0",
80
- "puppeteer": "^24.8.2",
80
+ "puppeteer": "^24.10.0",
81
81
  "xml2js": "^0.6.2"
82
82
  }
83
83
  }