$ date
--- stdout ---
Wed Nov 20 04:04:54 UTC 2024
--- end ---
$ git clone file:///srv/git/mediawiki-extensions-PageForms.git repo --depth=1 -b master
--- 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/master
--- stdout ---
7f3384d3c6f925292326be975445124bfc8ba138 refs/heads/master
--- end ---
$ /usr/bin/npm audit --json
--- stdout ---
{
"auditReportVersion": 2,
"vulnerabilities": {
"cross-spawn": {
"name": "cross-spawn",
"severity": "high",
"isDirect": false,
"via": [
{
"source": 1100556,
"name": "cross-spawn",
"dependency": "cross-spawn",
"title": "Regular Expression Denial of Service (ReDoS) in cross-spawn",
"url": "https://github.com/advisories/GHSA-3xgq-45jj-v275",
"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": ">=7.0.0 <7.0.5"
}
],
"effects": [],
"range": "7.0.0 - 7.0.4",
"nodes": [
"node_modules/cross-spawn"
],
"fixAvailable": true
}
},
"metadata": {
"vulnerabilities": {
"info": 0,
"low": 0,
"moderate": 0,
"high": 1,
"critical": 0,
"total": 1
},
"dependencies": {
"prod": 1,
"dev": 310,
"optional": 0,
"peer": 1,
"peerOptional": 0,
"total": 310
}
}
}
--- 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/installers (v2.3.0)
- Locking composer/pcre (3.3.2)
- Locking composer/semver (3.4.3)
- Locking composer/spdx-licenses (1.5.8)
- Locking composer/xdebug-handler (3.0.5)
- Locking dealerdirect/phpcodesniffer-composer-installer (v1.0.0)
- Locking doctrine/deprecations (1.1.3)
- Locking felixfbecker/advanced-json-rpc (v3.2.1)
- Locking mediawiki/mediawiki-codesniffer (v45.0.0)
- Locking mediawiki/mediawiki-phan-config (0.14.0)
- Locking mediawiki/minus-x (1.1.3)
- Locking mediawiki/phan-taint-check-plugin (6.0.0)
- Locking microsoft/tolerant-php-parser (v0.1.2)
- Locking netresearch/jsonmapper (v4.5.0)
- Locking phan/phan (5.4.3)
- 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.2.1)
- Locking phpcsstandards/phpcsutils (1.0.12)
- Locking phpdocumentor/reflection-common (2.2.0)
- Locking phpdocumentor/reflection-docblock (5.6.0)
- Locking phpdocumentor/type-resolver (1.10.0)
- Locking phpstan/phpdoc-parser (2.0.0)
- Locking psr/container (2.0.2)
- Locking psr/log (3.0.2)
- Locking sabre/event (5.1.7)
- Locking squizlabs/php_codesniffer (3.10.3)
- Locking symfony/console (v7.1.8)
- Locking symfony/deprecation-contracts (v3.5.0)
- Locking symfony/polyfill-ctype (v1.31.0)
- Locking symfony/polyfill-intl-grapheme (v1.31.0)
- Locking symfony/polyfill-intl-normalizer (v1.31.0)
- Locking symfony/polyfill-mbstring (v1.31.0)
- Locking symfony/polyfill-php80 (v1.31.0)
- Locking symfony/service-contracts (v3.5.0)
- Locking symfony/string (v7.1.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: 39 installs, 0 updates, 0 removals
0 [>---------------------------] 0 [->--------------------------]
- Installing composer/installers (v2.3.0): Extracting archive
- Installing squizlabs/php_codesniffer (3.10.3): Extracting archive
- Installing dealerdirect/phpcodesniffer-composer-installer (v1.0.0): Extracting archive
- Installing composer/pcre (3.3.2): Extracting archive
- Installing symfony/polyfill-php80 (v1.31.0): Extracting archive
- Installing phpcsstandards/phpcsutils (1.0.12): Extracting archive
- Installing phpcsstandards/phpcsextra (1.2.1): Extracting archive
- Installing symfony/polyfill-mbstring (v1.31.0): Extracting archive
- Installing composer/spdx-licenses (1.5.8): Extracting archive
- Installing composer/semver (3.4.3): Extracting archive
- Installing mediawiki/mediawiki-codesniffer (v45.0.0): Extracting archive
- Installing tysonandre/var_representation_polyfill (0.1.3): Extracting archive
- Installing symfony/polyfill-intl-normalizer (v1.31.0): Extracting archive
- Installing symfony/polyfill-intl-grapheme (v1.31.0): Extracting archive
- Installing symfony/polyfill-ctype (v1.31.0): Extracting archive
- Installing symfony/string (v7.1.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/console (v7.1.8): 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 (1.11.0): Extracting archive
- Installing phpstan/phpdoc-parser (2.0.0): Extracting archive
- Installing phpdocumentor/reflection-common (2.2.0): Extracting archive
- Installing doctrine/deprecations (1.1.3): Extracting archive
- Installing phpdocumentor/type-resolver (1.10.0): Extracting archive
- Installing phpdocumentor/reflection-docblock (5.6.0): 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.4.3): Extracting archive
- Installing mediawiki/phan-taint-check-plugin (6.0.0): Extracting archive
- Installing mediawiki/mediawiki-phan-config (0.14.0): Extracting archive
- Installing mediawiki/minus-x (1.1.3): Extracting archive
- Installing php-parallel-lint/php-console-color (v1.0.1): Extracting archive
- Installing php-parallel-lint/php-console-highlighter (v1.0.0): Extracting archive
- Installing php-parallel-lint/php-parallel-lint (v1.4.0): Extracting archive
0/36 [>---------------------------] 0%
20/36 [===============>------------] 55%
35/36 [===========================>] 97%
36/36 [============================] 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 ---
$ /usr/bin/npm audit --json
--- stdout ---
{
"auditReportVersion": 2,
"vulnerabilities": {
"cross-spawn": {
"name": "cross-spawn",
"severity": "high",
"isDirect": false,
"via": [
{
"source": 1100556,
"name": "cross-spawn",
"dependency": "cross-spawn",
"title": "Regular Expression Denial of Service (ReDoS) in cross-spawn",
"url": "https://github.com/advisories/GHSA-3xgq-45jj-v275",
"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": ">=7.0.0 <7.0.5"
}
],
"effects": [],
"range": "7.0.0 - 7.0.4",
"nodes": [
"node_modules/cross-spawn"
],
"fixAvailable": true
}
},
"metadata": {
"vulnerabilities": {
"info": 0,
"low": 0,
"moderate": 0,
"high": 1,
"critical": 0,
"total": 1
},
"dependencies": {
"prod": 1,
"dev": 310,
"optional": 0,
"peer": 1,
"peerOptional": 0,
"total": 310
}
}
}
--- 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": 310,
"removed": 0,
"changed": 0,
"audited": 311,
"funding": 58,
"audit": {
"auditReportVersion": 2,
"vulnerabilities": {
"cross-spawn": {
"name": "cross-spawn",
"severity": "high",
"isDirect": false,
"via": [
{
"source": 1100556,
"name": "cross-spawn",
"dependency": "cross-spawn",
"title": "Regular Expression Denial of Service (ReDoS) in cross-spawn",
"url": "https://github.com/advisories/GHSA-3xgq-45jj-v275",
"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": ">=7.0.0 <7.0.5"
}
],
"effects": [],
"range": "7.0.0 - 7.0.4",
"nodes": [
""
],
"fixAvailable": true
}
},
"metadata": {
"vulnerabilities": {
"info": 0,
"low": 0,
"moderate": 0,
"high": 1,
"critical": 0,
"total": 1
},
"dependencies": {
"prod": 1,
"dev": 310,
"optional": 0,
"peer": 1,
"peerOptional": 0,
"total": 310
}
}
}
}
--- end ---
{"added": 310, "removed": 0, "changed": 0, "audited": 311, "funding": 58, "audit": {"auditReportVersion": 2, "vulnerabilities": {"cross-spawn": {"name": "cross-spawn", "severity": "high", "isDirect": false, "via": [{"source": 1100556, "name": "cross-spawn", "dependency": "cross-spawn", "title": "Regular Expression Denial of Service (ReDoS) in cross-spawn", "url": "https://github.com/advisories/GHSA-3xgq-45jj-v275", "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": ">=7.0.0 <7.0.5"}], "effects": [], "range": "7.0.0 - 7.0.4", "nodes": [""], "fixAvailable": true}}, "metadata": {"vulnerabilities": {"info": 0, "low": 0, "moderate": 0, "high": 1, "critical": 0, "total": 1}, "dependencies": {"prod": 1, "dev": 310, "optional": 0, "peer": 1, "peerOptional": 0, "total": 310}}}}
$ /usr/bin/npm audit fix --only=dev
--- stderr ---
npm WARN invalid config only="dev" set in command line options
npm WARN invalid config Must be one of: null, prod, production
--- stdout ---
added 310 packages, and audited 311 packages in 4s
58 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
--- end ---
Verifying that tests still pass
$ /usr/bin/npm ci
--- stdout ---
added 310 packages, and audited 311 packages in 4s
58 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/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
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
541:18 warning Prefer `String#slice()` over `String#substr()` unicorn/prefer-string-slice
550:3 warning ES2015 block-scoped variables are forbidden es-x/no-block-scoped-variables
555:3 warning ES2015 block-scoped variables are forbidden es-x/no-block-scoped-variables
/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
623:11 warning Where possible, maintain application state in JS to avoid slower DOM queries no-jquery/no-class-state
754:11 warning ES2016 'Array.prototype.includes' method is forbidden es-x/no-array-prototype-includes
754:11 warning ES2015 'String.prototype.includes' method is forbidden es-x/no-string-prototype-includes
764:18 warning ES2016 'Array.prototype.includes' method is forbidden es-x/no-array-prototype-includes
764:18 warning ES2015 'String.prototype.includes' method is forbidden es-x/no-string-prototype-includes
771:52 warning ES2016 'Array.prototype.includes' method is forbidden es-x/no-array-prototype-includes
771:52 warning ES2015 'String.prototype.includes' method is forbidden es-x/no-string-prototype-includes
779:54 warning ES2016 'Array.prototype.includes' method is forbidden es-x/no-array-prototype-includes
779:54 warning ES2015 'String.prototype.includes' method is forbidden es-x/no-string-prototype-includes
780:13 warning ES2016 'Array.prototype.includes' method is forbidden es-x/no-array-prototype-includes
780:13 warning ES2015 'String.prototype.includes' method is forbidden es-x/no-string-prototype-includes
790:51 warning ES2016 'Array.prototype.includes' method is forbidden es-x/no-array-prototype-includes
790:51 warning ES2015 'String.prototype.includes' method is forbidden es-x/no-string-prototype-includes
791:13 warning ES2016 'Array.prototype.includes' method is forbidden es-x/no-array-prototype-includes
791:13 warning ES2015 'String.prototype.includes' method is forbidden es-x/no-string-prototype-includes
826:11 warning Where possible, maintain application state in JS to avoid slower DOM queries no-jquery/no-class-state
1083:12 warning ES2016 'Array.prototype.includes' method is forbidden es-x/no-array-prototype-includes
1083:12 warning ES2015 'String.prototype.includes' method is forbidden es-x/no-string-prototype-includes
1084:13 warning ES2016 'Array.prototype.includes' method is forbidden es-x/no-array-prototype-includes
1084:13 warning ES2015 'String.prototype.includes' method is forbidden es-x/no-string-prototype-includes
1086:20 warning ES2016 'Array.prototype.includes' method is forbidden es-x/no-array-prototype-includes
1086:20 warning ES2015 'String.prototype.includes' method is forbidden es-x/no-string-prototype-includes
1088:20 warning ES2016 'Array.prototype.includes' method is forbidden es-x/no-array-prototype-includes
1088:20 warning ES2015 'String.prototype.includes' method is forbidden es-x/no-string-prototype-includes
1124:12 warning ES2016 'Array.prototype.includes' method is forbidden es-x/no-array-prototype-includes
1124:12 warning ES2015 'String.prototype.includes' method is forbidden es-x/no-string-prototype-includes
1125:13 warning ES2016 'Array.prototype.includes' method is forbidden es-x/no-array-prototype-includes
1125:13 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
1129:20 warning ES2016 'Array.prototype.includes' method is forbidden es-x/no-array-prototype-includes
1129:20 warning ES2015 'String.prototype.includes' method is forbidden es-x/no-string-prototype-includes
1131:20 warning ES2016 'Array.prototype.includes' method is forbidden es-x/no-array-prototype-includes
1131:20 warning ES2015 'String.prototype.includes' method is forbidden es-x/no-string-prototype-includes
1133:20 warning ES2016 'Array.prototype.includes' method is forbidden es-x/no-array-prototype-includes
1133:20 warning ES2015 'String.prototype.includes' method is forbidden es-x/no-string-prototype-includes
1135:20 warning ES2016 'Array.prototype.includes' method is forbidden es-x/no-array-prototype-includes
1135:20 warning ES2015 'String.prototype.includes' method is forbidden es-x/no-string-prototype-includes
1137:20 warning ES2016 'Array.prototype.includes' method is forbidden es-x/no-array-prototype-includes
1137:20 warning ES2015 'String.prototype.includes' method is forbidden es-x/no-string-prototype-includes
1157:14 warning ES2016 'Array.prototype.includes' method is forbidden es-x/no-array-prototype-includes
1157:14 warning ES2015 'String.prototype.includes' method is forbidden es-x/no-string-prototype-includes
1157:71 warning ES2016 'Array.prototype.includes' method is forbidden es-x/no-array-prototype-includes
1157:71 warning ES2015 'String.prototype.includes' method is forbidden es-x/no-string-prototype-includes
1171:14 warning ES2016 'Array.prototype.includes' method is forbidden es-x/no-array-prototype-includes
1171: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
177:17 warning Prefer `String#slice()` over `String#substr()` unicorn/prefer-string-slice
/src/repo/libs/PF_SpreadsheetComboBoxInput.js
54:11 warning 'valueFilter' declared on line 56 column 11 is used outside of binding context block-scoped-var
56:11 warning 'valueFilter' declared on line 54 column 11 is used outside of binding context block-scoped-var
58:11 warning 'valueFilter' declared on line 54 column 11 is used outside of binding context block-scoped-var
58:11 warning 'valueFilter' declared on line 56 column 11 is 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' declared on line 50 column 9 is used outside of binding context block-scoped-var
114:20 warning 'i' declared on line 50 column 9 is used outside of binding context block-scoped-var
114:37 warning 'i' declared on line 50 column 9 is used outside of binding context block-scoped-var
116:20 warning 'i' declared on line 50 column 9 is used outside of binding context block-scoped-var
116:62 warning 'i' declared on line 50 column 9 is used outside of binding context block-scoped-var
130:1 warning Missing JSDoc @return type jsdoc/require-returns-type
145:17 warning Prefer `String#slice()` over `String#substr()` unicorn/prefer-string-slice
183:9 warning ES2016 'Array.prototype.includes' method is forbidden es-x/no-array-prototype-includes
183:9 warning ES2015 'String.prototype.includes' method is forbidden es-x/no-string-prototype-includes
189:1 warning The type 'integer' is undefined jsdoc/no-undefined-types
196: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
89:21 warning Where possible, maintain application state in JS to avoid slower DOM queries no-jquery/no-class-state
110:38 warning '$' is already declared in the upper scope on line 9 column 13 no-shadow
/src/repo/libs/PF_checkboxes.js
4:1 warning Missing JSDoc @param "$" type jsdoc/require-param-type
5:1 warning Missing JSDoc @param "mw" type jsdoc/require-param-type
49:24 warning '$' is already declared in the upper scope on line 9 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
4:1 warning Missing JSDoc @param "$" type jsdoc/require-param-type
5:1 warning Missing JSDoc @param "oo" type jsdoc/require-param-type
6:1 warning Missing JSDoc @param "mw" type jsdoc/require-param-type
7:1 warning Missing JSDoc @param "pf" type jsdoc/require-param-type
18:9 warning Where possible, maintain application state in JS to avoid slower DOM queries no-jquery/no-class-state
/src/repo/libs/PF_datetimepicker.js
4:1 warning Missing JSDoc @param "$" type jsdoc/require-param-type
5:1 warning Missing JSDoc @param "oo" type jsdoc/require-param-type
6:1 warning Missing JSDoc @param "mw" type jsdoc/require-param-type
7:1 warning Missing JSDoc @param "pf" type jsdoc/require-param-type
/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
6:1 warning Missing JSDoc @param "$" type jsdoc/require-param-type
7:1 warning Missing JSDoc @param "mw" type jsdoc/require-param-type
21:4 warning ES2015 'for-of' statements are forbidden es-x/no-for-of-loops
78:4 warning ES2015 block-scoped variables are forbidden es-x/no-block-scoped-variables
82:4 warning ES2015 'for-of' statements are forbidden es-x/no-for-of-loops
106:4 warning ES2015 block-scoped variables are forbidden es-x/no-block-scoped-variables
/src/repo/libs/PF_imagePreview.js
4:1 warning Missing JSDoc @param "$" type jsdoc/require-param-type
5:1 warning Missing JSDoc @param "mw" type jsdoc/require-param-type
/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
373:3 warning jQuery collection names must match the variablePattern no-jquery/variable-pattern
646:3 warning ES2024 Resizable ArrayBuffer is forbidden es-x/no-resizable-and-growable-arraybuffers
757:12 warning Where possible, maintain application state in JS to avoid slower DOM queries no-jquery/no-class-state
771:12 warning Where possible, maintain application state in JS to avoid slower DOM queries no-jquery/no-class-state
/src/repo/libs/PF_preview.js
56:3 warning ES2024 Resizable ArrayBuffer is forbidden es-x/no-resizable-and-growable-arraybuffers
/src/repo/libs/PF_rating.js
43:4 warning Selector extensions are not allowed no-jquery/no-sizzle
/src/repo/libs/PF_simpleupload.js
5:1 warning Missing JSDoc @param "$" type jsdoc/require-param-type
6:1 warning Missing JSDoc @param "mw" type jsdoc/require-param-type
/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
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 855 column 9 no-shadow
865:28 warning Positional selector extensions are not allowed no-jquery/no-sizzle
869:6 warning Positional selector extensions are not allowed no-jquery/no-sizzle
930:25 warning Positional selector extensions are not allowed no-jquery/no-sizzle
935: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
62:9 warning Selector extensions are not allowed no-jquery/no-sizzle
/src/repo/libs/PF_tree.js
6:1 warning Missing JSDoc @param "$" type jsdoc/require-param-type
7:1 warning Missing JSDoc @param "mw" type jsdoc/require-param-type
8:1 warning Missing JSDoc @param "pf" type jsdoc/require-param-type
/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
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' declared on line 837 column 7 is used outside of binding context block-scoped-var
843:7 warning 'negative' declared on line 837 column 7 is 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
1239:1 warning JSDoc @return declaration present but return expression not available in function jsdoc/require-returns-check
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
1536:8 warning Where possible, maintain application state in JS to avoid slower DOM queries no-jquery/no-class-state
1648:7 warning jQuery collection names must match the variablePattern no-jquery/variable-pattern
1655:8 warning jQuery collection names must match the variablePattern no-jquery/variable-pattern
1931:30 warning Where possible, maintain application state in JS to avoid slower DOM queries no-jquery/no-class-state
1944:8 warning Where possible, maintain application state in JS to avoid slower DOM queries no-jquery/no-class-state
1948:8 warning Where possible, maintain application state in JS to avoid slower DOM queries no-jquery/no-class-state
1953: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
72:6 warning ES2015 block-scoped variables are forbidden es-x/no-block-scoped-variables
92:8 warning ES2015 block-scoped variables are forbidden es-x/no-block-scoped-variables
317:6 warning Prefer `String#slice()` over `String#substr()` unicorn/prefer-string-slice
318:6 warning Prefer `String#slice()` over `String#substr()` unicorn/prefer-string-slice
/src/repo/libs/ext.pf.select2.tokens.js
88:11 warning ES2015 block-scoped variables are forbidden es-x/no-block-scoped-variables
287:9 warning ES2016 'Array.prototype.includes' method is forbidden es-x/no-array-prototype-includes
287:9 warning ES2015 'String.prototype.includes' method is forbidden es-x/no-string-prototype-includes
✖ 217 problems (0 errors, 217 warnings)
Running "banana:all" (banana) task
>> 1 message directory checked.
Done.
--- end ---
{"1100556": {"source": 1100556, "name": "cross-spawn", "dependency": "cross-spawn", "title": "Regular Expression Denial of Service (ReDoS) in cross-spawn", "url": "https://github.com/advisories/GHSA-3xgq-45jj-v275", "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": ">=7.0.0 <7.0.5"}}
Upgrading n:cross-spawn from 7.0.3 -> 7.0.6
$ package-lock-lint package-lock.json
--- stdout ---
Checking package-lock.json
--- end ---
build: Updating cross-spawn to 7.0.6
* https://github.com/advisories/GHSA-3xgq-45jj-v275
$ git add .
--- stdout ---
--- end ---
$ git commit -F /tmp/tmpb25z8egf
--- stdout ---
[master 6279451] build: Updating cross-spawn to 7.0.6
1 file changed, 6 insertions(+), 6 deletions(-)
--- end ---
$ git format-patch HEAD~1 --stdout
--- stdout ---
From 6279451777eda359c4389f112f721cfa31833f82 Mon Sep 17 00:00:00 2001
From: libraryupgrader <tools.libraryupgrader@tools.wmflabs.org>
Date: Wed, 20 Nov 2024 04:05:21 +0000
Subject: [PATCH] build: Updating cross-spawn to 7.0.6
* https://github.com/advisories/GHSA-3xgq-45jj-v275
Change-Id: Ic4c53a6ef01b68500f4cd7dce6e42eab598b5691
---
package-lock.json | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/package-lock.json b/package-lock.json
index 570d9ca..350545c 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -816,9 +816,9 @@
}
},
"node_modules/cross-spawn": {
- "version": "7.0.3",
- "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz",
- "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==",
+ "version": "7.0.6",
+ "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz",
+ "integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==",
"dev": true,
"dependencies": {
"path-key": "^3.1.0",
@@ -4237,9 +4237,9 @@
}
},
"cross-spawn": {
- "version": "7.0.3",
- "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz",
- "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==",
+ "version": "7.0.6",
+ "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz",
+ "integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==",
"dev": true,
"requires": {
"path-key": "^3.1.0",
--
2.39.2
--- end ---