This run took 41 seconds.
From 0adf7d1f40484a753a2398dce8bb3ef541a7f33c Mon Sep 17 00:00:00 2001
From: libraryupgrader <tools.libraryupgrader@tools.wmflabs.org>
Date: Sat, 17 Jan 2026 04:25:42 +0000
Subject: [PATCH] build: Updating composer dependencies
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
* mediawiki/mediawiki-codesniffer: 48.0.0 → 49.0.0
* mediawiki/minus-x: 1.1.3 → 2.0.0
Change-Id: I4d26ae338b7ee93c1e82858ecc5d7ed99164e536
---
composer.json | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/composer.json b/composer.json
index 36a63db..93dcfe5 100644
--- a/composer.json
+++ b/composer.json
@@ -3,9 +3,9 @@
"james-heinrich/getid3": "~1.9.24"
},
"require-dev": {
- "mediawiki/mediawiki-codesniffer": "48.0.0",
+ "mediawiki/mediawiki-codesniffer": "49.0.0",
"mediawiki/mediawiki-phan-config": "0.18.0",
- "mediawiki/minus-x": "1.1.3",
+ "mediawiki/minus-x": "2.0.0",
"php-parallel-lint/php-console-highlighter": "1.0.0",
"php-parallel-lint/php-parallel-lint": "1.4.0"
},
--
2.47.3
$ date
--- stdout ---
Sat Jan 17 04:25:07 UTC 2026
--- end ---
$ git clone file:///srv/git/mediawiki-extensions-TimedMediaHandler.git /src/repo --depth=1 -b master
--- stderr ---
Cloning into '/src/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 ---
aa0fb564e839fb13fca0a8d7e60e8c93629d5ec4 refs/heads/master
--- end ---
$ /usr/bin/npm audit --json
--- stdout ---
{
"auditReportVersion": 2,
"vulnerabilities": {
"diff": {
"name": "diff",
"severity": "low",
"isDirect": false,
"via": [
{
"source": 1112148,
"name": "diff",
"dependency": "diff",
"title": "jsdiff has a Denial of Service vulnerability in parsePatch and applyPatch",
"url": "https://github.com/advisories/GHSA-73rr-hh4g-fpgx",
"severity": "low",
"cwe": [
"CWE-400",
"CWE-1333"
],
"cvss": {
"score": 0,
"vectorString": null
},
"range": "<8.0.3"
}
],
"effects": [
"grunt-patcher"
],
"range": "<8.0.3",
"nodes": [
"node_modules/diff"
],
"fixAvailable": false
},
"grunt-patcher": {
"name": "grunt-patcher",
"severity": "low",
"isDirect": true,
"via": [
"diff"
],
"effects": [],
"range": "*",
"nodes": [
"node_modules/grunt-patcher"
],
"fixAvailable": false
}
},
"metadata": {
"vulnerabilities": {
"info": 0,
"low": 2,
"moderate": 0,
"high": 0,
"critical": 0,
"total": 2
},
"dependencies": {
"prod": 1,
"dev": 467,
"optional": 0,
"peer": 1,
"peerOptional": 0,
"total": 467
}
}
}
--- end ---
$ /usr/bin/composer install
--- stderr ---
No composer.lock file present. Updating dependencies to latest instead of installing from lock file. See https://getcomposer.org/install for more information.
Loading composer repositories with package information
Updating dependencies
Lock file operations: 39 installs, 0 updates, 0 removals
- Locking composer/pcre (3.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.5)
- Locking felixfbecker/advanced-json-rpc (v3.2.1)
- Locking james-heinrich/getid3 (v1.9.24)
- Locking mediawiki/mediawiki-codesniffer (v48.0.0)
- Locking mediawiki/mediawiki-phan-config (0.18.0)
- Locking mediawiki/minus-x (1.1.3)
- Locking mediawiki/phan-taint-check-plugin (8.0.0)
- Locking microsoft/tolerant-php-parser (v0.1.2)
- Locking netresearch/jsonmapper (v4.5.0)
- Locking phan/phan (5.5.2)
- 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.1.1)
- 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.1)
- Locking psr/container (2.0.2)
- Locking psr/log (3.0.2)
- Locking sabre/event (5.1.7)
- Locking squizlabs/php_codesniffer (3.13.2)
- Locking symfony/console (v7.4.3)
- 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/polyfill-php80 (v1.33.0)
- Locking symfony/service-contracts (v3.6.1)
- Locking symfony/string (v8.0.1)
- Locking tysonandre/var_representation_polyfill (0.1.3)
- Locking webmozart/assert (2.1.2)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 39 installs, 0 updates, 0 removals
0 [>---------------------------] 0 [->--------------------------]
- Installing squizlabs/php_codesniffer (3.13.2): Extracting archive
- Installing dealerdirect/phpcodesniffer-composer-installer (v1.2.0): Extracting archive
- Installing composer/pcre (3.3.2): Extracting archive
- Installing james-heinrich/getid3 (v1.9.24): Extracting archive
- Installing phpcsstandards/phpcsutils (1.1.1): 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 (v48.0.0): Extracting archive
- Installing tysonandre/var_representation_polyfill (0.1.3): Extracting archive
- Installing symfony/polyfill-php80 (v1.33.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/string (v8.0.1): 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.1): Extracting archive
- Installing symfony/console (v7.4.3): 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 (2.1.2): Extracting archive
- Installing phpstan/phpdoc-parser (2.3.1): Extracting archive
- Installing phpdocumentor/reflection-common (2.2.0): Extracting archive
- Installing doctrine/deprecations (1.1.5): 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 (5.5.2): Extracting archive
- Installing mediawiki/phan-taint-check-plugin (8.0.0): Extracting archive
- Installing mediawiki/mediawiki-phan-config (0.18.0): 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/37 [>---------------------------] 0%
27/37 [====================>-------] 72%
36/37 [===========================>] 97%
37/37 [============================] 100%
8 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 ---
Upgrading c:mediawiki/mediawiki-codesniffer from 48.0.0 -> 49.0.0
Upgrading c:mediawiki/minus-x from 1.1.3 -> 2.0.0
$ /usr/bin/composer update
--- stderr ---
Loading composer repositories with package information
Updating dependencies
Lock file operations: 0 installs, 4 updates, 0 removals
- Upgrading mediawiki/mediawiki-codesniffer (v48.0.0 => v49.0.0)
- Upgrading mediawiki/minus-x (1.1.3 => 2.0.0)
- Upgrading phpcsstandards/phpcsutils (1.1.1 => 1.2.2)
- Upgrading squizlabs/php_codesniffer (3.13.2 => 3.13.5)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 0 installs, 4 updates, 0 removals
0 [>---------------------------] 0 [->--------------------------]
- Upgrading squizlabs/php_codesniffer (3.13.2 => 3.13.5): Extracting archive
- Upgrading phpcsstandards/phpcsutils (1.1.1 => 1.2.2): Extracting archive
- Upgrading mediawiki/mediawiki-codesniffer (v48.0.0 => v49.0.0): Extracting archive
- Upgrading mediawiki/minus-x (1.1.3 => 2.0.0): Extracting archive
0/4 [>---------------------------] 0%
3/4 [=====================>------] 75%
4/4 [============================] 100%
Generating autoload files
17 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
No security vulnerability advisories found.
--- stdout ---
PHP CodeSniffer Config installed_paths set to ../../mediawiki/mediawiki-codesniffer,../../phpcsstandards/phpcsextra,../../phpcsstandards/phpcsutils
--- end ---
$ vendor/bin/phpcs --report=json
--- stdout ---
{"totals":{"errors":0,"warnings":0,"fixable":0},"files":{"\/src\/repo\/includes\/TimedText\/DOM\/RubyNode.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/TimedText\/DOM\/UnderlineNode.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/TimedText\/DOM\/Node.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/TimedText\/DOM\/RubyTextNode.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/TimedText\/DOM\/ItalicNode.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/TimedText\/DOM\/ClassNode.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/TimedText\/DOM\/TextNode.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/TimedText\/DOM\/TimestampNode.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/TimedText\/DOM\/InternalNode.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/TimedText\/DOM\/LanguageNode.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/TimedText\/DOM\/BoldNode.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/TimedText\/Reader.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/TimedText\/DOM\/Cue.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/TimedText\/DOM\/VoiceNode.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/InstallerHooks.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/maintenance\/dumpMetadata.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/i18n\/TimedMediaHandler.i18n.magic.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/ServiceWiring.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/i18n\/TimedMediaHandler.i18n.alias.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/TimedText\/SrtWriter.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/TimedText\/DOM\/LeafNode.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/ApiQueryVideoInfo.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/TimedText\/ParseError.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/maintenance\/requeueTranscodes.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/maintenance\/convertSubtitles.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/HLS\/OwningStreamReader.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Handlers\/MPEGHandler\/MPEGHandler.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/HLS\/ShortReadException.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/maintenance\/cleanupOrphanedTranscodes.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/TimedText\/VttWriter.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/TimedTextHooks.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Handlers\/ID3Handler\/ID3Handler.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/WAVHandlerTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Handlers\/WAVHandler\/WAVHandler.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Handlers\/MIDIHandler\/MIDIHandler.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/HLS\/StreamReader.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/HLS\/MP4Reader.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Handlers\/FLACHandler\/FLACHandler.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/TimedMediaHandlerTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/ApiTranscodeStatus.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/HLS\/MP4Box.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/ApiUploadVideoTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/.phan\/config.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/SegmenterTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/ApiTimedText.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/TimedText\/VttWriterTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/SpecialTranscodeStatistics.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/SpecialOrphanedTimedText.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/HLS\/Segmenter.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/VideoThumbnailTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/MultivariantTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/maintenance\/transcodeReport.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/TimeParsingTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/FLACHandlerTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/HLS\/Multivariant.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/MP3HandlerTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/TranscodeStatusTable.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/maintenance\/rebuildPlaylists.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/TimedMediaTransformOutputTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Handlers\/MP4Handler\/MP4Handler.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/TranscodableChecker.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/ApiVideoUploadTestCase.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/MP4HandlerTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/mocks\/MockOggHandler.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/maintenance\/TimedMediaMaintenance.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Handlers\/MP3Handler\/MP3Handler.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/TimedMediaIframeOutput.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/VideoTranscodeTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/TimedMediaHandlerTestCase.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/TimedTextPage.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/WebMHandlerTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/MIDIHandlerTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Handlers\/TextHandler\/TextHandler.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/OggHandlerTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Handlers\/OggHandler\/OggException.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Hooks.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Handlers\/OggHandler\/OggHandler.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/TimedText\/SrtReaderTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/HLS\/MP3Segmenter.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/RegistrationCallback.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/TimedText\/SrtWriterTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/TimedMediaHandler.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/ApiTranscodeReset.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/HLS\/MP4Segmenter.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Handlers\/WebMHandler\/WebMHandler.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/TimedMediaTransformOutput.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/TimedText\/SrtReader.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/TimedText\/Writer.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/WebVideoTranscode\/WebVideoTranscodeJob.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/WebVideoTranscode\/WebVideoTranscode.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/TimedMediaThumbnail.php":{"errors":0,"warnings":0,"messages":[]}}}
--- 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 autoload files
17 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
> phpcs -sp --cache
> minus-x check .
--- stdout ---
PHP 8.4.11 | 10 parallel jobs
............................................................ 60/99 ( 60%)
....................................... 99/99 (100%)
Checked 99 files in 0.4 seconds
No syntax error found
.............................................. 46 / 46 (100%)
Time: 372ms; Memory: 12MB
MinusX
======
Processing /src/repo...
.............................................................
.............................................................
.............................................................
.............................................................
.............................................................
.............................................................
.............................................................
.............................................................
.............................................................
..................................
All good!
--- end ---
$ /usr/bin/npm audit --json
--- stdout ---
{
"auditReportVersion": 2,
"vulnerabilities": {
"diff": {
"name": "diff",
"severity": "low",
"isDirect": false,
"via": [
{
"source": 1112148,
"name": "diff",
"dependency": "diff",
"title": "jsdiff has a Denial of Service vulnerability in parsePatch and applyPatch",
"url": "https://github.com/advisories/GHSA-73rr-hh4g-fpgx",
"severity": "low",
"cwe": [
"CWE-400",
"CWE-1333"
],
"cvss": {
"score": 0,
"vectorString": null
},
"range": "<8.0.3"
}
],
"effects": [
"grunt-patcher"
],
"range": "<8.0.3",
"nodes": [
"node_modules/diff"
],
"fixAvailable": false
},
"grunt-patcher": {
"name": "grunt-patcher",
"severity": "low",
"isDirect": true,
"via": [
"diff"
],
"effects": [],
"range": "*",
"nodes": [
"node_modules/grunt-patcher"
],
"fixAvailable": false
}
},
"metadata": {
"vulnerabilities": {
"info": 0,
"low": 2,
"moderate": 0,
"high": 0,
"critical": 0,
"total": 2
},
"dependencies": {
"prod": 1,
"dev": 467,
"optional": 0,
"peer": 1,
"peerOptional": 0,
"total": 467
}
}
}
--- 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": 467,
"removed": 0,
"changed": 0,
"audited": 468,
"funding": 107,
"audit": {
"auditReportVersion": 2,
"vulnerabilities": {
"diff": {
"name": "diff",
"severity": "low",
"isDirect": false,
"via": [
{
"source": 1112148,
"name": "diff",
"dependency": "diff",
"title": "jsdiff has a Denial of Service vulnerability in parsePatch and applyPatch",
"url": "https://github.com/advisories/GHSA-73rr-hh4g-fpgx",
"severity": "low",
"cwe": [
"CWE-400",
"CWE-1333"
],
"cvss": {
"score": 0,
"vectorString": null
},
"range": "<8.0.3"
}
],
"effects": [
"grunt-patcher"
],
"range": "<8.0.3",
"nodes": [
"node_modules/diff"
],
"fixAvailable": false
},
"grunt-patcher": {
"name": "grunt-patcher",
"severity": "low",
"isDirect": true,
"via": [
"diff"
],
"effects": [],
"range": "*",
"nodes": [
"node_modules/grunt-patcher"
],
"fixAvailable": false
}
},
"metadata": {
"vulnerabilities": {
"info": 0,
"low": 2,
"moderate": 0,
"high": 0,
"critical": 0,
"total": 2
},
"dependencies": {
"prod": 1,
"dev": 467,
"optional": 0,
"peer": 1,
"peerOptional": 0,
"total": 467
}
}
}
}
--- end ---
{"added": 467, "removed": 0, "changed": 0, "audited": 468, "funding": 107, "audit": {"auditReportVersion": 2, "vulnerabilities": {"diff": {"name": "diff", "severity": "low", "isDirect": false, "via": [{"source": 1112148, "name": "diff", "dependency": "diff", "title": "jsdiff has a Denial of Service vulnerability in parsePatch and applyPatch", "url": "https://github.com/advisories/GHSA-73rr-hh4g-fpgx", "severity": "low", "cwe": ["CWE-400", "CWE-1333"], "cvss": {"score": 0, "vectorString": null}, "range": "<8.0.3"}], "effects": ["grunt-patcher"], "range": "<8.0.3", "nodes": ["node_modules/diff"], "fixAvailable": false}, "grunt-patcher": {"name": "grunt-patcher", "severity": "low", "isDirect": true, "via": ["diff"], "effects": [], "range": "*", "nodes": ["node_modules/grunt-patcher"], "fixAvailable": false}}, "metadata": {"vulnerabilities": {"info": 0, "low": 2, "moderate": 0, "high": 0, "critical": 0, "total": 2}, "dependencies": {"prod": 1, "dev": 467, "optional": 0, "peer": 1, "peerOptional": 0, "total": 467}}}}
$ /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 467 packages, and audited 468 packages in 5s
107 packages are looking for funding
run `npm fund` for details
# npm audit report
diff <8.0.3
jsdiff has a Denial of Service vulnerability in parsePatch and applyPatch - https://github.com/advisories/GHSA-73rr-hh4g-fpgx
No fix available
node_modules/diff
grunt-patcher *
Depends on vulnerable versions of diff
node_modules/grunt-patcher
2 low severity vulnerabilities
Some issues need review, and may require choosing
a different dependency.
--- end ---
Verifying that tests still pass
$ /usr/bin/npm ci
--- stdout ---
added 467 packages, and audited 468 packages in 5s
107 packages are looking for funding
run `npm fund` for details
2 low severity vulnerabilities
Some issues need review, and may require choosing
a different dependency.
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`
--- stdout ---
> test
> grunt test
Running "eslint:all" (eslint) task
/src/repo/resources/lib/foreign-resources.yaml
8:1 warning This line has a length of 108. Maximum allowed is 100 max-len
22:1 warning This line has a length of 108. Maximum allowed is 100 max-len
/src/repo/resources/mw-info-button/mw-info-button-plugin.js
10:1 warning The type 'InfoButton' is undefined jsdoc/no-undefined-types
/src/repo/resources/videojs-resolution-switcher/videojs-resolution-switcher.js
217:1 warning This line has a length of 121. Maximum allowed is 100 max-len
222:1 warning This line has a length of 104. Maximum allowed is 100 max-len
321:1 warning This line has a length of 104. Maximum allowed is 100 max-len
✖ 6 problems (0 errors, 6 warnings)
Running "stylelint:all" (stylelint) task
>> Linted 7 files without errors
Running "banana:all" (banana) task
>> 2 message directories checked.
Done.
--- end ---
$ package-lock-lint /src/repo/package-lock.json
--- stdout ---
Checking /src/repo/package-lock.json
--- end ---
build: Updating composer dependencies
* mediawiki/mediawiki-codesniffer: 48.0.0 → 49.0.0
* mediawiki/minus-x: 1.1.3 → 2.0.0
$ git add .
--- stdout ---
--- end ---
$ git commit -F /tmp/tmpzu1k5n01
--- stdout ---
[master 0adf7d1] build: Updating composer dependencies
1 file changed, 2 insertions(+), 2 deletions(-)
--- end ---
$ git format-patch HEAD~1 --stdout
--- stdout ---
From 0adf7d1f40484a753a2398dce8bb3ef541a7f33c Mon Sep 17 00:00:00 2001
From: libraryupgrader <tools.libraryupgrader@tools.wmflabs.org>
Date: Sat, 17 Jan 2026 04:25:42 +0000
Subject: [PATCH] build: Updating composer dependencies
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
* mediawiki/mediawiki-codesniffer: 48.0.0 → 49.0.0
* mediawiki/minus-x: 1.1.3 → 2.0.0
Change-Id: I4d26ae338b7ee93c1e82858ecc5d7ed99164e536
---
composer.json | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/composer.json b/composer.json
index 36a63db..93dcfe5 100644
--- a/composer.json
+++ b/composer.json
@@ -3,9 +3,9 @@
"james-heinrich/getid3": "~1.9.24"
},
"require-dev": {
- "mediawiki/mediawiki-codesniffer": "48.0.0",
+ "mediawiki/mediawiki-codesniffer": "49.0.0",
"mediawiki/mediawiki-phan-config": "0.18.0",
- "mediawiki/minus-x": "1.1.3",
+ "mediawiki/minus-x": "2.0.0",
"php-parallel-lint/php-console-highlighter": "1.0.0",
"php-parallel-lint/php-parallel-lint": "1.4.0"
},
--
2.47.3
--- end ---