mediawiki/extensions/CentralNotice (main)

sourcepatches
From 89600968a2dd749dfc03141f3eb55e3d65751346 Mon Sep 17 00:00:00 2001
From: libraryupgrader <tools.libraryupgrader@tools.wmflabs.org>
Date: Sat, 13 Apr 2024 02:58:33 +0000
Subject: [PATCH] [DNM] there are no updates

Change-Id: I1f14cdf482479d5ee4a8b0e6d4fcd7c83a01335a
---
 package-lock.json | 36 ++++++++++++++++++++++++------------
 1 file changed, 24 insertions(+), 12 deletions(-)

diff --git a/package-lock.json b/package-lock.json
index a423c79..20ef169 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -9290,7 +9290,8 @@
 			"version": "2.5.0",
 			"resolved": "https://registry.npmjs.org/@csstools/css-parser-algorithms/-/css-parser-algorithms-2.5.0.tgz",
 			"integrity": "sha512-abypo6m9re3clXA00eu5syw+oaPHbJTPapu9C4pzNsJ4hdZDzushT50Zhu+iIYXgEe1CxnRMn7ngsbV+MLrlpQ==",
-			"dev": true
+			"dev": true,
+			"requires": {}
 		},
 		"@csstools/css-tokenizer": {
 			"version": "2.2.3",
@@ -9302,13 +9303,15 @@
 			"version": "2.1.7",
 			"resolved": "https://registry.npmjs.org/@csstools/media-query-list-parser/-/media-query-list-parser-2.1.7.tgz",
 			"integrity": "sha512-lHPKJDkPUECsyAvD60joYfDmp8UERYxHGkFfyLJFTVK/ERJe0sVlIFLXU5XFxdjNDTerp5L4KeaKG+Z5S94qxQ==",
-			"dev": true
+			"dev": true,
+			"requires": {}
 		},
 		"@csstools/selector-specificity": {
 			"version": "3.0.1",
 			"resolved": "https://registry.npmjs.org/@csstools/selector-specificity/-/selector-specificity-3.0.1.tgz",
 			"integrity": "sha512-NPljRHkq4a14YzZ3YD406uaxh7s0g6eAq3L9aLOWywoqe8PkYamAvtsh7KNX6c++ihDrJ0RiU+/z7rGnhlZ5ww==",
-			"dev": true
+			"dev": true,
+			"requires": {}
 		},
 		"@es-joy/jsdoccomment": {
 			"version": "0.37.1",
@@ -10039,7 +10042,8 @@
 			"version": "5.3.2",
 			"resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz",
 			"integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==",
-			"dev": true
+			"dev": true,
+			"requires": {}
 		},
 		"agent-base": {
 			"version": "6.0.2",
@@ -11475,7 +11479,8 @@
 			"version": "0.1.2",
 			"resolved": "https://registry.npmjs.org/eslint-compat-utils/-/eslint-compat-utils-0.1.2.tgz",
 			"integrity": "sha512-Jia4JDldWnFNIru1Ehx1H5s9/yxiRHY/TimCuUc0jNexew3cF1gI6CYZil1ociakfWO3rRqFjl1mskBblB3RYg==",
-			"dev": true
+			"dev": true,
+			"requires": {}
 		},
 		"eslint-config-wikimedia": {
 			"version": "0.26.0",
@@ -11675,7 +11680,8 @@
 			"version": "2.7.0",
 			"resolved": "https://registry.npmjs.org/eslint-plugin-no-jquery/-/eslint-plugin-no-jquery-2.7.0.tgz",
 			"integrity": "sha512-Aeg7dA6GTH1AcWLlBtWNzOU9efK5KpNi7b0EhBO0o0M+awyzguUUo8gF6hXGjQ9n5h8/uRtYv9zOqQkeC5CG0w==",
-			"dev": true
+			"dev": true,
+			"requires": {}
 		},
 		"eslint-plugin-qunit": {
 			"version": "7.3.4",
@@ -14242,7 +14248,8 @@
 			"version": "6.0.0",
 			"resolved": "https://registry.npmjs.org/postcss-less/-/postcss-less-6.0.0.tgz",
 			"integrity": "sha512-FPX16mQLyEjLzEuuJtxA8X3ejDLNGGEG503d2YGZR5Ask1SpDN8KmZUMpzCvyalWRywAn1n1VOA5dcqfCLo5rg==",
-			"dev": true
+			"dev": true,
+			"requires": {}
 		},
 		"postcss-media-query-parser": {
 			"version": "0.2.3",
@@ -14260,7 +14267,8 @@
 			"version": "6.0.0",
 			"resolved": "https://registry.npmjs.org/postcss-safe-parser/-/postcss-safe-parser-6.0.0.tgz",
 			"integrity": "sha512-FARHN8pwH+WiS2OPCxJI8FuRJpTVnn6ZNFiqAM2aeW2LwTHWWmWgIyKC6cUo0L8aeKiF/14MNvnpls6R2PBeMQ==",
-			"dev": true
+			"dev": true,
+			"requires": {}
 		},
 		"postcss-selector-parser": {
 			"version": "6.0.15",
@@ -15129,7 +15137,8 @@
 			"dev": true
 		},
 		"stylelint": {
-			"version": "https://registry.npmjs.org/stylelint/-/stylelint-15.11.0.tgz",
+			"version": "15.11.0",
+			"resolved": "https://registry.npmjs.org/stylelint/-/stylelint-15.11.0.tgz",
 			"integrity": "sha512-78O4c6IswZ9TzpcIiQJIN49K3qNoXTM8zEJzhaTE/xRTCZswaovSEVIa/uwbOltZrk16X4jAxjaOhzz/hTm1Kw==",
 			"dev": true,
 			"peer": true,
@@ -15223,7 +15232,8 @@
 			"version": "13.0.0",
 			"resolved": "https://registry.npmjs.org/stylelint-config-recommended/-/stylelint-config-recommended-13.0.0.tgz",
 			"integrity": "sha512-EH+yRj6h3GAe/fRiyaoO2F9l9Tgg50AOFhaszyfov9v6ayXJ1IkSHwTxd7lB48FmOeSGDPLjatjO11fJpmarkQ==",
-			"dev": true
+			"dev": true,
+			"requires": {}
 		},
 		"stylelint-config-wikimedia": {
 			"version": "0.16.1",
@@ -15591,7 +15601,8 @@
 			"dev": true
 		},
 		"typescript": {
-			"version": "https://registry.npmjs.org/typescript/-/typescript-5.3.3.tgz",
+			"version": "5.3.3",
+			"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.3.3.tgz",
 			"integrity": "sha512-pXWcraxM0uxAS+tN0AG/BF2TyqmHO014Z070UsJ+pFvYuRSq8KH8DmWpnbXe0pEPDHXZV3FcAbJkijJ5oNEnWw==",
 			"dev": true,
 			"peer": true
@@ -15863,7 +15874,8 @@
 			"version": "8.2.3",
 			"resolved": "https://registry.npmjs.org/ws/-/ws-8.2.3.tgz",
 			"integrity": "sha512-wBuoj1BDpC6ZQ1B7DWQBYVLphPWkm8i9Y0/3YdHjHKHiohOJ1ws+3OccDWtH+PoC9DZD5WOTrJvNbWvjS6JWaA==",
-			"dev": true
+			"dev": true,
+			"requires": {}
 		},
 		"xml-name-validator": {
 			"version": "4.0.0",
-- 
2.39.2

$ date
--- stdout ---
Sat Apr 13 02:57:48 UTC 2024

--- end ---
$ git clone file:///srv/git/mediawiki-extensions-CentralNotice.git repo --depth=1 -b master
--- stderr ---
Cloning into 'repo'...
--- stdout ---

--- end ---
$ git config user.name libraryupgrader
--- stdout ---

--- end ---
$ git config user.email tools.libraryupgrader@tools.wmflabs.org
--- stdout ---

--- end ---
$ git submodule update --init
--- stdout ---

--- end ---
$ grr init
--- stdout ---
Installed commit-msg hook.

--- end ---
$ git show-ref refs/heads/master
--- stdout ---
4968f825c150ea4a95e0e7784f6eb277550182cc refs/heads/master

--- end ---
$ /usr/bin/npm audit --json
--- stdout ---
{
  "auditReportVersion": 2,
  "vulnerabilities": {
    "mwbot": {
      "name": "mwbot",
      "severity": "moderate",
      "isDirect": false,
      "via": [
        "request"
      ],
      "effects": [
        "wdio-mediawiki"
      ],
      "range": ">=0.1.6",
      "nodes": [
        "node_modules/mwbot"
      ],
      "fixAvailable": false
    },
    "request": {
      "name": "request",
      "severity": "moderate",
      "isDirect": false,
      "via": [
        {
          "source": 1096727,
          "name": "request",
          "dependency": "request",
          "title": "Server-Side Request Forgery in Request",
          "url": "https://github.com/advisories/GHSA-p8p7-x288-28g6",
          "severity": "moderate",
          "cwe": [
            "CWE-918"
          ],
          "cvss": {
            "score": 6.1,
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
          },
          "range": "<=2.88.2"
        },
        "tough-cookie"
      ],
      "effects": [
        "mwbot"
      ],
      "range": "*",
      "nodes": [
        "node_modules/request"
      ],
      "fixAvailable": false
    },
    "tough-cookie": {
      "name": "tough-cookie",
      "severity": "moderate",
      "isDirect": false,
      "via": [
        {
          "source": 1096643,
          "name": "tough-cookie",
          "dependency": "tough-cookie",
          "title": "tough-cookie Prototype Pollution vulnerability",
          "url": "https://github.com/advisories/GHSA-72xf-g2v4-qvf3",
          "severity": "moderate",
          "cwe": [
            "CWE-1321"
          ],
          "cvss": {
            "score": 6.5,
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N"
          },
          "range": "<4.1.3"
        }
      ],
      "effects": [
        "request"
      ],
      "range": "<4.1.3",
      "nodes": [
        "node_modules/tough-cookie"
      ],
      "fixAvailable": false
    },
    "wdio-mediawiki": {
      "name": "wdio-mediawiki",
      "severity": "moderate",
      "isDirect": true,
      "via": [
        "mwbot"
      ],
      "effects": [],
      "range": "*",
      "nodes": [
        "node_modules/wdio-mediawiki"
      ],
      "fixAvailable": false
    }
  },
  "metadata": {
    "vulnerabilities": {
      "info": 0,
      "low": 0,
      "moderate": 4,
      "high": 0,
      "critical": 0,
      "total": 4
    },
    "dependencies": {
      "prod": 1,
      "dev": 786,
      "optional": 2,
      "peer": 8,
      "peerOptional": 0,
      "total": 786
    }
  }
}

--- end ---
$ /usr/bin/composer install
--- stderr ---
No composer.lock file present. Updating dependencies to latest instead of installing from lock file. See https://getcomposer.org/install for more information.
Loading composer repositories with package information
Updating dependencies
Lock file operations: 39 installs, 0 updates, 0 removals
  - Locking composer/pcre (3.1.3)
  - Locking composer/semver (3.4.0)
  - Locking composer/spdx-licenses (1.5.8)
  - Locking composer/xdebug-handler (3.0.4)
  - Locking dealerdirect/phpcodesniffer-composer-installer (v1.0.0)
  - Locking doctrine/deprecations (1.1.3)
  - Locking felixfbecker/advanced-json-rpc (v3.2.1)
  - Locking mediawiki/mediawiki-codesniffer (v43.0.0)
  - Locking mediawiki/mediawiki-phan-config (0.14.0)
  - Locking mediawiki/minus-x (1.1.1)
  - Locking mediawiki/phan-taint-check-plugin (6.0.0)
  - Locking microsoft/tolerant-php-parser (v0.1.2)
  - Locking netresearch/jsonmapper (v4.4.1)
  - Locking phan/phan (5.4.3)
  - Locking php-parallel-lint/php-console-color (v1.0.1)
  - Locking php-parallel-lint/php-console-highlighter (v1.0.0)
  - Locking php-parallel-lint/php-parallel-lint (v1.3.2)
  - Locking phpcsstandards/phpcsextra (1.1.2)
  - Locking phpcsstandards/phpcsutils (1.0.9)
  - Locking phpdocumentor/reflection-common (2.2.0)
  - Locking phpdocumentor/reflection-docblock (5.4.0)
  - Locking phpdocumentor/type-resolver (1.8.2)
  - Locking phpstan/phpdoc-parser (1.28.0)
  - Locking psr/container (2.0.2)
  - Locking psr/log (2.0.0)
  - Locking sabre/event (5.1.4)
  - Locking squizlabs/php_codesniffer (3.8.1)
  - Locking symfony/console (v5.4.36)
  - Locking symfony/deprecation-contracts (v3.4.0)
  - Locking symfony/polyfill-ctype (v1.29.0)
  - Locking symfony/polyfill-intl-grapheme (v1.29.0)
  - Locking symfony/polyfill-intl-normalizer (v1.29.0)
  - Locking symfony/polyfill-mbstring (v1.29.0)
  - Locking symfony/polyfill-php73 (v1.29.0)
  - Locking symfony/polyfill-php80 (v1.29.0)
  - Locking symfony/service-contracts (v3.4.2)
  - Locking symfony/string (v6.4.4)
  - Locking tysonandre/var_representation_polyfill (0.1.3)
  - Locking webmozart/assert (1.11.0)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 39 installs, 0 updates, 0 removals
    0 [>---------------------------]    0 [->--------------------------]
  - Installing squizlabs/php_codesniffer (3.8.1): Extracting archive
  - Installing dealerdirect/phpcodesniffer-composer-installer (v1.0.0): Extracting archive
  - Installing composer/pcre (3.1.3): Extracting archive
  - Installing symfony/polyfill-php80 (v1.29.0): Extracting archive
  - Installing phpcsstandards/phpcsutils (1.0.9): Extracting archive
  - Installing phpcsstandards/phpcsextra (1.1.2): Extracting archive
  - Installing symfony/polyfill-mbstring (v1.29.0): Extracting archive
  - Installing composer/spdx-licenses (1.5.8): Extracting archive
  - Installing composer/semver (3.4.0): Extracting archive
  - Installing mediawiki/mediawiki-codesniffer (v43.0.0): Extracting archive
  - Installing tysonandre/var_representation_polyfill (0.1.3): Extracting archive
  - Installing symfony/polyfill-intl-normalizer (v1.29.0): Extracting archive
  - Installing symfony/polyfill-intl-grapheme (v1.29.0): Extracting archive
  - Installing symfony/polyfill-ctype (v1.29.0): Extracting archive
  - Installing symfony/string (v6.4.4): Extracting archive
  - Installing psr/container (2.0.2): Extracting archive
  - Installing symfony/service-contracts (v3.4.2): Extracting archive
  - Installing symfony/polyfill-php73 (v1.29.0): Extracting archive
  - Installing symfony/deprecation-contracts (v3.4.0): Extracting archive
  - Installing symfony/console (v5.4.36): Extracting archive
  - Installing sabre/event (5.1.4): Extracting archive
  - Installing netresearch/jsonmapper (v4.4.1): Extracting archive
  - Installing microsoft/tolerant-php-parser (v0.1.2): Extracting archive
  - Installing webmozart/assert (1.11.0): Extracting archive
  - Installing phpstan/phpdoc-parser (1.28.0): Extracting archive
  - Installing phpdocumentor/reflection-common (2.2.0): Extracting archive
  - Installing doctrine/deprecations (1.1.3): Extracting archive
  - Installing phpdocumentor/type-resolver (1.8.2): Extracting archive
  - Installing phpdocumentor/reflection-docblock (5.4.0): Extracting archive
  - Installing felixfbecker/advanced-json-rpc (v3.2.1): Extracting archive
  - Installing psr/log (2.0.0): Extracting archive
  - Installing composer/xdebug-handler (3.0.4): Extracting archive
  - Installing phan/phan (5.4.3): Extracting archive
  - Installing mediawiki/phan-taint-check-plugin (6.0.0): Extracting archive
  - Installing mediawiki/mediawiki-phan-config (0.14.0): Extracting archive
  - Installing mediawiki/minus-x (1.1.1): Extracting archive
  - Installing php-parallel-lint/php-console-color (v1.0.1): Extracting archive
  - Installing php-parallel-lint/php-console-highlighter (v1.0.0): Extracting archive
  - Installing php-parallel-lint/php-parallel-lint (v1.3.2): Extracting archive
  0/37 [>---------------------------]   0%
 23/37 [=================>----------]  62%
 36/37 [===========================>]  97%
 37/37 [============================] 100%
3 package suggestions were added by new dependencies, use `composer suggest` to see details.
Generating autoload files
16 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
--- stdout ---
PHP CodeSniffer Config installed_paths set to ../../mediawiki/mediawiki-codesniffer,../../phpcsstandards/phpcsextra,../../phpcsstandards/phpcsutils

--- end ---
$ /usr/bin/npm audit --json
--- stdout ---
{
  "auditReportVersion": 2,
  "vulnerabilities": {
    "mwbot": {
      "name": "mwbot",
      "severity": "moderate",
      "isDirect": false,
      "via": [
        "request"
      ],
      "effects": [
        "wdio-mediawiki"
      ],
      "range": ">=0.1.6",
      "nodes": [
        "node_modules/mwbot"
      ],
      "fixAvailable": false
    },
    "request": {
      "name": "request",
      "severity": "moderate",
      "isDirect": false,
      "via": [
        {
          "source": 1096727,
          "name": "request",
          "dependency": "request",
          "title": "Server-Side Request Forgery in Request",
          "url": "https://github.com/advisories/GHSA-p8p7-x288-28g6",
          "severity": "moderate",
          "cwe": [
            "CWE-918"
          ],
          "cvss": {
            "score": 6.1,
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
          },
          "range": "<=2.88.2"
        },
        "tough-cookie"
      ],
      "effects": [
        "mwbot"
      ],
      "range": "*",
      "nodes": [
        "node_modules/request"
      ],
      "fixAvailable": false
    },
    "tough-cookie": {
      "name": "tough-cookie",
      "severity": "moderate",
      "isDirect": false,
      "via": [
        {
          "source": 1096643,
          "name": "tough-cookie",
          "dependency": "tough-cookie",
          "title": "tough-cookie Prototype Pollution vulnerability",
          "url": "https://github.com/advisories/GHSA-72xf-g2v4-qvf3",
          "severity": "moderate",
          "cwe": [
            "CWE-1321"
          ],
          "cvss": {
            "score": 6.5,
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N"
          },
          "range": "<4.1.3"
        }
      ],
      "effects": [
        "request"
      ],
      "range": "<4.1.3",
      "nodes": [
        "node_modules/tough-cookie"
      ],
      "fixAvailable": false
    },
    "wdio-mediawiki": {
      "name": "wdio-mediawiki",
      "severity": "moderate",
      "isDirect": true,
      "via": [
        "mwbot"
      ],
      "effects": [],
      "range": "*",
      "nodes": [
        "node_modules/wdio-mediawiki"
      ],
      "fixAvailable": false
    }
  },
  "metadata": {
    "vulnerabilities": {
      "info": 0,
      "low": 0,
      "moderate": 4,
      "high": 0,
      "critical": 0,
      "total": 4
    },
    "dependencies": {
      "prod": 1,
      "dev": 786,
      "optional": 2,
      "peer": 8,
      "peerOptional": 0,
      "total": 786
    }
  }
}

--- end ---
Attempting to npm audit fix
$ /usr/bin/npm audit fix --dry-run --only=dev --json
--- stderr ---
npm WARN invalid config only="dev" set in command line options
npm WARN invalid config Must be one of: null, prod, production
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: 'wdio-mediawiki@2.5.0',
npm WARN EBADENGINE   required: { node: '>=18.17.0', npm: '>=9.6.7' },
npm WARN EBADENGINE   current: { node: 'v18.19.0', npm: '9.2.0' }
npm WARN EBADENGINE }
--- stdout ---
{
  "added": 786,
  "removed": 0,
  "changed": 0,
  "audited": 787,
  "funding": 127,
  "audit": {
    "auditReportVersion": 2,
    "vulnerabilities": {
      "mwbot": {
        "name": "mwbot",
        "severity": "moderate",
        "isDirect": false,
        "via": [
          "request"
        ],
        "effects": [
          "wdio-mediawiki"
        ],
        "range": ">=0.1.6",
        "nodes": [
          "node_modules/mwbot"
        ],
        "fixAvailable": false
      },
      "request": {
        "name": "request",
        "severity": "moderate",
        "isDirect": false,
        "via": [
          {
            "source": 1096727,
            "name": "request",
            "dependency": "request",
            "title": "Server-Side Request Forgery in Request",
            "url": "https://github.com/advisories/GHSA-p8p7-x288-28g6",
            "severity": "moderate",
            "cwe": [
              "CWE-918"
            ],
            "cvss": {
              "score": 6.1,
              "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
            },
            "range": "<=2.88.2"
          },
          "tough-cookie"
        ],
        "effects": [
          "mwbot"
        ],
        "range": "*",
        "nodes": [
          "node_modules/request"
        ],
        "fixAvailable": false
      },
      "tough-cookie": {
        "name": "tough-cookie",
        "severity": "moderate",
        "isDirect": false,
        "via": [
          {
            "source": 1096643,
            "name": "tough-cookie",
            "dependency": "tough-cookie",
            "title": "tough-cookie Prototype Pollution vulnerability",
            "url": "https://github.com/advisories/GHSA-72xf-g2v4-qvf3",
            "severity": "moderate",
            "cwe": [
              "CWE-1321"
            ],
            "cvss": {
              "score": 6.5,
              "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N"
            },
            "range": "<4.1.3"
          }
        ],
        "effects": [
          "request"
        ],
        "range": "<4.1.3",
        "nodes": [
          "node_modules/tough-cookie"
        ],
        "fixAvailable": false
      },
      "wdio-mediawiki": {
        "name": "wdio-mediawiki",
        "severity": "moderate",
        "isDirect": true,
        "via": [
          "mwbot"
        ],
        "effects": [],
        "range": "*",
        "nodes": [
          "node_modules/wdio-mediawiki"
        ],
        "fixAvailable": false
      }
    },
    "metadata": {
      "vulnerabilities": {
        "info": 0,
        "low": 0,
        "moderate": 4,
        "high": 0,
        "critical": 0,
        "total": 4
      },
      "dependencies": {
        "prod": 1,
        "dev": 786,
        "optional": 2,
        "peer": 8,
        "peerOptional": 0,
        "total": 786
      }
    }
  }
}

