This run took 37 seconds.
From 0f40ba5e0c640a5c755fba89921733ed14d0e3aa Mon Sep 17 00:00:00 2001 From: libraryupgrader <tools.libraryupgrader@tools.wmflabs.org> Date: Thu, 12 Jun 2025 16:44:42 +0000 Subject: [PATCH] build: Updating brace-expansion to 1.1.12 * https://github.com/advisories/GHSA-v6h2-p8h4-qcjw Additional changes: * Enable stylelint caching. Change-Id: Ie2a276e3a22000e4bedd5657282f9baa06499373 --- .gitignore | 1 + Gruntfile.js | 3 +++ package-lock.json | 12 ++++++------ 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index 3f29d4b..3a25a6a 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ composer.lock node_modules/ vendor/ .eslintcache +/.stylelintcache diff --git a/Gruntfile.js b/Gruntfile.js index 2ddf08b..7ccfce2 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -19,6 +19,9 @@ module.exports = function ( grunt ) { ] }, stylelint: { + options: { + cache: true + }, all: [ '**/*.{css,less}', '!node_modules/**', diff --git a/package-lock.json b/package-lock.json index 5556347..c6c1fd5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -681,9 +681,9 @@ "dev": true }, "node_modules/brace-expansion": { - "version": "1.1.11", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", - "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "version": "1.1.12", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.12.tgz", + "integrity": "sha512-9T9UjW3r0UW5c1Q7GTwllptXwhvYmEzFhzMfZ9H7FQWt+uZePjZPjBP/W1ZEyZ1twGWom5/56TF4lPcqjnDHcg==", "dev": true, "dependencies": { "balanced-match": "^1.0.0", @@ -5610,9 +5610,9 @@ "dev": true }, "brace-expansion": { - "version": "1.1.11", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", - "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "version": "1.1.12", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.12.tgz", + "integrity": "sha512-9T9UjW3r0UW5c1Q7GTwllptXwhvYmEzFhzMfZ9H7FQWt+uZePjZPjBP/W1ZEyZ1twGWom5/56TF4lPcqjnDHcg==", "dev": true, "requires": { "balanced-match": "^1.0.0", -- 2.39.5
$ date --- stdout --- Thu Jun 12 16:44:18 UTC 2025 --- end --- $ git clone file:///srv/git/mediawiki-extensions-LanguageTool.git repo --depth=1 -b REL1_42 --- stderr --- Cloning into 'repo'... --- stdout --- --- end --- $ git config user.name libraryupgrader --- stdout --- --- end --- $ git config user.email tools.libraryupgrader@tools.wmflabs.org --- stdout --- --- end --- $ git submodule update --init --- stdout --- --- end --- $ grr init --- stdout --- Installed commit-msg hook. --- end --- $ git show-ref refs/heads/REL1_42 --- stdout --- 0a1992d749b4d2fd3113ec3562933e6118193d06 refs/heads/REL1_42 --- end --- $ /usr/bin/npm audit --json --- stdout --- { "auditReportVersion": 2, "vulnerabilities": { "brace-expansion": { "name": "brace-expansion", "severity": "low", "isDirect": false, "via": [ { "source": 1105443, "name": "brace-expansion", "dependency": "brace-expansion", "title": "brace-expansion Regular Expression Denial of Service vulnerability", "url": "https://github.com/advisories/GHSA-v6h2-p8h4-qcjw", "severity": "low", "cwe": [ "CWE-400" ], "cvss": { "score": 3.1, "vectorString": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L" }, "range": ">=1.0.0 <=1.1.11" } ], "effects": [], "range": "1.0.0 - 1.1.11", "nodes": [ "node_modules/brace-expansion" ], "fixAvailable": true } }, "metadata": { "vulnerabilities": { "info": 0, "low": 1, "moderate": 0, "high": 0, "critical": 0, "total": 1 }, "dependencies": { "prod": 1, "dev": 427, "optional": 0, "peer": 7, "peerOptional": 0, "total": 427 } } } --- 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: 12 installs, 0 updates, 0 removals - Locking mediawiki/minus-x (1.1.1) - Locking psr/container (2.0.2) - Locking symfony/console (v5.4.47) - Locking symfony/deprecation-contracts (v3.6.0) - Locking symfony/polyfill-ctype (v1.32.0) - Locking symfony/polyfill-intl-grapheme (v1.32.0) - Locking symfony/polyfill-intl-normalizer (v1.32.0) - Locking symfony/polyfill-mbstring (v1.32.0) - Locking symfony/polyfill-php73 (v1.32.0) - Locking symfony/polyfill-php80 (v1.32.0) - Locking symfony/service-contracts (v3.6.0) - Locking symfony/string (v6.4.21) Writing lock file Installing dependencies from lock file (including require-dev) Package operations: 12 installs, 0 updates, 0 removals 0 [>---------------------------] 0 [->--------------------------] - Installing symfony/polyfill-mbstring (v1.32.0): Extracting archive - Installing symfony/polyfill-intl-normalizer (v1.32.0): Extracting archive - Installing symfony/polyfill-intl-grapheme (v1.32.0): Extracting archive - Installing symfony/polyfill-ctype (v1.32.0): Extracting archive - Installing symfony/string (v6.4.21): Extracting archive - Installing symfony/deprecation-contracts (v3.6.0): Extracting archive - Installing psr/container (2.0.2): Extracting archive - Installing symfony/service-contracts (v3.6.0): Extracting archive - Installing symfony/polyfill-php80 (v1.32.0): Extracting archive - Installing symfony/polyfill-php73 (v1.32.0): Extracting archive - Installing symfony/console (v5.4.47): Extracting archive - Installing mediawiki/minus-x (1.1.1): Extracting archive 0/12 [>---------------------------] 0% 12/12 [============================] 100% 4 package suggestions were added by new dependencies, use `composer suggest` to see details. Generating autoload files 10 packages you are using are looking for funding. Use the `composer fund` command to find out more! --- stdout --- --- end --- $ /usr/bin/npm audit --json --- stdout --- { "auditReportVersion": 2, "vulnerabilities": { "brace-expansion": { "name": "brace-expansion", "severity": "low", "isDirect": false, "via": [ { "source": 1105443, "name": "brace-expansion", "dependency": "brace-expansion", "title": "brace-expansion Regular Expression Denial of Service vulnerability", "url": "https://github.com/advisories/GHSA-v6h2-p8h4-qcjw", "severity": "low", "cwe": [ "CWE-400" ], "cvss": { "score": 3.1, "vectorString": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L" }, "range": ">=1.0.0 <=1.1.11" } ], "effects": [], "range": "1.0.0 - 1.1.11", "nodes": [ "node_modules/brace-expansion" ], "fixAvailable": true } }, "metadata": { "vulnerabilities": { "info": 0, "low": 1, "moderate": 0, "high": 0, "critical": 0, "total": 1 }, "dependencies": { "prod": 1, "dev": 427, "optional": 0, "peer": 7, "peerOptional": 0, "total": 427 } } } --- 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": 427, "removed": 0, "changed": 0, "audited": 428, "funding": 93, "audit": { "auditReportVersion": 2, "vulnerabilities": { "brace-expansion": { "name": "brace-expansion", "severity": "low", "isDirect": false, "via": [ { "source": 1105443, "name": "brace-expansion", "dependency": "brace-expansion", "title": "brace-expansion Regular Expression Denial of Service vulnerability", "url": "https://github.com/advisories/GHSA-v6h2-p8h4-qcjw", "severity": "low", "cwe": [ "CWE-400" ], "cvss": { "score": 3.1, "vectorString": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L" }, "range": ">=1.0.0 <=1.1.11" } ], "effects": [], "range": "1.0.0 - 1.1.11", "nodes": [ "" ], "fixAvailable": true } }, "metadata": { "vulnerabilities": { "info": 0, "low": 1, "moderate": 0, "high": 0, "critical": 0, "total": 1 }, "dependencies": { "prod": 1, "dev": 427, "optional": 0, "peer": 7, "peerOptional": 0, "total": 427 } } } } --- end --- {"added": 427, "removed": 0, "changed": 0, "audited": 428, "funding": 93, "audit": {"auditReportVersion": 2, "vulnerabilities": {"brace-expansion": {"name": "brace-expansion", "severity": "low", "isDirect": false, "via": [{"source": 1105443, "name": "brace-expansion", "dependency": "brace-expansion", "title": "brace-expansion Regular Expression Denial of Service vulnerability", "url": "https://github.com/advisories/GHSA-v6h2-p8h4-qcjw", "severity": "low", "cwe": ["CWE-400"], "cvss": {"score": 3.1, "vectorString": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L"}, "range": ">=1.0.0 <=1.1.11"}], "effects": [], "range": "1.0.0 - 1.1.11", "nodes": [""], "fixAvailable": true}}, "metadata": {"vulnerabilities": {"info": 0, "low": 1, "moderate": 0, "high": 0, "critical": 0, "total": 1}, "dependencies": {"prod": 1, "dev": 427, "optional": 0, "peer": 7, "peerOptional": 0, "total": 427}}}} $ /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 stylelint-stylistic@0.4.3: This package has been deprecated in favor of @stylistic/stylelint-plugin --- stdout --- added 427 packages, and audited 428 packages in 5s 93 packages are looking for funding run `npm fund` for details found 0 vulnerabilities --- end --- Verifying that tests still pass $ /usr/bin/npm ci --- stderr --- npm WARN deprecated stylelint-stylistic@0.4.3: This package has been deprecated in favor of @stylistic/stylelint-plugin --- stdout --- added 427 packages, and audited 428 packages in 5s 93 packages are looking for funding run `npm fund` for details found 0 vulnerabilities --- end --- $ /usr/bin/npm test --- stdout --- > test > grunt test Running "eslint:all" (eslint) task /src/repo/modules/ext.LanguageTool.js 5:1 warning Missing JSDoc @param "toolGroup" type jsdoc/require-param-type 6:1 warning Missing JSDoc @param "config" type jsdoc/require-param-type /src/repo/modules/ext.LanguageToolDialog.js 179:1 warning This line has a length of 107. Maximum allowed is 100 max-len 239:1 warning This line has a length of 107. Maximum allowed is 100 max-len 261:1 warning This line has a length of 107. Maximum allowed is 100 max-len 380:1 warning This line has a length of 109. Maximum allowed is 100 max-len 381:1 warning This line has a length of 110. Maximum allowed is 100 max-len 392:5 warning Avoid queries which search the entire DOM. Keep DOM nodes in memory where possible no-jquery/no-global-selector 440:1 warning This line has a length of 131. Maximum allowed is 100 max-len 502:4 warning Unnecessary '.apply()' no-useless-call 517:3 warning 'languageCode' is assigned a value but never used no-unused-vars 548:6 warning 'cssName' is assigned a value but never used no-unused-vars 611:21 warning Found non-literal argument to RegExp Constructor security/detect-non-literal-regexp 633:5 warning 'index' is assigned a value but never used no-unused-vars ✖ 14 problems (0 errors, 14 warnings) Running "banana:LanguageTool" (banana) task >> 1 message directory checked. Running "stylelint:all" (stylelint) task >> Linted 1 files without errors Done. --- end --- {"1105443": {"source": 1105443, "name": "brace-expansion", "dependency": "brace-expansion", "title": "brace-expansion Regular Expression Denial of Service vulnerability", "url": "https://github.com/advisories/GHSA-v6h2-p8h4-qcjw", "severity": "low", "cwe": ["CWE-400"], "cvss": {"score": 3.1, "vectorString": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L"}, "range": ">=1.0.0 <=1.1.11"}} Upgrading n:brace-expansion from 1.1.11 -> 1.1.12 $ package-lock-lint package-lock.json --- stdout --- Checking package-lock.json --- end --- build: Updating brace-expansion to 1.1.12 * https://github.com/advisories/GHSA-v6h2-p8h4-qcjw Additional changes: * Enable stylelint caching. $ git add . --- stdout --- --- end --- $ git commit -F /tmp/tmpzk1olrw_ --- stdout --- [REL1_42 0f40ba5] build: Updating brace-expansion to 1.1.12 3 files changed, 10 insertions(+), 6 deletions(-) --- end --- $ git format-patch HEAD~1 --stdout --- stdout --- From 0f40ba5e0c640a5c755fba89921733ed14d0e3aa Mon Sep 17 00:00:00 2001 From: libraryupgrader <tools.libraryupgrader@tools.wmflabs.org> Date: Thu, 12 Jun 2025 16:44:42 +0000 Subject: [PATCH] build: Updating brace-expansion to 1.1.12 * https://github.com/advisories/GHSA-v6h2-p8h4-qcjw Additional changes: * Enable stylelint caching. Change-Id: Ie2a276e3a22000e4bedd5657282f9baa06499373 --- .gitignore | 1 + Gruntfile.js | 3 +++ package-lock.json | 12 ++++++------ 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index 3f29d4b..3a25a6a 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ composer.lock node_modules/ vendor/ .eslintcache +/.stylelintcache diff --git a/Gruntfile.js b/Gruntfile.js index 2ddf08b..7ccfce2 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -19,6 +19,9 @@ module.exports = function ( grunt ) { ] }, stylelint: { + options: { + cache: true + }, all: [ '**/*.{css,less}', '!node_modules/**', diff --git a/package-lock.json b/package-lock.json index 5556347..c6c1fd5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -681,9 +681,9 @@ "dev": true }, "node_modules/brace-expansion": { - "version": "1.1.11", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", - "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "version": "1.1.12", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.12.tgz", + "integrity": "sha512-9T9UjW3r0UW5c1Q7GTwllptXwhvYmEzFhzMfZ9H7FQWt+uZePjZPjBP/W1ZEyZ1twGWom5/56TF4lPcqjnDHcg==", "dev": true, "dependencies": { "balanced-match": "^1.0.0", @@ -5610,9 +5610,9 @@ "dev": true }, "brace-expansion": { - "version": "1.1.11", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", - "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "version": "1.1.12", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.12.tgz", + "integrity": "sha512-9T9UjW3r0UW5c1Q7GTwllptXwhvYmEzFhzMfZ9H7FQWt+uZePjZPjBP/W1ZEyZ1twGWom5/56TF4lPcqjnDHcg==", "dev": true, "requires": { "balanced-match": "^1.0.0", -- 2.39.5 --- end ---