$ date
--- stdout ---
Thu May 2 02:15:54 UTC 2024
--- end ---
$ git clone file:///srv/git/mediawiki-extensions-CentralNotice.git repo --depth=1 -b REL1_40
--- 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_40
--- stdout ---
5f36eee4a8750c9c2d13d1391473486ab82bf9d9 refs/heads/REL1_40
--- 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": 765,
"optional": 2,
"peer": 7,
"peerOptional": 0,
"total": 765
}
}
}
--- 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 (v40.0.1)
- Locking mediawiki/mediawiki-phan-config (0.12.0)
- 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.1)
- 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.1): 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 (v40.0.1): 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.0): 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%
32/36 [========================>---] 88%
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": 765,
"optional": 2,
"peer": 7,
"peerOptional": 0,
"total": 765
}
}
}
--- 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.18.0',
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@37.8.1',
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: '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": 765,
"removed": 0,
"changed": 0,
"audited": 766,
"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": 765,
"optional": 2,
"peer": 7,
"peerOptional": 0,
"total": 765
}
}
}
}
--- end ---
{"added": 765, "removed": 0, "changed": 0, "audited": 766, "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": 765, "optional": 2, "peer": 7, "peerOptional": 0, "total": 765}}}}
$ /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.18.0',
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@37.8.1',
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: '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 764 packages, and audited 765 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.18.0',
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@37.8.1',
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: '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 764 packages, and audited 765 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/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
70:2 warning Missing JSDoc @return declaration jsdoc/require-returns
399:3 warning Missing JSDoc @return declaration jsdoc/require-returns
464: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/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 9.1, iOS Safari 9.0-9.2, IE 11 compat/compat
364:4 warning navigator.sendBeacon() is not supported in Safari 9.1, iOS Safari 9.0-9.2, IE 11 compat/compat
392:0 warning Missing JSDoc @param "campaignsData" type jsdoc/require-param-type
409:3 warning navigator.sendBeacon() is not supported in Safari 9.1, iOS Safari 9.0-9.2, IE 11 compat/compat
430:3 warning navigator.sendBeacon() is not supported in Safari 9.1, iOS Safari 9.0-9.2, IE 11 compat/compat
452:3 warning navigator.sendBeacon() is not supported in Safari 9.1, iOS Safari 9.0-9.2, IE 11 compat/compat
488:3 warning navigator.sendBeacon() is not supported in Safari 9.1, iOS Safari 9.0-9.2, IE 11 compat/compat
533:3 warning navigator.sendBeacon() is not supported in Safari 9.1, iOS Safari 9.0-9.2, IE 11 compat/compat
537:4 warning navigator.sendBeacon() is not supported in Safari 9.1, iOS Safari 9.0-9.2, IE 11 compat/compat
800:3 warning navigator.sendBeacon() is not supported in Safari 9.1, iOS Safari 9.0-9.2, IE 11 compat/compat
900:3 warning navigator.sendBeacon() is not supported in Safari 9.1, iOS Safari 9.0-9.2, IE 11 compat/compat
✖ 104 problems (0 errors, 104 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/tmpjtoai4jh
--- stdout ---
[REL1_40 59ec254] build: Updating ejs to 3.1.10
1 file changed, 6 insertions(+), 6 deletions(-)
--- end ---
$ git format-patch HEAD~1 --stdout
--- stdout ---
From 59ec2544a3086bfc1bf333482f57a814426a1313 Mon Sep 17 00:00:00 2001
From: libraryupgrader <tools.libraryupgrader@tools.wmflabs.org>
Date: Thu, 2 May 2024 02:16:34 +0000
Subject: [PATCH] build: Updating ejs to 3.1.10
* https://github.com/advisories/GHSA-ghr5-ch3p-vcr6
Change-Id: I34ef32480ede0eaaa338172e0e7812865d5e24c5
---
package-lock.json | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/package-lock.json b/package-lock.json
index 5ee0889..d905941 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -2578,9 +2578,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"
@@ -10785,9 +10785,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"
--
2.39.2
--- end ---