--- end ---
{"added": 786, "removed": 0, "changed": 0, "audited": 787, "funding": 127, "audit": {"auditReportVersion": 2, "vulnerabilities": {"mwbot": {"name": "mwbot", "severity": "moderate", "isDirect": false, "via": ["request"], "effects": ["wdio-mediawiki"], "range": ">=0.1.6", "nodes": ["node_modules/mwbot"], "fixAvailable": false}, "request": {"name": "request", "severity": "moderate", "isDirect": false, "via": [{"source": 1096727, "name": "request", "dependency": "request", "title": "Server-Side Request Forgery in Request", "url": "https://github.com/advisories/GHSA-p8p7-x288-28g6", "severity": "moderate", "cwe": ["CWE-918"], "cvss": {"score": 6.1, "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"}, "range": "<=2.88.2"}, "tough-cookie"], "effects": ["mwbot"], "range": "*", "nodes": ["node_modules/request"], "fixAvailable": false}, "tough-cookie": {"name": "tough-cookie", "severity": "moderate", "isDirect": false, "via": [{"source": 1096643, "name": "tough-cookie", "dependency": "tough-cookie", "title": "tough-cookie Prototype Pollution vulnerability", "url": "https://github.com/advisories/GHSA-72xf-g2v4-qvf3", "severity": "moderate", "cwe": ["CWE-1321"], "cvss": {"score": 6.5, "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N"}, "range": "<4.1.3"}], "effects": ["request"], "range": "<4.1.3", "nodes": ["node_modules/tough-cookie"], "fixAvailable": false}, "wdio-mediawiki": {"name": "wdio-mediawiki", "severity": "moderate", "isDirect": true, "via": ["mwbot"], "effects": [], "range": "*", "nodes": ["node_modules/wdio-mediawiki"], "fixAvailable": false}}, "metadata": {"vulnerabilities": {"info": 0, "low": 0, "moderate": 4, "high": 0, "critical": 0, "total": 4}, "dependencies": {"prod": 1, "dev": 786, "optional": 2, "peer": 8, "peerOptional": 0, "total": 786}}}}
$ /usr/bin/npm audit fix --only=dev
--- stderr ---
npm WARN invalid config only="dev" set in command line options
npm WARN invalid config Must be one of: null, prod, production
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: 'wdio-mediawiki@2.5.0',
npm WARN EBADENGINE   required: { node: '>=18.17.0', npm: '>=9.6.7' },
npm WARN EBADENGINE   current: { node: 'v18.19.0', npm: '9.2.0' }
npm WARN EBADENGINE }
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
npm WARN deprecated uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated stylelint-stylistic@0.4.3: This package has been deprecated in favor of @stylistic/stylelint-plugin
--- stdout ---

