This run took 54 seconds.
From 8dc5b9030d436e04b0d92f06fea92cc44d81e349 Mon Sep 17 00:00:00 2001
From: libraryupgrader <tools.libraryupgrader@tools.wmflabs.org>
Date: Mon, 9 Mar 2026 17:03:06 +0000
Subject: [PATCH] build: Updating mediawiki/mediawiki-codesniffer to 50.0.0
Change-Id: I1a524898aa5ad314f0b0e1ec61f0786a8d4234f3
---
composer.json | 2 +-
package-lock.json | 40 ++++++++++++++++++++--------------------
2 files changed, 21 insertions(+), 21 deletions(-)
diff --git a/composer.json b/composer.json
index a898297..8629c26 100644
--- a/composer.json
+++ b/composer.json
@@ -4,7 +4,7 @@
"justinrainbow/json-schema": "~5.2"
},
"require-dev": {
- "mediawiki/mediawiki-codesniffer": "49.0.0",
+ "mediawiki/mediawiki-codesniffer": "50.0.0",
"mediawiki/mediawiki-phan-config": "0.18.0",
"mediawiki/minus-x": "2.0.1",
"php-parallel-lint/php-console-highlighter": "1.0.0",
diff --git a/package-lock.json b/package-lock.json
index 72176de..7d3cb09 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -291,9 +291,9 @@
}
},
"node_modules/@eslint/eslintrc/node_modules/minimatch": {
- "version": "3.1.2",
- "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz",
- "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==",
+ "version": "3.1.5",
+ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.5.tgz",
+ "integrity": "sha512-VgjWUsnnT6n+NUk6eZq77zeFdpW2LWDzP6zFGrCbHXiYNul5Dzqk2HHQ5uFH2DNW5Xbp8+jVzaeNt94ssEEl4w==",
"dev": true,
"dependencies": {
"brace-expansion": "^1.1.7"
@@ -714,12 +714,12 @@
}
},
"node_modules/@typescript-eslint/typescript-estree/node_modules/minimatch": {
- "version": "9.0.5",
- "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz",
- "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==",
+ "version": "9.0.9",
+ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.9.tgz",
+ "integrity": "sha512-OBwBN9AL4dqmETlpS2zasx+vTeWclWzkblfZk7KTA5j3jeOONz/tRCnZomUyvNg83wL5Zv9Ss6HMJXAgL8R2Yg==",
"dev": true,
"dependencies": {
- "brace-expansion": "^2.0.1"
+ "brace-expansion": "^2.0.2"
},
"engines": {
"node": ">=16 || 14 >=14.17"
@@ -2272,9 +2272,9 @@
}
},
"node_modules/eslint/node_modules/minimatch": {
- "version": "3.1.2",
- "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz",
- "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==",
+ "version": "3.1.5",
+ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.5.tgz",
+ "integrity": "sha512-VgjWUsnnT6n+NUk6eZq77zeFdpW2LWDzP6zFGrCbHXiYNul5Dzqk2HHQ5uFH2DNW5Xbp8+jVzaeNt94ssEEl4w==",
"dev": true,
"dependencies": {
"brace-expansion": "^1.1.7"
@@ -5906,9 +5906,9 @@
}
},
"minimatch": {
- "version": "3.1.2",
- "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz",
- "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==",
+ "version": "3.1.5",
+ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.5.tgz",
+ "integrity": "sha512-VgjWUsnnT6n+NUk6eZq77zeFdpW2LWDzP6zFGrCbHXiYNul5Dzqk2HHQ5uFH2DNW5Xbp8+jVzaeNt94ssEEl4w==",
"dev": true,
"requires": {
"brace-expansion": "^1.1.7"
@@ -6185,12 +6185,12 @@
}
},
"minimatch": {
- "version": "9.0.5",
- "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz",
- "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==",
+ "version": "9.0.9",
+ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.9.tgz",
+ "integrity": "sha512-OBwBN9AL4dqmETlpS2zasx+vTeWclWzkblfZk7KTA5j3jeOONz/tRCnZomUyvNg83wL5Zv9Ss6HMJXAgL8R2Yg==",
"dev": true,
"requires": {
- "brace-expansion": "^2.0.1"
+ "brace-expansion": "^2.0.2"
}
}
}
@@ -6957,9 +6957,9 @@
}
},
"minimatch": {
- "version": "3.1.2",
- "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz",
- "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==",
+ "version": "3.1.5",
+ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.5.tgz",
+ "integrity": "sha512-VgjWUsnnT6n+NUk6eZq77zeFdpW2LWDzP6zFGrCbHXiYNul5Dzqk2HHQ5uFH2DNW5Xbp8+jVzaeNt94ssEEl4w==",
"dev": true,
"requires": {
"brace-expansion": "^1.1.7"
--
2.47.3
$ date
--- stdout ---
Mon Mar 9 17:02:27 UTC 2026
--- end ---
$ git clone file:///srv/git/mediawiki-extensions-MediaUploader.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 ---
5bf25da6284df5a56e4d76b28775747606999dc1 refs/heads/master
--- end ---
$ /usr/bin/npm audit --json
--- stdout ---
{
"auditReportVersion": 2,
"vulnerabilities": {
"gaze": {
"name": "gaze",
"severity": "high",
"isDirect": false,
"via": [
"globule"
],
"effects": [
"grunt-contrib-watch"
],
"range": ">=0.4.0",
"nodes": [
"node_modules/gaze"
],
"fixAvailable": {
"name": "grunt-contrib-watch",
"version": "0.4.4",
"isSemVerMajor": true
}
},
"globule": {
"name": "globule",
"severity": "high",
"isDirect": false,
"via": [
"minimatch"
],
"effects": [
"gaze"
],
"range": "*",
"nodes": [
"node_modules/globule"
],
"fixAvailable": {
"name": "grunt-contrib-watch",
"version": "0.4.4",
"isSemVerMajor": true
}
},
"grunt": {
"name": "grunt",
"severity": "high",
"isDirect": true,
"via": [
"minimatch"
],
"effects": [
"grunt-eslint"
],
"range": ">=0.4.0-a",
"nodes": [
"node_modules/grunt"
],
"fixAvailable": {
"name": "grunt",
"version": "0.3.17",
"isSemVerMajor": true
}
},
"grunt-contrib-watch": {
"name": "grunt-contrib-watch",
"severity": "high",
"isDirect": true,
"via": [
"gaze"
],
"effects": [],
"range": ">=0.5.0",
"nodes": [
"node_modules/grunt-contrib-watch"
],
"fixAvailable": {
"name": "grunt-contrib-watch",
"version": "0.4.4",
"isSemVerMajor": true
}
},
"grunt-eslint": {
"name": "grunt-eslint",
"severity": "high",
"isDirect": true,
"via": [
"grunt"
],
"effects": [],
"range": "<=1.0.0 || >=18.1.0",
"nodes": [
"node_modules/grunt-eslint"
],
"fixAvailable": {
"name": "grunt-eslint",
"version": "18.0.0",
"isSemVerMajor": true
}
},
"minimatch": {
"name": "minimatch",
"severity": "high",
"isDirect": false,
"via": [
{
"source": 1113459,
"name": "minimatch",
"dependency": "minimatch",
"title": "minimatch has a ReDoS via repeated wildcards with non-matching literal in pattern",
"url": "https://github.com/advisories/GHSA-3ppc-4f35-3m26",
"severity": "high",
"cwe": [
"CWE-1333"
],
"cvss": {
"score": 0,
"vectorString": null
},
"range": "<3.1.3"
},
{
"source": 1113465,
"name": "minimatch",
"dependency": "minimatch",
"title": "minimatch has a ReDoS via repeated wildcards with non-matching literal in pattern",
"url": "https://github.com/advisories/GHSA-3ppc-4f35-3m26",
"severity": "high",
"cwe": [
"CWE-1333"
],
"cvss": {
"score": 0,
"vectorString": null
},
"range": ">=9.0.0 <9.0.6"
},
{
"source": 1113538,
"name": "minimatch",
"dependency": "minimatch",
"title": "minimatch has ReDoS: matchOne() combinatorial backtracking via multiple non-adjacent GLOBSTAR segments",
"url": "https://github.com/advisories/GHSA-7r86-cg39-jmmj",
"severity": "high",
"cwe": [
"CWE-407"
],
"cvss": {
"score": 7.5,
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
},
"range": "<3.1.3"
},
{
"source": 1113544,
"name": "minimatch",
"dependency": "minimatch",
"title": "minimatch has ReDoS: matchOne() combinatorial backtracking via multiple non-adjacent GLOBSTAR segments",
"url": "https://github.com/advisories/GHSA-7r86-cg39-jmmj",
"severity": "high",
"cwe": [
"CWE-407"
],
"cvss": {
"score": 7.5,
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
},
"range": ">=9.0.0 <9.0.7"
},
{
"source": 1113546,
"name": "minimatch",
"dependency": "minimatch",
"title": "minimatch ReDoS: nested *() extglobs generate catastrophically backtracking regular expressions",
"url": "https://github.com/advisories/GHSA-23c5-xmqv-rm74",
"severity": "high",
"cwe": [
"CWE-1333"
],
"cvss": {
"score": 7.5,
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
},
"range": "<3.1.4"
},
{
"source": 1113552,
"name": "minimatch",
"dependency": "minimatch",
"title": "minimatch ReDoS: nested *() extglobs generate catastrophically backtracking regular expressions",
"url": "https://github.com/advisories/GHSA-23c5-xmqv-rm74",
"severity": "high",
"cwe": [
"CWE-1333"
],
"cvss": {
"score": 7.5,
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
},
"range": ">=9.0.0 <9.0.7"
}
],
"effects": [
"globule",
"grunt"
],
"range": "<=3.1.3 || 9.0.0 - 9.0.6",
"nodes": [
"node_modules/@eslint/eslintrc/node_modules/minimatch",
"node_modules/@typescript-eslint/typescript-estree/node_modules/minimatch",
"node_modules/eslint/node_modules/minimatch",
"node_modules/minimatch"
],
"fixAvailable": {
"name": "grunt",
"version": "0.3.17",
"isSemVerMajor": true
}
}
},
"metadata": {
"vulnerabilities": {
"info": 0,
"low": 0,
"moderate": 0,
"high": 6,
"critical": 0,
"total": 6
},
"dependencies": {
"prod": 1,
"dev": 466,
"optional": 0,
"peer": 1,
"peerOptional": 0,
"total": 466
}
}
}
--- 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.6)
- Locking felixfbecker/advanced-json-rpc (v3.2.1)
- Locking justinrainbow/json-schema (5.3.2)
- Locking mediawiki/mediawiki-codesniffer (v49.0.0)
- Locking mediawiki/mediawiki-phan-config (0.18.0)
- Locking mediawiki/minus-x (2.0.1)
- 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.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 psr/container (2.0.2)
- Locking psr/log (3.0.2)
- Locking sabre/event (5.1.7)
- Locking squizlabs/php_codesniffer (3.13.5)
- Locking symfony/console (v7.4.7)
- 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.6)
- Locking tysonandre/var_representation_polyfill (0.1.3)
- Locking webmozart/assert (2.1.6)
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.5): Extracting archive
- Installing dealerdirect/phpcodesniffer-composer-installer (v1.2.0): Extracting archive
- Installing composer/pcre (3.3.2): Extracting archive
- Installing justinrainbow/json-schema (5.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 (v49.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.6): 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.7): 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.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 (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 (2.0.1): Extracting archive
- Installing php-parallel-lint/php-console-color (v1.0.1): Extracting archive
- Installing php-parallel-lint/php-console-highlighter (v1.0.0): Extracting archive
- Installing php-parallel-lint/php-parallel-lint (v1.4.0): Extracting archive
0/37 [>---------------------------] 0%
29/37 [=====================>------] 78%
36/37 [===========================>] 97%
37/37 [============================] 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 ---
Upgrading c:mediawiki/mediawiki-codesniffer from 49.0.0 -> 50.0.0
$ /usr/bin/composer update
--- stderr ---
Loading composer repositories with package information
Updating dependencies
Lock file operations: 0 installs, 1 update, 0 removals
- Upgrading mediawiki/mediawiki-codesniffer (v49.0.0 => v50.0.0)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 0 installs, 1 update, 0 removals
- Upgrading mediawiki/mediawiki-codesniffer (v49.0.0 => v50.0.0): Extracting archive
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 ---
--- end ---
$ vendor/bin/phpcs --report=json
--- stdout ---
{"totals":{"errors":0,"warnings":0,"fixable":0},"files":{"\/src\/repo\/MediaUploader.namespaces.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/defines.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Campaign\/Exception\/InvalidCampaignException.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Campaign\/Exception\/IncompleteRecordException.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Campaign\/Exception\/BaseCampaignException.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Campaign\/Exception\/InvalidFormatException.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/MediaUploaderResourceModuleFactory.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Config\/GlobalConfigAnchorUpdateJob.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Config\/RawConfig.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Hooks\/RegistrationHooks.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Config\/ConfigBase.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/Config\/ConfigUnitTestCase.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/MediaUploaderResourceModule.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Config\/ConfigCacheInvalidator.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/ServiceWiring.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Config\/GlobalParsedConfig.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Campaign\/Validator.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Campaign\/Exception\/InvalidSchemaException.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/MediaUploader.alias.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Campaign\/CampaignRecord.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Hooks\/Hooks.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Config\/RequestConfig.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/.phan\/config.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/MediaUploaderServices.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Api\/QueryAllCampaigns.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/Config\/ConfigFactoryTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Config\/CampaignParsedConfig.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Campaign\/CampaignContent.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/Config\/RequestConfigTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Special\/Campaigns.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Config\/ConfigParserFactory.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Special\/MediaUploaderSimpleForm.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Config\/ConfigFactory.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/MediaUploader.config.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Hooks\/CampaignContentHooks.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Campaign\/CampaignPageFormatter.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/integration\/MediaUploaderResourceModuleTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/Config\/ConfigBaseTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/Campaign\/InvalidCampaignExceptionTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Config\/ParsedConfig.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/integration\/ConfigParserTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/Campaign\/CampaignRecordTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/integration\/Api\/QueryAllCampaignsTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/Config\/ConfigCacheInvalidatorTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Campaign\/CampaignSelectQueryBuilder.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/Config\/RawConfigTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/integration\/CampaignStoreTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Campaign\/CampaignContentHandler.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/maintenance\/MigrateCampaigns.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/Campaign\/CampaignStoreTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Config\/ConfigParser.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/Hooks\/CampaignContentHooksTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/integration\/MediaUploaderServicesTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Hooks\/CampaignHooks.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Campaign\/CampaignStore.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/Config\/ParsedConfigTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/integration\/MaintenanceMigrateCampaignsTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Campaign\/CampaignStats.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/Campaign\/ValidatorTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/integration\/CampaignStatsTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/integration\/SpecialMediaUploaderTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/includes\/Special\/MediaUploader.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/Campaign\/CampaignContentTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/integration\/GlobalConfigAnchorUpdateJobTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/Config\/GlobalParsedConfigTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/Config\/ConfigParserTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/Hooks\/CampaignHooksTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/Hooks\/RegistrationHooksTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/phpunit\/unit\/Config\/CampaignParsedConfigTest.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.18 | 10 parallel jobs
............................................................ 60/69 ( 86%)
......... 69/69 (100%)
Checked 69 files in 0.3 seconds
No syntax error found
................................... 35 / 35 (100%)
Time: 438ms; Memory: 48MB
MinusX
======
Processing /src/repo...
.............................................................
.............................................................
.............................................................
.............................................................
.............................................................
..............
All good!
--- end ---
$ /usr/bin/npm audit --json
--- stdout ---
{
"auditReportVersion": 2,
"vulnerabilities": {
"gaze": {
"name": "gaze",
"severity": "high",
"isDirect": false,
"via": [
"globule"
],
"effects": [
"grunt-contrib-watch"
],
"range": ">=0.4.0",
"nodes": [
"node_modules/gaze"
],
"fixAvailable": {
"name": "grunt-contrib-watch",
"version": "0.4.4",
"isSemVerMajor": true
}
},
"globule": {
"name": "globule",
"severity": "high",
"isDirect": false,
"via": [
"minimatch"
],
"effects": [
"gaze"
],
"range": "*",
"nodes": [
"node_modules/globule"
],
"fixAvailable": {
"name": "grunt-contrib-watch",
"version": "0.4.4",
"isSemVerMajor": true
}
},
"grunt": {
"name": "grunt",
"severity": "high",
"isDirect": true,
"via": [
"minimatch"
],
"effects": [
"grunt-eslint"
],
"range": ">=0.4.0-a",
"nodes": [
"node_modules/grunt"
],
"fixAvailable": {
"name": "grunt",
"version": "0.3.17",
"isSemVerMajor": true
}
},
"grunt-contrib-watch": {
"name": "grunt-contrib-watch",
"severity": "high",
"isDirect": true,
"via": [
"gaze"
],
"effects": [],
"range": ">=0.5.0",
"nodes": [
"node_modules/grunt-contrib-watch"
],
"fixAvailable": {
"name": "grunt-contrib-watch",
"version": "0.4.4",
"isSemVerMajor": true
}
},
"grunt-eslint": {
"name": "grunt-eslint",
"severity": "high",
"isDirect": true,
"via": [
"grunt"
],
"effects": [],
"range": "<=1.0.0 || >=18.1.0",
"nodes": [
"node_modules/grunt-eslint"
],
"fixAvailable": {
"name": "grunt-eslint",
"version": "18.0.0",
"isSemVerMajor": true
}
},
"minimatch": {
"name": "minimatch",
"severity": "high",
"isDirect": false,
"via": [
{
"source": 1113459,
"name": "minimatch",
"dependency": "minimatch",
"title": "minimatch has a ReDoS via repeated wildcards with non-matching literal in pattern",
"url": "https://github.com/advisories/GHSA-3ppc-4f35-3m26",
"severity": "high",
"cwe": [
"CWE-1333"
],
"cvss": {
"score": 0,
"vectorString": null
},
"range": "<3.1.3"
},
{
"source": 1113465,
"name": "minimatch",
"dependency": "minimatch",
"title": "minimatch has a ReDoS via repeated wildcards with non-matching literal in pattern",
"url": "https://github.com/advisories/GHSA-3ppc-4f35-3m26",
"severity": "high",
"cwe": [
"CWE-1333"
],
"cvss": {
"score": 0,
"vectorString": null
},
"range": ">=9.0.0 <9.0.6"
},
{
"source": 1113538,
"name": "minimatch",
"dependency": "minimatch",
"title": "minimatch has ReDoS: matchOne() combinatorial backtracking via multiple non-adjacent GLOBSTAR segments",
"url": "https://github.com/advisories/GHSA-7r86-cg39-jmmj",
"severity": "high",
"cwe": [
"CWE-407"
],
"cvss": {
"score": 7.5,
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
},
"range": "<3.1.3"
},
{
"source": 1113544,
"name": "minimatch",
"dependency": "minimatch",
"title": "minimatch has ReDoS: matchOne() combinatorial backtracking via multiple non-adjacent GLOBSTAR segments",
"url": "https://github.com/advisories/GHSA-7r86-cg39-jmmj",
"severity": "high",
"cwe": [
"CWE-407"
],
"cvss": {
"score": 7.5,
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
},
"range": ">=9.0.0 <9.0.7"
},
{
"source": 1113546,
"name": "minimatch",
"dependency": "minimatch",
"title": "minimatch ReDoS: nested *() extglobs generate catastrophically backtracking regular expressions",
"url": "https://github.com/advisories/GHSA-23c5-xmqv-rm74",
"severity": "high",
"cwe": [
"CWE-1333"
],
"cvss": {
"score": 7.5,
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
},
"range": "<3.1.4"
},
{
"source": 1113552,
"name": "minimatch",
"dependency": "minimatch",
"title": "minimatch ReDoS: nested *() extglobs generate catastrophically backtracking regular expressions",
"url": "https://github.com/advisories/GHSA-23c5-xmqv-rm74",
"severity": "high",
"cwe": [
"CWE-1333"
],
"cvss": {
"score": 7.5,
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
},
"range": ">=9.0.0 <9.0.7"
}
],
"effects": [
"globule",
"grunt"
],
"range": "<=3.1.3 || 9.0.0 - 9.0.6",
"nodes": [
"node_modules/@eslint/eslintrc/node_modules/minimatch",
"node_modules/@typescript-eslint/typescript-estree/node_modules/minimatch",
"node_modules/eslint/node_modules/minimatch",
"node_modules/minimatch"
],
"fixAvailable": {
"name": "grunt",
"version": "0.3.17",
"isSemVerMajor": true
}
}
},
"metadata": {
"vulnerabilities": {
"info": 0,
"low": 0,
"moderate": 0,
"high": 6,
"critical": 0,
"total": 6
},
"dependencies": {
"prod": 1,
"dev": 466,
"optional": 0,
"peer": 1,
"peerOptional": 0,
"total": 466
}
}
}
--- 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": 466,
"removed": 0,
"changed": 0,
"audited": 467,
"funding": 115,
"audit": {
"auditReportVersion": 2,
"vulnerabilities": {
"gaze": {
"name": "gaze",
"severity": "high",
"isDirect": false,
"via": [
"globule"
],
"effects": [
"grunt-contrib-watch"
],
"range": ">=0.4.0",
"nodes": [
"node_modules/gaze"
],
"fixAvailable": {
"name": "grunt-contrib-watch",
"version": "0.4.4",
"isSemVerMajor": true
}
},
"globule": {
"name": "globule",
"severity": "high",
"isDirect": false,
"via": [
"minimatch"
],
"effects": [
"gaze"
],
"range": "*",
"nodes": [
"node_modules/globule"
],
"fixAvailable": {
"name": "grunt-contrib-watch",
"version": "0.4.4",
"isSemVerMajor": true
}
},
"grunt": {
"name": "grunt",
"severity": "high",
"isDirect": true,
"via": [
"minimatch"
],
"effects": [
"grunt-eslint"
],
"range": ">=0.4.0-a",
"nodes": [
"node_modules/grunt"
],
"fixAvailable": {
"name": "grunt",
"version": "0.3.17",
"isSemVerMajor": true
}
},
"grunt-contrib-watch": {
"name": "grunt-contrib-watch",
"severity": "high",
"isDirect": true,
"via": [
"gaze"
],
"effects": [],
"range": ">=0.5.0",
"nodes": [
"node_modules/grunt-contrib-watch"
],
"fixAvailable": {
"name": "grunt-contrib-watch",
"version": "0.4.4",
"isSemVerMajor": true
}
},
"grunt-eslint": {
"name": "grunt-eslint",
"severity": "high",
"isDirect": true,
"via": [
"grunt"
],
"effects": [],
"range": "<=1.0.0 || >=18.1.0",
"nodes": [
"node_modules/grunt-eslint"
],
"fixAvailable": {
"name": "grunt-eslint",
"version": "18.0.0",
"isSemVerMajor": true
}
},
"minimatch": {
"name": "minimatch",
"severity": "high",
"isDirect": false,
"via": [
{
"source": 1113459,
"name": "minimatch",
"dependency": "minimatch",
"title": "minimatch has a ReDoS via repeated wildcards with non-matching literal in pattern",
"url": "https://github.com/advisories/GHSA-3ppc-4f35-3m26",
"severity": "high",
"cwe": [
"CWE-1333"
],
"cvss": {
"score": 0,
"vectorString": null
},
"range": "<3.1.3"
},
{
"source": 1113465,
"name": "minimatch",
"dependency": "minimatch",
"title": "minimatch has a ReDoS via repeated wildcards with non-matching literal in pattern",
"url": "https://github.com/advisories/GHSA-3ppc-4f35-3m26",
"severity": "high",
"cwe": [
"CWE-1333"
],
"cvss": {
"score": 0,
"vectorString": null
},
"range": ">=9.0.0 <9.0.6"
},
{
"source": 1113538,
"name": "minimatch",
"dependency": "minimatch",
"title": "minimatch has ReDoS: matchOne() combinatorial backtracking via multiple non-adjacent GLOBSTAR segments",
"url": "https://github.com/advisories/GHSA-7r86-cg39-jmmj",
"severity": "high",
"cwe": [
"CWE-407"
],
"cvss": {
"score": 7.5,
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
},
"range": "<3.1.3"
},
{
"source": 1113544,
"name": "minimatch",
"dependency": "minimatch",
"title": "minimatch has ReDoS: matchOne() combinatorial backtracking via multiple non-adjacent GLOBSTAR segments",
"url": "https://github.com/advisories/GHSA-7r86-cg39-jmmj",
"severity": "high",
"cwe": [
"CWE-407"
],
"cvss": {
"score": 7.5,
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
},
"range": ">=9.0.0 <9.0.7"
},
{
"source": 1113546,
"name": "minimatch",
"dependency": "minimatch",
"title": "minimatch ReDoS: nested *() extglobs generate catastrophically backtracking regular expressions",
"url": "https://github.com/advisories/GHSA-23c5-xmqv-rm74",
"severity": "high",
"cwe": [
"CWE-1333"
],
"cvss": {
"score": 7.5,
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
},
"range": "<3.1.4"
},
{
"source": 1113552,
"name": "minimatch",
"dependency": "minimatch",
"title": "minimatch ReDoS: nested *() extglobs generate catastrophically backtracking regular expressions",
"url": "https://github.com/advisories/GHSA-23c5-xmqv-rm74",
"severity": "high",
"cwe": [
"CWE-1333"
],
"cvss": {
"score": 7.5,
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
},
"range": ">=9.0.0 <9.0.7"
}
],
"effects": [
"globule",
"grunt"
],
"range": "<=3.1.3 || 9.0.0 - 9.0.6",
"nodes": [
"",
"",
"",
"node_modules/minimatch"
],
"fixAvailable": {
"name": "grunt",
"version": "0.3.17",
"isSemVerMajor": true
}
}
},
"metadata": {
"vulnerabilities": {
"info": 0,
"low": 0,
"moderate": 0,
"high": 6,
"critical": 0,
"total": 6
},
"dependencies": {
"prod": 1,
"dev": 466,
"optional": 0,
"peer": 1,
"peerOptional": 0,
"total": 466
}
}
}
}
--- end ---
{"added": 466, "removed": 0, "changed": 0, "audited": 467, "funding": 115, "audit": {"auditReportVersion": 2, "vulnerabilities": {"gaze": {"name": "gaze", "severity": "high", "isDirect": false, "via": ["globule"], "effects": ["grunt-contrib-watch"], "range": ">=0.4.0", "nodes": ["node_modules/gaze"], "fixAvailable": {"name": "grunt-contrib-watch", "version": "0.4.4", "isSemVerMajor": true}}, "globule": {"name": "globule", "severity": "high", "isDirect": false, "via": ["minimatch"], "effects": ["gaze"], "range": "*", "nodes": ["node_modules/globule"], "fixAvailable": {"name": "grunt-contrib-watch", "version": "0.4.4", "isSemVerMajor": true}}, "grunt": {"name": "grunt", "severity": "high", "isDirect": true, "via": ["minimatch"], "effects": ["grunt-eslint"], "range": ">=0.4.0-a", "nodes": ["node_modules/grunt"], "fixAvailable": {"name": "grunt", "version": "0.3.17", "isSemVerMajor": true}}, "grunt-contrib-watch": {"name": "grunt-contrib-watch", "severity": "high", "isDirect": true, "via": ["gaze"], "effects": [], "range": ">=0.5.0", "nodes": ["node_modules/grunt-contrib-watch"], "fixAvailable": {"name": "grunt-contrib-watch", "version": "0.4.4", "isSemVerMajor": true}}, "grunt-eslint": {"name": "grunt-eslint", "severity": "high", "isDirect": true, "via": ["grunt"], "effects": [], "range": "<=1.0.0 || >=18.1.0", "nodes": ["node_modules/grunt-eslint"], "fixAvailable": {"name": "grunt-eslint", "version": "18.0.0", "isSemVerMajor": true}}, "minimatch": {"name": "minimatch", "severity": "high", "isDirect": false, "via": [{"source": 1113459, "name": "minimatch", "dependency": "minimatch", "title": "minimatch has a ReDoS via repeated wildcards with non-matching literal in pattern", "url": "https://github.com/advisories/GHSA-3ppc-4f35-3m26", "severity": "high", "cwe": ["CWE-1333"], "cvss": {"score": 0, "vectorString": null}, "range": "<3.1.3"}, {"source": 1113465, "name": "minimatch", "dependency": "minimatch", "title": "minimatch has a ReDoS via repeated wildcards with non-matching literal in pattern", "url": "https://github.com/advisories/GHSA-3ppc-4f35-3m26", "severity": "high", "cwe": ["CWE-1333"], "cvss": {"score": 0, "vectorString": null}, "range": ">=9.0.0 <9.0.6"}, {"source": 1113538, "name": "minimatch", "dependency": "minimatch", "title": "minimatch has ReDoS: matchOne() combinatorial backtracking via multiple non-adjacent GLOBSTAR segments", "url": "https://github.com/advisories/GHSA-7r86-cg39-jmmj", "severity": "high", "cwe": ["CWE-407"], "cvss": {"score": 7.5, "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}, "range": "<3.1.3"}, {"source": 1113544, "name": "minimatch", "dependency": "minimatch", "title": "minimatch has ReDoS: matchOne() combinatorial backtracking via multiple non-adjacent GLOBSTAR segments", "url": "https://github.com/advisories/GHSA-7r86-cg39-jmmj", "severity": "high", "cwe": ["CWE-407"], "cvss": {"score": 7.5, "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}, "range": ">=9.0.0 <9.0.7"}, {"source": 1113546, "name": "minimatch", "dependency": "minimatch", "title": "minimatch ReDoS: nested *() extglobs generate catastrophically backtracking regular expressions", "url": "https://github.com/advisories/GHSA-23c5-xmqv-rm74", "severity": "high", "cwe": ["CWE-1333"], "cvss": {"score": 7.5, "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}, "range": "<3.1.4"}, {"source": 1113552, "name": "minimatch", "dependency": "minimatch", "title": "minimatch ReDoS: nested *() extglobs generate catastrophically backtracking regular expressions", "url": "https://github.com/advisories/GHSA-23c5-xmqv-rm74", "severity": "high", "cwe": ["CWE-1333"], "cvss": {"score": 7.5, "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}, "range": ">=9.0.0 <9.0.7"}], "effects": ["globule", "grunt"], "range": "<=3.1.3 || 9.0.0 - 9.0.6", "nodes": ["", "", "", "node_modules/minimatch"], "fixAvailable": {"name": "grunt", "version": "0.3.17", "isSemVerMajor": true}}}, "metadata": {"vulnerabilities": {"info": 0, "low": 0, "moderate": 0, "high": 6, "critical": 0, "total": 6}, "dependencies": {"prod": 1, "dev": 466, "optional": 0, "peer": 1, "peerOptional": 0, "total": 466}}}}
$ /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 @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 466 packages, and audited 467 packages in 5s
115 packages are looking for funding
run `npm fund` for details
# npm audit report
minimatch <=3.1.3
Severity: high
minimatch has a ReDoS via repeated wildcards with non-matching literal in pattern - https://github.com/advisories/GHSA-3ppc-4f35-3m26
minimatch has ReDoS: matchOne() combinatorial backtracking via multiple non-adjacent GLOBSTAR segments - https://github.com/advisories/GHSA-7r86-cg39-jmmj
minimatch ReDoS: nested *() extglobs generate catastrophically backtracking regular expressions - https://github.com/advisories/GHSA-23c5-xmqv-rm74
fix available via `npm audit fix --force`
Will install grunt@0.3.17, which is a breaking change
node_modules/minimatch
globule *
Depends on vulnerable versions of minimatch
node_modules/globule
gaze >=0.4.0
Depends on vulnerable versions of globule
node_modules/gaze
grunt-contrib-watch >=0.5.0
Depends on vulnerable versions of gaze
node_modules/grunt-contrib-watch
grunt >=0.4.0-a
Depends on vulnerable versions of minimatch
node_modules/grunt
grunt-eslint <=1.0.0 || >=18.1.0
Depends on vulnerable versions of grunt
node_modules/grunt-eslint
6 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 @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 466 packages, and audited 467 packages in 5s
115 packages are looking for funding
run `npm fund` for details
6 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
--- stdout ---
> test
> grunt test
Running "eslint:all" (eslint) task
/src/repo/resources/controller/uw.controller.Deed.js
23:1 warning The type 'uw.controller.Step' is undefined jsdoc/no-undefined-types
44:4 warning 'deedController' is never reassigned. Use 'const' instead prefer-const
52:3 warning 'valid' is never reassigned. Use 'const' instead prefer-const
57:4 warning Mixed spaces and tabs no-mixed-spaces-and-tabs
57:6 warning Expected no linebreak before this expression implicit-arrow-linebreak
58:3 warning Mixed spaces and tabs no-mixed-spaces-and-tabs
/src/repo/resources/controller/uw.controller.Details.js
23:1 warning The type 'uw.controller.Step' is undefined jsdoc/no-undefined-types
65:4 warning 'serialized' is never reassigned. Use 'const' instead prefer-const
96:4 warning 'invalidStates' is never reassigned. Use 'const' instead prefer-const
97:4 warning 'invalids' is never reassigned. Use 'const' instead prefer-const
98:4 warning 'valids' is never reassigned. Use 'const' instead prefer-const
153:3 warning Prefer .then to .done no-jquery/no-done-fail
238:4 warning '$message' is never reassigned. Use 'const' instead prefer-const
239:4 warning '$ul' is never reassigned. Use 'const' instead prefer-const
/src/repo/resources/controller/uw.controller.Step.js
24:1 warning The type 'uw.ui.Step' is undefined jsdoc/no-undefined-types
72:1 warning The type 'uw.controller.Step' is undefined jsdoc/no-undefined-types
78:1 warning The type 'uw.controller.Step' is undefined jsdoc/no-undefined-types
89:1 warning The type 'uw.controller.Step' is undefined jsdoc/no-undefined-types
99:1 warning The type 'uw.controller.Step' is undefined jsdoc/no-undefined-types
223:7 warning 'okCount' is never reassigned. Use 'const' instead prefer-const
233:3 warning '$buttons' is never reassigned. Use 'const' instead prefer-const
324:4 warning 'copy' is never reassigned. Use 'const' instead prefer-const
/src/repo/resources/controller/uw.controller.Thanks.js
23:1 warning The type 'uw.controller.Step' is undefined jsdoc/no-undefined-types
/src/repo/resources/controller/uw.controller.Tutorial.js
24:1 warning The type 'uw.controller.Step' is undefined jsdoc/no-undefined-types
63:3 warning Prefer .then to .done no-jquery/no-done-fail
63:3 warning Prefer .then to .fail no-jquery/no-done-fail
/src/repo/resources/controller/uw.controller.Upload.js
24:1 warning The type 'uw.controller.Step' is undefined jsdoc/no-undefined-types
69:4 warning 'max' is never reassigned. Use 'const' instead prefer-const
71:3 warning 'haveUploads' is never reassigned. Use 'const' instead prefer-const
72:3 warning 'fewerThanMax' is never reassigned. Use 'const' instead prefer-const
223:3 warning 'upload' is never reassigned. Use 'const' instead prefer-const
251:4 warning 'uploadObjs' is never reassigned. Use 'const' instead prefer-const
252:4 warning 'controller' is never reassigned. Use 'const' instead prefer-const
307:4 warning 'actualMaxSize' is never reassigned. Use 'const' instead prefer-const
311:4 warning 'filename' is never reassigned. Use 'const' instead prefer-const
312:4 warning 'basename' is never reassigned. Use 'const' instead prefer-const
335:3 warning 'extension' is never reassigned. Use 'const' instead prefer-const
/src/repo/resources/deed/uw.deed.Abstract.js
49:1 warning The type 'uw.FieldLayout' is undefined jsdoc/no-undefined-types
/src/repo/resources/deed/uw.deed.External.js
45:1 warning The type 'uw.FieldLayout' is undefined jsdoc/no-undefined-types
66:10 warning ES2015 'Object.assign' method is forbidden es-x/no-object-assign
/src/repo/resources/deed/uw.deed.OwnWork.js
29:7 warning 'deed' is never reassigned. Use 'const' instead prefer-const
76:1 warning The type 'uw.FieldLayout' is undefined jsdoc/no-undefined-types
88:3 warning 'deed' is never reassigned. Use 'const' instead prefer-const
89:3 warning 'languageCode' is never reassigned. Use 'const' instead prefer-const
91:3 warning 'defaultLicense' is never reassigned. Use 'const' instead prefer-const
92:3 warning 'defaultLicConfig' is never reassigned. Use 'const' instead prefer-const
99:3 warning '$defaultLicenseLink' is never reassigned. Use 'const' instead prefer-const
125:3 warning '$crossfader' is never reassigned. Use 'const' instead prefer-const
128:3 warning '$customDiv' is never reassigned. Use 'const' instead prefer-const
136:3 warning 'crossfaderWidget' is never reassigned. Use 'const' instead prefer-const
148:3 warning '$formFields' is never reassigned. Use 'const' instead prefer-const
152:3 warning '$toggler' is never reassigned. Use 'const' instead prefer-const
192:7 warning 'author' is never reassigned. Use 'const' instead prefer-const
200:3 warning 'userPageTitle' is never reassigned. Use 'const' instead prefer-const
215:10 warning ES2015 'Object.assign' method is forbidden es-x/no-object-assign
255:16 warning 'ownWork' is never reassigned. Use 'const' instead prefer-const
277:3 warning Prefer .then to .done no-jquery/no-done-fail
297:3 warning Prefer .then to .done no-jquery/no-done-fail
/src/repo/resources/deed/uw.deed.ThirdParty.js
123:1 warning The type 'uw.FieldLayout' is undefined jsdoc/no-undefined-types
178:10 warning ES2015 'Object.assign' method is forbidden es-x/no-object-assign
/src/repo/resources/details/uw.CategoriesDetailsWidget.js
8:1 warning The type 'uw.DetailsWidget' is undefined jsdoc/no-undefined-types
87:3 warning Mixed spaces and tabs no-mixed-spaces-and-tabs
87:5 warning Expected no linebreak before this expression implicit-arrow-linebreak
88:2 warning Mixed spaces and tabs no-mixed-spaces-and-tabs
98:3 warning 'categories' is never reassigned. Use 'const' instead prefer-const
128:3 warning Mixed spaces and tabs no-mixed-spaces-and-tabs
128:5 warning Expected no linebreak before this expression implicit-arrow-linebreak
129:2 warning Mixed spaces and tabs no-mixed-spaces-and-tabs
/src/repo/resources/details/uw.DateDetailsWidget.js
6:1 warning The type 'uw.DetailsWidget' is undefined jsdoc/no-undefined-types
20:5 warning OOUI button has no label. Even icon-only buttons should set a label with invisibleLabel set to true mediawiki/no-unlabeled-buttonwidget
25:5 warning OOUI button has no label. Even icon-only buttons should set a label with invisibleLabel set to true mediawiki/no-unlabeled-buttonwidget
/src/repo/resources/details/uw.DeedChooserDetailsWidget.js
6:1 warning The type 'uw.DetailsWidget' is undefined jsdoc/no-undefined-types
/src/repo/resources/details/uw.DropdownWidget.js
6:1 warning The type 'uw.DetailsWidget' is undefined jsdoc/no-undefined-types
13:12 warning ES2015 'Object.assign' method is forbidden es-x/no-object-assign
/src/repo/resources/details/uw.LocationDetailsWidget.js
6:1 warning The type 'uw.DetailsWidget' is undefined jsdoc/no-undefined-types
12:17 warning ES2015 'Object.assign' method is forbidden es-x/no-object-assign
53:20 warning OOUI button has no label. Even icon-only buttons should set a label with invisibleLabel set to true mediawiki/no-unlabeled-buttonwidget
71:3 warning Prefer .then to .done no-jquery/no-done-fail
84:3 warning Prefer .then to .done no-jquery/no-done-fail
115:7 warning 'errors' is never reassigned. Use 'const' instead prefer-const
116:4 warning 'serialized' is never reassigned. Use 'const' instead prefer-const
117:4 warning 'parsed' is never reassigned. Use 'const' instead prefer-const
165:4 warning 'serialized' is never reassigned. Use 'const' instead prefer-const
194:4 warning 'result' is never reassigned. Use 'const' instead prefer-const
210:4 warning 'result' is never reassigned. Use 'const' instead prefer-const
211:4 warning 'serialized' is never reassigned. Use 'const' instead prefer-const
258:7 warning 'sign' is never reassigned. Use 'const' instead prefer-const
268:3 warning 'parts' is never reassigned. Use 'const' instead prefer-const
/src/repo/resources/details/uw.MultipleLanguageInputWidget.js
7:1 warning The type 'uw.DetailsWidget' is undefined jsdoc/no-undefined-types
16:17 warning ES2015 'Object.assign' method is forbidden es-x/no-object-assign
50:26 warning ES2015 'Object.assign' method is forbidden es-x/no-object-assign
60:7 warning 'allLanguages' is never reassigned. Use 'const' instead prefer-const
61:4 warning 'unusedLanguages' is never reassigned. Use 'const' instead prefer-const
73:16 warning ES2015 'Object.assign' method is forbidden es-x/no-object-assign
78:12 warning ES2015 'Object.assign' method is forbidden es-x/no-object-assign
82:3 warning 'item' is never reassigned. Use 'const' instead prefer-const
100:7 warning 'allLanguages' is never reassigned. Use 'const' instead prefer-const
101:4 warning 'unusedLanguages' is never reassigned. Use 'const' instead prefer-const
102:4 warning 'items' is never reassigned. Use 'const' instead prefer-const
114:16 warning ES2015 'Object.assign' method is forbidden es-x/no-object-assign
192:4 warning 'errors' is never reassigned. Use 'const' instead prefer-const
215:7 warning 'values' is never reassigned. Use 'const' instead prefer-const
216:4 warning 'widgets' is never reassigned. Use 'const' instead prefer-const
272:13 warning ES2015 'Object.assign' method is forbidden es-x/no-object-assign
/src/repo/resources/details/uw.SingleLanguageInputWidget.js
6:1 warning The type 'uw.DetailsWidget' is undefined jsdoc/no-undefined-types
17:17 warning ES2015 'Object.assign' method is forbidden es-x/no-object-assign
46:23 warning OOUI button has no label. Even icon-only buttons should set a label with invisibleLabel set to true mediawiki/no-unlabeled-buttonwidget
226:4 warning 'text' is never reassigned. Use 'const' instead prefer-const
/src/repo/resources/details/uw.TextWidget.js
6:1 warning The type 'uw.DetailsWidget' is undefined jsdoc/no-undefined-types
13:17 warning ES2015 'Object.assign' method is forbidden es-x/no-object-assign
/src/repo/resources/details/uw.TitleDetailsWidget.js
10:1 warning The type 'uw.DetailsWidget' is undefined jsdoc/no-undefined-types
49:4 warning 'illegalFileChars' is never reassigned. Use 'const' instead prefer-const
82:3 warning 'value' is never reassigned. Use 'const' instead prefer-const
94:3 warning 'title' is never reassigned. Use 'const' instead prefer-const
156:7 warning Mixed spaces and tabs no-mixed-spaces-and-tabs
156:9 warning Expected no linebreak before this expression implicit-arrow-linebreak
157:6 warning Mixed spaces and tabs no-mixed-spaces-and-tabs
181:3 warning 'errors' is never reassigned. Use 'const' instead prefer-const
/src/repo/resources/details/uw.UlsWidget.js
104:1 warning The type 'uw.UlsWidget' is undefined jsdoc/no-undefined-types
/src/repo/resources/handlers/mw.ApiUploadHandler.js
224:7 warning 'allDuplicates' is never reassigned. Use 'const' instead prefer-const
224:23 warning ES2015 'Object.assign' method is forbidden es-x/no-object-assign
225:4 warning '$extra' is never reassigned. Use 'const' instead prefer-const
226:4 warning '$ul' is never reassigned. Use 'const' instead prefer-const
/src/repo/resources/jquery.arrowSteps/jquery.arrowSteps.js
39:4 warning '$el' is never reassigned. Use 'const' instead prefer-const
42:3 warning '$steps' is never reassigned. Use 'const' instead prefer-const
44:3 warning 'width' is never reassigned. Use 'const' instead prefer-const
71:4 warning '$steps' is never reassigned. Use 'const' instead prefer-const
/src/repo/resources/mw.DestinationChecker.js
77:4 warning Mixed spaces and tabs no-mixed-spaces-and-tabs
77:6 warning Expected no linebreak before this expression implicit-arrow-linebreak
78:3 warning Mixed spaces and tabs no-mixed-spaces-and-tabs
94:8 warning 'checker' is never reassigned. Use 'const' instead prefer-const
95:5 warning 'NS_FILE' is never reassigned. Use 'const' instead prefer-const
98:4 warning 'titleObj' is never reassigned. Use 'const' instead prefer-const
99:4 warning 'ext' is never reassigned. Use 'const' instead prefer-const
101:4 warning 'prefix' is never reassigned. Use 'const' instead prefer-const
/src/repo/resources/mw.Escaper.js
31:4 warning 'extractedTemplates' is never reassigned. Use 'const' instead prefer-const
32:4 warning 'extractedLinks' is never reassigned. Use 'const' instead prefer-const
34:43 warning ES2015 'Object.assign' method is forbidden es-x/no-object-assign
52:8 warning 'extracts' is never reassigned. Use 'const' instead prefer-const
61:5 warning 'regex' is never reassigned. Use 'const' instead prefer-const
62:5 warning 'callback' is never reassigned. Use 'const' instead prefer-const
/src/repo/resources/mw.GroupProgressBar.js
59:8 warning 'bar' is never reassigned. Use 'const' instead prefer-const
146:5 warning 'remainingTime' is never reassigned. Use 'const' instead prefer-const
/src/repo/resources/mw.UploadWizard.js
4:1 warning Missing JSDoc @param "uw" type jsdoc/require-param-type
22:3 warning 'maxSimPref' is never reassigned. Use 'const' instead prefer-const
64:8 warning 'self' is never reassigned. Use 'const' instead prefer-const
65:5 warning 'steps' is never reassigned. Use 'const' instead prefer-const
74:4 warning 'uploadStep' is never reassigned. Use 'const' instead prefer-const
127:5 warning ES2015 'Object.assign' method is forbidden es-x/no-object-assign
134:5 warning 'original' is never reassigned. Use 'const' instead prefer-const
138:5 warning 'override' is never reassigned. Use 'const' instead prefer-const
187:4 warning 'deeds' is never reassigned. Use 'const' instead prefer-const
188:4 warning 'doOwnWork' is never reassigned. Use 'const' instead prefer-const
189:4 warning 'doThirdParty' is never reassigned. Use 'const' instead prefer-const
197:3 warning 'api' is never reassigned. Use 'const' instead prefer-const
/src/repo/resources/mw.UploadWizardDetails.js
45:8 warning '$moreDetailsWrapperDiv' is never reassigned. Use 'const' instead prefer-const
47:5 warning 'details' is never reassigned. Use 'const' instead prefer-const
48:5 warning 'config' is never reassigned. Use 'const' instead prefer-const
56:13 warning ES2015 'Object.assign' method is forbidden es-x/no-object-assign
73:48 warning ES2015 'Object.assign' method is forbidden es-x/no-object-assign
83:40 warning ES2015 'Object.assign' method is forbidden es-x/no-object-assign
90:55 warning ES2015 'Object.assign' method is forbidden es-x/no-object-assign
98:57 warning ES2015 'Object.assign' method is forbidden es-x/no-object-assign
105:44 warning ES2015 'Object.assign' method is forbidden es-x/no-object-assign
113:47 warning ES2015 'Object.assign' method is forbidden es-x/no-object-assign
118:51 warning ES2015 'Object.assign' method is forbidden es-x/no-object-assign
123:53 warning ES2015 'Object.assign' method is forbidden es-x/no-object-assign
151:4 warning '$moreDetailsDiv' is never reassigned. Use 'const' instead prefer-const
215:5 warning Prefer .then to .done no-jquery/no-done-fail
255:4 warning Prefer .then to .done no-jquery/no-done-fail
342:1 warning The type 'uw.FieldLayout' is undefined jsdoc/no-undefined-types
383:4 warning Mixed spaces and tabs no-mixed-spaces-and-tabs
383:6 warning Expected no linebreak before this expression implicit-arrow-linebreak
384:3 warning Mixed spaces and tabs no-mixed-spaces-and-tabs
405:1 warning The type 'uw.DetailsWidget' is undefined jsdoc/no-undefined-types
442:1 warning The type 'uw.DateDetailsWidget' is undefined jsdoc/no-undefined-types
448:5 warning 'yyyyMmDdRegex' is never reassigned. Use 'const' instead prefer-const
449:5 warning 'timeRegex' is never reassigned. Use 'const' instead prefer-const
470:7 warning 'dateInfo' is never reassigned. Use 'const' instead prefer-const
508:4 warning 'saneTime' is never reassigned. Use 'const' instead prefer-const
528:1 warning The type 'uw.TitleDetailsWidget' is undefined jsdoc/no-undefined-types
546:1 warning The type 'uw.TextWidget' is undefined jsdoc/no-undefined-types
596:1 warning The type 'uw.LocationDetailsWidget' is undefined jsdoc/no-undefined-types
601:5 warning 'm' is never reassigned. Use 'const' instead prefer-const
603:5 warning 'values' is never reassigned. Use 'const' instead prefer-const
653:4 warning 'languages' is never reassigned. Use 'const' instead prefer-const
662:3 warning JSDoc @return declaration present but return expression not available in function jsdoc/require-returns-check
672:21 warning 'serialized' is never reassigned. Use 'const' instead prefer-const
734:5 warning 'substitutions' is never reassigned. Use 'const' instead prefer-const
734:25 warning 'substList' is never reassigned. Use 'const' instead prefer-const
735:5 warning 'deed' is never reassigned. Use 'const' instead prefer-const
793:10 warning ES2015 RegExp 'u' flag is forbidden es-x/no-regexp-u-flag
813:8 warning 'details' is never reassigned. Use 'const' instead prefer-const
823:4 warning 'wikitext' is never reassigned. Use 'const' instead prefer-const
824:4 warning 'promise' is never reassigned. Use 'const' instead prefer-const
843:5 warning 'tags' is never reassigned. Use 'const' instead prefer-const
844:5 warning 'deed' is never reassigned. Use 'const' instead prefer-const
846:5 warning 'config' is never reassigned. Use 'const' instead prefer-const
869:4 warning 'params' is never reassigned. Use 'const' instead prefer-const
936:5 warning 'details' is never reassigned. Use 'const' instead prefer-const
939:5 warning 'deferred' is never reassigned. Use 'const' instead prefer-const
/src/repo/resources/mw.UploadWizardLicenseInput.js
17:7 warning 'self' is never reassigned. Use 'const' instead prefer-const
18:4 warning 'groups' is never reassigned. Use 'const' instead prefer-const
77:2 warning ES2015 'Object.assign' method is forbidden es-x/no-object-assign
183:9 warning 'templates' is never reassigned. Use 'const' instead prefer-const
209:5 warning 'addError' is never reassigned. Use 'const' instead prefer-const
216:5 warning 'selectedInputs' is never reassigned. Use 'const' instead prefer-const
226:7 warning 'data' is never reassigned. Use 'const' instead prefer-const
232:6 warning 'wikitext' is never reassigned. Use 'const' instead prefer-const
268:28 warning ES2015 'Object.assign' method is forbidden es-x/no-object-assign
/src/repo/resources/mw.UploadWizardPage.js
31:4 warning 'config' is never reassigned. Use 'const' instead prefer-const
53:3 warning 'uploadWizard' is never reassigned. Use 'const' instead prefer-const
/src/repo/resources/mw.UploadWizardUpload.js
8:1 warning Missing JSDoc @param "uw" type jsdoc/require-param-type
11:14 warning 'uw' is defined but never used no-unused-vars
24:1 warning The type 'uw.controller.Step' is undefined jsdoc/no-undefined-types
204:4 warning 'deferred' is never reassigned. Use 'const' instead prefer-const
205:4 warning 'upload' is never reassigned. Use 'const' instead prefer-const
222:16 warning 'Uint8Array' is already defined as a built-in global variable no-redeclare
223:16 warning ES2015 'Uint8Array' is forbidden es-x/no-typed-arrays
314:4 warning 'upload' is never reassigned. Use 'const' instead prefer-const
382:3 warning Prefer .then to .done no-jquery/no-done-fail
382:3 warning Prefer .then to .fail no-jquery/no-done-fail
396:7 warning 'requestedTitle' is never reassigned. Use 'const' instead prefer-const
430:3 warning 'params' is never reassigned. Use 'const' instead prefer-const
448:3 warning Prefer .then to .done no-jquery/no-done-fail
448:3 warning Prefer .then to .fail no-jquery/no-done-fail
488:21 warning 'image' is never reassigned. Use 'const' instead prefer-const
585:5 warning 'constraint' is never reassigned. Use 'const' instead prefer-const
629:3 warning 'scaling' is never reassigned. Use 'const' instead prefer-const
631:3 warning 'width' is never reassigned. Use 'const' instead prefer-const
632:3 warning 'height' is never reassigned. Use 'const' instead prefer-const
640:3 warning 'dx' is never reassigned. Use 'const' instead prefer-const
641:3 warning 'dy' is never reassigned. Use 'const' instead prefer-const
666:3 warning '$canvas' is never reassigned. Use 'const' instead prefer-const
667:3 warning 'ctx' is never reassigned. Use 'const' instead prefer-const
715:7 warning 'constraints' is never reassigned. Use 'const' instead prefer-const
767:3 warning Prefer .then to .done no-jquery/no-done-fail
767:3 warning Prefer .then to .fail no-jquery/no-done-fail
775:6 warning Prefer .then to .done no-jquery/no-done-fail
778:7 warning Prefer .then to .done no-jquery/no-done-fail
802:4 warning 'deferred' is never reassigned. Use 'const' instead prefer-const
803:4 warning 'upload' is never reassigned. Use 'const' instead prefer-const
828:9 warning 'canvas' is never reassigned. Use 'const' instead prefer-const
831:8 warning 'context' is never reassigned. Use 'const' instead prefer-const
/src/repo/resources/mw.UploadWizardUploadInterface.js
206:3 warning Prefer .then to .done no-jquery/no-done-fail
/src/repo/resources/transports/mw.FormDataTransport.js
97:3 warning ES2015 'Object.assign' method is forbidden es-x/no-object-assign
156:4 warning 'deferred' is never reassigned. Use 'const' instead prefer-const
157:4 warning 'fileSize' is never reassigned. Use 'const' instead prefer-const
158:4 warning 'chunkSize' is never reassigned. Use 'const' instead prefer-const
159:4 warning 'transport' is never reassigned. Use 'const' instead prefer-const
169:5 warning Prefer .then to .done no-jquery/no-done-fail
170:6 warning Prefer .then to .done no-jquery/no-done-fail
170:6 warning Prefer .then to .fail no-jquery/no-done-fail
194:7 warning 'params' is never reassigned. Use 'const' instead prefer-const
195:4 warning 'transport' is never reassigned. Use 'const' instead prefer-const
196:4 warning 'bytesAvailable' is never reassigned. Use 'const' instead prefer-const
/src/repo/resources/ui/steps/uw.ui.Deed.js
23:1 warning The type 'uw.ui.Step' is undefined jsdoc/no-undefined-types
55:3 warning Prefer .then to .done no-jquery/no-done-fail
/src/repo/resources/ui/steps/uw.ui.Details.js
23:1 warning The type 'uw.ui.Step' is undefined jsdoc/no-undefined-types
90:3 warning Prefer .then to .done no-jquery/no-done-fail
/src/repo/resources/ui/steps/uw.ui.Thanks.js
23:1 warning The type 'uw.ui.Step' is undefined jsdoc/no-undefined-types
30:4 warning 'thanks' is never reassigned. Use 'const' instead prefer-const
48:3 warning '$header' is never reassigned. Use 'const' instead prefer-const
69:3 warning 'beginButtonTarget' is never reassigned. Use 'const' instead prefer-const
98:3 warning 'thumbWikiText' is never reassigned. Use 'const' instead prefer-const
104:3 warning '$thanksDiv' is never reassigned. Use 'const' instead prefer-const
106:3 warning '$thumbnailWrapDiv' is never reassigned. Use 'const' instead prefer-const
109:3 warning '$thumbnailDiv' is never reassigned. Use 'const' instead prefer-const
112:3 warning '$thumbnailCaption' is never reassigned. Use 'const' instead prefer-const
115:3 warning '$thumbnailLink' is never reassigned. Use 'const' instead prefer-const
128:3 warning Prefer .then to .done no-jquery/no-done-fail
/src/repo/resources/ui/steps/uw.ui.Tutorial.js
50:1 warning The type 'uw.ui.Step' is undefined jsdoc/no-undefined-types
125:3 warning Prefer .then to .done no-jquery/no-done-fail
/src/repo/resources/ui/steps/uw.ui.Upload.js
23:1 warning The type 'uw.ui.Step' is undefined jsdoc/no-undefined-types
210:6 warning Prefer .then to .done no-jquery/no-done-fail
222:3 warning Prefer .then to .done no-jquery/no-done-fail
/src/repo/resources/ui/uw.ui.DeedPreview.js
30:3 warning Prefer .then to .done no-jquery/no-done-fail
/src/repo/resources/ui/uw.ui.Step.js
101:3 warning Prefer .then to .done no-jquery/no-done-fail
119:3 warning Prefer .then to .done no-jquery/no-done-fail
/src/repo/resources/ui/uw.ui.Wizard.js
108:1 warning The type 'uw.controller.Step' is undefined jsdoc/no-undefined-types
/src/repo/resources/uw.ConcurrentQueue.js
117:3 warning 'index' is never reassigned. Use 'const' instead prefer-const
139:3 warning 'item' is never reassigned. Use 'const' instead prefer-const
145:3 warning 'promise' is never reassigned. Use 'const' instead prefer-const
/src/repo/resources/uw.CopyMetadataWidget.js
14:4 warning 'checkboxes' is never reassigned. Use 'const' instead prefer-const
15:4 warning '$copyMetadataWrapperDiv' is never reassigned. Use 'const' instead prefer-const
16:4 warning '$copyMetadataDiv' is never reassigned. Use 'const' instead prefer-const
157:4 warning 'uploads' is never reassigned. Use 'const' instead prefer-const
158:4 warning 'sourceUpload' is never reassigned. Use 'const' instead prefer-const
159:4 warning 'serialized' is never reassigned. Use 'const' instead prefer-const
161:4 warning 'sourceValue' is never reassigned. Use 'const' instead prefer-const
214:4 warning 'uploads' is never reassigned. Use 'const' instead prefer-const
/src/repo/resources/uw.FieldLayout.js
20:12 warning ES2015 'Object.assign' method is forbidden es-x/no-object-assign
/src/repo/resources/uw.LicenseGroup.js
37:17 warning ES2015 'Object.assign' method is forbidden es-x/no-object-assign
132:4 warning 'option' is never reassigned. Use 'const' instead prefer-const
167:4 warning 'option' is never reassigned. Use 'const' instead prefer-const
191:4 warning 'self' is never reassigned. Use 'const' instead prefer-const
192:4 warning 'values' is never reassigned. Use 'const' instead prefer-const
194:3 warning 'wikiTexts' is never reassigned. Use 'const' instead prefer-const
196:5 warning 'value' is never reassigned. Use 'const' instead prefer-const
222:7 warning 'self' is never reassigned. Use 'const' instead prefer-const
223:4 warning 'result' is never reassigned. Use 'const' instead prefer-const
248:7 warning 'self' is never reassigned. Use 'const' instead prefer-const
249:4 warning 'selectArray' is never reassigned. Use 'const' instead prefer-const
303:7 warning 'licenseInfo' is never reassigned. Use 'const' instead prefer-const
306:3 warning 'licenseText' is never reassigned. Use 'const' instead prefer-const
319:7 warning 'licenseInfo' is never reassigned. Use 'const' instead prefer-const
320:4 warning 'messageKey' is never reassigned. Use 'const' instead prefer-const
323:4 warning 'languageCode' is never reassigned. Use 'const' instead prefer-const
328:4 warning '$icons' is never reassigned. Use 'const' instead prefer-const
334:3 warning '$licenseLink' is never reassigned. Use 'const' instead prefer-const
343:3 warning '$label' is never reassigned. Use 'const' instead prefer-const
361:7 warning 'self' is never reassigned. Use 'const' instead prefer-const
372:3 warning 'button' is never reassigned. Use 'const' instead prefer-const
397:3 warning 'input' is never reassigned. Use 'const' instead prefer-const
413:3 warning Prefer .then to .done no-jquery/no-done-fail
413:3 warning Prefer .then to .fail no-jquery/no-done-fail
/src/repo/resources/uw.ValidationMessageElement.js
39:2 warning JSDoc @return declaration present but return expression not available in function jsdoc/require-returns-check
91:3 warning '$listItem' is never reassigned. Use 'const' instead prefer-const
/src/repo/tests/qunit/controller/uw.controller.Details.test.js
57:7 warning 'step' is never reassigned. Use 'const' instead prefer-const
61:4 warning 'stepUiStub' is never reassigned. Use 'const' instead prefer-const
110:4 warning 'done' is never reassigned. Use 'const' instead prefer-const
111:4 warning 'donestub' is never reassigned. Use 'const' instead prefer-const
112:4 warning 'ds' is never reassigned. Use 'const' instead prefer-const
113:4 warning 'ps' is never reassigned. Use 'const' instead prefer-const
117:3 warning 'tostub' is never reassigned. Use 'const' instead prefer-const
124:3 warning 'step' is never reassigned. Use 'const' instead prefer-const
135:3 warning Prefer .then to .done no-jquery/no-done-fail
/src/repo/tests/qunit/controller/uw.controller.Tutorial.test.js
33:4 warning 'acwStub' is never reassigned. Use 'const' instead prefer-const
54:3 warning 'mnStub' is never reassigned. Use 'const' instead prefer-const
/src/repo/tests/qunit/mw.UploadWizardLicenseInput.test.js
17:6 warning 'config' is never reassigned. Use 'const' instead prefer-const
18:3 warning '$fixture' is never reassigned. Use 'const' instead prefer-const
21:2 warning 'uwLicenseInput' is never reassigned. Use 'const' instead prefer-const
27:6 warning 'config' is never reassigned. Use 'const' instead prefer-const
28:3 warning '$fixture' is never reassigned. Use 'const' instead prefer-const
33:2 warning 'uwLicenseInput' is never reassigned. Use 'const' instead prefer-const
37:2 warning '$input' is never reassigned. Use 'const' instead prefer-const
41:2 warning '$label' is never reassigned. Use 'const' instead prefer-const
46:6 warning 'config' is never reassigned. Use 'const' instead prefer-const
56:3 warning '$fixture' is never reassigned. Use 'const' instead prefer-const
59:2 warning 'uwLicenseInput' is never reassigned. Use 'const' instead prefer-const
/src/repo/tests/qunit/mw.UploadWizardUpload.test.js
23:4 warning 'oldconf' is never reassigned. Use 'const' instead prefer-const
27:3 warning 'upload' is never reassigned. Use 'const' instead prefer-const
/src/repo/tests/qunit/mw.fileApi.test.js
46:15 warning 'testFile' is never reassigned. Use 'const' instead prefer-const
47:4 warning 'fakeVideo' is never reassigned. Use 'const' instead prefer-const
/src/repo/tests/qunit/transports/mw.FormDataTransport.test.js
27:3 warning 'config' is never reassigned. Use 'const' instead prefer-const
86:4 warning 'transport' is never reassigned. Use 'const' instead prefer-const
87:4 warning 'fakeFile' is never reassigned. Use 'const' instead prefer-const
97:3 warning 'request' is never reassigned. Use 'const' instead prefer-const
107:4 warning 'transport' is never reassigned. Use 'const' instead prefer-const
108:4 warning 'fakeFile' is never reassigned. Use 'const' instead prefer-const
125:3 warning 'request' is never reassigned. Use 'const' instead prefer-const
146:3 warning Prefer .then to .fail no-jquery/no-done-fail
179:10 warning Prefer .then to .done no-jquery/no-done-fail
198:10 warning Prefer .then to .done no-jquery/no-done-fail
218:3 warning Prefer .then to .fail no-jquery/no-done-fail
/src/repo/tests/qunit/uw.ConcurrentQueue.test.js
38:3 warning 'calls' is never reassigned. Use 'const' instead prefer-const
65:3 warning 'done' is never reassigned. Use 'const' instead prefer-const
66:3 warning 'action' is never reassigned. Use 'const' instead prefer-const
67:3 warning 'queue' is never reassigned. Use 'const' instead prefer-const
98:3 warning 'done' is never reassigned. Use 'const' instead prefer-const
99:3 warning 'changeHandler' is never reassigned. Use 'const' instead prefer-const
100:3 warning 'progressHandler' is never reassigned. Use 'const' instead prefer-const
101:3 warning 'completeHandler' is never reassigned. Use 'const' instead prefer-const
102:3 warning 'queue' is never reassigned. Use 'const' instead prefer-const
139:3 warning 'done' is never reassigned. Use 'const' instead prefer-const
140:3 warning 'queue' is never reassigned. Use 'const' instead prefer-const
167:3 warning 'done' is never reassigned. Use 'const' instead prefer-const
168:3 warning 'queue' is never reassigned. Use 'const' instead prefer-const
184:3 warning 'done' is never reassigned. Use 'const' instead prefer-const
185:3 warning 'changeHandler' is never reassigned. Use 'const' instead prefer-const
186:3 warning 'progressHandler' is never reassigned. Use 'const' instead prefer-const
187:3 warning 'completeHandler' is never reassigned. Use 'const' instead prefer-const
188:3 warning 'queue' is never reassigned. Use 'const' instead prefer-const
240:3 warning 'done' is never reassigned. Use 'const' instead prefer-const
241:3 warning 'changeHandler' is never reassigned. Use 'const' instead prefer-const
242:3 warning 'progressHandler' is never reassigned. Use 'const' instead prefer-const
243:3 warning 'completeHandler' is never reassigned. Use 'const' instead prefer-const
244:3 warning 'queue' is never reassigned. Use 'const' instead prefer-const
297:3 warning 'done' is never reassigned. Use 'const' instead prefer-const
298:3 warning 'action' is never reassigned. Use 'const' instead prefer-const
299:3 warning 'changeHandler' is never reassigned. Use 'const' instead prefer-const
300:3 warning 'progressHandler' is never reassigned. Use 'const' instead prefer-const
301:3 warning 'completeHandler' is never reassigned. Use 'const' instead prefer-const
302:3 warning 'queue' is never reassigned. Use 'const' instead prefer-const
353:3 warning 'done' is never reassigned. Use 'const' instead prefer-const
355:3 warning 'action' is never reassigned. Use 'const' instead prefer-const
356:3 warning 'changeHandler' is never reassigned. Use 'const' instead prefer-const
357:3 warning 'progressHandler' is never reassigned. Use 'const' instead prefer-const
358:3 warning 'completeHandler' is never reassigned. Use 'const' instead prefer-const
359:3 warning 'queue' is never reassigned. Use 'const' instead prefer-const
402:3 warning 'onProgress' is never reassigned. Use 'const' instead prefer-const
/src/repo/tests/qunit/uw.TitleDetailsWidget.test.js
5:2 warning 'fileNs' is never reassigned. Use 'const' instead prefer-const
6:2 warning 'makeTitleInFileNSCases' is never reassigned. Use 'const' instead prefer-const
✖ 393 problems (0 errors, 393 warnings)
Running "stylelint:all" (stylelint) task
>> Linted 14 files without errors
Running "banana:MediaUploader" (banana) task
>> 3 message directories checked.
Done.
--- end ---
$ package-lock-lint /src/repo/package-lock.json
--- stdout ---
Checking /src/repo/package-lock.json
--- end ---
build: Updating mediawiki/mediawiki-codesniffer to 50.0.0
$ git add .
--- stdout ---
--- end ---
$ git commit -F /tmp/tmpcq0to92_
--- stdout ---
[master 8dc5b90] build: Updating mediawiki/mediawiki-codesniffer to 50.0.0
2 files changed, 21 insertions(+), 21 deletions(-)
--- end ---
$ git format-patch HEAD~1 --stdout
--- stdout ---
From 8dc5b9030d436e04b0d92f06fea92cc44d81e349 Mon Sep 17 00:00:00 2001
From: libraryupgrader <tools.libraryupgrader@tools.wmflabs.org>
Date: Mon, 9 Mar 2026 17:03:06 +0000
Subject: [PATCH] build: Updating mediawiki/mediawiki-codesniffer to 50.0.0
Change-Id: I1a524898aa5ad314f0b0e1ec61f0786a8d4234f3
---
composer.json | 2 +-
package-lock.json | 40 ++++++++++++++++++++--------------------
2 files changed, 21 insertions(+), 21 deletions(-)
diff --git a/composer.json b/composer.json
index a898297..8629c26 100644
--- a/composer.json
+++ b/composer.json
@@ -4,7 +4,7 @@
"justinrainbow/json-schema": "~5.2"
},
"require-dev": {
- "mediawiki/mediawiki-codesniffer": "49.0.0",
+ "mediawiki/mediawiki-codesniffer": "50.0.0",
"mediawiki/mediawiki-phan-config": "0.18.0",
"mediawiki/minus-x": "2.0.1",
"php-parallel-lint/php-console-highlighter": "1.0.0",
diff --git a/package-lock.json b/package-lock.json
index 72176de..7d3cb09 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -291,9 +291,9 @@
}
},
"node_modules/@eslint/eslintrc/node_modules/minimatch": {
- "version": "3.1.2",
- "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz",
- "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==",
+ "version": "3.1.5",
+ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.5.tgz",
+ "integrity": "sha512-VgjWUsnnT6n+NUk6eZq77zeFdpW2LWDzP6zFGrCbHXiYNul5Dzqk2HHQ5uFH2DNW5Xbp8+jVzaeNt94ssEEl4w==",
"dev": true,
"dependencies": {
"brace-expansion": "^1.1.7"
@@ -714,12 +714,12 @@
}
},
"node_modules/@typescript-eslint/typescript-estree/node_modules/minimatch": {
- "version": "9.0.5",
- "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz",
- "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==",
+ "version": "9.0.9",
+ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.9.tgz",
+ "integrity": "sha512-OBwBN9AL4dqmETlpS2zasx+vTeWclWzkblfZk7KTA5j3jeOONz/tRCnZomUyvNg83wL5Zv9Ss6HMJXAgL8R2Yg==",
"dev": true,
"dependencies": {
- "brace-expansion": "^2.0.1"
+ "brace-expansion": "^2.0.2"
},
"engines": {
"node": ">=16 || 14 >=14.17"
@@ -2272,9 +2272,9 @@
}
},
"node_modules/eslint/node_modules/minimatch": {
- "version": "3.1.2",
- "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz",
- "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==",
+ "version": "3.1.5",
+ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.5.tgz",
+ "integrity": "sha512-VgjWUsnnT6n+NUk6eZq77zeFdpW2LWDzP6zFGrCbHXiYNul5Dzqk2HHQ5uFH2DNW5Xbp8+jVzaeNt94ssEEl4w==",
"dev": true,
"dependencies": {
"brace-expansion": "^1.1.7"
@@ -5906,9 +5906,9 @@
}
},
"minimatch": {
- "version": "3.1.2",
- "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz",
- "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==",
+ "version": "3.1.5",
+ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.5.tgz",
+ "integrity": "sha512-VgjWUsnnT6n+NUk6eZq77zeFdpW2LWDzP6zFGrCbHXiYNul5Dzqk2HHQ5uFH2DNW5Xbp8+jVzaeNt94ssEEl4w==",
"dev": true,
"requires": {
"brace-expansion": "^1.1.7"
@@ -6185,12 +6185,12 @@
}
},
"minimatch": {
- "version": "9.0.5",
- "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz",
- "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==",
+ "version": "9.0.9",
+ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.9.tgz",
+ "integrity": "sha512-OBwBN9AL4dqmETlpS2zasx+vTeWclWzkblfZk7KTA5j3jeOONz/tRCnZomUyvNg83wL5Zv9Ss6HMJXAgL8R2Yg==",
"dev": true,
"requires": {
- "brace-expansion": "^2.0.1"
+ "brace-expansion": "^2.0.2"
}
}
}
@@ -6957,9 +6957,9 @@
}
},
"minimatch": {
- "version": "3.1.2",
- "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz",
- "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==",
+ "version": "3.1.5",
+ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.5.tgz",
+ "integrity": "sha512-VgjWUsnnT6n+NUk6eZq77zeFdpW2LWDzP6zFGrCbHXiYNul5Dzqk2HHQ5uFH2DNW5Xbp8+jVzaeNt94ssEEl4w==",
"dev": true,
"requires": {
"brace-expansion": "^1.1.7"
--
2.47.3
--- end ---