This run took 66 seconds.
From 0fc3ef3e3c434e48c24a579973bd2d59ce554d8a Mon Sep 17 00:00:00 2001
From: libraryupgrader <tools.libraryupgrader@tools.wmflabs.org>
Date: Tue, 10 Mar 2026 08:49:20 +0000
Subject: [PATCH] build: Updating mediawiki/mediawiki-phan-config to 0.20.0
Change-Id: If931019f09f736c79d3cccef5e23ca6d8a0438e0
---
composer.json | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/composer.json b/composer.json
index ddc551d..0e56f9e 100644
--- a/composer.json
+++ b/composer.json
@@ -36,7 +36,7 @@
},
"require-dev": {
"mediawiki/mediawiki-codesniffer": "50.0.0",
- "mediawiki/mediawiki-phan-config": "0.19.0",
+ "mediawiki/mediawiki-phan-config": "0.20.0",
"mediawiki/minus-x": "2.0.1",
"ockcyp/covers-validator": "1.7.0",
"php-parallel-lint/php-console-highlighter": "1.0.0",
--
2.47.3
$ date
--- stdout ---
Tue Mar 10 08:48:33 UTC 2026
--- end ---
$ git clone file:///srv/git/mediawiki-libs-LangConv.git /src/repo --depth=1 -b master
--- stderr ---
Cloning into '/src/repo'...
Updating files: 71% (126/176)
Updating files: 72% (127/176)
Updating files: 73% (129/176)
Updating files: 74% (131/176)
Updating files: 75% (132/176)
Updating files: 76% (134/176)
Updating files: 77% (136/176)
Updating files: 78% (138/176)
Updating files: 79% (140/176)
Updating files: 80% (141/176)
Updating files: 81% (143/176)
Updating files: 82% (145/176)
Updating files: 83% (147/176)
Updating files: 84% (148/176)
Updating files: 85% (150/176)
Updating files: 86% (152/176)
Updating files: 87% (154/176)
Updating files: 88% (155/176)
Updating files: 89% (157/176)
Updating files: 90% (159/176)
Updating files: 91% (161/176)
Updating files: 92% (162/176)
Updating files: 93% (164/176)
Updating files: 94% (166/176)
Updating files: 95% (168/176)
Updating files: 96% (169/176)
Updating files: 97% (171/176)
Updating files: 98% (173/176)
Updating files: 99% (175/176)
Updating files: 100% (176/176)
Updating files: 100% (176/176), done.
--- 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 ---
d87b2a2da28af33900cf59e5f6dcb664ff594850 refs/heads/master
--- end ---
$ /usr/bin/npm audit --json
--- stdout ---
{
"auditReportVersion": 2,
"vulnerabilities": {
"mocha": {
"name": "mocha",
"severity": "high",
"isDirect": true,
"via": [
"serialize-javascript"
],
"effects": [],
"range": "8.0.0 - 12.0.0-beta-2",
"nodes": [
"node_modules/mocha"
],
"fixAvailable": {
"name": "mocha",
"version": "7.2.0",
"isSemVerMajor": true
}
},
"serialize-javascript": {
"name": "serialize-javascript",
"severity": "high",
"isDirect": false,
"via": [
{
"source": 1113686,
"name": "serialize-javascript",
"dependency": "serialize-javascript",
"title": "Serialize JavaScript is Vulnerable to RCE via RegExp.flags and Date.prototype.toISOString()",
"url": "https://github.com/advisories/GHSA-5c6j-r48x-rmvq",
"severity": "high",
"cwe": [
"CWE-96"
],
"cvss": {
"score": 8.1,
"vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
},
"range": "<=7.0.2"
}
],
"effects": [
"mocha"
],
"range": "<=7.0.2",
"nodes": [
"node_modules/serialize-javascript"
],
"fixAvailable": {
"name": "mocha",
"version": "7.2.0",
"isSemVerMajor": true
}
}
},
"metadata": {
"vulnerabilities": {
"info": 0,
"low": 0,
"moderate": 0,
"high": 2,
"critical": 0,
"total": 2
},
"dependencies": {
"prod": 1,
"dev": 453,
"optional": 3,
"peer": 1,
"peerOptional": 0,
"total": 453
}
}
}
--- 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: 66 installs, 0 updates, 0 removals
- Locking composer/pcre (3.3.2)
- Locking composer/semver (3.4.4)
- Locking composer/spdx-licenses (1.5.9)
- Locking composer/xdebug-handler (3.0.5)
- Locking dealerdirect/phpcodesniffer-composer-installer (v1.2.0)
- Locking doctrine/deprecations (1.1.6)
- Locking felixfbecker/advanced-json-rpc (v3.2.1)
- Locking mediawiki/mediawiki-codesniffer (v50.0.0)
- Locking mediawiki/mediawiki-phan-config (0.19.0)
- Locking mediawiki/minus-x (2.0.1)
- Locking mediawiki/phan-taint-check-plugin (9.0.0)
- Locking myclabs/deep-copy (1.13.4)
- Locking netresearch/jsonmapper (v4.5.0)
- Locking nikic/php-parser (v5.7.0)
- Locking ockcyp/covers-validator (v1.7.0)
- Locking phan/phan (6.0.1)
- Locking phan/tolerant-php-parser (v0.2.0)
- Locking phan/var_representation_polyfill (0.1.4)
- Locking phar-io/manifest (2.0.4)
- Locking phar-io/version (3.2.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.4.0)
- Locking phpcsstandards/phpcsextra (1.4.0)
- Locking phpcsstandards/phpcsutils (1.2.2)
- Locking phpdocumentor/reflection-common (2.2.0)
- Locking phpdocumentor/reflection-docblock (5.6.6)
- Locking phpdocumentor/type-resolver (1.12.0)
- Locking phpstan/phpdoc-parser (2.3.2)
- Locking phpunit/php-code-coverage (10.1.16)
- Locking phpunit/php-file-iterator (4.1.0)
- Locking phpunit/php-invoker (4.0.0)
- Locking phpunit/php-text-template (3.0.1)
- Locking phpunit/php-timer (6.0.0)
- Locking phpunit/phpunit (10.5.63)
- Locking psr/container (2.0.2)
- Locking psr/log (3.0.2)
- Locking sabre/event (5.1.7)
- Locking sebastian/cli-parser (2.0.1)
- Locking sebastian/code-unit (2.0.0)
- Locking sebastian/code-unit-reverse-lookup (3.0.0)
- Locking sebastian/comparator (5.0.5)
- Locking sebastian/complexity (3.2.0)
- Locking sebastian/diff (5.1.1)
- Locking sebastian/environment (6.1.0)
- Locking sebastian/exporter (5.1.4)
- Locking sebastian/global-state (6.0.2)
- Locking sebastian/lines-of-code (2.0.2)
- Locking sebastian/object-enumerator (5.0.0)
- Locking sebastian/object-reflector (3.0.0)
- Locking sebastian/recursion-context (5.0.1)
- Locking sebastian/type (4.0.0)
- Locking sebastian/version (4.0.1)
- Locking squizlabs/php_codesniffer (3.13.5)
- Locking symfony/console (v6.4.35)
- Locking symfony/deprecation-contracts (v3.6.0)
- Locking symfony/polyfill-ctype (v1.33.0)
- Locking symfony/polyfill-intl-grapheme (v1.33.0)
- Locking symfony/polyfill-intl-normalizer (v1.33.0)
- Locking symfony/polyfill-mbstring (v1.33.0)
- Locking symfony/service-contracts (v3.6.1)
- Locking symfony/string (v7.4.6)
- Locking theseer/tokenizer (1.3.1)
- Locking webmozart/assert (2.1.6)
- Locking wikimedia/assert (v0.5.1)
- Locking wikimedia/update-history (1.0.3)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 66 installs, 0 updates, 0 removals
0 [>---------------------------] 0 [->--------------------------]
- Installing squizlabs/php_codesniffer (3.13.5): Extracting archive
- Installing dealerdirect/phpcodesniffer-composer-installer (v1.2.0): Extracting archive
- Installing composer/pcre (3.3.2): Extracting archive
- Installing phpcsstandards/phpcsutils (1.2.2): Extracting archive
- Installing phpcsstandards/phpcsextra (1.4.0): Extracting archive
- Installing symfony/polyfill-mbstring (v1.33.0): Extracting archive
- Installing composer/spdx-licenses (1.5.9): Extracting archive
- Installing composer/semver (3.4.4): Extracting archive
- Installing mediawiki/mediawiki-codesniffer (v50.0.0): Extracting archive
- Installing symfony/polyfill-intl-normalizer (v1.33.0): Extracting archive
- Installing symfony/polyfill-intl-grapheme (v1.33.0): Extracting archive
- Installing symfony/polyfill-ctype (v1.33.0): Extracting archive
- Installing symfony/deprecation-contracts (v3.6.0): Extracting archive
- Installing symfony/string (v7.4.6): Extracting archive
- Installing psr/container (2.0.2): Extracting archive
- Installing symfony/service-contracts (v3.6.1): Extracting archive
- Installing symfony/console (v6.4.35): Extracting archive
- Installing sabre/event (5.1.7): Extracting archive
- Installing phan/var_representation_polyfill (0.1.4): Extracting archive
- Installing phan/tolerant-php-parser (v0.2.0): Extracting archive
- Installing netresearch/jsonmapper (v4.5.0): Extracting archive
- Installing webmozart/assert (2.1.6): Extracting archive
- Installing phpstan/phpdoc-parser (2.3.2): Extracting archive
- Installing phpdocumentor/reflection-common (2.2.0): Extracting archive
- Installing doctrine/deprecations (1.1.6): Extracting archive
- Installing phpdocumentor/type-resolver (1.12.0): Extracting archive
- Installing phpdocumentor/reflection-docblock (5.6.6): 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 (6.0.1): Extracting archive
- Installing mediawiki/phan-taint-check-plugin (9.0.0): Extracting archive
- Installing mediawiki/mediawiki-phan-config (0.19.0): Extracting archive
- Installing mediawiki/minus-x (2.0.1): Extracting archive
- Installing sebastian/version (4.0.1): Extracting archive
- Installing sebastian/type (4.0.0): Extracting archive
- Installing sebastian/recursion-context (5.0.1): Extracting archive
- Installing sebastian/object-reflector (3.0.0): Extracting archive
- Installing sebastian/object-enumerator (5.0.0): Extracting archive
- Installing sebastian/global-state (6.0.2): Extracting archive
- Installing sebastian/exporter (5.1.4): Extracting archive
- Installing sebastian/environment (6.1.0): Extracting archive
- Installing sebastian/diff (5.1.1): Extracting archive
- Installing sebastian/comparator (5.0.5): Extracting archive
- Installing sebastian/code-unit (2.0.0): Extracting archive
- Installing sebastian/cli-parser (2.0.1): Extracting archive
- Installing phpunit/php-timer (6.0.0): Extracting archive
- Installing phpunit/php-text-template (3.0.1): Extracting archive
- Installing phpunit/php-invoker (4.0.0): Extracting archive
- Installing phpunit/php-file-iterator (4.1.0): Extracting archive
- Installing theseer/tokenizer (1.3.1): Extracting archive
- Installing nikic/php-parser (v5.7.0): Extracting archive
- Installing sebastian/lines-of-code (2.0.2): Extracting archive
- Installing sebastian/complexity (3.2.0): Extracting archive
- Installing sebastian/code-unit-reverse-lookup (3.0.0): Extracting archive
- Installing phpunit/php-code-coverage (10.1.16): Extracting archive
- Installing phar-io/version (3.2.1): Extracting archive
- Installing phar-io/manifest (2.0.4): Extracting archive
- Installing myclabs/deep-copy (1.13.4): Extracting archive
- Installing phpunit/phpunit (10.5.63): Extracting archive
- Installing ockcyp/covers-validator (v1.7.0): 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
- Installing wikimedia/assert (v0.5.1): Extracting archive
- Installing wikimedia/update-history (1.0.3): Extracting archive
0/64 [>---------------------------] 0%
28/64 [============>---------------] 43%
48/64 [=====================>------] 75%
64/64 [============================] 100%
3 package suggestions were added by new dependencies, use `composer suggest` to see details.
Generating optimized autoload files
Class Wikimedia\LangConv\Test\FstReplacementMachineTest located in ./tests/phpunit/FstReplacementMachineTest.php does not comply with psr-4 autoloading standard (rule: Wikimedia\LangConv\Tests\ => ./tests/phpunit). Skipping.
Class Wikimedia\LangConv\Test\Construct\GenReplFstTest located in ./tests/phpunit/Construct/GenReplFstTest.php does not comply with psr-4 autoloading standard (rule: Wikimedia\LangConv\Tests\ => ./tests/phpunit). Skipping.
Class Wikimedia\LangConv\Test\NullReplacementMachineTest located in ./tests/phpunit/NullReplacementMachineTest.php does not comply with psr-4 autoloading standard (rule: Wikimedia\LangConv\Tests\ => ./tests/phpunit). Skipping.
40 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 ---
Upgrading c:mediawiki/mediawiki-phan-config from 0.19.0 -> 0.20.0
$ /usr/bin/composer update
--- stderr ---
Loading composer repositories with package information
Updating dependencies
Lock file operations: 1 install, 7 updates, 1 removal
- Removing felixfbecker/advanced-json-rpc (v3.2.1)
- Locking danog/advanced-json-rpc (v3.2.3)
- Upgrading mediawiki/mediawiki-phan-config (0.19.0 => 0.20.0)
- Upgrading mediawiki/phan-taint-check-plugin (9.0.0 => 9.1.0)
- Upgrading netresearch/jsonmapper (v4.5.0 => v5.0.1)
- Upgrading phan/phan (6.0.1 => 6.0.2)
- Upgrading phpdocumentor/reflection-docblock (5.6.6 => 6.0.2)
- Upgrading phpdocumentor/type-resolver (1.12.0 => 2.0.0)
- Upgrading sabre/event (5.1.7 => 6.0.1)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 1 install, 7 updates, 1 removal
0 [>---------------------------] 0 [->--------------------------]
- Removing felixfbecker/advanced-json-rpc (v3.2.1)
- Upgrading sabre/event (5.1.7 => 6.0.1): Extracting archive
- Upgrading netresearch/jsonmapper (v4.5.0 => v5.0.1): Extracting archive
- Upgrading phpdocumentor/type-resolver (1.12.0 => 2.0.0): Extracting archive
- Upgrading phpdocumentor/reflection-docblock (5.6.6 => 6.0.2): Extracting archive
- Installing danog/advanced-json-rpc (v3.2.3): Extracting archive
- Upgrading phan/phan (6.0.1 => 6.0.2): Extracting archive
- Upgrading mediawiki/phan-taint-check-plugin (9.0.0 => 9.1.0): Extracting archive
- Upgrading mediawiki/mediawiki-phan-config (0.19.0 => 0.20.0): Extracting archive
0/8 [>---------------------------] 0%
7/8 [========================>---] 87%
8/8 [============================] 100%
Generating optimized autoload files
Class Wikimedia\LangConv\Test\FstReplacementMachineTest located in ./tests/phpunit/FstReplacementMachineTest.php does not comply with psr-4 autoloading standard (rule: Wikimedia\LangConv\Tests\ => ./tests/phpunit). Skipping.
Class Wikimedia\LangConv\Test\Construct\GenReplFstTest located in ./tests/phpunit/Construct/GenReplFstTest.php does not comply with psr-4 autoloading standard (rule: Wikimedia\LangConv\Tests\ => ./tests/phpunit). Skipping.
Class Wikimedia\LangConv\Test\NullReplacementMachineTest located in ./tests/phpunit/NullReplacementMachineTest.php does not comply with psr-4 autoloading standard (rule: Wikimedia\LangConv\Tests\ => ./tests/phpunit). Skipping.
40 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
No security vulnerability advisories found.
--- stdout ---
--- end ---
$ /usr/bin/composer install
--- stderr ---
Installing dependencies from lock file (including require-dev)
Verifying lock file contents can be installed on current platform.
Nothing to install, update or remove
Generating optimized autoload files
Class Wikimedia\LangConv\Test\FstReplacementMachineTest located in ./tests/phpunit/FstReplacementMachineTest.php does not comply with psr-4 autoloading standard (rule: Wikimedia\LangConv\Tests\ => ./tests/phpunit). Skipping.
Class Wikimedia\LangConv\Test\Construct\GenReplFstTest located in ./tests/phpunit/Construct/GenReplFstTest.php does not comply with psr-4 autoloading standard (rule: Wikimedia\LangConv\Tests\ => ./tests/phpunit). Skipping.
Class Wikimedia\LangConv\Test\NullReplacementMachineTest located in ./tests/phpunit/NullReplacementMachineTest.php does not comply with psr-4 autoloading standard (rule: Wikimedia\LangConv\Tests\ => ./tests/phpunit). Skipping.
40 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
--- stdout ---
--- end ---
$ /usr/bin/composer test
--- stderr ---
> parallel-lint . --exclude vendor --exclude node_modules
> phpunit
> covers-validator
> phpcs -sp
> phan --allow-polyfill-parser
Parsing files...
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 54 / 1856 ( 4%) 55MB
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 108 / 1856 ( 8%) 77MB
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 162 / 1856 ( 8%) 77MB
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 216 / 1856 ( 15%) 84MB
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 270 / 1856 ( 15%) 84MB
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 324 / 1856 ( 21%) 90MB
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 378 / 1856 ( 21%) 90MB
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 432 / 1856 ( 24%) 122MB
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 486 / 1856 ( 30%) 129MB
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 540 / 1856 ( 30%) 129MB
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 594 / 1856 ( 37%) 136MB
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 648 / 1856 ( 37%) 136MB
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 702 / 1856 ( 40%) 147MB
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 756 / 1856 ( 46%) 155MB
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 810 / 1856 ( 46%) 155MB
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 864 / 1856 ( 46%) 155MB
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 918 / 1856 ( 52%) 162MB
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 972 / 1856 ( 58%) 171MB
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1026 / 1856 ( 58%) 171MB
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1080 / 1856 ( 58%) 171MB
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1134 / 1856 ( 64%) 179MB
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1188 / 1856 ( 64%) 179MB
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1242 / 1856 ( 69%) 187MB
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1296 / 1856 ( 72%) 195MB
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1350 / 1856 ( 76%) 203MB
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1404 / 1856 ( 76%) 203MB
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1458 / 1856 ( 82%) 211MB
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1512 / 1856 ( 82%) 211MB
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1566 / 1856 ( 88%) 220MB
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1620 / 1856 ( 88%) 220MB
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1674 / 1856 ( 91%) 230MB
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1728 / 1856 ( 94%) 240MB
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1782 / 1856 ( 96%) 248MB
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1836 / 1856 ( 98%) 260MB
░░░░░░░░░░░░░░░░░░░░ 1856 / 1856 (100%) 270MB
Analyzing classes...
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 310MB
Analyzing functions...
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 310MB
Analyzing methods...
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 320MB
Analyzing files...
░░░░░░░░░░░░░░ 14 / 14 (100%) 328MB
> minus-x check .
--- stdout ---
PHP 8.4.18 | 10 parallel jobs
..................... 21/21 (100%)
Checked 21 files in 0.1 seconds
No syntax error found
PHPUnit 10.5.63 by Sebastian Bergmann and contributors.
Runtime: PHP 8.4.18
Configuration: /src/repo/phpunit.xml.dist
... 3 / 3 (100%)
Time: 00:00.011, Memory: 8.00 MB
OK (3 tests, 4 assertions)
CoversValidator 1.7.0
Validation complete. All @covers tags are valid.
..................... 21 / 21 (100%)
Time: 413ms; Memory: 8MB
MinusX
======
Processing /src/repo...
.............................................................
.............................................................
........................................................
All good!
--- end ---
$ /usr/bin/npm audit --json
--- stdout ---
{
"auditReportVersion": 2,
"vulnerabilities": {
"mocha": {
"name": "mocha",
"severity": "high",
"isDirect": true,
"via": [
"serialize-javascript"
],
"effects": [],
"range": "8.0.0 - 12.0.0-beta-2",
"nodes": [
"node_modules/mocha"
],
"fixAvailable": {
"name": "mocha",
"version": "7.2.0",
"isSemVerMajor": true
}
},
"serialize-javascript": {
"name": "serialize-javascript",
"severity": "high",
"isDirect": false,
"via": [
{
"source": 1113686,
"name": "serialize-javascript",
"dependency": "serialize-javascript",
"title": "Serialize JavaScript is Vulnerable to RCE via RegExp.flags and Date.prototype.toISOString()",
"url": "https://github.com/advisories/GHSA-5c6j-r48x-rmvq",
"severity": "high",
"cwe": [
"CWE-96"
],
"cvss": {
"score": 8.1,
"vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
},
"range": "<=7.0.2"
}
],
"effects": [
"mocha"
],
"range": "<=7.0.2",
"nodes": [
"node_modules/serialize-javascript"
],
"fixAvailable": {
"name": "mocha",
"version": "7.2.0",
"isSemVerMajor": true
}
}
},
"metadata": {
"vulnerabilities": {
"info": 0,
"low": 0,
"moderate": 0,
"high": 2,
"critical": 0,
"total": 2
},
"dependencies": {
"prod": 1,
"dev": 453,
"optional": 3,
"peer": 1,
"peerOptional": 0,
"total": 453
}
}
}
--- 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": 453,
"removed": 0,
"changed": 0,
"audited": 454,
"funding": 98,
"audit": {
"auditReportVersion": 2,
"vulnerabilities": {
"mocha": {
"name": "mocha",
"severity": "high",
"isDirect": true,
"via": [
"serialize-javascript"
],
"effects": [],
"range": "8.0.0 - 12.0.0-beta-2",
"nodes": [
"node_modules/mocha"
],
"fixAvailable": {
"name": "mocha",
"version": "7.2.0",
"isSemVerMajor": true
}
},
"serialize-javascript": {
"name": "serialize-javascript",
"severity": "high",
"isDirect": false,
"via": [
{
"source": 1113686,
"name": "serialize-javascript",
"dependency": "serialize-javascript",
"title": "Serialize JavaScript is Vulnerable to RCE via RegExp.flags and Date.prototype.toISOString()",
"url": "https://github.com/advisories/GHSA-5c6j-r48x-rmvq",
"severity": "high",
"cwe": [
"CWE-96"
],
"cvss": {
"score": 8.1,
"vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
},
"range": "<=7.0.2"
}
],
"effects": [
"mocha"
],
"range": "<=7.0.2",
"nodes": [
"node_modules/serialize-javascript"
],
"fixAvailable": {
"name": "mocha",
"version": "7.2.0",
"isSemVerMajor": true
}
}
},
"metadata": {
"vulnerabilities": {
"info": 0,
"low": 0,
"moderate": 0,
"high": 2,
"critical": 0,
"total": 2
},
"dependencies": {
"prod": 1,
"dev": 453,
"optional": 3,
"peer": 1,
"peerOptional": 0,
"total": 453
}
}
}
}
--- end ---
{"added": 453, "removed": 0, "changed": 0, "audited": 454, "funding": 98, "audit": {"auditReportVersion": 2, "vulnerabilities": {"mocha": {"name": "mocha", "severity": "high", "isDirect": true, "via": ["serialize-javascript"], "effects": [], "range": "8.0.0 - 12.0.0-beta-2", "nodes": ["node_modules/mocha"], "fixAvailable": {"name": "mocha", "version": "7.2.0", "isSemVerMajor": true}}, "serialize-javascript": {"name": "serialize-javascript", "severity": "high", "isDirect": false, "via": [{"source": 1113686, "name": "serialize-javascript", "dependency": "serialize-javascript", "title": "Serialize JavaScript is Vulnerable to RCE via RegExp.flags and Date.prototype.toISOString()", "url": "https://github.com/advisories/GHSA-5c6j-r48x-rmvq", "severity": "high", "cwe": ["CWE-96"], "cvss": {"score": 8.1, "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"}, "range": "<=7.0.2"}], "effects": ["mocha"], "range": "<=7.0.2", "nodes": ["node_modules/serialize-javascript"], "fixAvailable": {"name": "mocha", "version": "7.2.0", "isSemVerMajor": true}}}, "metadata": {"vulnerabilities": {"info": 0, "low": 0, "moderate": 0, "high": 2, "critical": 0, "total": 2}, "dependencies": {"prod": 1, "dev": 453, "optional": 3, "peer": 1, "peerOptional": 0, "total": 453}}}}
$ /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 deprecated @humanwhocodes/config-array@0.13.0: Use @eslint/config-array instead
npm WARN deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
npm WARN deprecated @humanwhocodes/object-schema@2.0.3: Use @eslint/object-schema instead
npm WARN deprecated eslint@8.57.1: This version is no longer supported. Please see https://eslint.org/version-support for other options.
--- stdout ---
added 452 packages, and audited 453 packages in 5s
98 packages are looking for funding
run `npm fund` for details
# npm audit report
serialize-javascript <=7.0.2
Severity: high
Serialize JavaScript is Vulnerable to RCE via RegExp.flags and Date.prototype.toISOString() - https://github.com/advisories/GHSA-5c6j-r48x-rmvq
fix available via `npm audit fix --force`
Will install mocha@7.2.0, which is a breaking change
node_modules/serialize-javascript
mocha 8.0.0 - 12.0.0-beta-2
Depends on vulnerable versions of serialize-javascript
node_modules/mocha
2 high severity vulnerabilities
To address all issues (including breaking changes), run:
npm audit fix --force
--- end ---
Verifying that tests still pass
$ /usr/bin/npm ci
--- stderr ---
npm WARN deprecated @humanwhocodes/config-array@0.13.0: Use @eslint/config-array instead
npm WARN deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
npm WARN deprecated @humanwhocodes/object-schema@2.0.3: Use @eslint/object-schema instead
npm WARN deprecated eslint@8.57.1: This version is no longer supported. Please see https://eslint.org/version-support for other options.
--- stdout ---
added 452 packages, and audited 453 packages in 5s
98 packages are looking for funding
run `npm fund` for details
2 high severity vulnerabilities
To address all issues (including breaking changes), run:
npm audit fix --force
Run `npm audit` for details.
--- end ---
$ /usr/bin/npm test
--- stderr ---
[baseline-browser-mapping] The data in this module is over two months old. To ensure accurate Baseline data, please update: `npm i baseline-browser-mapping@latest -D`
[baseline-browser-mapping] The data in this module is over two months old. To ensure accurate Baseline data, please update: `npm i baseline-browser-mapping@latest -D`
--- stdout ---
> wikimedia-langconv@0.4.1+git test
> npm run eslint && npm run mocha
> wikimedia-langconv@0.4.1+git eslint
> eslint --cache lib
/src/repo/lib/FST.js
48:1 warning The type 'Utf8Array' is undefined jsdoc/no-undefined-types
52:1 warning The type 'BracketMachine' is undefined jsdoc/no-undefined-types
52:1 warning The type 'ConversionMachine' is undefined jsdoc/no-undefined-types
/src/repo/lib/ReplacementMachine.js
17:1 warning Missing JSDoc @param "baseLanguage" type jsdoc/require-param-type
36:2 warning Missing JSDoc @return declaration jsdoc/require-returns
37:1 warning Missing JSDoc @param "filename" type jsdoc/require-param-type
38:1 warning Missing JSDoc @param "bracket" type jsdoc/require-param-type
59:2 warning Found more than one @return declaration jsdoc/require-returns
59:2 warning Found more than one @return declaration jsdoc/require-returns-check
70:1 warning Missing JSDoc @param "s" type jsdoc/require-param-type
71:1 warning Missing JSDoc @param "destCode" type jsdoc/require-param-type
72:1 warning Missing JSDoc @param "invertCode" type jsdoc/require-param-type
104:1 warning The type 'Node' is undefined jsdoc/no-undefined-types
107:1 warning The type 'Node' is undefined jsdoc/no-undefined-types
136:1 warning The type 'Document' is undefined jsdoc/no-undefined-types
144:1 warning The type 'DocumentFragment' is undefined jsdoc/no-undefined-types
✖ 16 problems (0 errors, 16 warnings)
> wikimedia-langconv@0.4.1+git mocha
> nyc --reporter text-summary _mocha --recursive --timeout 10000 --check-leaks tests/mocha
Foma FST verification
- LANGCONV_TEST_FOMA is not set, skipping
Language/CRH tests
✔ general words, covering more of the alphabet (1) [crh-cyrl]
✔ general words, covering more of the alphabet (2) [crh-cyrl]
✔ general words, covering more of the alphabet (3) [crh-cyrl]
✔ general words, covering more of the alphabet (4) [crh-cyrl]
✔ exception words [crh-cyrl]
✔ recent problem words, part 1 [crh-cyrl]
✔ recent problem words, part 2 [crh-cyrl]
✔ recent problem words, part 3 [crh-cyrl]
✔ recent problem words, part 4 [crh-cyrl]
✔ recent problem words, part 5 [crh-cyrl]
✔ recent problem words, part 6 [crh-cyrl]
✔ recent problem words, part 7 [crh-cyrl]
✔ regex pattern words [crh-cyrl]
✔ multi part words [crh-cyrl]
✔ affix patterns [crh-cyrl]
✔ Roman numerals and quotes, esp. single-letter Roman numerals at the end of a string [crh-cyrl]
✔ Roman numerals vs Initials, part 1 - Roman numeral initials without spaces [crh-cyrl]
✔ Roman numerals vs Initials, part 2 - Roman numeral initials with spaces [crh-cyrl]
✔ ALL CAPS, made up acronyms [crh-cyrl]
✔ Many-to-one mappings: many Cyrillic to one Latin [crh-cyrl]
✔ Many-to-one mappings: many Latin to one Cyrillic [crh-cyrl]
✔ general words, covering more of the alphabet (1) [crh-latn]
✔ general words, covering more of the alphabet (2) [crh-latn]
✔ general words, covering more of the alphabet (3) [crh-latn]
✔ general words, covering more of the alphabet (4) [crh-latn]
✔ exception words [crh-latn]
✔ recent problem words, part 1 [crh-latn]
✔ recent problem words, part 2 [crh-latn]
✔ recent problem words, part 3 [crh-latn]
✔ recent problem words, part 4 [crh-latn]
✔ recent problem words, part 5 [crh-latn]
✔ recent problem words, part 6 [crh-latn]
✔ recent problem words, part 7 [crh-latn]
✔ regex pattern words [crh-latn]
✔ multi part words [crh-latn]
✔ affix patterns [crh-latn]
✔ Roman numerals and quotes, esp. single-letter Roman numerals at the end of a string [crh-latn]
✔ Roman numerals vs Initials, part 1 - Roman numeral initials without spaces [crh-latn]
✔ Roman numerals vs Initials, part 2 - Roman numeral initials with spaces [crh-latn]
✔ ALL CAPS, made up acronyms [crh-latn]
✔ Many-to-one mappings: many Cyrillic to one Latin [crh-latn]
✔ Many-to-one mappings: many Latin to one Cyrillic [crh-latn]
LanguageEn tests
✔ Converting to Pig Latin [en]
✔ Converting from Pig Latin [en]
✔ Converting to Pig Latin [en-x-piglatin]
✔ Converting from Pig Latin [en-x-piglatin]
LanguageKu tests
✔ Test (1) [ku-arab]
✔ Test (3) [ku-arab]
✔ Test (1) [ku-latn]
✔ Test (2) [ku-latn]
✔ Test (3) [ku-latn]
LanguageSr tests
✔ A simple conversion of Latin to Cyrillic [sr-ec]
LanguageZh tests
✔ Plain hant -> hans [zh-cn]
✔ Plain hans -> hant [zh-cn]
✔ zh-cn specific [zh-cn]
✔ zh-hk specific [zh-cn]
✔ zh-tw specific [zh-cn]
✔ zh-tw overrides zh-hant [zh-cn]
✔ zh-hk overrides zh-hant [zh-cn]
✔ Plain hant -> hans [zh-sg]
✔ Plain hans -> hant [zh-sg]
✔ zh-cn specific [zh-sg]
✔ zh-hk specific [zh-sg]
✔ zh-tw specific [zh-sg]
✔ zh-tw overrides zh-hant [zh-sg]
✔ zh-hk overrides zh-hant [zh-sg]
✔ Plain hant -> hans [zh-my]
✔ Plain hans -> hant [zh-my]
✔ zh-cn specific [zh-my]
✔ zh-hk specific [zh-my]
✔ zh-tw specific [zh-my]
✔ zh-tw overrides zh-hant [zh-my]
✔ zh-hk overrides zh-hant [zh-my]
✔ Plain hant -> hans [zh-hans]
✔ Plain hans -> hant [zh-hans]
✔ zh-cn specific [zh-hans]
✔ zh-hk specific [zh-hans]
✔ zh-tw specific [zh-hans]
✔ zh-tw overrides zh-hant [zh-hans]
✔ zh-hk overrides zh-hant [zh-hans]
✔ Plain hant -> hans [zh-tw]
✔ Plain hans -> hant [zh-tw]
✔ zh-cn specific [zh-tw]
✔ zh-hk specific [zh-tw]
✔ zh-tw specific [zh-tw]
✔ zh-tw overrides zh-hant [zh-tw]
✔ zh-hk overrides zh-hant [zh-tw]
✔ Plain hant -> hans [zh-hk]
✔ Plain hans -> hant [zh-hk]
✔ zh-cn specific [zh-hk]
✔ zh-hk specific [zh-hk]
✔ zh-tw specific [zh-hk]
✔ zh-tw overrides zh-hant [zh-hk]
✔ zh-hk overrides zh-hant [zh-hk]
✔ Plain hant -> hans [zh-mo]
✔ Plain hans -> hant [zh-mo]
✔ zh-cn specific [zh-mo]
✔ zh-hk specific [zh-mo]
✔ zh-tw specific [zh-mo]
✔ zh-tw overrides zh-hant [zh-mo]
✔ zh-hk overrides zh-hant [zh-mo]
✔ Plain hant -> hans [zh-hant]
✔ Plain hans -> hant [zh-hant]
✔ zh-cn specific [zh-hant]
✔ zh-hk specific [zh-hant]
✔ zh-tw specific [zh-hant]
✔ zh-tw overrides zh-hant [zh-hant]
✔ zh-hk overrides zh-hant [zh-hant]
108 passing (107ms)
1 pending
=============================== Coverage summary ===============================
Statements : 87.37% ( 173/198 )
Branches : 80.64% ( 75/93 )
Functions : 83.33% ( 20/24 )
Lines : 86.77% ( 164/189 )
================================================================================
--- end ---
$ package-lock-lint /src/repo/package-lock.json
--- stdout ---
Checking /src/repo/package-lock.json
--- end ---
build: Updating mediawiki/mediawiki-phan-config to 0.20.0
$ git add .
--- stdout ---
--- end ---
$ git commit -F /tmp/tmpdvpwt408
--- stdout ---
[master 0fc3ef3] build: Updating mediawiki/mediawiki-phan-config to 0.20.0
1 file changed, 1 insertion(+), 1 deletion(-)
--- end ---
$ git format-patch HEAD~1 --stdout
--- stdout ---
From 0fc3ef3e3c434e48c24a579973bd2d59ce554d8a Mon Sep 17 00:00:00 2001
From: libraryupgrader <tools.libraryupgrader@tools.wmflabs.org>
Date: Tue, 10 Mar 2026 08:49:20 +0000
Subject: [PATCH] build: Updating mediawiki/mediawiki-phan-config to 0.20.0
Change-Id: If931019f09f736c79d3cccef5e23ca6d8a0438e0
---
composer.json | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/composer.json b/composer.json
index ddc551d..0e56f9e 100644
--- a/composer.json
+++ b/composer.json
@@ -36,7 +36,7 @@
},
"require-dev": {
"mediawiki/mediawiki-codesniffer": "50.0.0",
- "mediawiki/mediawiki-phan-config": "0.19.0",
+ "mediawiki/mediawiki-phan-config": "0.20.0",
"mediawiki/minus-x": "2.0.1",
"ockcyp/covers-validator": "1.7.0",
"php-parallel-lint/php-console-highlighter": "1.0.0",
--
2.47.3
--- end ---