added 785 packages, and audited 786 packages in 7s

127 packages are looking for funding
  run `npm fund` for details

# npm audit report

request  *
Severity: moderate
Server-Side Request Forgery in Request - https://github.com/advisories/GHSA-p8p7-x288-28g6
Depends on vulnerable versions of tough-cookie
No fix available
node_modules/request
  mwbot  >=0.1.6
  Depends on vulnerable versions of request
  node_modules/mwbot
    wdio-mediawiki  *
    Depends on vulnerable versions of mwbot
    node_modules/wdio-mediawiki

tough-cookie  <4.1.3
Severity: moderate
tough-cookie Prototype Pollution vulnerability - https://github.com/advisories/GHSA-72xf-g2v4-qvf3
No fix available
node_modules/tough-cookie

4 moderate severity vulnerabilities

Some issues need review, and may require choosing
a different dependency.

--- end ---
$ package-lock-lint package-lock.json
--- stdout ---
Checking package-lock.json

--- end ---
Verifying that tests still pass
$ /usr/bin/npm ci
--- stderr ---
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: 'wdio-mediawiki@2.5.0',
npm WARN EBADENGINE   required: { node: '>=18.17.0', npm: '>=9.6.7' },
npm WARN EBADENGINE   current: { node: 'v18.19.0', npm: '9.2.0' }
npm WARN EBADENGINE }
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
npm WARN deprecated uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated stylelint-stylistic@0.4.3: This package has been deprecated in favor of @stylistic/stylelint-plugin
--- stdout ---

