This run took 31 seconds.
From ea6b3ad9f7a791b97010f9a07c3174eb8a25275f Mon Sep 17 00:00:00 2001 From: libraryupgrader <tools.libraryupgrader@tools.wmflabs.org> Date: Thu, 13 Jun 2024 17:09:29 +0000 Subject: [PATCH] build: Updating braces to 3.0.3 * https://github.com/advisories/GHSA-grv7-fg5c-xmjg Change-Id: I7ef1bdfb18c0271dd0d11a56e367733f7df3d9ec --- package-lock.json | 34 ++++++++++++++++++---------------- 1 file changed, 18 insertions(+), 16 deletions(-) diff --git a/package-lock.json b/package-lock.json index 8f5131a..7f1b605 100644 --- a/package-lock.json +++ b/package-lock.json @@ -394,12 +394,12 @@ } }, "node_modules/braces": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", - "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz", + "integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==", "dev": true, "dependencies": { - "fill-range": "^7.0.1" + "fill-range": "^7.1.1" }, "engines": { "node": ">=8" @@ -1420,9 +1420,9 @@ } }, "node_modules/fill-range": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", - "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz", + "integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==", "dev": true, "dependencies": { "to-regex-range": "^5.0.1" @@ -3507,7 +3507,8 @@ "version": "5.3.2", "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz", "integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==", - "dev": true + "dev": true, + "requires": {} }, "ajv": { "version": "6.12.6", @@ -3603,12 +3604,12 @@ } }, "braces": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", - "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz", + "integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==", "dev": true, "requires": { - "fill-range": "^7.0.1" + "fill-range": "^7.1.1" } }, "browserslist": { @@ -4037,7 +4038,8 @@ "version": "2.7.0", "resolved": "https://registry.npmjs.org/eslint-plugin-no-jquery/-/eslint-plugin-no-jquery-2.7.0.tgz", "integrity": "sha512-Aeg7dA6GTH1AcWLlBtWNzOU9efK5KpNi7b0EhBO0o0M+awyzguUUo8gF6hXGjQ9n5h8/uRtYv9zOqQkeC5CG0w==", - "dev": true + "dev": true, + "requires": {} }, "eslint-plugin-node": { "version": "11.1.0", @@ -4339,9 +4341,9 @@ } }, "fill-range": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", - "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz", + "integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==", "dev": true, "requires": { "to-regex-range": "^5.0.1" -- 2.39.2
$ date --- stdout --- Thu Jun 13 17:09:07 UTC 2024 --- end --- $ git clone file:///srv/git/mediawiki-extensions-PageForms.git repo --depth=1 -b REL1_41 --- 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_41 --- stdout --- 1117bb4397db80d3b76db1db07687a9136fd97ab refs/heads/REL1_41 --- end --- $ /usr/bin/npm audit --json --- stdout --- { "auditReportVersion": 2, "vulnerabilities": { "braces": { "name": "braces", "severity": "high", "isDirect": false, "via": [ { "source": 1097496, "name": "braces", "dependency": "braces", "title": "Uncontrolled resource consumption in braces", "url": "https://github.com/advisories/GHSA-grv7-fg5c-xmjg", "severity": "high", "cwe": [ "CWE-1050" ], "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.0.3" } ], "effects": [], "range": "<3.0.3", "nodes": [ "node_modules/braces" ], "fixAvailable": true } }, "metadata": { "vulnerabilities": { "info": 0, "low": 0, "moderate": 0, "high": 1, "critical": 0, "total": 1 }, "dependencies": { "prod": 1, "dev": 287, "optional": 0, "peer": 0, "peerOptional": 0, "total": 287 } } } --- 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: 37 installs, 0 updates, 0 removals - Locking composer/installers (v2.2.0) - Locking composer/pcre (3.1.4) - Locking composer/semver (3.3.2) - Locking composer/spdx-licenses (1.5.8) - Locking composer/xdebug-handler (3.0.5) - Locking doctrine/deprecations (1.1.3) - Locking felixfbecker/advanced-json-rpc (v3.2.1) - Locking mediawiki/mediawiki-codesniffer (v41.0.0) - Locking mediawiki/mediawiki-phan-config (0.12.1) - Locking mediawiki/minus-x (1.1.1) - Locking mediawiki/phan-taint-check-plugin (4.0.0) - Locking microsoft/tolerant-php-parser (v0.1.1) - Locking netresearch/jsonmapper (v4.4.1) - Locking phan/phan (5.4.1) - Locking php-parallel-lint/php-console-color (v1.0.1) - Locking php-parallel-lint/php-console-highlighter (v1.0.0) - Locking php-parallel-lint/php-parallel-lint (v1.3.2) - Locking phpdocumentor/reflection-common (2.2.0) - Locking phpdocumentor/reflection-docblock (5.4.1) - Locking phpdocumentor/type-resolver (1.8.2) - Locking phpstan/phpdoc-parser (1.29.1) - Locking psr/container (2.0.2) - Locking psr/log (2.0.0) - Locking sabre/event (5.1.4) - Locking squizlabs/php_codesniffer (3.7.2) - Locking symfony/console (v5.4.40) - Locking symfony/deprecation-contracts (v3.5.0) - Locking symfony/polyfill-ctype (v1.29.0) - Locking symfony/polyfill-intl-grapheme (v1.29.0) - Locking symfony/polyfill-intl-normalizer (v1.29.0) - Locking symfony/polyfill-mbstring (v1.29.0) - Locking symfony/polyfill-php73 (v1.29.0) - Locking symfony/polyfill-php80 (v1.29.0) - Locking symfony/service-contracts (v3.5.0) - Locking symfony/string (v6.4.8) - Locking tysonandre/var_representation_polyfill (0.1.3) - Locking webmozart/assert (1.11.0) Writing lock file Installing dependencies from lock file (including require-dev) Package operations: 37 installs, 0 updates, 0 removals 0 [>---------------------------] 0 [->--------------------------] - Installing composer/installers (v2.2.0): Extracting archive - Installing composer/pcre (3.1.4): Extracting archive - Installing symfony/polyfill-php80 (v1.29.0): Extracting archive - Installing squizlabs/php_codesniffer (3.7.2): Extracting archive - Installing symfony/polyfill-mbstring (v1.29.0): Extracting archive - Installing composer/spdx-licenses (1.5.8): Extracting archive - Installing composer/semver (3.3.2): Extracting archive - Installing mediawiki/mediawiki-codesniffer (v41.0.0): Extracting archive - Installing tysonandre/var_representation_polyfill (0.1.3): Extracting archive - Installing symfony/polyfill-intl-normalizer (v1.29.0): Extracting archive - Installing symfony/polyfill-intl-grapheme (v1.29.0): Extracting archive - Installing symfony/polyfill-ctype (v1.29.0): Extracting archive - Installing symfony/string (v6.4.8): Extracting archive - Installing symfony/deprecation-contracts (v3.5.0): Extracting archive - Installing psr/container (2.0.2): Extracting archive - Installing symfony/service-contracts (v3.5.0): Extracting archive - Installing symfony/polyfill-php73 (v1.29.0): Extracting archive - Installing symfony/console (v5.4.40): Extracting archive - Installing sabre/event (5.1.4): Extracting archive - Installing netresearch/jsonmapper (v4.4.1): Extracting archive - Installing microsoft/tolerant-php-parser (v0.1.1): Extracting archive - Installing webmozart/assert (1.11.0): Extracting archive - Installing phpstan/phpdoc-parser (1.29.1): Extracting archive - Installing phpdocumentor/reflection-common (2.2.0): Extracting archive - Installing doctrine/deprecations (1.1.3): Extracting archive - Installing phpdocumentor/type-resolver (1.8.2): Extracting archive - Installing phpdocumentor/reflection-docblock (5.4.1): Extracting archive - Installing felixfbecker/advanced-json-rpc (v3.2.1): Extracting archive - Installing psr/log (2.0.0): Extracting archive - Installing composer/xdebug-handler (3.0.5): Extracting archive - Installing phan/phan (5.4.1): Extracting archive - Installing mediawiki/phan-taint-check-plugin (4.0.0): Extracting archive - Installing mediawiki/mediawiki-phan-config (0.12.1): Extracting archive - Installing mediawiki/minus-x (1.1.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.3.2): Extracting archive 0/36 [>---------------------------] 0% 18/36 [==============>-------------] 50% 35/36 [===========================>] 97% 36/36 [============================] 100% 4 package suggestions were added by new dependencies, use `composer suggest` to see details. Generating autoload files 16 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": { "braces": { "name": "braces", "severity": "high", "isDirect": false, "via": [ { "source": 1097496, "name": "braces", "dependency": "braces", "title": "Uncontrolled resource consumption in braces", "url": "https://github.com/advisories/GHSA-grv7-fg5c-xmjg", "severity": "high", "cwe": [ "CWE-1050" ], "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.0.3" } ], "effects": [], "range": "<3.0.3", "nodes": [ "node_modules/braces" ], "fixAvailable": true } }, "metadata": { "vulnerabilities": { "info": 0, "low": 0, "moderate": 0, "high": 1, "critical": 0, "total": 1 }, "dependencies": { "prod": 1, "dev": 287, "optional": 0, "peer": 0, "peerOptional": 0, "total": 287 } } } --- 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 npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: '@es-joy/jsdoccomment@0.23.6', npm WARN EBADENGINE required: { node: '^12 || ^14 || ^16 || ^17' }, npm WARN EBADENGINE current: { node: 'v18.19.0', npm: '9.2.0' } npm WARN EBADENGINE } npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: 'eslint-plugin-jsdoc@39.2.2', npm WARN EBADENGINE required: { node: '^14 || ^16 || ^17' }, npm WARN EBADENGINE current: { node: 'v18.19.0', npm: '9.2.0' } npm WARN EBADENGINE } --- stdout --- { "added": 287, "removed": 0, "changed": 0, "audited": 288, "funding": 41, "audit": { "auditReportVersion": 2, "vulnerabilities": { "braces": { "name": "braces", "severity": "high", "isDirect": false, "via": [ { "source": 1097496, "name": "braces", "dependency": "braces", "title": "Uncontrolled resource consumption in braces", "url": "https://github.com/advisories/GHSA-grv7-fg5c-xmjg", "severity": "high", "cwe": [ "CWE-1050" ], "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.0.3" } ], "effects": [], "range": "<3.0.3", "nodes": [ "" ], "fixAvailable": true } }, "metadata": { "vulnerabilities": { "info": 0, "low": 0, "moderate": 0, "high": 1, "critical": 0, "total": 1 }, "dependencies": { "prod": 1, "dev": 287, "optional": 0, "peer": 0, "peerOptional": 0, "total": 287 } } } } --- end --- {"added": 287, "removed": 0, "changed": 0, "audited": 288, "funding": 41, "audit": {"auditReportVersion": 2, "vulnerabilities": {"braces": {"name": "braces", "severity": "high", "isDirect": false, "via": [{"source": 1097496, "name": "braces", "dependency": "braces", "title": "Uncontrolled resource consumption in braces", "url": "https://github.com/advisories/GHSA-grv7-fg5c-xmjg", "severity": "high", "cwe": ["CWE-1050"], "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.0.3"}], "effects": [], "range": "<3.0.3", "nodes": [""], "fixAvailable": true}}, "metadata": {"vulnerabilities": {"info": 0, "low": 0, "moderate": 0, "high": 1, "critical": 0, "total": 1}, "dependencies": {"prod": 1, "dev": 287, "optional": 0, "peer": 0, "peerOptional": 0, "total": 287}}}} $ /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 EBADENGINE Unsupported engine { npm WARN EBADENGINE package: '@es-joy/jsdoccomment@0.23.6', npm WARN EBADENGINE required: { node: '^12 || ^14 || ^16 || ^17' }, npm WARN EBADENGINE current: { node: 'v18.19.0', npm: '9.2.0' } npm WARN EBADENGINE } npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: 'eslint-plugin-jsdoc@39.2.2', npm WARN EBADENGINE required: { node: '^14 || ^16 || ^17' }, npm WARN EBADENGINE current: { node: 'v18.19.0', npm: '9.2.0' } npm WARN EBADENGINE } --- stdout --- added 287 packages, and audited 288 packages in 3s 41 packages are looking for funding run `npm fund` for details found 0 vulnerabilities --- end --- $ package-lock-lint package-lock.json --- stdout --- Checking package-lock.json --- end --- Verifying that tests still pass $ /usr/bin/npm ci --- stderr --- npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: '@es-joy/jsdoccomment@0.23.6', npm WARN EBADENGINE required: { node: '^12 || ^14 || ^16 || ^17' }, npm WARN EBADENGINE current: { node: 'v18.19.0', npm: '9.2.0' } npm WARN EBADENGINE } npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: 'eslint-plugin-jsdoc@39.2.2', npm WARN EBADENGINE required: { node: '^14 || ^16 || ^17' }, npm WARN EBADENGINE current: { node: 'v18.19.0', npm: '9.2.0' } npm WARN EBADENGINE } --- stdout --- added 287 packages, and audited 288 packages in 3s 41 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/i18n/he.json 237:89 warning Detected potential trojan source attack with unicode bidi introduced in this code: '"{{PLURAL:$1|אסור שיהיה יותר ממופע אחד|אסור שיהיו יותר מ־$1 מופעים}} של תבנית זו."' security/detect-bidi-characters /src/repo/i18n/ky.json 13:37 warning Detected potential trojan source attack with unicode bidi introduced in this code: '"«$1» калыбын түзүү"' security/detect-bidi-characters 21:31 warning Detected potential trojan source attack with unicode bidi introduced in this code: '"«$1» түзүү: $2"' security/detect-bidi-characters 22:39 warning Detected potential trojan source attack with unicode bidi introduced in this code: '"«$1» түзүү"' security/detect-bidi-characters /src/repo/libs/PF_AutoEditRating.js 63:21 warning Where possible, maintain application state in JS to avoid slower DOM queries no-jquery/no-class-state 113:21 warning '$' is already declared in the upper scope on line 1 column 13 no-shadow /src/repo/libs/PF_AutocompleteWidget.js 130:21 warning Found non-literal argument to RegExp Constructor security/detect-non-literal-regexp 139:18 warning Prefer `String#slice()` over `String#substr()` unicorn/prefer-string-slice /src/repo/libs/PF_ComboBoxInput.js 120:9 warning Where possible, maintain application state in JS to avoid slower DOM queries no-jquery/no-class-state 136:51 warning ES2015 default parameters are forbidden es-x/no-default-parameters 149:8 warning Where possible, maintain application state in JS to avoid slower DOM queries no-jquery/no-class-state 231:13 warning 'optionVal' is already declared in the upper scope on line 308 column 12 no-shadow 232:13 warning 'optionLabel' is already declared in the upper scope on line 309 column 12 no-shadow 307:12 warning ES2015 block-scoped variables are forbidden es-x/no-block-scoped-variables 537:22 warning Found non-literal argument to RegExp Constructor security/detect-non-literal-regexp 546:18 warning Prefer `String#slice()` over `String#substr()` unicorn/prefer-string-slice 555:3 warning ES2015 block-scoped variables are forbidden es-x/no-block-scoped-variables 560:3 warning ES2015 block-scoped variables are forbidden es-x/no-block-scoped-variables 560:15 warning Found non-literal argument to RegExp Constructor security/detect-non-literal-regexp /src/repo/libs/PF_FullCalendar.js 124:11 warning ES2016 'Array.prototype.includes' method is forbidden es-x/no-array-prototype-includes 124:11 warning ES2015 'String.prototype.includes' method is forbidden es-x/no-string-prototype-includes 128:19 warning ES2016 'Array.prototype.includes' method is forbidden es-x/no-array-prototype-includes 128:19 warning ES2015 'String.prototype.includes' method is forbidden es-x/no-string-prototype-includes 132:19 warning ES2016 'Array.prototype.includes' method is forbidden es-x/no-array-prototype-includes 132:19 warning ES2015 'String.prototype.includes' method is forbidden es-x/no-string-prototype-includes 157:11 warning ES2016 'Array.prototype.includes' method is forbidden es-x/no-array-prototype-includes 157:11 warning ES2015 'String.prototype.includes' method is forbidden es-x/no-string-prototype-includes 161:19 warning ES2016 'Array.prototype.includes' method is forbidden es-x/no-array-prototype-includes 161:19 warning ES2015 'String.prototype.includes' method is forbidden es-x/no-string-prototype-includes 165:19 warning ES2016 'Array.prototype.includes' method is forbidden es-x/no-array-prototype-includes 165:19 warning ES2015 'String.prototype.includes' method is forbidden es-x/no-string-prototype-includes 172:11 warning ES2016 'Array.prototype.includes' method is forbidden es-x/no-array-prototype-includes 172:11 warning ES2015 'String.prototype.includes' method is forbidden es-x/no-string-prototype-includes 176:19 warning ES2016 'Array.prototype.includes' method is forbidden es-x/no-array-prototype-includes 176:19 warning ES2015 'String.prototype.includes' method is forbidden es-x/no-string-prototype-includes 180:19 warning ES2016 'Array.prototype.includes' method is forbidden es-x/no-array-prototype-includes 180:19 warning ES2015 'String.prototype.includes' method is forbidden es-x/no-string-prototype-includes 270:9 warning ES2016 'Array.prototype.includes' method is forbidden es-x/no-array-prototype-includes 270:9 warning ES2015 'String.prototype.includes' method is forbidden es-x/no-string-prototype-includes 272:17 warning ES2016 'Array.prototype.includes' method is forbidden es-x/no-array-prototype-includes 272:17 warning ES2015 'String.prototype.includes' method is forbidden es-x/no-string-prototype-includes 279:17 warning ES2016 'Array.prototype.includes' method is forbidden es-x/no-array-prototype-includes 279:17 warning ES2015 'String.prototype.includes' method is forbidden es-x/no-string-prototype-includes 281:17 warning ES2016 'Array.prototype.includes' method is forbidden es-x/no-array-prototype-includes 281:17 warning ES2015 'String.prototype.includes' method is forbidden es-x/no-string-prototype-includes 290:17 warning ES2016 'Array.prototype.includes' method is forbidden es-x/no-array-prototype-includes 290:17 warning ES2015 'String.prototype.includes' method is forbidden es-x/no-string-prototype-includes 299:17 warning ES2016 'Array.prototype.includes' method is forbidden es-x/no-array-prototype-includes 299:17 warning ES2015 'String.prototype.includes' method is forbidden es-x/no-string-prototype-includes 308:17 warning ES2016 'Array.prototype.includes' method is forbidden es-x/no-array-prototype-includes 308:17 warning ES2015 'String.prototype.includes' method is forbidden es-x/no-string-prototype-includes 613:11 warning Where possible, maintain application state in JS to avoid slower DOM queries no-jquery/no-class-state 744:11 warning ES2016 'Array.prototype.includes' method is forbidden es-x/no-array-prototype-includes 744:11 warning ES2015 'String.prototype.includes' method is forbidden es-x/no-string-prototype-includes 754:18 warning ES2016 'Array.prototype.includes' method is forbidden es-x/no-array-prototype-includes 754:18 warning ES2015 'String.prototype.includes' method is forbidden es-x/no-string-prototype-includes 761:52 warning ES2016 'Array.prototype.includes' method is forbidden es-x/no-array-prototype-includes 761:52 warning ES2015 'String.prototype.includes' method is forbidden es-x/no-string-prototype-includes 769:54 warning ES2016 'Array.prototype.includes' method is forbidden es-x/no-array-prototype-includes 769:54 warning ES2015 'String.prototype.includes' method is forbidden es-x/no-string-prototype-includes 770:13 warning ES2016 'Array.prototype.includes' method is forbidden es-x/no-array-prototype-includes 770:13 warning ES2015 'String.prototype.includes' method is forbidden es-x/no-string-prototype-includes 780:51 warning ES2016 'Array.prototype.includes' method is forbidden es-x/no-array-prototype-includes 780:51 warning ES2015 'String.prototype.includes' method is forbidden es-x/no-string-prototype-includes 781:13 warning ES2016 'Array.prototype.includes' method is forbidden es-x/no-array-prototype-includes 781:13 warning ES2015 'String.prototype.includes' method is forbidden es-x/no-string-prototype-includes 816:11 warning Where possible, maintain application state in JS to avoid slower DOM queries no-jquery/no-class-state 1073:12 warning ES2016 'Array.prototype.includes' method is forbidden es-x/no-array-prototype-includes 1073:12 warning ES2015 'String.prototype.includes' method is forbidden es-x/no-string-prototype-includes 1074:13 warning ES2016 'Array.prototype.includes' method is forbidden es-x/no-array-prototype-includes 1074:13 warning ES2015 'String.prototype.includes' method is forbidden es-x/no-string-prototype-includes 1076:20 warning ES2016 'Array.prototype.includes' method is forbidden es-x/no-array-prototype-includes 1076:20 warning ES2015 'String.prototype.includes' method is forbidden es-x/no-string-prototype-includes 1078:20 warning ES2016 'Array.prototype.includes' method is forbidden es-x/no-array-prototype-includes 1078:20 warning ES2015 'String.prototype.includes' method is forbidden es-x/no-string-prototype-includes 1114:12 warning ES2016 'Array.prototype.includes' method is forbidden es-x/no-array-prototype-includes 1114:12 warning ES2015 'String.prototype.includes' method is forbidden es-x/no-string-prototype-includes 1115:13 warning ES2016 'Array.prototype.includes' method is forbidden es-x/no-array-prototype-includes 1115:13 warning ES2015 'String.prototype.includes' method is forbidden es-x/no-string-prototype-includes 1117:20 warning ES2016 'Array.prototype.includes' method is forbidden es-x/no-array-prototype-includes 1117:20 warning ES2015 'String.prototype.includes' method is forbidden es-x/no-string-prototype-includes 1119:20 warning ES2016 'Array.prototype.includes' method is forbidden es-x/no-array-prototype-includes 1119:20 warning ES2015 'String.prototype.includes' method is forbidden es-x/no-string-prototype-includes 1121:20 warning ES2016 'Array.prototype.includes' method is forbidden es-x/no-array-prototype-includes 1121:20 warning ES2015 'String.prototype.includes' method is forbidden es-x/no-string-prototype-includes 1123:20 warning ES2016 'Array.prototype.includes' method is forbidden es-x/no-array-prototype-includes 1123:20 warning ES2015 'String.prototype.includes' method is forbidden es-x/no-string-prototype-includes 1125:20 warning ES2016 'Array.prototype.includes' method is forbidden es-x/no-array-prototype-includes 1125:20 warning ES2015 'String.prototype.includes' method is forbidden es-x/no-string-prototype-includes 1127:20 warning ES2016 'Array.prototype.includes' method is forbidden es-x/no-array-prototype-includes 1127:20 warning ES2015 'String.prototype.includes' method is forbidden es-x/no-string-prototype-includes 1147:14 warning ES2016 'Array.prototype.includes' method is forbidden es-x/no-array-prototype-includes 1147:14 warning ES2015 'String.prototype.includes' method is forbidden es-x/no-string-prototype-includes 1147:71 warning ES2016 'Array.prototype.includes' method is forbidden es-x/no-array-prototype-includes 1147:71 warning ES2015 'String.prototype.includes' method is forbidden es-x/no-string-prototype-includes 1161:14 warning ES2016 'Array.prototype.includes' method is forbidden es-x/no-array-prototype-includes 1161:14 warning ES2015 'String.prototype.includes' method is forbidden es-x/no-string-prototype-includes /src/repo/libs/PF_SpreadsheetAutocompleteWidget.js 114:9 warning ES2015 block-scoped variables are forbidden es-x/no-block-scoped-variables 131:5 warning ES2015 block-scoped variables are forbidden es-x/no-block-scoped-variables 135:21 warning ES2016 'Array.prototype.includes' method is forbidden es-x/no-array-prototype-includes 135:21 warning ES2015 'String.prototype.includes' method is forbidden es-x/no-string-prototype-includes 171:21 warning Found non-literal argument to RegExp Constructor security/detect-non-literal-regexp 179:17 warning Prefer `String#slice()` over `String#substr()` unicorn/prefer-string-slice 212:14 warning Found non-literal argument to RegExp Constructor security/detect-non-literal-regexp /src/repo/libs/PF_SpreadsheetComboBoxInput.js 54:11 warning 'valueFilter' used outside of binding context block-scoped-var 56:11 warning 'valueFilter' used outside of binding context block-scoped-var 58:11 warning 'valueFilter' used outside of binding context block-scoped-var 58:11 warning 'valueFilter' used outside of binding context block-scoped-var 108:23 warning 'data' is already declared in the upper scope on line 46 column 4 no-shadow 114:13 warning 'i' used outside of binding context block-scoped-var 114:20 warning 'i' used outside of binding context block-scoped-var 114:37 warning 'i' used outside of binding context block-scoped-var 116:20 warning 'i' used outside of binding context block-scoped-var 116:62 warning 'i' used outside of binding context block-scoped-var 131:0 warning Missing JSDoc @return type jsdoc/require-returns-type 138:21 warning Found non-literal argument to RegExp Constructor security/detect-non-literal-regexp 146:17 warning Prefer `String#slice()` over `String#substr()` unicorn/prefer-string-slice 173:14 warning Found non-literal argument to RegExp Constructor security/detect-non-literal-regexp 184:9 warning ES2016 'Array.prototype.includes' method is forbidden es-x/no-array-prototype-includes 184:9 warning ES2015 'String.prototype.includes' method is forbidden es-x/no-string-prototype-includes 190:0 warning The type 'integer' is undefined jsdoc/no-undefined-types 197:2 warning jQuery collection names must match the variablePattern no-jquery/variable-pattern /src/repo/libs/PF_autoedit.js 15:16 warning Where possible, maintain application state in JS to avoid slower DOM queries no-jquery/no-class-state 83:21 warning Where possible, maintain application state in JS to avoid slower DOM queries no-jquery/no-class-state 95:38 warning '$' is already declared in the upper scope on line 9 column 13 no-shadow /src/repo/libs/PF_checkboxes.js 47:24 warning '$' is already declared in the upper scope on line 7 column 14 no-shadow /src/repo/libs/PF_collapsible.js 30:8 warning Where possible, maintain application state in JS to avoid slower DOM queries no-jquery/no-class-state /src/repo/libs/PF_datepicker.js 14:9 warning Where possible, maintain application state in JS to avoid slower DOM queries no-jquery/no-class-state /src/repo/libs/PF_editWarning.js 32:9 warning Where possible, maintain application state in JS to avoid slower DOM queries no-jquery/no-class-state 61:11 warning Where possible, maintain application state in JS to avoid slower DOM queries no-jquery/no-class-state /src/repo/libs/PF_formInput.js 19:4 warning ES2015 'for-of' statements are forbidden es-x/no-for-of-loops 76:4 warning ES2015 block-scoped variables are forbidden es-x/no-block-scoped-variables 80:4 warning ES2015 'for-of' statements are forbidden es-x/no-for-of-loops 104:4 warning ES2015 block-scoped variables are forbidden es-x/no-block-scoped-variables /src/repo/libs/PF_maps.js 201:5 warning ES2015 block-scoped variables are forbidden es-x/no-block-scoped-variables 208:5 warning ES2015 block-scoped variables are forbidden es-x/no-block-scoped-variables 209:5 warning ES2015 block-scoped variables are forbidden es-x/no-block-scoped-variables 210:5 warning ES2015 block-scoped variables are forbidden es-x/no-block-scoped-variables 262:6 warning ES2015 block-scoped variables are forbidden es-x/no-block-scoped-variables 263:6 warning ES2015 block-scoped variables are forbidden es-x/no-block-scoped-variables 264:6 warning ES2015 block-scoped variables are forbidden es-x/no-block-scoped-variables /src/repo/libs/PF_popupform.js 374:3 warning jQuery collection names must match the variablePattern no-jquery/variable-pattern 758:12 warning Where possible, maintain application state in JS to avoid slower DOM queries no-jquery/no-class-state 772:12 warning Where possible, maintain application state in JS to avoid slower DOM queries no-jquery/no-class-state /src/repo/libs/PF_rating.js 43:4 warning Selector extensions are not allowed no-jquery/no-sizzle /src/repo/libs/PF_regexp.js 31:12 warning Found non-literal argument to RegExp Constructor security/detect-non-literal-regexp /src/repo/libs/PF_spreadsheet.js 10:1 warning ES2015 block-scoped variables are forbidden es-x/no-block-scoped-variables 11:1 warning ES2015 block-scoped variables are forbidden es-x/no-block-scoped-variables 12:1 warning ES2015 block-scoped variables are forbidden es-x/no-block-scoped-variables 13:1 warning ES2015 block-scoped variables are forbidden es-x/no-block-scoped-variables 14:1 warning ES2015 block-scoped variables are forbidden es-x/no-block-scoped-variables 15:1 warning ES2015 block-scoped variables are forbidden es-x/no-block-scoped-variables 16:1 warning ES2015 block-scoped variables are forbidden es-x/no-block-scoped-variables 17:1 warning ES2015 block-scoped variables are forbidden es-x/no-block-scoped-variables 72:11 warning ES2016 'Array.prototype.includes' method is forbidden es-x/no-array-prototype-includes 72:11 warning ES2015 'String.prototype.includes' method is forbidden es-x/no-string-prototype-includes 394:3 warning ES2015 'for-of' statements are forbidden es-x/no-for-of-loops 440:3 warning ES2015 'for-of' statements are forbidden es-x/no-for-of-loops 523:16 warning Found non-literal argument to RegExp Constructor security/detect-non-literal-regexp 689:6 warning ES2015 'for-of' statements are forbidden es-x/no-for-of-loops 689:11 warning ES2015 block-scoped variables are forbidden es-x/no-block-scoped-variables 692:7 warning ES2015 'for-of' statements are forbidden es-x/no-for-of-loops 692:12 warning ES2015 block-scoped variables are forbidden es-x/no-block-scoped-variables 753:10 warning 'columnParams' is already declared in the upper scope on line 853 column 9 no-shadow 771:22 warning Positional selector extensions are not allowed no-jquery/no-sizzle 863:28 warning Positional selector extensions are not allowed no-jquery/no-sizzle 867:6 warning Positional selector extensions are not allowed no-jquery/no-sizzle 928:25 warning Positional selector extensions are not allowed no-jquery/no-sizzle 933:4 warning Positional selector extensions are not allowed no-jquery/no-sizzle /src/repo/libs/PF_submit.js 141:46 warning Prefer `String#slice()` over `String#substring()` unicorn/prefer-string-slice 174:8 warning '$form' is already declared in the upper scope on line 14 column 6 no-shadow /src/repo/libs/PF_timepicker.js 64:9 warning Selector extensions are not allowed no-jquery/no-sizzle /src/repo/libs/PF_upload.js 56:41 warning Where possible, maintain application state in JS to avoid slower DOM queries no-jquery/no-class-state /src/repo/libs/PageForms.js 199:10 warning Where possible, maintain application state in JS to avoid slower DOM queries no-jquery/no-class-state 230:19 warning Where possible, maintain application state in JS to avoid slower DOM queries no-jquery/no-class-state 241:9 warning Selector extensions are not allowed no-jquery/no-sizzle 406:61 warning All possible message keys should be documented. See https://w.wiki/4r9a for details mediawiki/msg-doc 413:58 warning All possible message keys should be documented. See https://w.wiki/4r9a for details mediawiki/msg-doc 676:19 warning Found non-literal argument to RegExp Constructor security/detect-non-literal-regexp 688:21 warning Unsafe Regular Expression security/detect-unsafe-regex 702:17 warning Unsafe Regular Expression security/detect-unsafe-regex 770:9 warning ES2016 'Array.prototype.includes' method is forbidden es-x/no-array-prototype-includes 770:9 warning ES2015 'String.prototype.includes' method is forbidden es-x/no-string-prototype-includes 771:5 warning ES2016 'Array.prototype.includes' method is forbidden es-x/no-array-prototype-includes 771:5 warning ES2015 'String.prototype.includes' method is forbidden es-x/no-string-prototype-includes 834:6 warning 'negative' used outside of binding context block-scoped-var 843:7 warning 'negative' used outside of binding context block-scoped-var 1014:6 warning jQuery collection names must match the variablePattern no-jquery/variable-pattern 1015:6 warning jQuery collection names must match the variablePattern no-jquery/variable-pattern 1021:6 warning jQuery collection names must match the variablePattern no-jquery/variable-pattern 1022:6 warning jQuery collection names must match the variablePattern no-jquery/variable-pattern 1112:11 warning ES2016 'Array.prototype.includes' method is forbidden es-x/no-array-prototype-includes 1112:11 warning ES2015 'String.prototype.includes' method is forbidden es-x/no-string-prototype-includes 1118:9 warning Where possible, maintain application state in JS to avoid slower DOM queries no-jquery/no-class-state 1225:7 warning jQuery collection names must match the variablePattern no-jquery/variable-pattern 1226:8 warning ES2015 block-scoped variables are forbidden es-x/no-block-scoped-variables 1258:10 warning Where possible, maintain application state in JS to avoid slower DOM queries no-jquery/no-class-state 1262:8 warning Where possible, maintain application state in JS to avoid slower DOM queries no-jquery/no-class-state 1533:8 warning Where possible, maintain application state in JS to avoid slower DOM queries no-jquery/no-class-state 1646:7 warning jQuery collection names must match the variablePattern no-jquery/variable-pattern 1653:8 warning jQuery collection names must match the variablePattern no-jquery/variable-pattern 1929:30 warning Where possible, maintain application state in JS to avoid slower DOM queries no-jquery/no-class-state 1942:8 warning Where possible, maintain application state in JS to avoid slower DOM queries no-jquery/no-class-state 1946:8 warning Where possible, maintain application state in JS to avoid slower DOM queries no-jquery/no-class-state 1951:7 warning Where possible, maintain application state in JS to avoid slower DOM queries no-jquery/no-class-state /src/repo/libs/ext.pf.select2.base.js 73:6 warning ES2015 block-scoped variables are forbidden es-x/no-block-scoped-variables 93:8 warning ES2015 block-scoped variables are forbidden es-x/no-block-scoped-variables 318:6 warning Prefer `String#slice()` over `String#substr()` unicorn/prefer-string-slice 319:6 warning Prefer `String#slice()` over `String#substr()` unicorn/prefer-string-slice /src/repo/libs/ext.pf.select2.tokens.js 89:11 warning ES2015 block-scoped variables are forbidden es-x/no-block-scoped-variables 288:9 warning ES2016 'Array.prototype.includes' method is forbidden es-x/no-array-prototype-includes 288:9 warning ES2015 'String.prototype.includes' method is forbidden es-x/no-string-prototype-includes ✖ 212 problems (0 errors, 212 warnings) Running "banana:all" (banana) task >> 1 message directory checked. Done. --- end --- {"1097496": {"source": 1097496, "name": "braces", "dependency": "braces", "title": "Uncontrolled resource consumption in braces", "url": "https://github.com/advisories/GHSA-grv7-fg5c-xmjg", "severity": "high", "cwe": ["CWE-1050"], "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.0.3"}} Upgrading n:braces from 3.0.2 -> 3.0.3 $ package-lock-lint package-lock.json --- stdout --- Checking package-lock.json --- end --- build: Updating braces to 3.0.3 * https://github.com/advisories/GHSA-grv7-fg5c-xmjg $ git add . --- stdout --- --- end --- $ git commit -F /tmp/tmpwagw1biw --- stdout --- [REL1_41 ea6b3ad] build: Updating braces to 3.0.3 1 file changed, 18 insertions(+), 16 deletions(-) --- end --- $ git format-patch HEAD~1 --stdout --- stdout --- From ea6b3ad9f7a791b97010f9a07c3174eb8a25275f Mon Sep 17 00:00:00 2001 From: libraryupgrader <tools.libraryupgrader@tools.wmflabs.org> Date: Thu, 13 Jun 2024 17:09:29 +0000 Subject: [PATCH] build: Updating braces to 3.0.3 * https://github.com/advisories/GHSA-grv7-fg5c-xmjg Change-Id: I7ef1bdfb18c0271dd0d11a56e367733f7df3d9ec --- package-lock.json | 34 ++++++++++++++++++---------------- 1 file changed, 18 insertions(+), 16 deletions(-) diff --git a/package-lock.json b/package-lock.json index 8f5131a..7f1b605 100644 --- a/package-lock.json +++ b/package-lock.json @@ -394,12 +394,12 @@ } }, "node_modules/braces": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", - "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz", + "integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==", "dev": true, "dependencies": { - "fill-range": "^7.0.1" + "fill-range": "^7.1.1" }, "engines": { "node": ">=8" @@ -1420,9 +1420,9 @@ } }, "node_modules/fill-range": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", - "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz", + "integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==", "dev": true, "dependencies": { "to-regex-range": "^5.0.1" @@ -3507,7 +3507,8 @@ "version": "5.3.2", "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz", "integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==", - "dev": true + "dev": true, + "requires": {} }, "ajv": { "version": "6.12.6", @@ -3603,12 +3604,12 @@ } }, "braces": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", - "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz", + "integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==", "dev": true, "requires": { - "fill-range": "^7.0.1" + "fill-range": "^7.1.1" } }, "browserslist": { @@ -4037,7 +4038,8 @@ "version": "2.7.0", "resolved": "https://registry.npmjs.org/eslint-plugin-no-jquery/-/eslint-plugin-no-jquery-2.7.0.tgz", "integrity": "sha512-Aeg7dA6GTH1AcWLlBtWNzOU9efK5KpNi7b0EhBO0o0M+awyzguUUo8gF6hXGjQ9n5h8/uRtYv9zOqQkeC5CG0w==", - "dev": true + "dev": true, + "requires": {} }, "eslint-plugin-node": { "version": "11.1.0", @@ -4339,9 +4341,9 @@ } }, "fill-range": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", - "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz", + "integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==", "dev": true, "requires": { "to-regex-range": "^5.0.1" -- 2.39.2 --- end ---