$ date
--- stdout ---
Thu May 2 02:16:49 UTC 2024
--- end ---
$ git clone file:///srv/git/mediawiki-extensions-CentralNotice.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 ---
ed5d3ebfe5920c43d9bd059b079166ed88f88366 refs/heads/REL1_41
--- end ---
$ /usr/bin/npm audit --json
--- stdout ---
{
"auditReportVersion": 2,
"vulnerabilities": {
"ejs": {
"name": "ejs",
"severity": "moderate",
"isDirect": false,
"via": [
{
"source": 1097210,
"name": "ejs",
"dependency": "ejs",
"title": "ejs lacks certain pollution protection",
"url": "https://github.com/advisories/GHSA-ghr5-ch3p-vcr6",
"severity": "moderate",
"cwe": [
"CWE-1321"
],
"cvss": {
"score": 0,
"vectorString": null
},
"range": "<3.1.10"
}
],
"effects": [],
"range": "<3.1.10",
"nodes": [
"node_modules/ejs"
],
"fixAvailable": true
},
"mwbot": {
"name": "mwbot",
"severity": "moderate",
"isDirect": false,
"via": [
"request"
],
"effects": [
"wdio-mediawiki"
],
"range": ">=0.1.6",
"nodes": [
"node_modules/mwbot"
],
"fixAvailable": false
},
"request": {
"name": "request",
"severity": "moderate",
"isDirect": false,
"via": [
{
"source": 1096727,
"name": "request",
"dependency": "request",
"title": "Server-Side Request Forgery in Request",
"url": "https://github.com/advisories/GHSA-p8p7-x288-28g6",
"severity": "moderate",
"cwe": [
"CWE-918"
],
"cvss": {
"score": 6.1,
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
},
"range": "<=2.88.2"
},
"tough-cookie"
],
"effects": [
"mwbot"
],
"range": "*",
"nodes": [
"node_modules/request"
],
"fixAvailable": false
},
"tough-cookie": {
"name": "tough-cookie",
"severity": "moderate",
"isDirect": false,
"via": [
{
"source": 1096643,
"name": "tough-cookie",
"dependency": "tough-cookie",
"title": "tough-cookie Prototype Pollution vulnerability",
"url": "https://github.com/advisories/GHSA-72xf-g2v4-qvf3",
"severity": "moderate",
"cwe": [
"CWE-1321"
],
"cvss": {
"score": 6.5,
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N"
},
"range": "<4.1.3"
}
],
"effects": [
"request"
],
"range": "<4.1.3",
"nodes": [
"node_modules/tough-cookie"
],
"fixAvailable": false
},
"wdio-mediawiki": {
"name": "wdio-mediawiki",
"severity": "moderate",
"isDirect": true,
"via": [
"mwbot"
],
"effects": [],
"range": "*",
"nodes": [
"node_modules/wdio-mediawiki"
],
"fixAvailable": false
}
},
"metadata": {
"vulnerabilities": {
"info": 0,
"low": 0,
"moderate": 5,
"high": 0,
"critical": 0,
"total": 5
},
"dependencies": {
"prod": 1,
"dev": 745,
"optional": 2,
"peer": 0,
"peerOptional": 0,
"total": 745
}
}
}
--- 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: 36 installs, 0 updates, 0 removals
- Locking composer/pcre (3.1.3)
- Locking composer/semver (3.3.2)
- Locking composer/spdx-licenses (1.5.8)
- Locking composer/xdebug-handler (3.0.4)
- 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.0)
- Locking phpdocumentor/type-resolver (1.8.2)
- Locking phpstan/phpdoc-parser (1.28.0)
- 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.39)
- Locking symfony/deprecation-contracts (v3.4.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.4.2)
- Locking symfony/string (v6.4.7)
- 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: 36 installs, 0 updates, 0 removals
0 [>---------------------------] 0 [->--------------------------]
- Installing composer/pcre (3.1.3): 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.7): Extracting archive
- Installing psr/container (2.0.2): Extracting archive
- Installing symfony/service-contracts (v3.4.2): Extracting archive
- Installing symfony/polyfill-php73 (v1.29.0): Extracting archive
- Installing symfony/deprecation-contracts (v3.4.0): Extracting archive
- Installing symfony/console (v5.4.39): 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.28.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.8.2): Extracting archive
- Installing phpdocumentor/reflection-docblock (5.4.0): 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.4): 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%
19/36 [==============>-------------] 52%
35/36 [===========================>] 97%
36/36 [============================] 100%
3 package suggestions were added by new dependencies, use `composer suggest` to see details.
Generating autoload files
15 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": {
"ejs": {
"name": "ejs",
"severity": "moderate",
"isDirect": false,
"via": [
{
"source": 1097210,
"name": "ejs",
"dependency": "ejs",
"title": "ejs lacks certain pollution protection",
"url": "https://github.com/advisories/GHSA-ghr5-ch3p-vcr6",
"severity": "moderate",
"cwe": [
"CWE-1321"
],
"cvss": {
"score": 0,
"vectorString": null
},
"range": "<3.1.10"
}
],
"effects": [],
"range": "<3.1.10",
"nodes": [
"node_modules/ejs"
],
"fixAvailable": true
},
"mwbot": {
"name": "mwbot",
"severity": "moderate",
"isDirect": false,
"via": [
"request"
],
"effects": [
"wdio-mediawiki"
],
"range": ">=0.1.6",
"nodes": [
"node_modules/mwbot"
],
"fixAvailable": false
},
"request": {
"name": "request",
"severity": "moderate",
"isDirect": false,
"via": [
{
"source": 1096727,
"name": "request",
"dependency": "request",
"title": "Server-Side Request Forgery in Request",
"url": "https://github.com/advisories/GHSA-p8p7-x288-28g6",
"severity": "moderate",
"cwe": [
"CWE-918"
],
"cvss": {
"score": 6.1,
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
},
"range": "<=2.88.2"
},
"tough-cookie"
],
"effects": [
"mwbot"
],
"range": "*",
"nodes": [
"node_modules/request"
],
"fixAvailable": false
},
"tough-cookie": {
"name": "tough-cookie",
"severity": "moderate",
"isDirect": false,
"via": [
{
"source": 1096643,
"name": "tough-cookie",
"dependency": "tough-cookie",
"title": "tough-cookie Prototype Pollution vulnerability",
"url": "https://github.com/advisories/GHSA-72xf-g2v4-qvf3",
"severity": "moderate",
"cwe": [
"CWE-1321"
],
"cvss": {
"score": 6.5,
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N"
},
"range": "<4.1.3"
}
],
"effects": [
"request"
],
"range": "<4.1.3",
"nodes": [
"node_modules/tough-cookie"
],
"fixAvailable": false
},
"wdio-mediawiki": {
"name": "wdio-mediawiki",
"severity": "moderate",
"isDirect": true,
"via": [
"mwbot"
],
"effects": [],
"range": "*",
"nodes": [
"node_modules/wdio-mediawiki"
],
"fixAvailable": false
}
},
"metadata": {
"vulnerabilities": {
"info": 0,
"low": 0,
"moderate": 5,
"high": 0,
"critical": 0,
"total": 5
},
"dependencies": {
"prod": 1,
"dev": 745,
"optional": 2,
"peer": 0,
"peerOptional": 0,
"total": 745
}
}
}
--- 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 }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE package: 'wdio-mediawiki@2.5.0',
npm WARN EBADENGINE required: { node: '>=18.17.0', npm: '>=9.6.7' },
npm WARN EBADENGINE current: { node: 'v18.19.0', npm: '9.2.0' }
npm WARN EBADENGINE }
--- stdout ---
{
"added": 745,
"removed": 0,
"changed": 0,
"audited": 746,
"funding": 104,
"audit": {
"auditReportVersion": 2,
"vulnerabilities": {
"ejs": {
"name": "ejs",
"severity": "moderate",
"isDirect": false,
"via": [
{
"source": 1097210,
"name": "ejs",
"dependency": "ejs",
"title": "ejs lacks certain pollution protection",
"url": "https://github.com/advisories/GHSA-ghr5-ch3p-vcr6",
"severity": "moderate",
"cwe": [
"CWE-1321"
],
"cvss": {
"score": 0,
"vectorString": null
},
"range": "<3.1.10"
}
],
"effects": [],
"range": "<3.1.10",
"nodes": [
""
],
"fixAvailable": true
},
"mwbot": {
"name": "mwbot",
"severity": "moderate",
"isDirect": false,
"via": [
"request"
],
"effects": [
"wdio-mediawiki"
],
"range": ">=0.1.6",
"nodes": [
"node_modules/mwbot"
],
"fixAvailable": false
},
"request": {
"name": "request",
"severity": "moderate",
"isDirect": false,
"via": [
{
"source": 1096727,
"name": "request",
"dependency": "request",
"title": "Server-Side Request Forgery in Request",
"url": "https://github.com/advisories/GHSA-p8p7-x288-28g6",
"severity": "moderate",
"cwe": [
"CWE-918"
],
"cvss": {
"score": 6.1,
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
},
"range": "<=2.88.2"
},
"tough-cookie"
],
"effects": [
"mwbot"
],
"range": "*",
"nodes": [
"node_modules/request"
],
"fixAvailable": false
},
"tough-cookie": {
"name": "tough-cookie",
"severity": "moderate",
"isDirect": false,
"via": [
{
"source": 1096643,
"name": "tough-cookie",
"dependency": "tough-cookie",
"title": "tough-cookie Prototype Pollution vulnerability",
"url": "https://github.com/advisories/GHSA-72xf-g2v4-qvf3",
"severity": "moderate",
"cwe": [
"CWE-1321"
],
"cvss": {
"score": 6.5,
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N"
},
"range": "<4.1.3"
}
],
"effects": [
"request"
],
"range": "<4.1.3",
"nodes": [
"node_modules/tough-cookie"
],
"fixAvailable": false
},
"wdio-mediawiki": {
"name": "wdio-mediawiki",
"severity": "moderate",
"isDirect": true,
"via": [
"mwbot"
],
"effects": [],
"range": "*",
"nodes": [
"node_modules/wdio-mediawiki"
],
"fixAvailable": false
}
},
"metadata": {
"vulnerabilities": {
"info": 0,
"low": 0,
"moderate": 5,
"high": 0,
"critical": 0,
"total": 5
},
"dependencies": {
"prod": 1,
"dev": 745,
"optional": 2,
"peer": 0,
"peerOptional": 0,
"total": 745
}
}
}
}
--- end ---
{"added": 745, "removed": 0, "changed": 0, "audited": 746, "funding": 104, "audit": {"auditReportVersion": 2, "vulnerabilities": {"ejs": {"name": "ejs", "severity": "moderate", "isDirect": false, "via": [{"source": 1097210, "name": "ejs", "dependency": "ejs", "title": "ejs lacks certain pollution protection", "url": "https://github.com/advisories/GHSA-ghr5-ch3p-vcr6", "severity": "moderate", "cwe": ["CWE-1321"], "cvss": {"score": 0, "vectorString": null}, "range": "<3.1.10"}], "effects": [], "range": "<3.1.10", "nodes": [""], "fixAvailable": true}, "mwbot": {"name": "mwbot", "severity": "moderate", "isDirect": false, "via": ["request"], "effects": ["wdio-mediawiki"], "range": ">=0.1.6", "nodes": ["node_modules/mwbot"], "fixAvailable": false}, "request": {"name": "request", "severity": "moderate", "isDirect": false, "via": [{"source": 1096727, "name": "request", "dependency": "request", "title": "Server-Side Request Forgery in Request", "url": "https://github.com/advisories/GHSA-p8p7-x288-28g6", "severity": "moderate", "cwe": ["CWE-918"], "cvss": {"score": 6.1, "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"}, "range": "<=2.88.2"}, "tough-cookie"], "effects": ["mwbot"], "range": "*", "nodes": ["node_modules/request"], "fixAvailable": false}, "tough-cookie": {"name": "tough-cookie", "severity": "moderate", "isDirect": false, "via": [{"source": 1096643, "name": "tough-cookie", "dependency": "tough-cookie", "title": "tough-cookie Prototype Pollution vulnerability", "url": "https://github.com/advisories/GHSA-72xf-g2v4-qvf3", "severity": "moderate", "cwe": ["CWE-1321"], "cvss": {"score": 6.5, "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N"}, "range": "<4.1.3"}], "effects": ["request"], "range": "<4.1.3", "nodes": ["node_modules/tough-cookie"], "fixAvailable": false}, "wdio-mediawiki": {"name": "wdio-mediawiki", "severity": "moderate", "isDirect": true, "via": ["mwbot"], "effects": [], "range": "*", "nodes": ["node_modules/wdio-mediawiki"], "fixAvailable": false}}, "metadata": {"vulnerabilities": {"info": 0, "low": 0, "moderate": 5, "high": 0, "critical": 0, "total": 5}, "dependencies": {"prod": 1, "dev": 745, "optional": 2, "peer": 0, "peerOptional": 0, "total": 745}}}}
$ /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 }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE package: 'wdio-mediawiki@2.5.0',
npm WARN EBADENGINE required: { node: '>=18.17.0', npm: '>=9.6.7' },
npm WARN EBADENGINE current: { node: 'v18.19.0', npm: '9.2.0' }
npm WARN EBADENGINE }
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
--- stdout ---
added 744 packages, and audited 745 packages in 6s
104 packages are looking for funding
run `npm fund` for details
# npm audit report
request *
Severity: moderate
Server-Side Request Forgery in Request - https://github.com/advisories/GHSA-p8p7-x288-28g6
Depends on vulnerable versions of tough-cookie
No fix available
node_modules/request
mwbot >=0.1.6
Depends on vulnerable versions of request
node_modules/mwbot
wdio-mediawiki *
Depends on vulnerable versions of mwbot
node_modules/wdio-mediawiki
tough-cookie <4.1.3
Severity: moderate
tough-cookie Prototype Pollution vulnerability - https://github.com/advisories/GHSA-72xf-g2v4-qvf3
No fix available
node_modules/tough-cookie
4 moderate severity vulnerabilities
Some issues need review, and may require choosing
a different dependency.
--- 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 }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE package: 'wdio-mediawiki@2.5.0',
npm WARN EBADENGINE required: { node: '>=18.17.0', npm: '>=9.6.7' },
npm WARN EBADENGINE current: { node: 'v18.19.0', npm: '9.2.0' }
npm WARN EBADENGINE }
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
--- stdout ---
added 744 packages, and audited 745 packages in 7s
104 packages are looking for funding
run `npm fund` for details
4 moderate severity vulnerabilities
Some issues need review, and may require choosing
a different dependency.
Run `npm audit` for details.
--- end ---
$ /usr/bin/npm test
--- stdout ---
> test
> grunt test
Running "eslint:all" (eslint) task
/src/repo/i18n/he.json
160:73 warning Detected potential trojan source attack with unicode bidi introduced in this code: '"לא ניתן להשתמש ב־document.write() בתוך כרזה.\nר' https://meta.wikimedia.org/wiki/Help:CentralNotice למידע נוסף."' security/detect-bidi-characters
/src/repo/resources/ext.centralNotice.display/bucketer.js
47:2 warning Missing JSDoc @return declaration jsdoc/require-returns
50:0 warning Missing JSDoc @param "name" type jsdoc/require-param-type
58:2 warning Missing JSDoc @return declaration jsdoc/require-returns
61:0 warning Missing JSDoc @param "name" type jsdoc/require-param-type
/src/repo/resources/ext.centralNotice.display/chooser.js
23:0 warning Missing JSDoc @param "availableCampaigns" type jsdoc/require-param-type
135:2 warning Missing JSDoc @return declaration jsdoc/require-returns
144:0 warning Missing JSDoc @param "campaign" type jsdoc/require-param-type
145:0 warning Missing JSDoc @param "bucket" type jsdoc/require-param-type
146:0 warning Missing JSDoc @param "anon" type jsdoc/require-param-type
147:0 warning Missing JSDoc @param "device" type jsdoc/require-param-type
189:0 warning Missing JSDoc @param "possibleBanners" type jsdoc/require-param-type
268:0 warning Missing JSDoc @param "choiceData" type jsdoc/require-param-type
269:0 warning Missing JSDoc @param "country" type jsdoc/require-param-type
270:0 warning Missing JSDoc @param "region" type jsdoc/require-param-type
271:0 warning Missing JSDoc @param "anon" type jsdoc/require-param-type
272:0 warning Missing JSDoc @param "device" type jsdoc/require-param-type
355:3 warning Missing JSDoc @return declaration jsdoc/require-returns
360:0 warning Missing JSDoc @param "choiceData" type jsdoc/require-param-type
/src/repo/resources/ext.centralNotice.display/index.js
60:0 warning Missing JSDoc @param "name" type jsdoc/require-param-type
73:0 warning Missing JSDoc @param "handlerFunc" type jsdoc/require-param-type
83:0 warning Missing JSDoc @param "handlerFunc" type jsdoc/require-param-type
94:0 warning Missing JSDoc @param "handlerFunc" type jsdoc/require-param-type
106:0 warning Missing JSDoc @param "campaign" type jsdoc/require-param-type
559:0 warning Missing JSDoc @param "iteration" type jsdoc/require-param-type
628:0 warning Missing JSDoc @param "bannerJson" type jsdoc/require-param-type
727:0 warning Missing JSDoc @param "reason" type jsdoc/require-param-type
737:3 warning Missing JSDoc @return declaration jsdoc/require-returns
752:0 warning Missing JSDoc @param "reason" type jsdoc/require-param-type
764:0 warning Missing JSDoc @param "rate" type jsdoc/require-param-type
776:0 warning Missing JSDoc @param "rate" type jsdoc/require-param-type
888:0 warning Missing JSDoc @param "bucket" type jsdoc/require-param-type
949:3 warning Missing JSDoc @return declaration jsdoc/require-returns
953:0 warning Missing JSDoc @param "prop" type jsdoc/require-param-type
/src/repo/resources/ext.centralNotice.display/state.js
120:2 warning Missing JSDoc @return declaration jsdoc/require-returns
308:0 warning Missing JSDoc @param "geo" type jsdoc/require-param-type
342:3 warning Missing JSDoc @return declaration jsdoc/require-returns
352:3 warning Missing JSDoc @return declaration jsdoc/require-returns
387:0 warning Missing JSDoc @param "availableCampaigns" type jsdoc/require-param-type
417:1 warning This line has a length of 101. Maximum allowed is 100 max-len
454:3 warning Missing JSDoc @return declaration jsdoc/require-returns
493:0 warning Missing JSDoc @param "reason" type jsdoc/require-param-type
504:3 warning Missing JSDoc @return declaration jsdoc/require-returns
555:0 warning Missing JSDoc @param "bannerCount" type jsdoc/require-param-type
565:0 warning Missing JSDoc @param "rate" type jsdoc/require-param-type
578:0 warning Missing JSDoc @param "rate" type jsdoc/require-param-type
/src/repo/resources/ext.centralNotice.kvStore/kvStore.js
51:2 warning Missing JSDoc @return declaration jsdoc/require-returns
68:2 warning Missing JSDoc @return declaration jsdoc/require-returns
397:3 warning Missing JSDoc @return declaration jsdoc/require-returns
462:3 warning Missing JSDoc @return declaration jsdoc/require-returns
/src/repo/resources/ext.centralNotice.startUp/kvStoreMaintenance.js
53:0 warning Missing JSDoc @param "queue" type jsdoc/require-param-type
/src/repo/resources/infrastructure/bannermanager.js
253:3 warning Missing JSDoc @return declaration jsdoc/require-returns
257:0 warning Missing JSDoc @param "e" type jsdoc/require-param-type
266:3 warning Missing JSDoc @return declaration jsdoc/require-returns
271:0 warning Missing JSDoc @param "$origFilterStr" type jsdoc/require-param-type
/src/repo/resources/infrastructure/ext.centralNotice.adminUi.bannerSequence.js
545:2 warning Missing JSDoc @return declaration jsdoc/require-returns
552:2 warning Missing JSDoc @return declaration jsdoc/require-returns
563:2 warning Missing JSDoc @return declaration jsdoc/require-returns
570:2 warning Missing JSDoc @return declaration jsdoc/require-returns
577:2 warning Missing JSDoc @return declaration jsdoc/require-returns
615:0 warning Missing JSDoc @param "seq" type jsdoc/require-param-type
641:0 warning Missing JSDoc @param "step" type jsdoc/require-param-type
696:2 warning Missing JSDoc @return declaration jsdoc/require-returns
697:0 warning Missing JSDoc @param "n" type jsdoc/require-param-type
742:0 warning Missing JSDoc @param "controller" type jsdoc/require-param-type
743:0 warning Missing JSDoc @param "model" type jsdoc/require-param-type
901:0 warning Missing JSDoc @param "bucket" type jsdoc/require-param-type
902:0 warning Missing JSDoc @param "stepNum" type jsdoc/require-param-type
927:0 warning Missing JSDoc @param "bucket" type jsdoc/require-param-type
928:0 warning Missing JSDoc @param "banners" type jsdoc/require-param-type
941:0 warning Missing JSDoc @param "bucket" type jsdoc/require-param-type
953:0 warning Missing JSDoc @param "controller" type jsdoc/require-param-type
954:0 warning Missing JSDoc @param "model" type jsdoc/require-param-type
955:0 warning Missing JSDoc @param "config" type jsdoc/require-param-type
1061:0 warning Missing JSDoc @param "stepModel" type jsdoc/require-param-type
1062:0 warning Missing JSDoc @param "index" type jsdoc/require-param-type
1140:0 warning Missing JSDoc @param "banners" type jsdoc/require-param-type
1197:0 warning Missing JSDoc @param "controller" type jsdoc/require-param-type
1198:0 warning Missing JSDoc @param "model" type jsdoc/require-param-type
1199:0 warning Missing JSDoc @param "bucket" type jsdoc/require-param-type
1200:0 warning Missing JSDoc @param "config" type jsdoc/require-param-type
1527:2 warning Missing JSDoc @return declaration jsdoc/require-returns
1528:0 warning Missing JSDoc @param "banners" type jsdoc/require-param-type
/src/repo/resources/infrastructure/ext.centralNotice.adminUi.campaignPager.js
13:0 warning Missing JSDoc @param "campaignName" type jsdoc/require-param-type
14:0 warning Missing JSDoc @param "property" type jsdoc/require-param-type
15:0 warning Missing JSDoc @param "value" type jsdoc/require-param-type
16:0 warning Missing JSDoc @param "initialValue" type jsdoc/require-param-type
/src/repo/resources/subscribing/ext.centralNotice.bannerHistoryLogger.js
227:0 warning Missing JSDoc @param "elData" type jsdoc/require-param-type
234:2 warning Missing JSDoc @return declaration jsdoc/require-returns
238:0 warning Missing JSDoc @param "elData" type jsdoc/require-param-type
/src/repo/resources/subscribing/ext.centralNotice.geoIP.js
125:28 warning Found non-literal argument in require security/detect-non-literal-require
/src/repo/tests/qunit/ext.centralNotice.display/chooser.tests.js
39:2 warning Missing JSDoc @return declaration jsdoc/require-returns
43:0 warning Missing JSDoc @param "contextAndOutput" type jsdoc/require-param-type
44:0 warning Missing JSDoc @param "bucket" type jsdoc/require-param-type
205:0 warning Missing JSDoc @param "choices" type jsdoc/require-param-type
/src/repo/tests/qunit/ext.centralNotice.display/index.tests.js
9:20 warning navigator.sendBeacon() is not supported in Safari 11, iOS Safari 11.0-11.2 compat/compat
364:4 warning navigator.sendBeacon() is not supported in Safari 11, iOS Safari 11.0-11.2 compat/compat
392:0 warning Missing JSDoc @param "campaignsData" type jsdoc/require-param-type
409:3 warning navigator.sendBeacon() is not supported in Safari 11, iOS Safari 11.0-11.2 compat/compat
430:3 warning navigator.sendBeacon() is not supported in Safari 11, iOS Safari 11.0-11.2 compat/compat
452:3 warning navigator.sendBeacon() is not supported in Safari 11, iOS Safari 11.0-11.2 compat/compat
488:3 warning navigator.sendBeacon() is not supported in Safari 11, iOS Safari 11.0-11.2 compat/compat
533:3 warning navigator.sendBeacon() is not supported in Safari 11, iOS Safari 11.0-11.2 compat/compat
537:4 warning navigator.sendBeacon() is not supported in Safari 11, iOS Safari 11.0-11.2 compat/compat
800:3 warning navigator.sendBeacon() is not supported in Safari 11, iOS Safari 11.0-11.2 compat/compat
900:3 warning navigator.sendBeacon() is not supported in Safari 11, iOS Safari 11.0-11.2 compat/compat
✖ 106 problems (0 errors, 106 warnings)
Running "banana:CentralNotice" (banana) task
>> 2 message directories checked.
Running "stylelint:all" (stylelint) task
>> Linted 7 files without errors
Done.
--- end ---
{"1097210": {"source": 1097210, "name": "ejs", "dependency": "ejs", "title": "ejs lacks certain pollution protection", "url": "https://github.com/advisories/GHSA-ghr5-ch3p-vcr6", "severity": "moderate", "cwe": ["CWE-1321"], "cvss": {"score": 0, "vectorString": null}, "range": "<3.1.10"}}
Upgrading n:ejs from 3.1.8 -> 3.1.10
$ package-lock-lint package-lock.json
--- stdout ---
Checking package-lock.json
--- end ---
build: Updating ejs to 3.1.10
* https://github.com/advisories/GHSA-ghr5-ch3p-vcr6
$ git add .
--- stdout ---
--- end ---
$ git commit -F /tmp/tmp9yhkd2pl
--- stdout ---
[REL1_41 6e518a8] build: Updating ejs to 3.1.10
1 file changed, 20 insertions(+), 13 deletions(-)
--- end ---
$ git format-patch HEAD~1 --stdout
--- stdout ---
From 6e518a8645711c760d7ecd2f83345f6d928cfd0e Mon Sep 17 00:00:00 2001
From: libraryupgrader <tools.libraryupgrader@tools.wmflabs.org>
Date: Thu, 2 May 2024 02:17:28 +0000
Subject: [PATCH] build: Updating ejs to 3.1.10
* https://github.com/advisories/GHSA-ghr5-ch3p-vcr6
Change-Id: If6c11847d8e86bfb52bf56597c83c1cd9f04ea11
---
package-lock.json | 33 ++++++++++++++++++++-------------
1 file changed, 20 insertions(+), 13 deletions(-)
diff --git a/package-lock.json b/package-lock.json
index 04867a6..7002da5 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -2586,9 +2586,9 @@
}
},
"node_modules/ejs": {
- "version": "3.1.8",
- "resolved": "https://registry.npmjs.org/ejs/-/ejs-3.1.8.tgz",
- "integrity": "sha512-/sXZeMlhS0ArkfX2Aw780gJzXSMPnKjtspYZv+f3NiKLlubezAHDU5+9xz6gd3/NhG3txQCo6xlglmTS+oTGEQ==",
+ "version": "3.1.10",
+ "resolved": "https://registry.npmjs.org/ejs/-/ejs-3.1.10.tgz",
+ "integrity": "sha512-UeJmFfOrAQS8OJWPZ4qtgHyWExa088/MtK5UEyoJGFH67cDEXkZSviOiKRCZ4Xij0zxI3JECgYs3oKx+AizQBA==",
"dev": true,
"dependencies": {
"jake": "^10.8.5"
@@ -8599,7 +8599,8 @@
"version": "2.0.2",
"resolved": "https://registry.npmjs.org/@csstools/selector-specificity/-/selector-specificity-2.0.2.tgz",
"integrity": "sha512-IkpVW/ehM1hWKln4fCA3NzJU8KwD+kIOvPZA4cqxoJHtE21CCzjyp+Kxbu0i5I4tBNOlXPL9mjwnWlL0VEG4Fg==",
- "dev": true
+ "dev": true,
+ "requires": {}
},
"@es-joy/jsdoccomment": {
"version": "0.23.6",
@@ -9232,7 +9233,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": {}
},
"agent-base": {
"version": "6.0.2",
@@ -10521,9 +10523,9 @@
}
},
"ejs": {
- "version": "3.1.8",
- "resolved": "https://registry.npmjs.org/ejs/-/ejs-3.1.8.tgz",
- "integrity": "sha512-/sXZeMlhS0ArkfX2Aw780gJzXSMPnKjtspYZv+f3NiKLlubezAHDU5+9xz6gd3/NhG3txQCo6xlglmTS+oTGEQ==",
+ "version": "3.1.10",
+ "resolved": "https://registry.npmjs.org/ejs/-/ejs-3.1.10.tgz",
+ "integrity": "sha512-UeJmFfOrAQS8OJWPZ4qtgHyWExa088/MtK5UEyoJGFH67cDEXkZSviOiKRCZ4Xij0zxI3JECgYs3oKx+AizQBA==",
"dev": true,
"requires": {
"jake": "^10.8.5"
@@ -10754,7 +10756,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",
@@ -13308,7 +13311,8 @@
"version": "6.0.0",
"resolved": "https://registry.npmjs.org/postcss-less/-/postcss-less-6.0.0.tgz",
"integrity": "sha512-FPX16mQLyEjLzEuuJtxA8X3ejDLNGGEG503d2YGZR5Ask1SpDN8KmZUMpzCvyalWRywAn1n1VOA5dcqfCLo5rg==",
- "dev": true
+ "dev": true,
+ "requires": {}
},
"postcss-media-query-parser": {
"version": "0.2.3",
@@ -13326,7 +13330,8 @@
"version": "6.0.0",
"resolved": "https://registry.npmjs.org/postcss-safe-parser/-/postcss-safe-parser-6.0.0.tgz",
"integrity": "sha512-FARHN8pwH+WiS2OPCxJI8FuRJpTVnn6ZNFiqAM2aeW2LwTHWWmWgIyKC6cUo0L8aeKiF/14MNvnpls6R2PBeMQ==",
- "dev": true
+ "dev": true,
+ "requires": {}
},
"postcss-selector-parser": {
"version": "6.0.11",
@@ -14239,7 +14244,8 @@
"version": "9.0.0",
"resolved": "https://registry.npmjs.org/stylelint-config-recommended/-/stylelint-config-recommended-9.0.0.tgz",
"integrity": "sha512-9YQSrJq4NvvRuTbzDsWX3rrFOzOlYBmZP+o513BJN/yfEmGSr0AxdvrWs0P/ilSpVV/wisamAHu5XSk8Rcf4CQ==",
- "dev": true
+ "dev": true,
+ "requires": {}
},
"stylelint-config-wikimedia": {
"version": "0.15.0",
@@ -14754,7 +14760,8 @@
"version": "8.2.3",
"resolved": "https://registry.npmjs.org/ws/-/ws-8.2.3.tgz",
"integrity": "sha512-wBuoj1BDpC6ZQ1B7DWQBYVLphPWkm8i9Y0/3YdHjHKHiohOJ1ws+3OccDWtH+PoC9DZD5WOTrJvNbWvjS6JWaA==",
- "dev": true
+ "dev": true,
+ "requires": {}
},
"xmlbuilder": {
"version": "15.1.1",
--
2.39.2
--- end ---