added 785 packages, and audited 786 packages in 8s

127 packages are looking for funding
  run `npm fund` for details

4 moderate severity vulnerabilities

Some issues need review, and may require choosing
a different dependency.

Run `npm audit` for details.

--- end ---
$ /usr/bin/npm test
--- stdout ---

> test
> grunt test

Running "eslint:all" (eslint) task

/src/repo/resources/ext.centralNotice.display/bucketer.js
  47:2  warning  Missing JSDoc @return declaration  jsdoc/require-returns
  50:1  warning  Missing JSDoc @param "name" type   jsdoc/require-param-type
  58:2  warning  Missing JSDoc @return declaration  jsdoc/require-returns
  61:1  warning  Missing JSDoc @param "name" type   jsdoc/require-param-type

/src/repo/resources/ext.centralNotice.display/chooser.js
   23:1  warning  Missing JSDoc @param "availableCampaigns" type  jsdoc/require-param-type
  135:2  warning  Missing JSDoc @return declaration               jsdoc/require-returns
  144:1  warning  Missing JSDoc @param "campaign" type            jsdoc/require-param-type
  145:1  warning  Missing JSDoc @param "bucket" type              jsdoc/require-param-type
  146:1  warning  Missing JSDoc @param "anon" type                jsdoc/require-param-type
  147:1  warning  Missing JSDoc @param "device" type              jsdoc/require-param-type
  189:1  warning  Missing JSDoc @param "possibleBanners" type     jsdoc/require-param-type
  268:1  warning  Missing JSDoc @param "choiceData" type          jsdoc/require-param-type
  269:1  warning  Missing JSDoc @param "country" type             jsdoc/require-param-type
  270:1  warning  Missing JSDoc @param "region" type              jsdoc/require-param-type
  271:1  warning  Missing JSDoc @param "anon" type                jsdoc/require-param-type
  272:1  warning  Missing JSDoc @param "device" type              jsdoc/require-param-type
  355:3  warning  Missing JSDoc @return declaration               jsdoc/require-returns
  360:1  warning  Missing JSDoc @param "choiceData" type          jsdoc/require-param-type

