pagean 12.2.0 → 12.3.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/index.js CHANGED
@@ -75,7 +75,7 @@ const gotoPage = async (page, url, options) => {
75
75
  * @param {PageanConfig} config The Pagean test configuration.
76
76
  * @static
77
77
  */
78
- // eslint-disable-next-line sonarjs/cognitive-complexity -- Allow < 10
78
+ // eslint-disable-next-line complexity -- Allow low limit
79
79
  const executeAllTests = async (config) => {
80
80
  const logger = testLogger(config);
81
81
  const linkChecker = createLinkChecker();
package/lib/link-utils.js CHANGED
@@ -138,7 +138,7 @@ const checkExternalPageLinkBrowser = async (page, link) => {
138
138
  * @static
139
139
  * @private
140
140
  */
141
- // eslint-disable-next-line sonarjs/cognitive-complexity -- Allow less than 10
141
+ // eslint-disable-next-line complexity -- Allow low limit
142
142
  const checkExternalPageLink = async (page, link, useGet = false) => {
143
143
  if (link.startsWith('file:')) {
144
144
  return 'Cannot check "file:" URLs';
@@ -206,7 +206,7 @@ const createLinkChecker = () => {
206
206
  * @returns {Promise<(string|number)>} The link status (HTTP response code or error).
207
207
  * @public
208
208
  */
209
- // eslint-disable-next-line sonarjs/cognitive-complexity -- allow < 10
209
+ // eslint-disable-next-line complexity -- Allow low limit
210
210
  checkLink: async (context, link) => {
211
211
  let status = httpResponse.unknownError;
212
212
  try {
package/lib/test-utils.js CHANGED
@@ -37,7 +37,6 @@ const pageanTest = async (
37
37
  testFunction,
38
38
  testContext,
39
39
  testSettingProperty
40
- // eslint-disable-next-line sonarjs/cognitive-complexity -- Allow < 10
41
40
  ) => {
42
41
  const testSettings = getTestSettings(
43
42
  testSettingProperty,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pagean",
3
- "version": "12.2.0",
3
+ "version": "12.3.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": "^32.0.0",
56
+ "@aarongoldenthal/eslint-config-standard": "^33.0.0",
57
57
  "@aarongoldenthal/stylelint-config-standard": "^18.0.1",
58
- "@vitest/coverage-v8": "^2.1.3",
58
+ "@vitest/coverage-v8": "^2.1.4",
59
59
  "bin-tester": "^6.0.0",
60
- "eslint": "^9.13.0",
61
- "globals": "^15.11.0",
60
+ "eslint": "^9.14.0",
61
+ "globals": "^15.12.0",
62
62
  "markdownlint-cli2": "^0.14.0",
63
63
  "prettier": "^3.3.3",
64
64
  "strip-ansi": "^7.1.0",
65
65
  "stylelint": "^16.10.0",
66
- "vitest": "^2.1.3"
66
+ "vitest": "^2.1.4"
67
67
  },
68
68
  "dependencies": {
69
69
  "ajv": "^8.17.1",
@@ -77,7 +77,7 @@
77
77
  "kleur": "^4.1.5",
78
78
  "normalize-url": "^8.0.1",
79
79
  "protocolify": "^4.0.0",
80
- "puppeteer": "^23.6.0",
80
+ "puppeteer": "^23.7.1",
81
81
  "xml2js": "^0.6.2"
82
82
  }
83
83
  }