$ date
--- stdout ---
Sun Apr 28 12:35:37 UTC 2024
--- end ---
$ git clone file:///srv/git/mediawiki-extensions-StandardDialogs.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 ---
299e15c27ff35fdfa7a07741e638c1b8fea951fc refs/heads/REL1_41
--- end ---
$ /usr/bin/npm audit --json
--- stdout ---
{
"auditReportVersion": 2,
"vulnerabilities": {
"eslint-plugin-compat": {
"name": "eslint-plugin-compat",
"severity": "moderate",
"isDirect": false,
"via": [
"semver"
],
"effects": [],
"range": "3.6.0-0 - 4.1.4",
"nodes": [
"node_modules/eslint-plugin-compat"
],
"fixAvailable": true
},
"postcss": {
"name": "postcss",
"severity": "moderate",
"isDirect": false,
"via": [
{
"source": 1094544,
"name": "postcss",
"dependency": "postcss",
"title": "PostCSS line return parsing error",
"url": "https://github.com/advisories/GHSA-7fh5-64p2-3v2j",
"severity": "moderate",
"cwe": [
"CWE-74",
"CWE-144"
],
"cvss": {
"score": 5.3,
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N"
},
"range": "<8.4.31"
}
],
"effects": [],
"range": "<8.4.31",
"nodes": [
"node_modules/postcss"
],
"fixAvailable": true
},
"semver": {
"name": "semver",
"severity": "moderate",
"isDirect": false,
"via": [
{
"source": 1096482,
"name": "semver",
"dependency": "semver",
"title": "semver vulnerable to Regular Expression Denial of Service",
"url": "https://github.com/advisories/GHSA-c2qf-rxjj-qqgw",
"severity": "moderate",
"cwe": [
"CWE-1333"
],
"cvss": {
"score": 5.3,
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"
},
"range": ">=7.0.0 <7.5.2"
},
{
"source": 1096483,
"name": "semver",
"dependency": "semver",
"title": "semver vulnerable to Regular Expression Denial of Service",
"url": "https://github.com/advisories/GHSA-c2qf-rxjj-qqgw",
"severity": "moderate",
"cwe": [
"CWE-1333"
],
"cvss": {
"score": 5.3,
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"
},
"range": "<5.7.2"
},
{
"source": 1096484,
"name": "semver",
"dependency": "semver",
"title": "semver vulnerable to Regular Expression Denial of Service",
"url": "https://github.com/advisories/GHSA-c2qf-rxjj-qqgw",
"severity": "moderate",
"cwe": [
"CWE-1333"
],
"cvss": {
"score": 5.3,
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"
},
"range": ">=6.0.0 <6.3.1"
}
],
"effects": [
"eslint-plugin-compat"
],
"range": "<=5.7.1 || 6.0.0 - 6.3.0 || 7.0.0 - 7.5.1",
"nodes": [
"node_modules/eslint-plugin-jsdoc/node_modules/semver",
"node_modules/eslint-plugin-node/node_modules/semver",
"node_modules/normalize-package-data/node_modules/semver",
"node_modules/semver"
],
"fixAvailable": true
},
"word-wrap": {
"name": "word-wrap",
"severity": "moderate",
"isDirect": false,
"via": [
{
"source": 1095091,
"name": "word-wrap",
"dependency": "word-wrap",
"title": "word-wrap vulnerable to Regular Expression Denial of Service",
"url": "https://github.com/advisories/GHSA-j8xg-fqg3-53r7",
"severity": "moderate",
"cwe": [
"CWE-1333"
],
"cvss": {
"score": 5.3,
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"
},
"range": "<1.2.4"
}
],
"effects": [],
"range": "<1.2.4",
"nodes": [
"node_modules/word-wrap"
],
"fixAvailable": true
}
},
"metadata": {
"vulnerabilities": {
"info": 0,
"low": 0,
"moderate": 4,
"high": 0,
"critical": 0,
"total": 4
},
"dependencies": {
"prod": 1,
"dev": 398,
"optional": 0,
"peer": 0,
"peerOptional": 0,
"total": 398
}
}
}
--- 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: 20 installs, 0 updates, 0 removals
- Locking composer/installers (v2.2.0)
- Locking composer/semver (3.3.2)
- Locking composer/spdx-licenses (1.5.8)
- Locking mediawiki/mediawiki-codesniffer (v41.0.0)
- Locking mediawiki/minus-x (1.1.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 psr/container (2.0.2)
- Locking squizlabs/php_codesniffer (3.7.2)
- Locking symfony/console (v5.4.36)
- 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.4)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 20 installs, 0 updates, 0 removals
0 [>---------------------------] 0 [->--------------------------]
- Installing composer/installers (v2.2.0): 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 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.4): 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.36): 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/19 [>---------------------------] 0%
18/19 [==========================>-] 94%
19/19 [============================] 100%
4 package suggestions were added by new dependencies, use `composer suggest` to see details.
Generating autoload files
14 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": {
"eslint-plugin-compat": {
"name": "eslint-plugin-compat",
"severity": "moderate",
"isDirect": false,
"via": [
"semver"
],
"effects": [],
"range": "3.6.0-0 - 4.1.4",
"nodes": [
"node_modules/eslint-plugin-compat"
],
"fixAvailable": true
},
"postcss": {
"name": "postcss",
"severity": "moderate",
"isDirect": false,
"via": [
{
"source": 1094544,
"name": "postcss",
"dependency": "postcss",
"title": "PostCSS line return parsing error",
"url": "https://github.com/advisories/GHSA-7fh5-64p2-3v2j",
"severity": "moderate",
"cwe": [
"CWE-74",
"CWE-144"
],
"cvss": {
"score": 5.3,
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N"
},
"range": "<8.4.31"
}
],
"effects": [],
"range": "<8.4.31",
"nodes": [
"node_modules/postcss"
],
"fixAvailable": true
},
"semver": {
"name": "semver",
"severity": "moderate",
"isDirect": false,
"via": [
{
"source": 1096482,
"name": "semver",
"dependency": "semver",
"title": "semver vulnerable to Regular Expression Denial of Service",
"url": "https://github.com/advisories/GHSA-c2qf-rxjj-qqgw",
"severity": "moderate",
"cwe": [
"CWE-1333"
],
"cvss": {
"score": 5.3,
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"
},
"range": ">=7.0.0 <7.5.2"
},
{
"source": 1096483,
"name": "semver",
"dependency": "semver",
"title": "semver vulnerable to Regular Expression Denial of Service",
"url": "https://github.com/advisories/GHSA-c2qf-rxjj-qqgw",
"severity": "moderate",
"cwe": [
"CWE-1333"
],
"cvss": {
"score": 5.3,
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"
},
"range": "<5.7.2"
},
{
"source": 1096484,
"name": "semver",
"dependency": "semver",
"title": "semver vulnerable to Regular Expression Denial of Service",
"url": "https://github.com/advisories/GHSA-c2qf-rxjj-qqgw",
"severity": "moderate",
"cwe": [
"CWE-1333"
],
"cvss": {
"score": 5.3,
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"
},
"range": ">=6.0.0 <6.3.1"
}
],
"effects": [
"eslint-plugin-compat"
],
"range": "<=5.7.1 || 6.0.0 - 6.3.0 || 7.0.0 - 7.5.1",
"nodes": [
"node_modules/eslint-plugin-jsdoc/node_modules/semver",
"node_modules/eslint-plugin-node/node_modules/semver",
"node_modules/normalize-package-data/node_modules/semver",
"node_modules/semver"
],
"fixAvailable": true
},
"word-wrap": {
"name": "word-wrap",
"severity": "moderate",
"isDirect": false,
"via": [
{
"source": 1095091,
"name": "word-wrap",
"dependency": "word-wrap",
"title": "word-wrap vulnerable to Regular Expression Denial of Service",
"url": "https://github.com/advisories/GHSA-j8xg-fqg3-53r7",
"severity": "moderate",
"cwe": [
"CWE-1333"
],
"cvss": {
"score": 5.3,
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"
},
"range": "<1.2.4"
}
],
"effects": [],
"range": "<1.2.4",
"nodes": [
"node_modules/word-wrap"
],
"fixAvailable": true
}
},
"metadata": {
"vulnerabilities": {
"info": 0,
"low": 0,
"moderate": 4,
"high": 0,
"critical": 0,
"total": 4
},
"dependencies": {
"prod": 1,
"dev": 398,
"optional": 0,
"peer": 0,
"peerOptional": 0,
"total": 398
}
}
}
--- end ---
Attempting to npm audit fix
$ /usr/bin/npm audit fix --dry-run --only=dev --json
--- stderr ---
npm WARN invalid config only="dev" set in command line options
npm WARN invalid config Must be one of: null, prod, production
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE package: '@es-joy/jsdoccomment@0.23.6',
npm WARN EBADENGINE required: { node: '^12 || ^14 || ^16 || ^17' },
npm WARN EBADENGINE current: { node: 'v18.19.0', npm: '9.2.0' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE package: 'eslint-plugin-jsdoc@39.2.2',
npm WARN EBADENGINE required: { node: '^14 || ^16 || ^17' },
npm WARN EBADENGINE current: { node: 'v18.19.0', npm: '9.2.0' }
npm WARN EBADENGINE }
--- stdout ---
{
"added": 396,
"removed": 0,
"changed": 0,
"audited": 397,
"funding": 69,
"audit": {
"auditReportVersion": 2,
"vulnerabilities": {
"eslint-plugin-compat": {
"name": "eslint-plugin-compat",
"severity": "moderate",
"isDirect": false,
"via": [
"semver"
],
"effects": [],
"range": "3.6.0-0 - 4.1.4",
"nodes": [
""
],
"fixAvailable": true
},
"postcss": {
"name": "postcss",
"severity": "moderate",
"isDirect": false,
"via": [
{
"source": 1094544,
"name": "postcss",
"dependency": "postcss",
"title": "PostCSS line return parsing error",
"url": "https://github.com/advisories/GHSA-7fh5-64p2-3v2j",
"severity": "moderate",
"cwe": [
"CWE-74",
"CWE-144"
],
"cvss": {
"score": 5.3,
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N"
},
"range": "<8.4.31"
}
],
"effects": [],
"range": "<8.4.31",
"nodes": [
""
],
"fixAvailable": true
},
"semver": {
"name": "semver",
"severity": "moderate",
"isDirect": false,
"via": [
{
"source": 1096482,
"name": "semver",
"dependency": "semver",
"title": "semver vulnerable to Regular Expression Denial of Service",
"url": "https://github.com/advisories/GHSA-c2qf-rxjj-qqgw",
"severity": "moderate",
"cwe": [
"CWE-1333"
],
"cvss": {
"score": 5.3,
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"
},
"range": ">=7.0.0 <7.5.2"
},
{
"source": 1096483,
"name": "semver",
"dependency": "semver",
"title": "semver vulnerable to Regular Expression Denial of Service",
"url": "https://github.com/advisories/GHSA-c2qf-rxjj-qqgw",
"severity": "moderate",
"cwe": [
"CWE-1333"
],
"cvss": {
"score": 5.3,
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"
},
"range": "<5.7.2"
},
{
"source": 1096484,
"name": "semver",
"dependency": "semver",
"title": "semver vulnerable to Regular Expression Denial of Service",
"url": "https://github.com/advisories/GHSA-c2qf-rxjj-qqgw",
"severity": "moderate",
"cwe": [
"CWE-1333"
],
"cvss": {
"score": 5.3,
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"
},
"range": ">=6.0.0 <6.3.1"
}
],
"effects": [
"eslint-plugin-compat"
],
"range": "<=5.7.1 || 6.0.0 - 6.3.0 || 7.0.0 - 7.5.1",
"nodes": [
"",
"",
"",
""
],
"fixAvailable": true
},
"word-wrap": {
"name": "word-wrap",
"severity": "moderate",
"isDirect": false,
"via": [
{
"source": 1095091,
"name": "word-wrap",
"dependency": "word-wrap",
"title": "word-wrap vulnerable to Regular Expression Denial of Service",
"url": "https://github.com/advisories/GHSA-j8xg-fqg3-53r7",
"severity": "moderate",
"cwe": [
"CWE-1333"
],
"cvss": {
"score": 5.3,
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"
},
"range": "<1.2.4"
}
],
"effects": [],
"range": "<1.2.4",
"nodes": [
""
],
"fixAvailable": true
}
},
"metadata": {
"vulnerabilities": {
"info": 0,
"low": 0,
"moderate": 4,
"high": 0,
"critical": 0,
"total": 4
},
"dependencies": {
"prod": 1,
"dev": 396,
"optional": 0,
"peer": 0,
"peerOptional": 0,
"total": 396
}
}
}
}
--- end ---
{"added": 396, "removed": 0, "changed": 0, "audited": 397, "funding": 69, "audit": {"auditReportVersion": 2, "vulnerabilities": {"eslint-plugin-compat": {"name": "eslint-plugin-compat", "severity": "moderate", "isDirect": false, "via": ["semver"], "effects": [], "range": "3.6.0-0 - 4.1.4", "nodes": [""], "fixAvailable": true}, "postcss": {"name": "postcss", "severity": "moderate", "isDirect": false, "via": [{"source": 1094544, "name": "postcss", "dependency": "postcss", "title": "PostCSS line return parsing error", "url": "https://github.com/advisories/GHSA-7fh5-64p2-3v2j", "severity": "moderate", "cwe": ["CWE-74", "CWE-144"], "cvss": {"score": 5.3, "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N"}, "range": "<8.4.31"}], "effects": [], "range": "<8.4.31", "nodes": [""], "fixAvailable": true}, "semver": {"name": "semver", "severity": "moderate", "isDirect": false, "via": [{"source": 1096482, "name": "semver", "dependency": "semver", "title": "semver vulnerable to Regular Expression Denial of Service", "url": "https://github.com/advisories/GHSA-c2qf-rxjj-qqgw", "severity": "moderate", "cwe": ["CWE-1333"], "cvss": {"score": 5.3, "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"}, "range": ">=7.0.0 <7.5.2"}, {"source": 1096483, "name": "semver", "dependency": "semver", "title": "semver vulnerable to Regular Expression Denial of Service", "url": "https://github.com/advisories/GHSA-c2qf-rxjj-qqgw", "severity": "moderate", "cwe": ["CWE-1333"], "cvss": {"score": 5.3, "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"}, "range": "<5.7.2"}, {"source": 1096484, "name": "semver", "dependency": "semver", "title": "semver vulnerable to Regular Expression Denial of Service", "url": "https://github.com/advisories/GHSA-c2qf-rxjj-qqgw", "severity": "moderate", "cwe": ["CWE-1333"], "cvss": {"score": 5.3, "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"}, "range": ">=6.0.0 <6.3.1"}], "effects": ["eslint-plugin-compat"], "range": "<=5.7.1 || 6.0.0 - 6.3.0 || 7.0.0 - 7.5.1", "nodes": ["", "", "", ""], "fixAvailable": true}, "word-wrap": {"name": "word-wrap", "severity": "moderate", "isDirect": false, "via": [{"source": 1095091, "name": "word-wrap", "dependency": "word-wrap", "title": "word-wrap vulnerable to Regular Expression Denial of Service", "url": "https://github.com/advisories/GHSA-j8xg-fqg3-53r7", "severity": "moderate", "cwe": ["CWE-1333"], "cvss": {"score": 5.3, "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"}, "range": "<1.2.4"}], "effects": [], "range": "<1.2.4", "nodes": [""], "fixAvailable": true}}, "metadata": {"vulnerabilities": {"info": 0, "low": 0, "moderate": 4, "high": 0, "critical": 0, "total": 4}, "dependencies": {"prod": 1, "dev": 396, "optional": 0, "peer": 0, "peerOptional": 0, "total": 396}}}}
$ /usr/bin/npm audit fix --only=dev
--- stderr ---
npm WARN invalid config only="dev" set in command line options
npm WARN invalid config Must be one of: null, prod, production
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE package: '@es-joy/jsdoccomment@0.23.6',
npm WARN EBADENGINE required: { node: '^12 || ^14 || ^16 || ^17' },
npm WARN EBADENGINE current: { node: 'v18.19.0', npm: '9.2.0' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE package: 'eslint-plugin-jsdoc@39.2.2',
npm WARN EBADENGINE required: { node: '^14 || ^16 || ^17' },
npm WARN EBADENGINE current: { node: 'v18.19.0', npm: '9.2.0' }
npm WARN EBADENGINE }
--- stdout ---
added 396 packages, and audited 397 packages in 4s
69 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
--- end ---
$ package-lock-lint package-lock.json
--- stdout ---
Checking package-lock.json
--- end ---
Verifying that tests still pass
$ /usr/bin/npm ci
--- stderr ---
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE package: '@es-joy/jsdoccomment@0.23.6',
npm WARN EBADENGINE required: { node: '^12 || ^14 || ^16 || ^17' },
npm WARN EBADENGINE current: { node: 'v18.19.0', npm: '9.2.0' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE package: 'eslint-plugin-jsdoc@39.2.2',
npm WARN EBADENGINE required: { node: '^14 || ^16 || ^17' },
npm WARN EBADENGINE current: { node: 'v18.19.0', npm: '9.2.0' }
npm WARN EBADENGINE }
--- stdout ---
added 396 packages, and audited 397 packages in 3s
69 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/resources/StandardDialogs.ui/BaseDialog.js
37:70 warning 'data' is defined but never used no-unused-vars
87:8 warning Where possible, maintain application state in JS to avoid slower DOM queries no-jquery/no-class-state
104:76 warning 'action' is defined but never used no-unused-vars
117:82 warning 'action' is defined but never used no-unused-vars
/src/repo/resources/StandardDialogs.ui/DeleteDialog.js
13:2 warning Global variable leak, declare the variable if it is intended to be local no-implicit-globals
13:2 warning 'data' is not defined no-undef
14:2 warning 'data' is not defined no-undef
15:2 warning 'data' is not defined no-undef
17:9 warning 'data' is not defined no-undef
67:14 warning Prefer Promise to $.Deferred no-jquery/no-deferred
91:14 warning Prefer Promise to $.Deferred no-jquery/no-deferred
125:64 warning 'data' is defined but never used no-unused-vars
134:14 warning Prefer Promise to $.Deferred no-jquery/no-deferred
154:14 warning Prefer Promise to $.Deferred no-jquery/no-deferred
/src/repo/resources/StandardDialogs.ui/DuplicateDialog.js
6:27 warning A constructor name should not start with a lowercase letter new-cap
15:2 warning Global variable leak, declare the variable if it is intended to be local no-implicit-globals
15:2 warning 'data' is not defined no-undef
16:2 warning 'data' is not defined no-undef
18:9 warning 'data' is not defined no-undef
22:42 warning 'OOJSPlus' is not defined no-undef
62:14 warning Prefer Promise to $.Deferred no-jquery/no-deferred
65:3 warning Prefer Promise.all to $.when no-jquery/no-when
68:1 warning This line has a length of 105. Maximum allowed is 100 max-len
68:5 warning Unexpected var, use let or const instead no-var
72:5 warning Unexpected var, use let or const instead no-var
75:4 warning Prefer Promise.all to $.when no-jquery/no-when
75:12 warning 'dfdDiscussion' used outside of binding context block-scoped-var
75:27 warning 'dfdSubpages' used outside of binding context block-scoped-var
80:7 warning Unexpected var, use let or const instead no-var
88:7 warning Unexpected var, use let or const instead no-var
106:87 warning 'action' is defined but never used no-unused-vars
110:1 warning This line has a length of 106. Maximum allowed is 100 max-len
112:14 warning Prefer Promise to $.Deferred no-jquery/no-deferred
150:1 warning This line has a length of 114. Maximum allowed is 100 max-len
152:14 warning Prefer Promise to $.Deferred no-jquery/no-deferred
170:1 warning This line has a length of 106. Maximum allowed is 100 max-len
185:14 warning Prefer Promise to $.Deferred no-jquery/no-deferred
207:22 warning 'resp' is already declared in the upper scope on line 193 column 23 no-shadow
209:18 warning 'errResp' is not defined no-undef
213:18 warning 'errResp' is not defined no-undef
/src/repo/resources/StandardDialogs.ui/MoveDialog.js
12:2 warning Global variable leak, declare the variable if it is intended to be local no-implicit-globals
12:2 warning 'data' is not defined no-undef
13:2 warning 'data' is not defined no-undef
15:9 warning 'data' is not defined no-undef
19:42 warning 'OOJSPlus' is not defined no-undef
76:14 warning Prefer Promise to $.Deferred no-jquery/no-deferred
97:58 warning 'data' is defined but never used no-unused-vars
100:1 warning This line has a length of 102. Maximum allowed is 100 max-len
109:82 warning 'action' is defined but never used no-unused-vars
/src/repo/resources/StandardDialogs.ui/NewPageDialog.js
12:2 warning Global variable leak, declare the variable if it is intended to be local no-implicit-globals
12:2 warning 'data' is not defined no-undef
13:2 warning 'data' is not defined no-undef
15:9 warning 'data' is not defined no-undef
23:42 warning 'OOJSPlus' is not defined no-undef
47:85 warning 'action' is defined but never used no-unused-vars
/src/repo/resources/StandardDialogs.ui/NewSubpageDialog.js
12:2 warning Global variable leak, declare the variable if it is intended to be local no-implicit-globals
12:2 warning 'data' is not defined no-undef
13:2 warning 'data' is not defined no-undef
15:9 warning 'data' is not defined no-undef
18:42 warning 'OOJSPlus' is not defined no-undef
42:88 warning 'action' is defined but never used no-unused-vars
/src/repo/resources/StandardDialogs.ui/PageInformationDialog.js
4:1 warning This line has a length of 102. Maximum allowed is 100 max-len
35:43 warning 'page' is already declared in the upper scope on line 24 column 6 no-shadow
42:1 warning This line has a length of 103. Maximum allowed is 100 max-len
58:8 warning Where possible, maintain application state in JS to avoid slower DOM queries no-jquery/no-class-state
68:1 warning This line has a length of 106. Maximum allowed is 100 max-len
/src/repo/resources/StandardDialogs.ui/Pages/BasicInformationPage.js
8:1 warning This line has a length of 102. Maximum allowed is 100 max-len
18:2 warning Prefer Promise.all to $.when no-jquery/no-when
19:20 warning Expected '!==' and instead saw '!=' eqeqeq
20:4 warning Global variable leak, declare the variable if it is intended to be local no-implicit-globals
20:4 warning 'fieldLayout' is not defined no-undef
21:10 warning jQuery collection names must match the variablePattern no-jquery/variable-pattern
52:5 warning Unexpected var, use let or const instead no-var
58:4 warning 'fieldLayout' is not defined no-undef
60:24 warning 'fieldLayout' is not defined no-undef
67:14 warning Prefer Promise to $.Deferred no-jquery/no-deferred
87:8 warning jQuery collection names must match the variablePattern no-jquery/variable-pattern
90:4 warning Unexpected var, use let or const instead no-var
91:4 warning Unexpected var, use let or const instead no-var
107:1 warning 'registryPageInformation' is not defined no-undef
/src/repo/resources/StandardDialogs.ui/Pages/HistoryInformationPage.js
8:1 warning This line has a length of 104. Maximum allowed is 100 max-len
18:2 warning Prefer Promise.all to $.when no-jquery/no-when
19:20 warning Expected '!==' and instead saw '!=' eqeqeq
20:4 warning Global variable leak, declare the variable if it is intended to be local no-implicit-globals
20:4 warning 'fieldLayout' is not defined no-undef
21:10 warning jQuery collection names must match the variablePattern no-jquery/variable-pattern
39:22 warning 'OOJSPlus' is not defined no-undef
40:6 error Identifier 'user_name' is not in camel case camelcase
50:4 warning 'fieldLayout' is not defined no-undef
52:24 warning 'fieldLayout' is not defined no-undef
58:8 warning jQuery collection names must match the variablePattern no-jquery/variable-pattern
62:8 error 'userWidget' is never reassigned. Use 'const' instead prefer-const
62:25 warning 'OOJSPlus' is not defined no-undef
63:5 error Identifier 'user_name' is not in camel case camelcase
63:15 error Missing space before value for key 'user_name' key-spacing
67:5 error There must be a space before this paren space-in-parens
79:14 warning Prefer Promise to $.Deferred no-jquery/no-deferred
99:1 warning 'registryPageInformation' is not defined no-undef
/src/repo/resources/StandardDialogs.ui/Pages/PropertiesInformationPage.js
19:2 warning Prefer Promise.all to $.when no-jquery/no-when
22:10 warning jQuery collection names must match the variablePattern no-jquery/variable-pattern
45:1 error Expected indentation of 5 tabs but found 6 indent
46:1 error Expected indentation of 6 tabs but found 7 indent
47:1 error Expected indentation of 6 tabs but found 7 indent
64:14 warning Prefer Promise to $.Deferred no-jquery/no-deferred
83:8 warning jQuery collection names must match the variablePattern no-jquery/variable-pattern
86:8 error 'title' is never reassigned. Use 'const' instead prefer-const
90:1 error Expected indentation of 5 tabs but found 6 indent
91:1 error Expected indentation of 6 tabs but found 7 indent
92:1 error Expected indentation of 6 tabs but found 7 indent
93:1 error Expected indentation of 5 tabs but found 6 indent
94:1 error Expected indentation of 5 tabs but found 6 indent
100:1 error More than 1 blank line not allowed no-multiple-empty-lines
102:8 warning jQuery collection names must match the variablePattern no-jquery/variable-pattern
120:8 warning jQuery collection names must match the variablePattern no-jquery/variable-pattern
138:8 warning jQuery collection names must match the variablePattern no-jquery/variable-pattern
156:8 warning jQuery collection names must match the variablePattern no-jquery/variable-pattern
163:14 warning ES2017 'Object.values' method is forbidden es-x/no-object-values
165:14 warning ES2017 'Object.values' method is forbidden es-x/no-object-values
172:1 warning 'registryPageInformation' is not defined no-undef
/src/repo/resources/StandardDialogs.ui/ProtectDialog.js
12:2 warning Global variable leak, declare the variable if it is intended to be local no-implicit-globals
12:2 warning 'data' is not defined no-undef
13:2 warning 'data' is not defined no-undef
15:9 warning 'data' is not defined no-undef
164:22 warning Expected '!==' and instead saw '!=' eqeqeq
179:14 warning Prefer Promise to $.Deferred no-jquery/no-deferred
185:1 warning This line has a length of 101. Maximum allowed is 100 max-len
217:2 warning Global variable leak, declare the variable if it is intended to be local no-implicit-globals
217:2 warning 'otherReason' is not defined no-undef
218:59 warning 'otherReason' is not defined no-undef
218:78 warning 'otherReason' is not defined no-undef
/src/repo/resources/StandardDialogs.ui/RefreshDialog.js
12:2 warning Global variable leak, declare the variable if it is intended to be local no-implicit-globals
12:2 warning 'data' is not defined no-undef
13:2 warning 'data' is not defined no-undef
15:9 warning 'data' is not defined no-undef
37:14 warning Prefer Promise to $.Deferred no-jquery/no-deferred
43:24 warning 'data' is defined but never used no-unused-vars
46:1 warning This line has a length of 102. Maximum allowed is 100 max-len
/src/repo/resources/ext.standardDialogs.js
88:20 warning 'registryPageInformation' is not defined no-undef
108:4 warning Avoid queries which search the entire DOM. Keep DOM nodes in memory where possible no-jquery/no-global-selector
110:4 warning Avoid queries which search the entire DOM. Keep DOM nodes in memory where possible no-jquery/no-global-selector
✖ 140 problems (15 errors, 125 warnings)
13 errors and 5 warnings potentially fixable with the `--fix` option.
Warning: Task "eslint:all" failed. Use --force to continue.
Aborted due to warnings.
--- end ---
Traceback (most recent call last):
File "/venv/lib/python3.11/site-packages/runner-0.1.0-py3.11.egg/runner/__init__.py", line 1584, in main
libup.run(args.repo, args.output, args.branch)
File "/venv/lib/python3.11/site-packages/runner-0.1.0-py3.11.egg/runner/__init__.py", line 1528, in run
self.npm_audit_fix(new_npm_audit)
File "/venv/lib/python3.11/site-packages/runner-0.1.0-py3.11.egg/runner/__init__.py", line 249, in npm_audit_fix
self.check_call(['npm', 'test'])
File "/venv/lib/python3.11/site-packages/runner-0.1.0-py3.11.egg/runner/shell2.py", line 54, in check_call
res.check_returncode()
File "/usr/lib/python3.11/subprocess.py", line 502, in check_returncode
raise CalledProcessError(self.returncode, self.args, self.stdout,
subprocess.CalledProcessError: Command '['/usr/bin/npm', 'test']' returned non-zero exit status 3.