/src/repo/resources/ext.centralNotice.display/index.js
   60:1  warning  Missing JSDoc @param "name" type         jsdoc/require-param-type
   73:1  warning  Missing JSDoc @param "handlerFunc" type  jsdoc/require-param-type
   83:1  warning  Missing JSDoc @param "handlerFunc" type  jsdoc/require-param-type
   94:1  warning  Missing JSDoc @param "handlerFunc" type  jsdoc/require-param-type
  106:1  warning  Missing JSDoc @param "campaign" type     jsdoc/require-param-type
  559:1  warning  Missing JSDoc @param "iteration" type    jsdoc/require-param-type
  628:1  warning  Missing JSDoc @param "bannerJson" type   jsdoc/require-param-type
  727:1  warning  Missing JSDoc @param "reason" type       jsdoc/require-param-type
  737:3  warning  Missing JSDoc @return declaration        jsdoc/require-returns
  752:1  warning  Missing JSDoc @param "reason" type       jsdoc/require-param-type
  764:1  warning  Missing JSDoc @param "rate" type         jsdoc/require-param-type
  776:1  warning  Missing JSDoc @param "rate" type         jsdoc/require-param-type
  888:1  warning  Missing JSDoc @param "bucket" type       jsdoc/require-param-type
  949:3  warning  Missing JSDoc @return declaration        jsdoc/require-returns
  953:1  warning  Missing JSDoc @param "prop" type         jsdoc/require-param-type

