This run took 56 seconds.
$ date --- stdout --- Sun Nov 3 18:29:47 UTC 2024 --- end --- $ git clone file:///srv/git/mediawiki-services-parsoid.git repo --depth=1 -b REL1_43 --- 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_43 --- stdout --- df13182980619123b586eabd609ccdbe485cb5cf refs/heads/REL1_43 --- end --- $ /usr/bin/npm audit --json --- stdout --- { "auditReportVersion": 2, "vulnerabilities": { "minimatch": { "name": "minimatch", "severity": "high", "isDirect": false, "via": [ { "source": 1096485, "name": "minimatch", "dependency": "minimatch", "title": "minimatch ReDoS vulnerability", "url": "https://github.com/advisories/GHSA-f8q6-p94x-37v3", "severity": "high", "cwe": [ "CWE-400", "CWE-1333" ], "cvss": { "score": 7.5, "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H" }, "range": "<3.0.5" } ], "effects": [ "mocha" ], "range": "<3.0.5", "nodes": [ "node_modules/minimatch" ], "fixAvailable": false }, "mocha": { "name": "mocha", "severity": "high", "isDirect": true, "via": [ "minimatch" ], "effects": [], "range": "5.1.0 - 9.2.1", "nodes": [ "node_modules/mocha" ], "fixAvailable": false }, "request": { "name": "request", "severity": "moderate", "isDirect": true, "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": [], "range": "*", "nodes": [ "node_modules/request" ], "fixAvailable": false }, "tough-cookie": { "name": "tough-cookie", "severity": "moderate", "isDirect": false, "via": [ { "source": 1097682, "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 } }, "metadata": { "vulnerabilities": { "info": 0, "low": 0, "moderate": 2, "high": 2, "critical": 0, "total": 4 }, "dependencies": { "prod": 80, "dev": 330, "optional": 1, "peer": 1, "peerOptional": 0, "total": 409 } } } --- 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: 85 installs, 0 updates, 0 removals - Locking composer/pcre (3.3.1) - Locking composer/semver (3.4.2) - Locking composer/spdx-licenses (1.5.8) - Locking composer/xdebug-handler (3.0.5) - Locking dealerdirect/phpcodesniffer-composer-installer (v1.0.0) - Locking doctrine/deprecations (1.1.3) - Locking doctrine/instantiator (2.0.0) - Locking felixfbecker/advanced-json-rpc (v3.2.1) - Locking liuggio/statsd-php-client (v1.0.18) - Locking mediawiki/mediawiki-codesniffer (v44.0.0) - Locking mediawiki/mediawiki-phan-config (0.14.0) - Locking mediawiki/minus-x (1.1.3) - Locking mediawiki/phan-taint-check-plugin (6.0.0) - Locking microsoft/tolerant-php-parser (v0.1.2) - Locking monolog/monolog (2.9.3) - Locking myclabs/deep-copy (1.12.0) - Locking netresearch/jsonmapper (v4.5.0) - Locking nikic/php-parser (v4.19.4) - Locking ockcyp/covers-validator (v1.6.0) - Locking phan/phan (5.4.3) - Locking phar-io/manifest (2.0.4) - Locking phar-io/version (3.2.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.4.0) - Locking phpcsstandards/phpcsextra (1.2.1) - Locking phpcsstandards/phpcsutils (1.0.11) - Locking phpdocumentor/reflection-common (2.2.0) - Locking phpdocumentor/reflection-docblock (5.4.1) - Locking phpdocumentor/type-resolver (1.8.2) - Locking phpstan/phpdoc-parser (1.33.0) - Locking phpunit/php-code-coverage (9.2.32) - Locking phpunit/php-file-iterator (3.0.6) - Locking phpunit/php-invoker (3.1.1) - Locking phpunit/php-text-template (2.0.4) - Locking phpunit/php-timer (5.0.3) - Locking phpunit/phpunit (9.6.16) - Locking psr/container (2.0.2) - Locking psr/log (1.1.4) - Locking sabre/event (5.1.7) - Locking sebastian/cli-parser (1.0.2) - Locking sebastian/code-unit (1.0.8) - Locking sebastian/code-unit-reverse-lookup (2.0.3) - Locking sebastian/comparator (4.0.8) - Locking sebastian/complexity (2.0.3) - Locking sebastian/diff (4.0.6) - Locking sebastian/environment (5.1.5) - Locking sebastian/exporter (4.0.6) - Locking sebastian/global-state (5.0.7) - Locking sebastian/lines-of-code (1.0.4) - Locking sebastian/object-enumerator (4.0.4) - Locking sebastian/object-reflector (2.0.4) - Locking sebastian/recursion-context (4.0.5) - Locking sebastian/resource-operations (3.0.4) - Locking sebastian/type (3.2.1) - Locking sebastian/version (3.0.2) - Locking squizlabs/php_codesniffer (3.9.0) - Locking symfony/console (v6.4.13) - Locking symfony/deprecation-contracts (v3.5.0) - Locking symfony/polyfill-ctype (v1.31.0) - Locking symfony/polyfill-intl-grapheme (v1.31.0) - Locking symfony/polyfill-intl-normalizer (v1.31.0) - Locking symfony/polyfill-mbstring (v1.31.0) - Locking symfony/polyfill-php80 (v1.31.0) - Locking symfony/polyfill-php81 (v1.31.0) - Locking symfony/service-contracts (v3.5.0) - Locking symfony/string (v7.1.6) - Locking theseer/tokenizer (1.2.3) - Locking tysonandre/var_representation_polyfill (0.1.3) - Locking webmozart/assert (1.11.0) - Locking wikimedia/alea (1.0.0) - Locking wikimedia/assert (v0.5.1) - Locking wikimedia/base-convert (v2.0.2) - Locking wikimedia/bcp-47-code (v2.0.0) - Locking wikimedia/idle-dom (v1.0.0) - Locking wikimedia/ip-utils (5.0.0) - Locking wikimedia/json-codec (v3.0.2) - Locking wikimedia/langconv (0.4.2) - Locking wikimedia/object-factory (v5.0.1) - Locking wikimedia/remex-html (4.1.0) - Locking wikimedia/scoped-callback (v5.0.0) - Locking wikimedia/testing-access-wrapper (3.0.0) - Locking wikimedia/utfnormal (4.0.0) - Locking wikimedia/wikipeg (4.0.0) - Locking wikimedia/zest-css (3.0.1) Writing lock file Installing dependencies from lock file (including require-dev) Package operations: 85 installs, 0 updates, 0 removals 0 [>---------------------------] 0 [->--------------------------] - Installing squizlabs/php_codesniffer (3.9.0): Extracting archive - Installing dealerdirect/phpcodesniffer-composer-installer (v1.0.0): Extracting archive - Installing composer/pcre (3.3.1): Extracting archive - Installing liuggio/statsd-php-client (v1.0.18): Extracting archive - Installing symfony/polyfill-php80 (v1.31.0): Extracting archive - Installing phpcsstandards/phpcsutils (1.0.11): Extracting archive - Installing phpcsstandards/phpcsextra (1.2.1): Extracting archive - Installing symfony/polyfill-mbstring (v1.31.0): Extracting archive - Installing composer/spdx-licenses (1.5.8): Extracting archive - Installing composer/semver (3.4.2): Extracting archive - Installing mediawiki/mediawiki-codesniffer (v44.0.0): Extracting archive - Installing tysonandre/var_representation_polyfill (0.1.3): Extracting archive - Installing symfony/polyfill-intl-normalizer (v1.31.0): Extracting archive - Installing symfony/polyfill-intl-grapheme (v1.31.0): Extracting archive - Installing symfony/polyfill-ctype (v1.31.0): Extracting archive - Installing symfony/string (v7.1.6): Extracting archive - Installing symfony/deprecation-contracts (v3.5.0): Extracting archive - Installing psr/container (2.0.2): Extracting archive - Installing symfony/service-contracts (v3.5.0): Extracting archive - Installing symfony/console (v6.4.13): Extracting archive - Installing sabre/event (5.1.7): Extracting archive - Installing netresearch/jsonmapper (v4.5.0): Extracting archive - Installing microsoft/tolerant-php-parser (v0.1.2): Extracting archive - Installing webmozart/assert (1.11.0): Extracting archive - Installing phpstan/phpdoc-parser (1.33.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.1): Extracting archive - Installing felixfbecker/advanced-json-rpc (v3.2.1): Extracting archive - Installing psr/log (1.1.4): Extracting archive - Installing composer/xdebug-handler (3.0.5): Extracting archive - Installing phan/phan (5.4.3): Extracting archive - Installing mediawiki/phan-taint-check-plugin (6.0.0): Extracting archive - Installing mediawiki/mediawiki-phan-config (0.14.0): Extracting archive - Installing mediawiki/minus-x (1.1.3): Extracting archive - Installing monolog/monolog (2.9.3): Extracting archive - Installing sebastian/version (3.0.2): Extracting archive - Installing sebastian/type (3.2.1): Extracting archive - Installing sebastian/resource-operations (3.0.4): Extracting archive - Installing sebastian/recursion-context (4.0.5): Extracting archive - Installing sebastian/object-reflector (2.0.4): Extracting archive - Installing sebastian/object-enumerator (4.0.4): Extracting archive - Installing sebastian/global-state (5.0.7): Extracting archive - Installing sebastian/exporter (4.0.6): Extracting archive - Installing sebastian/environment (5.1.5): Extracting archive - Installing sebastian/diff (4.0.6): Extracting archive - Installing sebastian/comparator (4.0.8): Extracting archive - Installing sebastian/code-unit (1.0.8): Extracting archive - Installing sebastian/cli-parser (1.0.2): Extracting archive - Installing phpunit/php-timer (5.0.3): Extracting archive - Installing phpunit/php-text-template (2.0.4): Extracting archive - Installing phpunit/php-invoker (3.1.1): Extracting archive - Installing phpunit/php-file-iterator (3.0.6): Extracting archive - Installing theseer/tokenizer (1.2.3): Extracting archive - Installing nikic/php-parser (v4.19.4): Extracting archive - Installing sebastian/lines-of-code (1.0.4): Extracting archive - Installing sebastian/complexity (2.0.3): Extracting archive - Installing sebastian/code-unit-reverse-lookup (2.0.3): Extracting archive - Installing phpunit/php-code-coverage (9.2.32): Extracting archive - Installing phar-io/version (3.2.1): Extracting archive - Installing phar-io/manifest (2.0.4): Extracting archive - Installing myclabs/deep-copy (1.12.0): Extracting archive - Installing doctrine/instantiator (2.0.0): Extracting archive - Installing phpunit/phpunit (9.6.16): Extracting archive - Installing ockcyp/covers-validator (v1.6.0): Extracting archive - Installing php-parallel-lint/php-console-color (v1.0.1): Extracting archive - Installing php-parallel-lint/php-console-highlighter (v1.0.0): Extracting archive - Installing php-parallel-lint/php-parallel-lint (v1.4.0): Extracting archive - Installing wikimedia/alea (1.0.0): Extracting archive - Installing wikimedia/bcp-47-code (v2.0.0): Extracting archive - Installing wikimedia/idle-dom (v1.0.0): Extracting archive - Installing wikimedia/base-convert (v2.0.2): Extracting archive - Installing wikimedia/ip-utils (5.0.0): Extracting archive - Installing symfony/polyfill-php81 (v1.31.0): Extracting archive - Installing wikimedia/json-codec (v3.0.2): Extracting archive - Installing wikimedia/assert (v0.5.1): Extracting archive - Installing wikimedia/langconv (0.4.2): Extracting archive - Installing wikimedia/object-factory (v5.0.1): Extracting archive - Installing wikimedia/utfnormal (4.0.0): Extracting archive - Installing wikimedia/remex-html (4.1.0): Extracting archive - Installing wikimedia/scoped-callback (v5.0.0): Extracting archive - Installing wikimedia/testing-access-wrapper (3.0.0): Extracting archive - Installing wikimedia/wikipeg (4.0.0): Extracting archive - Installing wikimedia/zest-css (3.0.1): Extracting archive 0/83 [>---------------------------] 0% 20/83 [======>---------------------] 24% 30/83 [==========>-----------------] 36% 40/83 [=============>--------------] 48% 50/83 [================>-----------] 60% 62/83 [====================>-------] 74% 71/83 [=======================>----] 85% 82/83 [===========================>] 98% 83/83 [============================] 100% 14 package suggestions were added by new dependencies, use `composer suggest` to see details. Generating optimized autoload files 44 packages you are using are looking for funding. Use the `composer fund` command to find out more! --- stdout --- PHP CodeSniffer Config installed_paths set to ../../mediawiki/mediawiki-codesniffer,../../phpcsstandards/phpcsextra,../../phpcsstandards/phpcsutils --- end --- $ /usr/bin/npm audit --json --- stdout --- { "auditReportVersion": 2, "vulnerabilities": { "minimatch": { "name": "minimatch", "severity": "high", "isDirect": false, "via": [ { "source": 1096485, "name": "minimatch", "dependency": "minimatch", "title": "minimatch ReDoS vulnerability", "url": "https://github.com/advisories/GHSA-f8q6-p94x-37v3", "severity": "high", "cwe": [ "CWE-400", "CWE-1333" ], "cvss": { "score": 7.5, "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H" }, "range": "<3.0.5" } ], "effects": [ "mocha" ], "range": "<3.0.5", "nodes": [ "node_modules/minimatch" ], "fixAvailable": false }, "mocha": { "name": "mocha", "severity": "high", "isDirect": true, "via": [ "minimatch" ], "effects": [], "range": "5.1.0 - 9.2.1", "nodes": [ "node_modules/mocha" ], "fixAvailable": false }, "request": { "name": "request", "severity": "moderate", "isDirect": true, "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": [], "range": "*", "nodes": [ "node_modules/request" ], "fixAvailable": false }, "tough-cookie": { "name": "tough-cookie", "severity": "moderate", "isDirect": false, "via": [ { "source": 1097682, "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 } }, "metadata": { "vulnerabilities": { "info": 0, "low": 0, "moderate": 2, "high": 2, "critical": 0, "total": 4 }, "dependencies": { "prod": 80, "dev": 330, "optional": 1, "peer": 1, "peerOptional": 0, "total": 409 } } } --- end --- Attempting to npm audit fix $ /usr/bin/npm audit fix --dry-run --only=dev --json --- stderr --- npm WARN invalid config only="dev" set in command line options npm WARN invalid config Must be one of: null, prod, production --- stdout --- { "added": 409, "removed": 0, "changed": 0, "audited": 410, "funding": 85, "audit": { "auditReportVersion": 2, "vulnerabilities": { "minimatch": { "name": "minimatch", "severity": "high", "isDirect": false, "via": [ { "source": 1096485, "name": "minimatch", "dependency": "minimatch", "title": "minimatch ReDoS vulnerability", "url": "https://github.com/advisories/GHSA-f8q6-p94x-37v3", "severity": "high", "cwe": [ "CWE-400", "CWE-1333" ], "cvss": { "score": 7.5, "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H" }, "range": "<3.0.5" } ], "effects": [ "mocha" ], "range": "<3.0.5", "nodes": [ "node_modules/minimatch" ], "fixAvailable": false }, "mocha": { "name": "mocha", "severity": "high", "isDirect": true, "via": [ "minimatch" ], "effects": [], "range": "5.1.0 - 9.2.1", "nodes": [ "node_modules/mocha" ], "fixAvailable": false }, "request": { "name": "request", "severity": "moderate", "isDirect": true, "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": [], "range": "*", "nodes": [ "node_modules/request" ], "fixAvailable": false }, "tough-cookie": { "name": "tough-cookie", "severity": "moderate", "isDirect": false, "via": [ { "source": 1097682, "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 } }, "metadata": { "vulnerabilities": { "info": 0, "low": 0, "moderate": 2, "high": 2, "critical": 0, "total": 4 }, "dependencies": { "prod": 80, "dev": 330, "optional": 1, "peer": 1, "peerOptional": 0, "total": 409 } } } } --- end --- {"added": 409, "removed": 0, "changed": 0, "audited": 410, "funding": 85, "audit": {"auditReportVersion": 2, "vulnerabilities": {"minimatch": {"name": "minimatch", "severity": "high", "isDirect": false, "via": [{"source": 1096485, "name": "minimatch", "dependency": "minimatch", "title": "minimatch ReDoS vulnerability", "url": "https://github.com/advisories/GHSA-f8q6-p94x-37v3", "severity": "high", "cwe": ["CWE-400", "CWE-1333"], "cvss": {"score": 7.5, "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}, "range": "<3.0.5"}], "effects": ["mocha"], "range": "<3.0.5", "nodes": ["node_modules/minimatch"], "fixAvailable": false}, "mocha": {"name": "mocha", "severity": "high", "isDirect": true, "via": ["minimatch"], "effects": [], "range": "5.1.0 - 9.2.1", "nodes": ["node_modules/mocha"], "fixAvailable": false}, "request": {"name": "request", "severity": "moderate", "isDirect": true, "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": [], "range": "*", "nodes": ["node_modules/request"], "fixAvailable": false}, "tough-cookie": {"name": "tough-cookie", "severity": "moderate", "isDirect": false, "via": [{"source": 1097682, "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}}, "metadata": {"vulnerabilities": {"info": 0, "low": 0, "moderate": 2, "high": 2, "critical": 0, "total": 4}, "dependencies": {"prod": 80, "dev": 330, "optional": 1, "peer": 1, "peerOptional": 0, "total": 409}}}} $ /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 skipping integrity check for git dependency ssh://git@github.com/arlolra/mocha.git npm WARN deprecated har-validator@5.1.3: this library is no longer supported npm WARN deprecated formidable@1.2.2: Please upgrade to latest, formidable@v2 or formidable@v3! Check these notes: https://bit.ly/2ZEqIau 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 npm WARN deprecated superagent@5.1.0: Please upgrade to v7.0.2+ of superagent. We have fixed numerous issues with streams, form-data, attach(), filesystem errors not bubbling up (ENOENT on attach()), and all tests are now passing. See the releases tab for more information at <https://github.com/visionmedia/superagent/releases>. npm WARN deprecated core-js@2.6.11: core-js@<3.23.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js. --- stdout --- added 408 packages, and audited 409 packages in 7s 85 packages are looking for funding run `npm fund` for details # npm audit report minimatch <3.0.5 Severity: high minimatch ReDoS vulnerability - https://github.com/advisories/GHSA-f8q6-p94x-37v3 No fix available node_modules/minimatch mocha 5.1.0 - 9.2.1 Depends on vulnerable versions of minimatch node_modules/mocha 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 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 vulnerabilities (2 moderate, 2 high) Some issues need review, and may require choosing a different dependency. --- end --- Verifying that tests still pass $ /usr/bin/npm ci --- stderr --- npm WARN skipping integrity check for git dependency ssh://git@github.com/arlolra/mocha.git npm WARN deprecated har-validator@5.1.3: this library is no longer supported npm WARN deprecated formidable@1.2.2: Please upgrade to latest, formidable@v2 or formidable@v3! Check these notes: https://bit.ly/2ZEqIau 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 npm WARN deprecated superagent@5.1.0: Please upgrade to v7.0.2+ of superagent. We have fixed numerous issues with streams, form-data, attach(), filesystem errors not bubbling up (ENOENT on attach()), and all tests are now passing. See the releases tab for more information at <https://github.com/visionmedia/superagent/releases>. npm WARN deprecated core-js@2.6.11: core-js@<3.23.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js. --- stdout --- added 408 packages, and audited 409 packages in 7s 85 packages are looking for funding run `npm fund` for details 4 vulnerabilities (2 moderate, 2 high) Some issues need review, and may require choosing a different dependency. Run `npm audit` for details. --- end --- $ /usr/bin/npm test --- stdout --- > parsoid@0.11.0 test > npm run eslint > parsoid@0.11.0 eslint > eslint --cache --ext .js,.json . /src/repo/bin/benchmark.js 84:4 warning Don't use process.exit(); throw an error instead n/no-process-exit 132:9 warning Found existsSync from package "fs" with non literal argument at index 0 security/detect-non-literal-fs-filename 132:35 warning Found readFileSync from package "fs" with non literal argument at index 0 security/detect-non-literal-fs-filename 190:4 warning Found writeFileSync from package "fs" with non literal argument at index 0 security/detect-non-literal-fs-filename 252:32 warning Found existsSync from package "fs" with non literal argument at index 0 security/detect-non-literal-fs-filename 269:26 warning Found readFileSync from package "fs" with non literal argument at index 0 security/detect-non-literal-fs-filename 285:15 warning Found readFileSync from package "fs" with non literal argument at index 0 security/detect-non-literal-fs-filename 353:4 warning Don't use process.exit(); throw an error instead n/no-process-exit /src/repo/bin/diff.html.js 1:1 warning ES2023 Hashbang comments are forbidden es-x/no-hashbang 34:22 warning Unsafe Regular Expression security/detect-unsafe-regex 150:16 warning Found readFileSync from package "fs" with non literal argument at index 0 security/detect-non-literal-fs-filename 151:17 warning Found readFileSync from package "fs" with non literal argument at index 0 security/detect-non-literal-fs-filename 177:27 warning Found readFileSync from package "fs" with non literal argument at index 0 security/detect-non-literal-fs-filename /src/repo/bin/domdiff.test.js 1:1 warning ES2023 Hashbang comments are forbidden es-x/no-hashbang 7:23 warning Can't resolve '../lib/html2wt/DOMDiff.js' in '/src/repo/bin' n/no-missing-require 10:29 warning Can't resolve '../lib/logger/ParsoidLogger.js' in '/src/repo/bin' n/no-missing-require 88:2 warning Don't use process.exit(); throw an error instead n/no-process-exit /src/repo/bin/inspectTokenizer.js 1:1 warning ES2023 Hashbang comments are forbidden es-x/no-hashbang 70:10 warning Found createWriteStream from package "fs" with non literal argument at index 0 security/detect-non-literal-fs-filename 77:22 warning Found readFileSync from package "fs" with non literal argument at index 0 security/detect-non-literal-fs-filename 218:2 warning Don't use process.exit(); throw an error instead n/no-process-exit /src/repo/bin/langconv-test.js 1:1 warning ES2023 Hashbang comments are forbidden es-x/no-hashbang 12:51 warning Can't resolve '../lib/mw/ApiRequest.js' in '/src/repo/bin' n/no-missing-require 17:41 warning Can't resolve '../lib/config/MWParserEnvironment.js' in '/src/repo/bin' n/no-missing-require 20:37 warning Can't resolve '../lib/mw/ApiRequest.js' in '/src/repo/bin' n/no-missing-require 405:5 warning Found non-literal argument in require security/detect-non-literal-require 625:4 warning Don't use process.exit(); throw an error instead n/no-process-exit /src/repo/bin/normalize.test.js 1:1 warning ES2023 Hashbang comments are forbidden es-x/no-hashbang 64:2 warning Don't use process.exit(); throw an error instead n/no-process-exit /src/repo/bin/roundtrip-test.js 1:1 warning ES2023 Hashbang comments are forbidden es-x/no-hashbang 996:4 warning Don't use process.exit(); throw an error instead n/no-process-exit /src/repo/lib/config/ParsoidConfig.js 157:19 warning Found non-literal argument in require security/detect-non-literal-require 630:8 warning Found statSync from package "fs" with non literal argument at index 0 security/detect-non-literal-fs-filename 636:14 warning Found readdirSync from package "fs" with non literal argument at index 0 security/detect-non-literal-fs-filename 643:9 warning Found statSync from package "fs" with non literal argument at index 0 security/detect-non-literal-fs-filename 656:12 warning Found non-literal argument in require security/detect-non-literal-require /src/repo/lib/html2wt/DOMNormalizer.js 284:17 warning Found non-literal argument to RegExp Constructor security/detect-non-literal-regexp 372:44 warning Unsafe Regular Expression security/detect-unsafe-regex /src/repo/lib/html2wt/WTSUtils.js 13:20 warning Unsafe Regular Expression security/detect-unsafe-regex /src/repo/lib/utils/Diff.js 142:24 warning Unsafe Regular Expression security/detect-unsafe-regex /src/repo/lib/utils/TokenUtils.js 26:10 warning Unsafe Regular Expression security/detect-unsafe-regex /src/repo/lib/utils/Util.js 159:10 warning Unsafe Regular Expression security/detect-unsafe-regex /src/repo/lib/utils/WTUtils.js 137:37 warning Unsafe Regular Expression security/detect-unsafe-regex /src/repo/lib/utils/jsutils.js 280:10 warning Found non-literal argument to RegExp Constructor security/detect-non-literal-regexp /src/repo/tests/TestUtils.js 150:12 warning Unsafe Regular Expression security/detect-unsafe-regex /src/repo/tests/api-testing/Parsoid.js 668:26 warning Found non-literal argument to RegExp Constructor security/detect-non-literal-regexp 680:26 warning Found non-literal argument to RegExp Constructor security/detect-non-literal-regexp /src/repo/tests/testreduce/rtTestWrapper.js 13:9 warning Found readFileSync from package "fs" with non literal argument at index 0 security/detect-non-literal-fs-filename /src/repo/tools/ScriptUtils.js 57:4 warning Don't use process.exit(); throw an error instead n/no-process-exit /src/repo/tools/build-langconv-fst.js 1:1 warning ES2023 Hashbang comments are forbidden es-x/no-hashbang 84:21 warning Can't resolve '../lib/language/FST.js' in '/src/repo/tools' n/no-missing-require 109:13 warning Found openSync from package "fs" with non literal argument at index 0 security/detect-non-literal-fs-filename 302:14 warning Found openSync from package "fs" with non literal argument at index 0 security/detect-non-literal-fs-filename /src/repo/tools/compare.linter.results.js 1:1 warning ES2023 Hashbang comments are forbidden es-x/no-hashbang 105:2 warning Don't use process.exit(); throw an error instead n/no-process-exit 108:18 warning Found non-literal argument in require security/detect-non-literal-require 112:2 warning Don't use process.exit(); throw an error instead n/no-process-exit 115:18 warning Found non-literal argument in require security/detect-non-literal-require 118:2 warning Don't use process.exit(); throw an error instead n/no-process-exit /src/repo/tools/fetch-parserTests.js 1:1 warning ES2023 Hashbang comments are forbidden es-x/no-hashbang /src/repo/tools/fetch-revision-data.js 1:1 warning ES2023 Hashbang comments are forbidden es-x/no-hashbang 20:31 warning Can't resolve '../lib/mw/ApiRequest.js' in '/src/repo/tools' n/no-missing-require 22:35 warning Can't resolve '../lib/config/MWParserEnvironment.js' in '/src/repo/tools' n/no-missing-require /src/repo/tools/fetch_stray_toc_edits.js 138:13 warning Found non-literal argument to RegExp Constructor security/detect-non-literal-regexp /src/repo/tools/gen_visualdiff_titles.js 15:2 warning Don't use process.exit(); throw an error instead n/no-process-exit 34:3 warning Found readFileSync from package "fs" with non literal argument at index 0 security/detect-non-literal-fs-filename /src/repo/tools/runRtTests.js 1:1 warning ES2023 Hashbang comments are forbidden es-x/no-hashbang /src/repo/tools/sync-parserTests.js 1:1 warning ES2023 Hashbang comments are forbidden es-x/no-hashbang 261:2 warning Don't use process.exit(); throw an error instead n/no-process-exit ✖ 69 problems (0 errors, 69 warnings) --- end --- $ package-lock-lint package-lock.json --- stdout --- Checking package-lock.json --- end --- [DNM] there are no updates $ git add . --- stdout --- --- end --- $ git commit -F /tmp/tmp6liaq56o --- stdout --- On branch REL1_43 Your branch is up to date with 'origin/REL1_43'. nothing to commit, working tree clean --- end ---