From 7e724ce089b5fc8a2d2dbb65aeb13eeb68014ccc Mon Sep 17 00:00:00 2001
From: libraryupgrader <tools.libraryupgrader@tools.wmflabs.org>
Date: Sat, 14 Jun 2025 09:55:05 +0000
Subject: [PATCH] build: Updating brace-expansion to 1.1.12, 2.0.2
* https://github.com/advisories/GHSA-v6h2-p8h4-qcjw
Change-Id: I478808959e4b97e2c46a6112555aa13d3000d3dc
---
package-lock.json | 36 ++++++++++++++++++------------------
1 file changed, 18 insertions(+), 18 deletions(-)
diff --git a/package-lock.json b/package-lock.json
index 39586ab..daed325 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -513,9 +513,9 @@
}
},
"node_modules/@typescript-eslint/typescript-estree/node_modules/brace-expansion": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz",
- "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==",
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.2.tgz",
+ "integrity": "sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ==",
"dev": true,
"dependencies": {
"balanced-match": "^1.0.0"
@@ -748,9 +748,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",
@@ -1699,9 +1699,9 @@
}
},
"node_modules/eslint-plugin-n/node_modules/brace-expansion": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz",
- "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==",
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.2.tgz",
+ "integrity": "sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ==",
"dev": true,
"dependencies": {
"balanced-match": "^1.0.0"
@@ -5402,9 +5402,9 @@
},
"dependencies": {
"brace-expansion": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz",
- "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==",
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.2.tgz",
+ "integrity": "sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ==",
"dev": true,
"requires": {
"balanced-match": "^1.0.0"
@@ -5574,9 +5574,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",
@@ -6313,9 +6313,9 @@
},
"dependencies": {
"brace-expansion": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz",
- "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==",
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.2.tgz",
+ "integrity": "sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ==",
"dev": true,
"requires": {
"balanced-match": "^1.0.0"
--
2.39.5
$ date
--- stdout ---
Sat Jun 14 09:54:32 UTC 2025
--- end ---
$ git clone file:///srv/git/mediawiki-extensions-LiquidThreads.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 ---
00d842a1b34b9d3e818e22bc8ce47808a98b9206 refs/heads/master
--- 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"
},
{
"source": 1105444,
"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": ">=2.0.0 <=2.0.1"
}
],
"effects": [],
"range": "1.0.0 - 1.1.11 || 2.0.0 - 2.0.1",
"nodes": [
"node_modules/@typescript-eslint/typescript-estree/node_modules/brace-expansion",
"node_modules/brace-expansion",
"node_modules/eslint-plugin-n/node_modules/brace-expansion"
],
"fixAvailable": true
}
},
"metadata": {
"vulnerabilities": {
"info": 0,
"low": 1,
"moderate": 0,
"high": 0,
"critical": 0,
"total": 1
},
"dependencies": {
"prod": 1,
"dev": 417,
"optional": 0,
"peer": 1,
"peerOptional": 0,
"total": 417
}
}
}
--- 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/installers (v2.3.0)
- Locking composer/pcre (3.3.2)
- Locking composer/semver (3.4.3)
- Locking composer/spdx-licenses (1.5.9)
- Locking composer/xdebug-handler (3.0.5)
- Locking dealerdirect/phpcodesniffer-composer-installer (v1.0.0)
- Locking doctrine/deprecations (1.1.5)
- Locking felixfbecker/advanced-json-rpc (v3.2.1)
- Locking mediawiki/mediawiki-codesniffer (v47.0.0)
- Locking mediawiki/mediawiki-phan-config (0.15.1)
- Locking mediawiki/minus-x (1.1.3)
- Locking mediawiki/phan-taint-check-plugin (6.1.0)
- Locking microsoft/tolerant-php-parser (v0.1.2)
- Locking netresearch/jsonmapper (v4.5.0)
- Locking phan/phan (5.4.5)
- 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.4.0)
- Locking phpcsstandards/phpcsextra (1.2.1)
- Locking phpcsstandards/phpcsutils (1.0.12)
- 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 (3.0.2)
- Locking sabre/event (5.1.7)
- Locking squizlabs/php_codesniffer (3.12.2)
- Locking symfony/console (v7.3.0)
- 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-php80 (v1.32.0)
- Locking symfony/service-contracts (v3.6.0)
- Locking symfony/string (v7.3.0)
- 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 composer/installers (v2.3.0): Extracting archive
- Installing squizlabs/php_codesniffer (3.12.2): Extracting archive
- Installing dealerdirect/phpcodesniffer-composer-installer (v1.0.0): Extracting archive
- Installing composer/pcre (3.3.2): Extracting archive
- Installing symfony/polyfill-php80 (v1.32.0): Extracting archive
- Installing phpcsstandards/phpcsutils (1.0.12): Extracting archive
- Installing phpcsstandards/phpcsextra (1.2.1): Extracting archive
- Installing symfony/polyfill-mbstring (v1.32.0): Extracting archive
- Installing composer/spdx-licenses (1.5.9): Extracting archive
- Installing composer/semver (3.4.3): Extracting archive
- Installing mediawiki/mediawiki-codesniffer (v47.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 (v7.3.0): 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/console (v7.3.0): 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.2): 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 (3.0.2): Extracting archive
- Installing composer/xdebug-handler (3.0.5): Extracting archive
- Installing phan/phan (5.4.5): Extracting archive
- Installing mediawiki/phan-taint-check-plugin (6.1.0): Extracting archive
- Installing mediawiki/mediawiki-phan-config (0.15.1): Extracting archive
- Installing mediawiki/minus-x (1.1.3): 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.4.0): Extracting archive
0/36 [>---------------------------] 0%
20/36 [===============>------------] 55%
35/36 [===========================>] 97%
36/36 [============================] 100%
1 package suggestions were added by new dependencies, use `composer suggest` to see details.
Generating autoload files
17 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": {
"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"
},
{
"source": 1105444,
"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": ">=2.0.0 <=2.0.1"
}
],
"effects": [],
"range": "1.0.0 - 1.1.11 || 2.0.0 - 2.0.1",
"nodes": [
"node_modules/@typescript-eslint/typescript-estree/node_modules/brace-expansion",
"node_modules/brace-expansion",
"node_modules/eslint-plugin-n/node_modules/brace-expansion"
],
"fixAvailable": true
}
},
"metadata": {
"vulnerabilities": {
"info": 0,
"low": 1,
"moderate": 0,
"high": 0,
"critical": 0,
"total": 1
},
"dependencies": {
"prod": 1,
"dev": 417,
"optional": 0,
"peer": 1,
"peerOptional": 0,
"total": 417
}
}
}
--- 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
--- stdout ---
{
"added": 417,
"removed": 0,
"changed": 0,
"audited": 418,
"funding": 91,
"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"
},
{
"source": 1105444,
"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": ">=2.0.0 <=2.0.1"
}
],
"effects": [],
"range": "1.0.0 - 1.1.11 || 2.0.0 - 2.0.1",
"nodes": [
"",
"",
""
],
"fixAvailable": true
}
},
"metadata": {
"vulnerabilities": {
"info": 0,
"low": 1,
"moderate": 0,
"high": 0,
"critical": 0,
"total": 1
},
"dependencies": {
"prod": 1,
"dev": 417,
"optional": 0,
"peer": 1,
"peerOptional": 0,
"total": 417
}
}
}
}
--- end ---
{"added": 417, "removed": 0, "changed": 0, "audited": 418, "funding": 91, "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"}, {"source": 1105444, "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": ">=2.0.0 <=2.0.1"}], "effects": [], "range": "1.0.0 - 1.1.11 || 2.0.0 - 2.0.1", "nodes": ["", "", ""], "fixAvailable": true}}, "metadata": {"vulnerabilities": {"info": 0, "low": 1, "moderate": 0, "high": 0, "critical": 0, "total": 1}, "dependencies": {"prod": 1, "dev": 417, "optional": 0, "peer": 1, "peerOptional": 0, "total": 417}}}}
$ /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
--- stdout ---
added 417 packages, and audited 418 packages in 5s
91 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
--- end ---
Verifying that tests still pass
$ /usr/bin/npm ci
--- stdout ---
added 417 packages, and audited 418 packages in 5s
91 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/jquery/jquery.thread_collapse.js
56:6 warning '$thread' is never reassigned. Use 'const' instead prefer-const
/src/repo/lqt.js
37:4 warning '$container' is never reassigned. Use 'const' instead prefer-const
38:4 warning 'threadId' is never reassigned. Use 'const' instead prefer-const
41:58 warning Selector extensions are not allowed no-jquery/no-sizzle
46:4 warning 'params' is never reassigned. Use 'const' instead prefer-const
107:5 warning 'talkpage' is never reassigned. Use 'const' instead prefer-const
128:4 warning '$parent' is never reassigned. Use 'const' instead prefer-const
130:4 warning '$container' is never reassigned. Use 'const' instead prefer-const
135:4 warning 'params' is never reassigned. Use 'const' instead prefer-const
145:4 warning '$loadSpinner' is never reassigned. Use 'const' instead prefer-const
151:6 warning 'targetOffset' is never reassigned. Use 'const' instead prefer-const
152:6 warning 'windowHeight' is never reassigned. Use 'const' instead prefer-const
153:6 warning 'editBoxHeight' is never reassigned. Use 'const' instead prefer-const
171:5 warning '$editLink' is never reassigned. Use 'const' instead prefer-const
193:5 warning '$cancelButton' is never reassigned. Use 'const' instead prefer-const
237:4 warning Prefer .then to .done no-jquery/no-done-fail
289:5 warning '$post' is never reassigned. Use 'const' instead prefer-const
290:5 warning '$toolbar' is never reassigned. Use 'const' instead prefer-const
291:5 warning 'threadID' is never reassigned. Use 'const' instead prefer-const
292:5 warning '$menu' is never reassigned. Use 'const' instead prefer-const
293:5 warning '$menuContainer' is never reassigned. Use 'const' instead prefer-const
299:4 warning '$replyLink' is never reassigned. Use 'const' instead prefer-const
316:4 warning '$trigger' is never reassigned. Use 'const' instead prefer-const
336:6 warning 'windowHeight' is never reassigned. Use 'const' instead prefer-const
337:6 warning 'toolbarOffset' is never reassigned. Use 'const' instead prefer-const
338:6 warning 'scrollPos' is never reassigned. Use 'const' instead prefer-const
340:6 warning 'menuBottom' is never reassigned. Use 'const' instead prefer-const
360:4 warning '$editSubjectField' is never reassigned. Use 'const' instead prefer-const
361:4 warning '$editSubjectLink' is never reassigned. Use 'const' instead prefer-const
382:4 warning 'threadId' is never reassigned. Use 'const' instead prefer-const
383:4 warning '$header' is never reassigned. Use 'const' instead prefer-const
384:4 warning 'headerText' is never reassigned. Use 'const' instead prefer-const
386:4 warning '$textbox' is never reassigned. Use 'const' instead prefer-const
393:4 warning 'saveText' is never reassigned. Use 'const' instead prefer-const
394:4 warning '$saveButton' is never reassigned. Use 'const' instead prefer-const
399:4 warning '$cancelButton' is never reassigned. Use 'const' instead prefer-const
404:7 warning '$header' is already declared in the upper scope on line 374 column 18 no-shadow
413:4 warning '$subjectForm' is never reassigned. Use 'const' instead prefer-const
423:5 warning '$button' is never reassigned. Use 'const' instead prefer-const
424:5 warning '$subjectForm' is never reassigned. Use 'const' instead prefer-const
425:5 warning '$header' is never reassigned. Use 'const' instead prefer-const
426:5 warning 'threadId' is never reassigned. Use 'const' instead prefer-const
427:5 warning '$textbox' is never reassigned. Use 'const' instead prefer-const
428:5 warning 'newSubject' is never reassigned. Use 'const' instead prefer-const
437:4 warning '$spinner' is never reassigned. Use 'const' instead prefer-const
441:4 warning 'request' is never reassigned. Use 'const' instead prefer-const
450:4 warning Prefer .then to .done no-jquery/no-done-fail
496:5 warning 'threadModifiedTS' is never reassigned. Use 'const' instead prefer-const
497:5 warning 'threads' is never reassigned. Use 'const' instead prefer-const
515:4 warning Prefer .then to .done no-jquery/no-done-fail
521:11 warning 'threads' is already declared in the upper scope on line 497 column 5 no-shadow
525:12 warning 'threadId' is already declared in the upper scope on line 495 column 15 no-shadow
538:5 warning '$threadObject' is never reassigned. Use 'const' instead prefer-const
544:4 warning '$notifier' is never reassigned. Use 'const' instead prefer-const
548:4 warning '$updateButton' is never reassigned. Use 'const' instead prefer-const
572:4 warning Prefer .then to .done no-jquery/no-done-fail
580:6 warning 'html' is never reassigned. Use 'const' instead prefer-const
581:6 warning '$newContent' is never reassigned. Use 'const' instead prefer-const
588:5 warning '$newThread' is never reassigned. Use 'const' instead prefer-const
605:5 warning 'targetOffset' is never reassigned. Use 'const' instead prefer-const
612:5 warning 'prefixLength' is never reassigned. Use 'const' instead prefer-const
615:5 warning '$parentWrapper' is never reassigned. Use 'const' instead prefer-const
624:4 warning '$threadWrapper' is never reassigned. Use 'const' instead prefer-const
625:4 warning 'threadId' is never reassigned. Use 'const' instead prefer-const
649:9 warning Where possible, maintain application state in JS to avoid slower DOM queries no-jquery/no-class-state
676:4 warning '$thread' is never reassigned. Use 'const' instead prefer-const
677:4 warning 'threadId' is never reassigned. Use 'const' instead prefer-const
678:4 warning '$replies' is never reassigned. Use 'const' instead prefer-const
679:4 warning '$loader' is never reassigned. Use 'const' instead prefer-const
680:4 warning '$sep' is never reassigned. Use 'const' instead prefer-const
684:4 warning Prefer .then to .done no-jquery/no-done-fail
727:4 warning '$loader' is never reassigned. Use 'const' instead prefer-const
731:4 warning '$thread' is never reassigned. Use 'const' instead prefer-const
732:4 warning 'threadId' is never reassigned. Use 'const' instead prefer-const
735:4 warning '$startAtField' is never reassigned. Use 'const' instead prefer-const
736:4 warning 'startAt' is never reassigned. Use 'const' instead prefer-const
739:4 warning Prefer .then to .done no-jquery/no-done-fail
747:9 warning 'content' is never reassigned. Use 'const' instead prefer-const
773:5 warning '$button' is never reassigned. Use 'const' instead prefer-const
774:5 warning 'tlcOffset' is never reassigned. Use 'const' instead prefer-const
775:5 warning '$oldButton' is never reassigned. Use 'const' instead prefer-const
777:5 warning '$threadLevelCommands' is never reassigned. Use 'const' instead prefer-const
778:5 warning 'title' is never reassigned. Use 'const' instead prefer-const
782:9 warning Where possible, maintain application state in JS to avoid slower DOM queries no-jquery/no-class-state
786:16 warning Where possible, maintain application state in JS to avoid slower DOM queries no-jquery/no-class-state
793:4 warning '$spinner' is never reassigned. Use 'const' instead prefer-const
797:4 warning 'api' is never reassigned. Use 'const' instead prefer-const
798:4 warning 'success' is never reassigned. Use 'const' instead prefer-const
801:4 warning 'error' is never reassigned. Use 'const' instead prefer-const
809:5 warning Prefer .then to .done no-jquery/no-done-fail
809:5 warning Prefer .then to .fail no-jquery/no-done-fail
811:5 warning Prefer .then to .done no-jquery/no-done-fail
811:5 warning Prefer .then to .fail no-jquery/no-done-fail
821:4 warning '$thread' is never reassigned. Use 'const' instead prefer-const
822:4 warning 'linkTitle' is never reassigned. Use 'const' instead prefer-const
838:4 warning 'linkTitle' is never reassigned. Use 'const' instead prefer-const
848:4 warning '$urlLabel' is never reassigned. Use 'const' instead prefer-const
849:4 warning '$urlField' is never reassigned. Use 'const' instead prefer-const
851:4 warning '$urlRow' is never reassigned. Use 'const' instead prefer-const
853:4 warning '$titleLabel' is never reassigned. Use 'const' instead prefer-const
854:4 warning '$titleField' is never reassigned. Use 'const' instead prefer-const
856:4 warning '$titleRow' is never reassigned. Use 'const' instead prefer-const
858:4 warning '$table' is never reassigned. Use 'const' instead prefer-const
861:4 warning '$dialog' is never reassigned. Use 'const' instead prefer-const
871:5 warning '$editform' is never reassigned. Use 'const' instead prefer-const
872:5 warning 'type' is never reassigned. Use 'const' instead prefer-const
873:5 warning 'wikiEditorContext' is never reassigned. Use 'const' instead prefer-const
901:4 warning 'subject' is never reassigned. Use 'const' instead prefer-const
902:4 warning 'replyThread' is never reassigned. Use 'const' instead prefer-const
903:4 warning '$bumpBox' is never reassigned. Use 'const' instead prefer-const
904:4 warning 'bump' is never reassigned. Use 'const' instead prefer-const
906:4 warning '$spinner' is never reassigned. Use 'const' instead prefer-const
914:5 warning Positional selector extensions are not allowed no-jquery/no-sizzle
1017:4 warning '$loadTOCSpinner' is never reassigned. Use 'const' instead prefer-const
1051:4 warning Prefer .then to .done no-jquery/no-done-fail
1051:4 warning Prefer .then to .fail no-jquery/no-done-fail
1078:4 warning Prefer .then to .done no-jquery/no-done-fail
1106:4 warning Prefer .then to .done no-jquery/no-done-fail
1112:5 warning 'text' is never reassigned. Use 'const' instead prefer-const
1113:5 warning '$prevWarning' is never reassigned. Use 'const' instead prefer-const
1146:4 warning '$thread' is never reassigned. Use 'const' instead prefer-const
1147:4 warning 'threadId' is never reassigned. Use 'const' instead prefer-const
1157:9 warning Where possible, maintain application state in JS to avoid slower DOM queries no-jquery/no-class-state
1167:13 warning '$helper' is already declared in the upper scope on line 1141 column 16 no-shadow
1174:4 warning 'draggableOptions' is never reassigned. Use 'const' instead prefer-const
1195:4 warning Positional selector extensions are not allowed no-jquery/no-sizzle
1203:6 warning 'd' is never reassigned. Use 'const' instead prefer-const
1230:6 warning '$curThread' is never reassigned. Use 'const' instead prefer-const
1236:10 warning Positional selector extensions are not allowed no-jquery/no-sizzle
1239:5 warning '$repliesElement' is never reassigned. Use 'const' instead prefer-const
1243:4 warning 'droppableOptions' is never reassigned. Use 'const' instead prefer-const
1260:5 warning '$thread' is never reassigned. Use 'const' instead prefer-const
1263:4 warning 'params' is never reassigned. Use 'const' instead prefer-const
1307:5 warning '$confirmDialog' is never reassigned. Use 'const' instead prefer-const
1310:4 warning '$intro' is never reassigned. Use 'const' instead prefer-const
1314:4 warning '$actionSummary' is never reassigned. Use 'const' instead prefer-const
1323:4 warning 'topLevel' is never reassigned. Use 'const' instead prefer-const
1324:4 warning 'wasTopLevel' is never reassigned. Use 'const' instead prefer-const
1324:18 warning Where possible, maintain application state in JS to avoid slower DOM queries no-jquery/no-class-state
1341:4 warning '$summaryWrapper' is never reassigned. Use 'const' instead prefer-const
1342:4 warning '$summaryPrompt' is never reassigned. Use 'const' instead prefer-const
1343:4 warning '$summaryField' is never reassigned. Use 'const' instead prefer-const
1383:4 warning 'buttons' is never reassigned. Use 'const' instead prefer-const
1417:19 warning Where possible, maintain application state in JS to avoid slower DOM queries no-jquery/no-class-state
1434:30 warning 'threadId' is already declared in the upper scope on line 1415 column 5 no-shadow
1464:5 warning 'threadId' is never reassigned. Use 'const' instead prefer-const
1538:5 warning Prefer .then to .done no-jquery/no-done-fail
1542:5 warning Prefer .then to .done no-jquery/no-done-fail
1551:4 warning '$container' is never reassigned. Use 'const' instead prefer-const
1558:4 warning '$saveButton' is never reassigned. Use 'const' instead prefer-const
1570:4 warning '$container' is never reassigned. Use 'const' instead prefer-const
1572:4 warning '$spinner' is never reassigned. Use 'const' instead prefer-const
1575:4 warning '$textbox' is never reassigned. Use 'const' instead prefer-const
1576:4 warning '$preview' is never reassigned. Use 'const' instead prefer-const
1580:4 warning Prefer .then to .done no-jquery/no-done-fail
1616:3 warning '$threadContainers' is never reassigned. Use 'const' instead prefer-const
/src/repo/newmessages.js
9:2 warning ES2015 'Object.assign' method is forbidden es-x/no-object-assign
16:6 warning '$row' is never reassigned. Use 'const' instead prefer-const
17:6 warning '$rightCol' is never reassigned. Use 'const' instead prefer-const
21:5 warning 'msg' is never reassigned. Use 'const' instead prefer-const
22:5 warning 'undoMsg' is never reassigned. Use 'const' instead prefer-const
25:5 warning 'placeholderIndex' is never reassigned. Use 'const' instead prefer-const
26:5 warning '$elem' is never reassigned. Use 'const' instead prefer-const
62:5 warning '$undoLink' is never reassigned. Use 'const' instead prefer-const
80:5 warning '$button' is never reassigned. Use 'const' instead prefer-const
102:4 warning Prefer .then to .done no-jquery/no-done-fail
119:4 warning Prefer .then to .done no-jquery/no-done-fail
✖ 167 problems (0 errors, 167 warnings)
Running "banana:LiquidThreads" (banana) task
>> 2 message directories checked.
Running "stylelint:all" (stylelint) task
>> Linted 3 files without errors
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"}, "1105444": {"source": 1105444, "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": ">=2.0.0 <=2.0.1"}}
Upgrading n:brace-expansion from 1.1.11, 2.0.1 -> 1.1.12, 2.0.2
$ package-lock-lint package-lock.json
--- stdout ---
Checking package-lock.json
--- end ---
build: Updating brace-expansion to 1.1.12, 2.0.2
* https://github.com/advisories/GHSA-v6h2-p8h4-qcjw
$ git add .
--- stdout ---
--- end ---
$ git commit -F /tmp/tmpxtz62kma
--- stdout ---
[master 7e724ce] build: Updating brace-expansion to 1.1.12, 2.0.2
1 file changed, 18 insertions(+), 18 deletions(-)
--- end ---
$ git format-patch HEAD~1 --stdout
--- stdout ---
From 7e724ce089b5fc8a2d2dbb65aeb13eeb68014ccc Mon Sep 17 00:00:00 2001
From: libraryupgrader <tools.libraryupgrader@tools.wmflabs.org>
Date: Sat, 14 Jun 2025 09:55:05 +0000
Subject: [PATCH] build: Updating brace-expansion to 1.1.12, 2.0.2
* https://github.com/advisories/GHSA-v6h2-p8h4-qcjw
Change-Id: I478808959e4b97e2c46a6112555aa13d3000d3dc
---
package-lock.json | 36 ++++++++++++++++++------------------
1 file changed, 18 insertions(+), 18 deletions(-)
diff --git a/package-lock.json b/package-lock.json
index 39586ab..daed325 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -513,9 +513,9 @@
}
},
"node_modules/@typescript-eslint/typescript-estree/node_modules/brace-expansion": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz",
- "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==",
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.2.tgz",
+ "integrity": "sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ==",
"dev": true,
"dependencies": {
"balanced-match": "^1.0.0"
@@ -748,9 +748,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",
@@ -1699,9 +1699,9 @@
}
},
"node_modules/eslint-plugin-n/node_modules/brace-expansion": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz",
- "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==",
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.2.tgz",
+ "integrity": "sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ==",
"dev": true,
"dependencies": {
"balanced-match": "^1.0.0"
@@ -5402,9 +5402,9 @@
},
"dependencies": {
"brace-expansion": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz",
- "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==",
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.2.tgz",
+ "integrity": "sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ==",
"dev": true,
"requires": {
"balanced-match": "^1.0.0"
@@ -5574,9 +5574,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",
@@ -6313,9 +6313,9 @@
},
"dependencies": {
"brace-expansion": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz",
- "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==",
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.2.tgz",
+ "integrity": "sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ==",
"dev": true,
"requires": {
"balanced-match": "^1.0.0"
--
2.39.5
--- end ---