/src/repo/resources/ext.centralNotice.display/state.js
  120:2  warning  Missing JSDoc @return declaration                      jsdoc/require-returns
  308:1  warning  Missing JSDoc @param "geo" type                        jsdoc/require-param-type
  342:3  warning  Missing JSDoc @return declaration                      jsdoc/require-returns
  352:3  warning  Missing JSDoc @return declaration                      jsdoc/require-returns
  387:1  warning  Missing JSDoc @param "availableCampaigns" type         jsdoc/require-param-type
  417:1  warning  This line has a length of 101. Maximum allowed is 100  max-len
  454:3  warning  Missing JSDoc @return declaration                      jsdoc/require-returns
  493:1  warning  Missing JSDoc @param "reason" type                     jsdoc/require-param-type
  504:3  warning  Missing JSDoc @return declaration                      jsdoc/require-returns
  555:1  warning  Missing JSDoc @param "bannerCount" type                jsdoc/require-param-type
  565:1  warning  Missing JSDoc @param "rate" type                       jsdoc/require-param-type
  578:1  warning  Missing JSDoc @param "rate" type                       jsdoc/require-param-type

/src/repo/resources/ext.centralNotice.kvStore/kvStore.js
   51:2  warning  Missing JSDoc @return declaration  jsdoc/require-returns
   68:2  warning  Missing JSDoc @return declaration  jsdoc/require-returns
  397:3  warning  Missing JSDoc @return declaration  jsdoc/require-returns
  462:3  warning  Missing JSDoc @return declaration  jsdoc/require-returns

/src/repo/resources/ext.centralNotice.startUp/kvStoreMaintenance.js
  53:1  warning  Missing JSDoc @param "queue" type  jsdoc/require-param-type

/src/repo/resources/infrastructure/bannermanager.js
  253:3  warning  Missing JSDoc @return declaration           jsdoc/require-returns
  257:1  warning  Missing JSDoc @param "e" type               jsdoc/require-param-type
  266:3  warning  Missing JSDoc @return declaration           jsdoc/require-returns
  271:1  warning  Missing JSDoc @param "$origFilterStr" type  jsdoc/require-param-type

/src/repo/resources/infrastructure/ext.centralNotice.adminUi.bannerSequence.js
   545:2  warning  Missing JSDoc @return declaration       jsdoc/require-returns
   552:2  warning  Missing JSDoc @return declaration       jsdoc/require-returns
   563:2  warning  Missing JSDoc @return declaration       jsdoc/require-returns
   570:2  warning  Missing JSDoc @return declaration       jsdoc/require-returns
   577:2  warning  Missing JSDoc @return declaration       jsdoc/require-returns
   615:1  warning  Missing JSDoc @param "seq" type         jsdoc/require-param-type
   641:1  warning  Missing JSDoc @param "step" type        jsdoc/require-param-type
   696:2  warning  Missing JSDoc @return declaration       jsdoc/require-returns
   697:1  warning  Missing JSDoc @param "n" type           jsdoc/require-param-type
   742:1  warning  Missing JSDoc @param "controller" type  jsdoc/require-param-type
   743:1  warning  Missing JSDoc @param "model" type       jsdoc/require-param-type
   901:1  warning  Missing JSDoc @param "bucket" type      jsdoc/require-param-type
   902:1  warning  Missing JSDoc @param "stepNum" type     jsdoc/require-param-type
   927:1  warning  Missing JSDoc @param "bucket" type      jsdoc/require-param-type
   928:1  warning  Missing JSDoc @param "banners" type     jsdoc/require-param-type
   941:1  warning  Missing JSDoc @param "bucket" type      jsdoc/require-param-type
   953:1  warning  Missing JSDoc @param "controller" type  jsdoc/require-param-type
   954:1  warning  Missing JSDoc @param "model" type       jsdoc/require-param-type
   955:1  warning  Missing JSDoc @param "config" type      jsdoc/require-param-type
  1061:1  warning  Missing JSDoc @param "stepModel" type   jsdoc/require-param-type
  1062:1  warning  Missing JSDoc @param "index" type       jsdoc/require-param-type
  1140:1  warning  Missing JSDoc @param "banners" type     jsdoc/require-param-type
  1197:1  warning  Missing JSDoc @param "controller" type  jsdoc/require-param-type
  1198:1  warning  Missing JSDoc @param "model" type       jsdoc/require-param-type
  1199:1  warning  Missing JSDoc @param "bucket" type      jsdoc/require-param-type
  1200:1  warning  Missing JSDoc @param "config" type      jsdoc/require-param-type
  1527:2  warning  Missing JSDoc @return declaration       jsdoc/require-returns
  1528:1  warning  Missing JSDoc @param "banners" type     jsdoc/require-param-type

