mediawiki/extensions/PageForms: REL1_42 (log #1941670)

sourcepatches

This run took 37 seconds.

From 6d127a68479ab39bbbcb63dfa37d0ae57c65a450 Mon Sep 17 00:00:00 2001
From: libraryupgrader <tools.libraryupgrader@tools.wmflabs.org>
Date: Fri, 13 Jun 2025 00:17:53 +0000
Subject: [PATCH] build: Updating brace-expansion to 1.1.12

* https://github.com/advisories/GHSA-v6h2-p8h4-qcjw

Change-Id: I3f6a27b9e3a482886093a8b4de362645dbacefc9
---
 package-lock.json | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/package-lock.json b/package-lock.json
index e66fa4a..31fd7b4 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -384,9 +384,9 @@
 			"dev": true
 		},
 		"node_modules/brace-expansion": {
-			"version": "1.1.11",
-			"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",
-			"integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==",
+			"version": "1.1.12",
+			"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.12.tgz",
+			"integrity": "sha512-9T9UjW3r0UW5c1Q7GTwllptXwhvYmEzFhzMfZ9H7FQWt+uZePjZPjBP/W1ZEyZ1twGWom5/56TF4lPcqjnDHcg==",
 			"dev": true,
 			"dependencies": {
 				"balanced-match": "^1.0.0",
@@ -3594,9 +3594,9 @@
 			"dev": true
 		},
 		"brace-expansion": {
-			"version": "1.1.11",
-			"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",
-			"integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==",
+			"version": "1.1.12",
+			"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.12.tgz",
+			"integrity": "sha512-9T9UjW3r0UW5c1Q7GTwllptXwhvYmEzFhzMfZ9H7FQWt+uZePjZPjBP/W1ZEyZ1twGWom5/56TF4lPcqjnDHcg==",
 			"dev": true,
 			"requires": {
 				"balanced-match": "^1.0.0",
-- 
2.39.5

$ date
--- stdout ---
Fri Jun 13 00:17:28 UTC 2025

--- end ---
$ git clone file:///srv/git/mediawiki-extensions-PageForms.git repo --depth=1 -b REL1_42
--- 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/REL1_42
--- stdout ---
a4cdee070942f64d9b6654f70ab12fcd324d9341 refs/heads/REL1_42

--- end ---
$ /usr/bin/npm audit --json
--- stdout ---
{
  "auditReportVersion": 2,
  "vulnerabilities": {
    "brace-expansion": {
      "name": "brace-expansion",
      "severity": "low",
      "isDirect": false,
      "via": [
        {
          "source": 1105443,
          "name": "brace-expansion",
          "dependency": "brace-expansion",
          "title": "brace-expansion Regular Expression Denial of Service vulnerability",
          "url": "https://github.com/advisories/GHSA-v6h2-p8h4-qcjw",
          "severity": "low",
          "cwe": [
            "CWE-400"
          ],
          "cvss": {
            "score": 3.1,
            "vectorString": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L"
          },
          "range": ">=1.0.0 <=1.1.11"
        }
      ],
      "effects": [],
      "range": "1.0.0 - 1.1.11",
      "nodes": [
        "node_modules/brace-expansion"
      ],
      "fixAvailable": true
    }
  },
  "metadata": {
    "vulnerabilities": {
      "info": 0,
      "low": 1,
      "moderate": 0,
      "high": 0,
      "critical": 0,
      "total": 1
    },
    "dependencies": {
      "prod": 1,
      "dev": 287,
      "optional": 0,
      "peer": 0,
      "peerOptional": 0,
      "total": 287
    }
  }
}

--- 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: 37 installs, 0 updates, 0 removals
  - Locking composer/installers (v2.3.0)
  - Locking composer/pcre (3.3.2)
  - Locking composer/semver (3.3.2)
  - Locking composer/spdx-licenses (1.5.9)
  - Locking composer/xdebug-handler (3.0.5)
  - Locking doctrine/deprecations (1.1.5)
  - Locking felixfbecker/advanced-json-rpc (v3.2.1)
  - Locking mediawiki/mediawiki-codesniffer (v41.0.0)
  - Locking mediawiki/mediawiki-phan-config (0.12.1)
  - Locking mediawiki/minus-x (1.1.1)
  - Locking mediawiki/phan-taint-check-plugin (4.0.0)
  - Locking microsoft/tolerant-php-parser (v0.1.1)
  - Locking netresearch/jsonmapper (v4.5.0)
  - Locking phan/phan (5.4.1)
  - 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 phpdocumentor/reflection-common (2.2.0)
  - Locking phpdocumentor/reflection-docblock (5.6.2)
  - Locking phpdocumentor/type-resolver (1.10.0)
  - Locking phpstan/phpdoc-parser (2.1.0)
  - Locking psr/container (2.0.2)
  - Locking psr/log (2.0.0)
  - Locking sabre/event (5.1.7)
  - Locking squizlabs/php_codesniffer (3.7.2)
  - Locking symfony/console (v5.4.47)
  - Locking symfony/deprecation-contracts (v3.6.0)
  - Locking symfony/polyfill-ctype (v1.32.0)
  - Locking symfony/polyfill-intl-grapheme (v1.32.0)
  - Locking symfony/polyfill-intl-normalizer (v1.32.0)
  - Locking symfony/polyfill-mbstring (v1.32.0)
  - Locking symfony/polyfill-php73 (v1.32.0)
  - Locking symfony/polyfill-php80 (v1.32.0)
  - Locking symfony/service-contracts (v3.6.0)
  - Locking symfony/string (v6.4.21)
  - 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: 37 installs, 0 updates, 0 removals
    0 [>---------------------------]    0 [->--------------------------]
  - Installing composer/installers (v2.3.0): Extracting archive
  - Installing composer/pcre (3.3.2): Extracting archive
  - Installing symfony/polyfill-php80 (v1.32.0): Extracting archive
  - Installing squizlabs/php_codesniffer (3.7.2): Extracting archive
  - Installing symfony/polyfill-mbstring (v1.32.0): Extracting archive
  - Installing composer/spdx-licenses (1.5.9): Extracting archive
  - Installing composer/semver (3.3.2): Extracting archive
  - Installing mediawiki/mediawiki-codesniffer (v41.0.0): Extracting archive
  - Installing tysonandre/var_representation_polyfill (0.1.3): Extracting archive
  - Installing symfony/polyfill-intl-normalizer (v1.32.0): Extracting archive
  - Installing symfony/polyfill-intl-grapheme (v1.32.0): Extracting archive
  - Installing symfony/polyfill-ctype (v1.32.0): Extracting archive
  - Installing symfony/string (v6.4.21): Extracting archive
  - Installing symfony/deprecation-contracts (v3.6.0): Extracting archive
  - Installing psr/container (2.0.2): Extracting archive
  - Installing symfony/service-contracts (v3.6.0): Extracting archive
  - Installing symfony/polyfill-php73 (v1.32.0): Extracting archive
  - Installing symfony/console (v5.4.47): Extracting archive
  - Installing sabre/event (5.1.7): Extracting archive
  - Installing netresearch/jsonmapper (v4.5.0): Extracting archive
  - Installing microsoft/tolerant-php-parser (v0.1.1): Extracting archive
  - Installing webmozart/assert (1.11.0): Extracting archive
  - Installing phpstan/phpdoc-parser (2.1.0): Extracting archive
  - Installing phpdocumentor/reflection-common (2.2.0): Extracting archive
  - Installing doctrine/deprecations (1.1.5): Extracting archive
  - Installing phpdocumentor/type-resolver (1.10.0): Extracting archive
  - Installing phpdocumentor/reflection-docblock (5.6.2): 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.5): Extracting archive
  - Installing phan/phan (5.4.1): Extracting archive
  - Installing mediawiki/phan-taint-check-plugin (4.0.0): Extracting archive
  - Installing mediawiki/mediawiki-phan-config (0.12.1): 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/36 [>---------------------------]   0%
 18/36 [==============>-------------]  50%
 35/36 [===========================>]  97%
 36/36 [============================] 100%
4 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 ---

--- end ---
$ /usr/bin/npm audit --json
--- stdout ---
{
  "auditReportVersion": 2,
  "vulnerabilities": {
    "brace-expansion": {
      "name": "brace-expansion",
      "severity": "low",
      "isDirect": false,
      "via": [
        {
          "source": 1105443,
          "name": "brace-expansion",
          "dependency": "brace-expansion",
          "title": "brace-expansion Regular Expression Denial of Service vulnerability",
          "url": "https://github.com/advisories/GHSA-v6h2-p8h4-qcjw",
          "severity": "low",
          "cwe": [
            "CWE-400"
          ],
          "cvss": {
            "score": 3.1,
            "vectorString": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L"
          },
          "range": ">=1.0.0 <=1.1.11"
        }
      ],
      "effects": [],
      "range": "1.0.0 - 1.1.11",
      "nodes": [
        "node_modules/brace-expansion"
      ],
      "fixAvailable": true
    }
  },
  "metadata": {
    "vulnerabilities": {
      "info": 0,
      "low": 1,
      "moderate": 0,
      "high": 0,
      "critical": 0,
      "total": 1
    },
    "dependencies": {
      "prod": 1,
      "dev": 287,
      "optional": 0,
      "peer": 0,
      "peerOptional": 0,
      "total": 287
    }
  }
}

--- 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: '@es-joy/jsdoccomment@0.23.6',
npm WARN EBADENGINE   required: { node: '^12 || ^14 || ^16 || ^17' },
npm WARN EBADENGINE   current: { node: 'v18.19.0', npm: '9.2.0' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: 'eslint-plugin-jsdoc@39.2.2',
npm WARN EBADENGINE   required: { node: '^14 || ^16 || ^17' },
npm WARN EBADENGINE   current: { node: 'v18.19.0', npm: '9.2.0' }
npm WARN EBADENGINE }
--- stdout ---
{
  "added": 287,
  "removed": 0,
  "changed": 0,
  "audited": 288,
  "funding": 41,
  "audit": {
    "auditReportVersion": 2,
    "vulnerabilities": {
      "brace-expansion": {
        "name": "brace-expansion",
        "severity": "low",
        "isDirect": false,
        "via": [
          {
            "source": 1105443,
            "name": "brace-expansion",
            "dependency": "brace-expansion",
            "title": "brace-expansion Regular Expression Denial of Service vulnerability",
            "url": "https://github.com/advisories/GHSA-v6h2-p8h4-qcjw",
            "severity": "low",
            "cwe": [
              "CWE-400"
            ],
            "cvss": {
              "score": 3.1,
              "vectorString": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L"
            },
            "range": ">=1.0.0 <=1.1.11"
          }
        ],
        "effects": [],
        "range": "1.0.0 - 1.1.11",
        "nodes": [
          ""
        ],
        "fixAvailable": true
      }
    },
    "metadata": {
      "vulnerabilities": {
        "info": 0,
        "low": 1,
        "moderate": 0,
        "high": 0,
        "critical": 0,
        "total": 1
      },
      "dependencies": {
        "prod": 1,
        "dev": 287,
        "optional": 0,
        "peer": 0,
        "peerOptional": 0,
        "total": 287
      }
    }
  }
}

--- end ---
{"added": 287, "removed": 0, "changed": 0, "audited": 288, "funding": 41, "audit": {"auditReportVersion": 2, "vulnerabilities": {"brace-expansion": {"name": "brace-expansion", "severity": "low", "isDirect": false, "via": [{"source": 1105443, "name": "brace-expansion", "dependency": "brace-expansion", "title": "brace-expansion Regular Expression Denial of Service vulnerability", "url": "https://github.com/advisories/GHSA-v6h2-p8h4-qcjw", "severity": "low", "cwe": ["CWE-400"], "cvss": {"score": 3.1, "vectorString": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L"}, "range": ">=1.0.0 <=1.1.11"}], "effects": [], "range": "1.0.0 - 1.1.11", "nodes": [""], "fixAvailable": true}}, "metadata": {"vulnerabilities": {"info": 0, "low": 1, "moderate": 0, "high": 0, "critical": 0, "total": 1}, "dependencies": {"prod": 1, "dev": 287, "optional": 0, "peer": 0, "peerOptional": 0, "total": 287}}}}
$ /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: '@es-joy/jsdoccomment@0.23.6',
npm WARN EBADENGINE   required: { node: '^12 || ^14 || ^16 || ^17' },
npm WARN EBADENGINE   current: { node: 'v18.19.0', npm: '9.2.0' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: 'eslint-plugin-jsdoc@39.2.2',
npm WARN EBADENGINE   required: { node: '^14 || ^16 || ^17' },
npm WARN EBADENGINE   current: { node: 'v18.19.0', npm: '9.2.0' }
npm WARN EBADENGINE }
--- stdout ---

added 287 packages, and audited 288 packages in 3s

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

found 0 vulnerabilities

--- end ---
Verifying that tests still pass
$ /usr/bin/npm ci
--- stderr ---
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '@es-joy/jsdoccomment@0.23.6',
npm WARN EBADENGINE   required: { node: '^12 || ^14 || ^16 || ^17' },
npm WARN EBADENGINE   current: { node: 'v18.19.0', npm: '9.2.0' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: 'eslint-plugin-jsdoc@39.2.2',
npm WARN EBADENGINE   required: { node: '^14 || ^16 || ^17' },
npm WARN EBADENGINE   current: { node: 'v18.19.0', npm: '9.2.0' }
npm WARN EBADENGINE }
--- stdout ---

added 287 packages, and audited 288 packages in 3s

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

found 0 vulnerabilities

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

> test
> grunt test

Running "eslint:all" (eslint) task

/src/repo/i18n/he.json
  238:89  warning  Detected potential trojan source attack with unicode bidi introduced in this code: '"{{PLURAL:$1|אסור שיהיה יותר ממופע אחד|אסור שיהיו יותר מ‏־$1 מופעים}}  של תבנית זו."'  security/detect-bidi-characters

/src/repo/i18n/ky.json
  13:37  warning  Detected potential trojan source attack with unicode bidi introduced in this code: '"«$1‎» калыбын түзүү"'  security/detect-bidi-characters
  21:31  warning  Detected potential trojan source attack with unicode bidi introduced in this code: '"«‎$1» түзүү: $2"'      security/detect-bidi-characters
  22:39  warning  Detected potential trojan source attack with unicode bidi introduced in this code: '"«‎$1» түзүү"'          security/detect-bidi-characters

/src/repo/libs/PF_AutoEditRating.js
   63:21  warning  Where possible, maintain application state in JS to avoid slower DOM queries  no-jquery/no-class-state
  113:21  warning  '$' is already declared in the upper scope on line 1 column 13                no-shadow

/src/repo/libs/PF_AutocompleteWidget.js
  130:21  warning  Found non-literal argument to RegExp Constructor  security/detect-non-literal-regexp
  139:18  warning  Prefer `String#slice()` over `String#substr()`    unicorn/prefer-string-slice

/src/repo/libs/PF_ComboBoxInput.js
  120:9   warning  Where possible, maintain application state in JS to avoid slower DOM queries  no-jquery/no-class-state
  136:51  warning  ES2015 default parameters are forbidden                                       es-x/no-default-parameters
  149:8   warning  Where possible, maintain application state in JS to avoid slower DOM queries  no-jquery/no-class-state
  231:13  warning  'optionVal' is already declared in the upper scope on line 308 column 12      no-shadow
  232:13  warning  'optionLabel' is already declared in the upper scope on line 309 column 12    no-shadow
  307:12  warning  ES2015 block-scoped variables are forbidden                                   es-x/no-block-scoped-variables
  537:22  warning  Found non-literal argument to RegExp Constructor                              security/detect-non-literal-regexp
  546:18  warning  Prefer `String#slice()` over `String#substr()`                                unicorn/prefer-string-slice
  555:3   warning  ES2015 block-scoped variables are forbidden                                   es-x/no-block-scoped-variables
  560:3   warning  ES2015 block-scoped variables are forbidden                                   es-x/no-block-scoped-variables
  560:15  warning  Found non-literal argument to RegExp Constructor                              security/detect-non-literal-regexp

/src/repo/libs/PF_FullCalendar.js
   124:11  warning  ES2016 'Array.prototype.includes' method is forbidden                         es-x/no-array-prototype-includes
   124:11  warning  ES2015 'String.prototype.includes' method is forbidden                        es-x/no-string-prototype-includes
   128:19  warning  ES2016 'Array.prototype.includes' method is forbidden                         es-x/no-array-prototype-includes
   128:19  warning  ES2015 'String.prototype.includes' method is forbidden                        es-x/no-string-prototype-includes
   132:19  warning  ES2016 'Array.prototype.includes' method is forbidden                         es-x/no-array-prototype-includes
   132:19  warning  ES2015 'String.prototype.includes' method is forbidden                        es-x/no-string-prototype-includes
   157:11  warning  ES2016 'Array.prototype.includes' method is forbidden                         es-x/no-array-prototype-includes
   157:11  warning  ES2015 'String.prototype.includes' method is forbidden                        es-x/no-string-prototype-includes
   161:19  warning  ES2016 'Array.prototype.includes' method is forbidden                         es-x/no-array-prototype-includes
   161:19  warning  ES2015 'String.prototype.includes' method is forbidden                        es-x/no-string-prototype-includes
   165:19  warning  ES2016 'Array.prototype.includes' method is forbidden                         es-x/no-array-prototype-includes
   165:19  warning  ES2015 'String.prototype.includes' method is forbidden                        es-x/no-string-prototype-includes
   172:11  warning  ES2016 'Array.prototype.includes' method is forbidden                         es-x/no-array-prototype-includes
   172:11  warning  ES2015 'String.prototype.includes' method is forbidden                        es-x/no-string-prototype-includes
   176:19  warning  ES2016 'Array.prototype.includes' method is forbidden                         es-x/no-array-prototype-includes
   176:19  warning  ES2015 'String.prototype.includes' method is forbidden                        es-x/no-string-prototype-includes
   180:19  warning  ES2016 'Array.prototype.includes' method is forbidden                         es-x/no-array-prototype-includes
   180:19  warning  ES2015 'String.prototype.includes' method is forbidden                        es-x/no-string-prototype-includes
   270:9   warning  ES2016 'Array.prototype.includes' method is forbidden                         es-x/no-array-prototype-includes
   270:9   warning  ES2015 'String.prototype.includes' method is forbidden                        es-x/no-string-prototype-includes
   272:17  warning  ES2016 'Array.prototype.includes' method is forbidden                         es-x/no-array-prototype-includes
   272:17  warning  ES2015 'String.prototype.includes' method is forbidden                        es-x/no-string-prototype-includes
   279:17  warning  ES2016 'Array.prototype.includes' method is forbidden                         es-x/no-array-prototype-includes
   279:17  warning  ES2015 'String.prototype.includes' method is forbidden                        es-x/no-string-prototype-includes
   281:17  warning  ES2016 'Array.prototype.includes' method is forbidden                         es-x/no-array-prototype-includes
   281:17  warning  ES2015 'String.prototype.includes' method is forbidden                        es-x/no-string-prototype-includes
   290:17  warning  ES2016 'Array.prototype.includes' method is forbidden                         es-x/no-array-prototype-includes
   290:17  warning  ES2015 'String.prototype.includes' method is forbidden                        es-x/no-string-prototype-includes
   299:17  warning  ES2016 'Array.prototype.includes' method is forbidden                         es-x/no-array-prototype-includes
   299:17  warning  ES2015 'String.prototype.includes' method is forbidden                        es-x/no-string-prototype-includes
   308:17  warning  ES2016 'Array.prototype.includes' method is forbidden                         es-x/no-array-prototype-includes
   308:17  warning  ES2015 'String.prototype.includes' method is forbidden                        es-x/no-string-prototype-includes
   613:11  warning  Where possible, maintain application state in JS to avoid slower DOM queries  no-jquery/no-class-state
   744:11  warning  ES2016 'Array.prototype.includes' method is forbidden                         es-x/no-array-prototype-includes
   744:11  warning  ES2015 'String.prototype.includes' method is forbidden                        es-x/no-string-prototype-includes
   754:18  warning  ES2016 'Array.prototype.includes' method is forbidden                         es-x/no-array-prototype-includes
   754:18  warning  ES2015 'String.prototype.includes' method is forbidden                        es-x/no-string-prototype-includes
   761:52  warning  ES2016 'Array.prototype.includes' method is forbidden                         es-x/no-array-prototype-includes
   761:52  warning  ES2015 'String.prototype.includes' method is forbidden                        es-x/no-string-prototype-includes
   769:54  warning  ES2016 'Array.prototype.includes' method is forbidden                         es-x/no-array-prototype-includes
   769:54  warning  ES2015 'String.prototype.includes' method is forbidden                        es-x/no-string-prototype-includes
   770:13  warning  ES2016 'Array.prototype.includes' method is forbidden                         es-x/no-array-prototype-includes
   770:13  warning  ES2015 'String.prototype.includes' method is forbidden                        es-x/no-string-prototype-includes
   780:51  warning  ES2016 'Array.prototype.includes' method is forbidden                         es-x/no-array-prototype-includes
   780:51  warning  ES2015 'String.prototype.includes' method is forbidden                        es-x/no-string-prototype-includes
   781:13  warning  ES2016 'Array.prototype.includes' method is forbidden                         es-x/no-array-prototype-includes
   781:13  warning  ES2015 'String.prototype.includes' method is forbidden                        es-x/no-string-prototype-includes
   816:11  warning  Where possible, maintain application state in JS to avoid slower DOM queries  no-jquery/no-class-state
  1073:12  warning  ES2016 'Array.prototype.includes' method is forbidden                         es-x/no-array-prototype-includes
  1073:12  warning  ES2015 'String.prototype.includes' method is forbidden                        es-x/no-string-prototype-includes
  1074:13  warning  ES2016 'Array.prototype.includes' method is forbidden                         es-x/no-array-prototype-includes
  1074:13  warning  ES2015 'String.prototype.includes' method is forbidden                        es-x/no-string-prototype-includes
  1076:20  warning  ES2016 'Array.prototype.includes' method is forbidden                         es-x/no-array-prototype-includes
  1076:20  warning  ES2015 'String.prototype.includes' method is forbidden                        es-x/no-string-prototype-includes
  1078:20  warning  ES2016 'Array.prototype.includes' method is forbidden                         es-x/no-array-prototype-includes
  1078:20  warning  ES2015 'String.prototype.includes' method is forbidden                        es-x/no-string-prototype-includes
  1114:12  warning  ES2016 'Array.prototype.includes' method is forbidden                         es-x/no-array-prototype-includes
  1114:12  warning  ES2015 'String.prototype.includes' method is forbidden                        es-x/no-string-prototype-includes
  1115:13  warning  ES2016 'Array.prototype.includes' method is forbidden                         es-x/no-array-prototype-includes
  1115:13  warning  ES2015 'String.prototype.includes' method is forbidden                        es-x/no-string-prototype-includes
  1117:20  warning  ES2016 'Array.prototype.includes' method is forbidden                         es-x/no-array-prototype-includes
  1117:20  warning  ES2015 'String.prototype.includes' method is forbidden                        es-x/no-string-prototype-includes
  1119:20  warning  ES2016 'Array.prototype.includes' method is forbidden                         es-x/no-array-prototype-includes
  1119:20  warning  ES2015 'String.prototype.includes' method is forbidden                        es-x/no-string-prototype-includes
  1121:20  warning  ES2016 'Array.prototype.includes' method is forbidden                         es-x/no-array-prototype-includes
  1121:20  warning  ES2015 'String.prototype.includes' method is forbidden                        es-x/no-string-prototype-includes
  1123:20  warning  ES2016 'Array.prototype.includes' method is forbidden                         es-x/no-array-prototype-includes
  1123:20  warning  ES2015 'String.prototype.includes' method is forbidden                        es-x/no-string-prototype-includes
  1125:20  warning  ES2016 'Array.prototype.includes' method is forbidden                         es-x/no-array-prototype-includes
  1125:20  warning  ES2015 'String.prototype.includes' method is forbidden                        es-x/no-string-prototype-includes
  1127:20  warning  ES2016 'Array.prototype.includes' method is forbidden                         es-x/no-array-prototype-includes
  1127:20  warning  ES2015 'String.prototype.includes' method is forbidden                        es-x/no-string-prototype-includes
  1147:14  warning  ES2016 'Array.prototype.includes' method is forbidden                         es-x/no-array-prototype-includes
  1147:14  warning  ES2015 'String.prototype.includes' method is forbidden                        es-x/no-string-prototype-includes
  1147:71  warning  ES2016 'Array.prototype.includes' method is forbidden                         es-x/no-array-prototype-includes
  1147:71  warning  ES2015 'String.prototype.includes' method is forbidden                        es-x/no-string-prototype-includes
  1161:14  warning  ES2016 'Array.prototype.includes' method is forbidden                         es-x/no-array-prototype-includes
  1161:14  warning  ES2015 'String.prototype.includes' method is forbidden                        es-x/no-string-prototype-includes

/src/repo/libs/PF_SpreadsheetAutocompleteWidget.js
  114:9   warning  ES2015 block-scoped variables are forbidden             es-x/no-block-scoped-variables
  131:5   warning  ES2015 block-scoped variables are forbidden             es-x/no-block-scoped-variables
  135:21  warning  ES2016 'Array.prototype.includes' method is forbidden   es-x/no-array-prototype-includes
  135:21  warning  ES2015 'String.prototype.includes' method is forbidden  es-x/no-string-prototype-includes
  171:21  warning  Found non-literal argument to RegExp Constructor        security/detect-non-literal-regexp
  179:17  warning  Prefer `String#slice()` over `String#substr()`          unicorn/prefer-string-slice
  212:14  warning  Found non-literal argument to RegExp Constructor        security/detect-non-literal-regexp

/src/repo/libs/PF_SpreadsheetComboBoxInput.js
   54:11  warning  'valueFilter' used outside of binding context                      block-scoped-var
   56:11  warning  'valueFilter' used outside of binding context                      block-scoped-var
   58:11  warning  'valueFilter' used outside of binding context                      block-scoped-var
   58:11  warning  'valueFilter' used outside of binding context                      block-scoped-var
  108:23  warning  'data' is already declared in the upper scope on line 46 column 4  no-shadow
  114:13  warning  'i' used outside of binding context                                block-scoped-var
  114:20  warning  'i' used outside of binding context                                block-scoped-var
  114:37  warning  'i' used outside of binding context                                block-scoped-var
  116:20  warning  'i' used outside of binding context                                block-scoped-var
  116:62  warning  'i' used outside of binding context                                block-scoped-var
  131:0   warning  Missing JSDoc @return type                                         jsdoc/require-returns-type
  138:21  warning  Found non-literal argument to RegExp Constructor                   security/detect-non-literal-regexp
  146:17  warning  Prefer `String#slice()` over `String#substr()`                     unicorn/prefer-string-slice
  173:14  warning  Found non-literal argument to RegExp Constructor                   security/detect-non-literal-regexp
  184:9   warning  ES2016 'Array.prototype.includes' method is forbidden              es-x/no-array-prototype-includes
  184:9   warning  ES2015 'String.prototype.includes' method is forbidden             es-x/no-string-prototype-includes
  190:0   warning  The type 'integer' is undefined                                    jsdoc/no-undefined-types
  197:2   warning  jQuery collection names must match the variablePattern             no-jquery/variable-pattern

/src/repo/libs/PF_autoedit.js
  15:16  warning  Where possible, maintain application state in JS to avoid slower DOM queries  no-jquery/no-class-state
  83:21  warning  Where possible, maintain application state in JS to avoid slower DOM queries  no-jquery/no-class-state
  95:38  warning  '$' is already declared in the upper scope on line 9 column 13                no-shadow

/src/repo/libs/PF_checkboxes.js
  47:24  warning  '$' is already declared in the upper scope on line 7 column 14  no-shadow

/src/repo/libs/PF_collapsible.js
  30:8  warning  Where possible, maintain application state in JS to avoid slower DOM queries  no-jquery/no-class-state

/src/repo/libs/PF_datepicker.js
  14:9  warning  Where possible, maintain application state in JS to avoid slower DOM queries  no-jquery/no-class-state

/src/repo/libs/PF_editWarning.js
  32:9   warning  Where possible, maintain application state in JS to avoid slower DOM queries  no-jquery/no-class-state
  61:11  warning  Where possible, maintain application state in JS to avoid slower DOM queries  no-jquery/no-class-state

/src/repo/libs/PF_formInput.js
   19:4  warning  ES2015 'for-of' statements are forbidden     es-x/no-for-of-loops
   76:4  warning  ES2015 block-scoped variables are forbidden  es-x/no-block-scoped-variables
   80:4  warning  ES2015 'for-of' statements are forbidden     es-x/no-for-of-loops
  104:4  warning  ES2015 block-scoped variables are forbidden  es-x/no-block-scoped-variables

/src/repo/libs/PF_maps.js
  201:5  warning  ES2015 block-scoped variables are forbidden  es-x/no-block-scoped-variables
  208:5  warning  ES2015 block-scoped variables are forbidden  es-x/no-block-scoped-variables
  209:5  warning  ES2015 block-scoped variables are forbidden  es-x/no-block-scoped-variables
  210:5  warning  ES2015 block-scoped variables are forbidden  es-x/no-block-scoped-variables
  262:6  warning  ES2015 block-scoped variables are forbidden  es-x/no-block-scoped-variables
  263:6  warning  ES2015 block-scoped variables are forbidden  es-x/no-block-scoped-variables
  264:6  warning  ES2015 block-scoped variables are forbidden  es-x/no-block-scoped-variables

/src/repo/libs/PF_popupform.js
  374:3   warning  jQuery collection names must match the variablePattern                        no-jquery/variable-pattern
  758:12  warning  Where possible, maintain application state in JS to avoid slower DOM queries  no-jquery/no-class-state
  772:12  warning  Where possible, maintain application state in JS to avoid slower DOM queries  no-jquery/no-class-state

/src/repo/libs/PF_rating.js
  43:4  warning  Selector extensions are not allowed  no-jquery/no-sizzle

/src/repo/libs/PF_regexp.js
  31:12  warning  Found non-literal argument to RegExp Constructor  security/detect-non-literal-regexp

/src/repo/libs/PF_spreadsheet.js
   10:1   warning  ES2015 block-scoped variables are forbidden                                 es-x/no-block-scoped-variables
   11:1   warning  ES2015 block-scoped variables are forbidden                                 es-x/no-block-scoped-variables
   12:1   warning  ES2015 block-scoped variables are forbidden                                 es-x/no-block-scoped-variables
   13:1   warning  ES2015 block-scoped variables are forbidden                                 es-x/no-block-scoped-variables
   14:1   warning  ES2015 block-scoped variables are forbidden                                 es-x/no-block-scoped-variables
   15:1   warning  ES2015 block-scoped variables are forbidden                                 es-x/no-block-scoped-variables
   16:1   warning  ES2015 block-scoped variables are forbidden                                 es-x/no-block-scoped-variables
   17:1   warning  ES2015 block-scoped variables are forbidden                                 es-x/no-block-scoped-variables
   72:11  warning  ES2016 'Array.prototype.includes' method is forbidden                       es-x/no-array-prototype-includes
   72:11  warning  ES2015 'String.prototype.includes' method is forbidden                      es-x/no-string-prototype-includes
  394:3   warning  ES2015 'for-of' statements are forbidden                                    es-x/no-for-of-loops
  440:3   warning  ES2015 'for-of' statements are forbidden                                    es-x/no-for-of-loops
  523:16  warning  Found non-literal argument to RegExp Constructor                            security/detect-non-literal-regexp
  689:6   warning  ES2015 'for-of' statements are forbidden                                    es-x/no-for-of-loops
  689:11  warning  ES2015 block-scoped variables are forbidden                                 es-x/no-block-scoped-variables
  692:7   warning  ES2015 'for-of' statements are forbidden                                    es-x/no-for-of-loops
  692:12  warning  ES2015 block-scoped variables are forbidden                                 es-x/no-block-scoped-variables
  753:10  warning  'columnParams' is already declared in the upper scope on line 853 column 9  no-shadow
  771:22  warning  Positional selector extensions are not allowed                              no-jquery/no-sizzle
  863:28  warning  Positional selector extensions are not allowed                              no-jquery/no-sizzle
  867:6   warning  Positional selector extensions are not allowed                              no-jquery/no-sizzle
  928:25  warning  Positional selector extensions are not allowed                              no-jquery/no-sizzle
  933:4   warning  Positional selector extensions are not allowed                              no-jquery/no-sizzle

/src/repo/libs/PF_submit.js
  141:46  warning  Prefer `String#slice()` over `String#substring()`                   unicorn/prefer-string-slice
  174:8   warning  '$form' is already declared in the upper scope on line 14 column 6  no-shadow

/src/repo/libs/PF_timepicker.js
  64:9  warning  Selector extensions are not allowed  no-jquery/no-sizzle

/src/repo/libs/PF_upload.js
  56:41  warning  Where possible, maintain application state in JS to avoid slower DOM queries  no-jquery/no-class-state

/src/repo/libs/PageForms.js
   199:10  warning  Where possible, maintain application state in JS to avoid slower DOM queries         no-jquery/no-class-state
   230:19  warning  Where possible, maintain application state in JS to avoid slower DOM queries         no-jquery/no-class-state
   241:9   warning  Selector extensions are not allowed                                                  no-jquery/no-sizzle
   406:61  warning  All possible message keys should be documented. See https://w.wiki/4r9a for details  mediawiki/msg-doc
   413:58  warning  All possible message keys should be documented. See https://w.wiki/4r9a for details  mediawiki/msg-doc
   676:19  warning  Found non-literal argument to RegExp Constructor                                     security/detect-non-literal-regexp
   688:21  warning  Unsafe Regular Expression                                                            security/detect-unsafe-regex
   702:17  warning  Unsafe Regular Expression                                                            security/detect-unsafe-regex
   770:9   warning  ES2016 'Array.prototype.includes' method is forbidden                                es-x/no-array-prototype-includes
   770:9   warning  ES2015 'String.prototype.includes' method is forbidden                               es-x/no-string-prototype-includes
   771:5   warning  ES2016 'Array.prototype.includes' method is forbidden                                es-x/no-array-prototype-includes
   771:5   warning  ES2015 'String.prototype.includes' method is forbidden                               es-x/no-string-prototype-includes
   834:6   warning  'negative' used outside of binding context                                           block-scoped-var
   843:7   warning  'negative' used outside of binding context                                           block-scoped-var
  1014:6   warning  jQuery collection names must match the variablePattern                               no-jquery/variable-pattern
  1015:6   warning  jQuery collection names must match the variablePattern                               no-jquery/variable-pattern
  1021:6   warning  jQuery collection names must match the variablePattern                               no-jquery/variable-pattern
  1022:6   warning  jQuery collection names must match the variablePattern                               no-jquery/variable-pattern
  1112:11  warning  ES2016 'Array.prototype.includes' method is forbidden                                es-x/no-array-prototype-includes
  1112:11  warning  ES2015 'String.prototype.includes' method is forbidden                               es-x/no-string-prototype-includes
  1118:9   warning  Where possible, maintain application state in JS to avoid slower DOM queries         no-jquery/no-class-state
  1225:7   warning  jQuery collection names must match the variablePattern                               no-jquery/variable-pattern
  1226:8   warning  ES2015 block-scoped variables are forbidden                                          es-x/no-block-scoped-variables
  1258:10  warning  Where possible, maintain application state in JS to avoid slower DOM queries         no-jquery/no-class-state
  1262:8   warning  Where possible, maintain application state in JS to avoid slower DOM queries         no-jquery/no-class-state
  1533:8   warning  Where possible, maintain application state in JS to avoid slower DOM queries         no-jquery/no-class-state
  1646:7   warning  jQuery collection names must match the variablePattern                               no-jquery/variable-pattern
  1653:8   warning  jQuery collection names must match the variablePattern                               no-jquery/variable-pattern
  1929:30  warning  Where possible, maintain application state in JS to avoid slower DOM queries         no-jquery/no-class-state
  1942:8   warning  Where possible, maintain application state in JS to avoid slower DOM queries         no-jquery/no-class-state
  1946:8   warning  Where possible, maintain application state in JS to avoid slower DOM queries         no-jquery/no-class-state
  1951:7   warning  Where possible, maintain application state in JS to avoid slower DOM queries         no-jquery/no-class-state

/src/repo/libs/ext.pf.select2.base.js
   73:6  warning  ES2015 block-scoped variables are forbidden     es-x/no-block-scoped-variables
   93:8  warning  ES2015 block-scoped variables are forbidden     es-x/no-block-scoped-variables
  318:6  warning  Prefer `String#slice()` over `String#substr()`  unicorn/prefer-string-slice
  319:6  warning  Prefer `String#slice()` over `String#substr()`  unicorn/prefer-string-slice

/src/repo/libs/ext.pf.select2.tokens.js
   89:11  warning  ES2015 block-scoped variables are forbidden             es-x/no-block-scoped-variables
  288:9   warning  ES2016 'Array.prototype.includes' method is forbidden   es-x/no-array-prototype-includes
  288:9   warning  ES2015 'String.prototype.includes' method is forbidden  es-x/no-string-prototype-includes

✖ 212 problems (0 errors, 212 warnings)


Running "banana:all" (banana) task
>> 1 message directory checked.

Done.

--- end ---
{"1105443": {"source": 1105443, "name": "brace-expansion", "dependency": "brace-expansion", "title": "brace-expansion Regular Expression Denial of Service vulnerability", "url": "https://github.com/advisories/GHSA-v6h2-p8h4-qcjw", "severity": "low", "cwe": ["CWE-400"], "cvss": {"score": 3.1, "vectorString": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L"}, "range": ">=1.0.0 <=1.1.11"}}
Upgrading n:brace-expansion from 1.1.11 -> 1.1.12
$ package-lock-lint package-lock.json
--- stdout ---
Checking package-lock.json

--- end ---
build: Updating brace-expansion to 1.1.12

* https://github.com/advisories/GHSA-v6h2-p8h4-qcjw

$ git add .
--- stdout ---

--- end ---
$ git commit -F /tmp/tmpxqh8mncf
--- stdout ---
[REL1_42 6d127a6] build: Updating brace-expansion to 1.1.12
 1 file changed, 6 insertions(+), 6 deletions(-)

--- end ---
$ git format-patch HEAD~1 --stdout
--- stdout ---
From 6d127a68479ab39bbbcb63dfa37d0ae57c65a450 Mon Sep 17 00:00:00 2001
From: libraryupgrader <tools.libraryupgrader@tools.wmflabs.org>
Date: Fri, 13 Jun 2025 00:17:53 +0000
Subject: [PATCH] build: Updating brace-expansion to 1.1.12

* https://github.com/advisories/GHSA-v6h2-p8h4-qcjw

Change-Id: I3f6a27b9e3a482886093a8b4de362645dbacefc9
---
 package-lock.json | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/package-lock.json b/package-lock.json
index e66fa4a..31fd7b4 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -384,9 +384,9 @@
 			"dev": true
 		},
 		"node_modules/brace-expansion": {
-			"version": "1.1.11",
-			"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",
-			"integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==",
+			"version": "1.1.12",
+			"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.12.tgz",
+			"integrity": "sha512-9T9UjW3r0UW5c1Q7GTwllptXwhvYmEzFhzMfZ9H7FQWt+uZePjZPjBP/W1ZEyZ1twGWom5/56TF4lPcqjnDHcg==",
 			"dev": true,
 			"dependencies": {
 				"balanced-match": "^1.0.0",
@@ -3594,9 +3594,9 @@
 			"dev": true
 		},
 		"brace-expansion": {
-			"version": "1.1.11",
-			"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",
-			"integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==",
+			"version": "1.1.12",
+			"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.12.tgz",
+			"integrity": "sha512-9T9UjW3r0UW5c1Q7GTwllptXwhvYmEzFhzMfZ9H7FQWt+uZePjZPjBP/W1ZEyZ1twGWom5/56TF4lPcqjnDHcg==",
 			"dev": true,
 			"requires": {
 				"balanced-match": "^1.0.0",
-- 
2.39.5


--- end ---
Source code is licensed under the AGPL.