/src/repo/resources/infrastructure/ext.centralNotice.adminUi.campaignPager.js
  13:1  warning  Missing JSDoc @param "campaignName" type  jsdoc/require-param-type
  14:1  warning  Missing JSDoc @param "property" type      jsdoc/require-param-type
  15:1  warning  Missing JSDoc @param "value" type         jsdoc/require-param-type
  16:1  warning  Missing JSDoc @param "initialValue" type  jsdoc/require-param-type

/src/repo/resources/subscribing/ext.centralNotice.bannerHistoryLogger.js
  227:1  warning  Missing JSDoc @param "elData" type  jsdoc/require-param-type
  234:2  warning  Missing JSDoc @return declaration   jsdoc/require-returns
  238:1  warning  Missing JSDoc @param "elData" type  jsdoc/require-param-type

/src/repo/resources/subscribing/ext.centralNotice.geoIP.js
  125:28  warning  Found non-literal argument in require  security/detect-non-literal-require

/src/repo/tests/qunit/ext.centralNotice.display/chooser.tests.js
   39:2  warning  Missing JSDoc @return declaration             jsdoc/require-returns
   43:1  warning  Missing JSDoc @param "contextAndOutput" type  jsdoc/require-param-type
   44:1  warning  Missing JSDoc @param "bucket" type            jsdoc/require-param-type
  205:1  warning  Missing JSDoc @param "choices" type           jsdoc/require-param-type

/src/repo/tests/qunit/ext.centralNotice.display/index.tests.js
    9:20  warning  navigator.sendBeacon() is not supported in Safari 11, iOS Safari 11.0-11.2  compat/compat
  364:4   warning  navigator.sendBeacon() is not supported in Safari 11, iOS Safari 11.0-11.2  compat/compat
  392:1   warning  Missing JSDoc @param "campaignsData" type                                   jsdoc/require-param-type
  409:3   warning  navigator.sendBeacon() is not supported in Safari 11, iOS Safari 11.0-11.2  compat/compat
  430:3   warning  navigator.sendBeacon() is not supported in Safari 11, iOS Safari 11.0-11.2  compat/compat
  452:3   warning  navigator.sendBeacon() is not supported in Safari 11, iOS Safari 11.0-11.2  compat/compat
  488:3   warning  navigator.sendBeacon() is not supported in Safari 11, iOS Safari 11.0-11.2  compat/compat
  533:3   warning  navigator.sendBeacon() is not supported in Safari 11, iOS Safari 11.0-11.2  compat/compat
  537:4   warning  navigator.sendBeacon() is not supported in Safari 11, iOS Safari 11.0-11.2  compat/compat
  800:3   warning  navigator.sendBeacon() is not supported in Safari 11, iOS Safari 11.0-11.2  compat/compat
  900:3   warning  navigator.sendBeacon() is not supported in Safari 11, iOS Safari 11.0-11.2  compat/compat

✖ 105 problems (0 errors, 105 warnings)


Running "banana:CentralNotice" (banana) task
>> 2 message directories checked.

Running "stylelint:all" (stylelint) task
>> Linted 7 files without errors

Done.

--- end ---
$ package-lock-lint package-lock.json
--- stdout ---
Checking package-lock.json

--- end ---
[DNM] there are no updates
$ git add .
--- stdout ---

--- end ---
$ git commit -F /tmp/tmpgl4jtj63
--- stdout ---
[master 8960096] [DNM] there are no updates
 1 file changed, 24 insertions(+), 12 deletions(-)

--- end ---
$ git format-patch HEAD~1 --stdout
--- stdout ---
From 89600968a2dd749dfc03141f3eb55e3d65751346 Mon Sep 17 00:00:00 2001
From: libraryupgrader <tools.libraryupgrader@tools.wmflabs.org>
Date: Sat, 13 Apr 2024 02:58:33 +0000
Subject: [PATCH] [DNM] there are no updates

Change-Id: I1f14cdf482479d5ee4a8b0e6d4fcd7c83a01335a
---
 package-lock.json | 36 ++++++++++++++++++++++++------------
 1 file changed, 24 insertions(+), 12 deletions(-)

diff --git a/package-lock.json b/package-lock.json
index a423c79..20ef169 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -9290,7 +9290,8 @@
 			"version": "2.5.0",
 			"resolved": "https://registry.npmjs.org/@csstools/css-parser-algorithms/-/css-parser-algorithms-2.5.0.tgz",
 			"integrity": "sha512-abypo6m9re3clXA00eu5syw+oaPHbJTPapu9C4pzNsJ4hdZDzushT50Zhu+iIYXgEe1CxnRMn7ngsbV+MLrlpQ==",
-			"dev": true
+			"dev": true,
+			"requires": {}
 		},
 		"@csstools/css-tokenizer": {
 			"version": "2.2.3",
@@ -9302,13 +9303,15 @@
 			"version": "2.1.7",
 			"resolved": "https://registry.npmjs.org/@csstools/media-query-list-parser/-/media-query-list-parser-2.1.7.tgz",
 			"integrity": "sha512-lHPKJDkPUECsyAvD60joYfDmp8UERYxHGkFfyLJFTVK/ERJe0sVlIFLXU5XFxdjNDTerp5L4KeaKG+Z5S94qxQ==",
-			"dev": true
+			"dev": true,
+			"requires": {}
 		},
 		"@csstools/selector-specificity": {
 			"version": "3.0.1",
 			"resolved": "https://registry.npmjs.org/@csstools/selector-specificity/-/selector-specificity-3.0.1.tgz",
 			"integrity": "sha512-NPljRHkq4a14YzZ3YD406uaxh7s0g6eAq3L9aLOWywoqe8PkYamAvtsh7KNX6c++ihDrJ0RiU+/z7rGnhlZ5ww==",
-			"dev": true
+			"dev": true,
+			"requires": {}
 		},
 		"@es-joy/jsdoccomment": {
 			"version": "0.37.1",
@@ -10039,7 +10042,8 @@
 			"version": "5.3.2",
 			"resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz",
 			"integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==",
-			"dev": true
+			"dev": true,
+			"requires": {}
 		},
 		"agent-base": {
 			"version": "6.0.2",
@@ -11475,7 +11479,8 @@
 			"version": "0.1.2",
 			"resolved": "https://registry.npmjs.org/eslint-compat-utils/-/eslint-compat-utils-0.1.2.tgz",
 			"integrity": "sha512-Jia4JDldWnFNIru1Ehx1H5s9/yxiRHY/TimCuUc0jNexew3cF1gI6CYZil1ociakfWO3rRqFjl1mskBblB3RYg==",
-			"dev": true
+			"dev": true,
+			"requires": {}
 		},
 		"eslint-config-wikimedia": {
 			"version": "0.26.0",
@@ -11675,7 +11680,8 @@
 			"version": "2.7.0",
 			"resolved": "https://registry.npmjs.org/eslint-plugin-no-jquery/-/eslint-plugin-no-jquery-2.7.0.tgz",
 			"integrity": "sha512-Aeg7dA6GTH1AcWLlBtWNzOU9efK5KpNi7b0EhBO0o0M+awyzguUUo8gF6hXGjQ9n5h8/uRtYv9zOqQkeC5CG0w==",
-			"dev": true
+			"dev": true,
+			"requires": {}
 		},
 		"eslint-plugin-qunit": {
 			"version": "7.3.4",
@@ -14242,7 +14248,8 @@
 			"version": "6.0.0",
 			"resolved": "https://registry.npmjs.org/postcss-less/-/postcss-less-6.0.0.tgz",
 			"integrity": "sha512-FPX16mQLyEjLzEuuJtxA8X3ejDLNGGEG503d2YGZR5Ask1SpDN8KmZUMpzCvyalWRywAn1n1VOA5dcqfCLo5rg==",
-			"dev": true
+			"dev": true,
+			"requires": {}
 		},
 		"postcss-media-query-parser": {
 			"version": "0.2.3",
@@ -14260,7 +14267,8 @@
 			"version": "6.0.0",
 			"resolved": "https://registry.npmjs.org/postcss-safe-parser/-/postcss-safe-parser-6.0.0.tgz",
 			"integrity": "sha512-FARHN8pwH+WiS2OPCxJI8FuRJpTVnn6ZNFiqAM2aeW2LwTHWWmWgIyKC6cUo0L8aeKiF/14MNvnpls6R2PBeMQ==",
-			"dev": true
+			"dev": true,
+			"requires": {}
 		},
 		"postcss-selector-parser": {
 			"version": "6.0.15",
@@ -15129,7 +15137,8 @@
 			"dev": true
 		},
 		"stylelint": {
-			"version": "https://registry.npmjs.org/stylelint/-/stylelint-15.11.0.tgz",
+			"version": "15.11.0",
+			"resolved": "https://registry.npmjs.org/stylelint/-/stylelint-15.11.0.tgz",
 			"integrity": "sha512-78O4c6IswZ9TzpcIiQJIN49K3qNoXTM8zEJzhaTE/xRTCZswaovSEVIa/uwbOltZrk16X4jAxjaOhzz/hTm1Kw==",
 			"dev": true,
 			"peer": true,
@@ -15223,7 +15232,8 @@
 			"version": "13.0.0",
 			"resolved": "https://registry.npmjs.org/stylelint-config-recommended/-/stylelint-config-recommended-13.0.0.tgz",
 			"integrity": "sha512-EH+yRj6h3GAe/fRiyaoO2F9l9Tgg50AOFhaszyfov9v6ayXJ1IkSHwTxd7lB48FmOeSGDPLjatjO11fJpmarkQ==",
-			"dev": true
+			"dev": true,
+			"requires": {}
 		},
 		"stylelint-config-wikimedia": {
 			"version": "0.16.1",
@@ -15591,7 +15601,8 @@
 			"dev": true
 		},
 		"typescript": {
-			"version": "https://registry.npmjs.org/typescript/-/typescript-5.3.3.tgz",
+			"version": "5.3.3",
+			"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.3.3.tgz",
 			"integrity": "sha512-pXWcraxM0uxAS+tN0AG/BF2TyqmHO014Z070UsJ+pFvYuRSq8KH8DmWpnbXe0pEPDHXZV3FcAbJkijJ5oNEnWw==",
 			"dev": true,
 			"peer": true
@@ -15863,7 +15874,8 @@
 			"version": "8.2.3",
 			"resolved": "https://registry.npmjs.org/ws/-/ws-8.2.3.tgz",
 			"integrity": "sha512-wBuoj1BDpC6ZQ1B7DWQBYVLphPWkm8i9Y0/3YdHjHKHiohOJ1ws+3OccDWtH+PoC9DZD5WOTrJvNbWvjS6JWaA==",
-			"dev": true
+			"dev": true,
+			"requires": {}
 		},
 		"xml-name-validator": {
 			"version": "4.0.0",
-- 
2.39.2


--- end ---

composer dependencies

Development dependencies

npm dependencies

Development dependencies

Logs

Source code is licensed under the AGPL.