This run took 18 seconds.
$ date --- stdout --- Sun Dec 8 18:29:51 UTC 2024 --- end --- $ git clone file:///srv/git/mediawiki-extensions-XSL.git repo --depth=1 -b REL1_39 --- 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_39 --- stdout --- 2e15c6b06000d28f1dc78b67aaaa24d9bebb2471 refs/heads/REL1_39 --- end --- $ /usr/bin/npm audit --json --- stdout --- { "auditReportVersion": 2, "vulnerabilities": { "@stylelint/postcss-css-in-js": { "name": "@stylelint/postcss-css-in-js", "severity": "moderate", "isDirect": false, "via": [ "postcss", "postcss-syntax" ], "effects": [], "range": "", "nodes": [ "node_modules/@stylelint/postcss-css-in-js" ], "fixAvailable": true }, "@stylelint/postcss-markdown": { "name": "@stylelint/postcss-markdown", "severity": "moderate", "isDirect": false, "via": [ "postcss", "postcss-syntax" ], "effects": [], "range": "", "nodes": [ "node_modules/@stylelint/postcss-markdown" ], "fixAvailable": true }, "autoprefixer": { "name": "autoprefixer", "severity": "moderate", "isDirect": false, "via": [ "postcss" ], "effects": [], "range": "", "nodes": [ "node_modules/autoprefixer" ], "fixAvailable": true }, "eslint-config-wikimedia": { "name": "eslint-config-wikimedia", "severity": "high", "isDirect": true, "via": [ "eslint-plugin-compat" ], "effects": [], "range": "", "nodes": [ "node_modules/eslint-config-wikimedia" ], "fixAvailable": false }, "eslint-plugin-compat": { "name": "eslint-plugin-compat", "severity": "high", "isDirect": false, "via": [ "semver" ], "effects": [ "eslint-config-wikimedia" ], "range": "", "nodes": [ "node_modules/eslint-plugin-compat" ], "fixAvailable": false }, "grunt-stylelint": { "name": "grunt-stylelint", "severity": "moderate", "isDirect": true, "via": [ "stylelint" ], "effects": [], "range": "", "nodes": [ "node_modules/grunt-stylelint" ], "fixAvailable": false }, "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": [ "@stylelint/postcss-css-in-js", "@stylelint/postcss-markdown", "autoprefixer", "postcss-html", "postcss-less", "postcss-safe-parser", "postcss-sass", "postcss-scss", "postcss-syntax", "stylelint", "sugarss" ], "range": "", "nodes": [ "node_modules/postcss" ], "fixAvailable": false }, "postcss-html": { "name": "postcss-html", "severity": "moderate", "isDirect": false, "via": [ "postcss", "postcss-syntax" ], "effects": [], "range": "", "nodes": [ "node_modules/postcss-html" ], "fixAvailable": true }, "postcss-less": { "name": "postcss-less", "severity": "moderate", "isDirect": false, "via": [ "postcss" ], "effects": [], "range": "", "nodes": [ "node_modules/postcss-less" ], "fixAvailable": true }, "postcss-safe-parser": { "name": "postcss-safe-parser", "severity": "moderate", "isDirect": false, "via": [ "postcss" ], "effects": [], "range": "", "nodes": [ "node_modules/postcss-safe-parser" ], "fixAvailable": true }, "postcss-sass": { "name": "postcss-sass", "severity": "moderate", "isDirect": false, "via": [ "postcss" ], "effects": [], "range": "", "nodes": [ "node_modules/postcss-sass" ], "fixAvailable": true }, "postcss-scss": { "name": "postcss-scss", "severity": "moderate", "isDirect": false, "via": [ "postcss" ], "effects": [], "range": "", "nodes": [ "node_modules/postcss-scss" ], "fixAvailable": true }, "postcss-syntax": { "name": "postcss-syntax", "severity": "moderate", "isDirect": false, "via": [ "postcss" ], "effects": [], "range": "", "nodes": [ "node_modules/postcss-syntax" ], "fixAvailable": true }, "semver": { "name": "semver", "severity": "high", "isDirect": false, "via": [ { "source": 1098562, "name": "semver", "dependency": "semver", "title": "semver vulnerable to Regular Expression Denial of Service", "url": "https://github.com/advisories/GHSA-c2qf-rxjj-qqgw", "severity": "high", "cwe": [ "CWE-1333" ], "cvss": { "score": 7.5, "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H" }, "range": ">=7.0.0 <7.5.2" } ], "effects": [ "eslint-plugin-compat" ], "range": "", "nodes": [ "node_modules/eslint-plugin-compat/node_modules/semver" ], "fixAvailable": false }, "stylelint": { "name": "stylelint", "severity": "moderate", "isDirect": false, "via": [ "@stylelint/postcss-css-in-js", "@stylelint/postcss-markdown", "autoprefixer", "postcss", "postcss-html", "postcss-less", "postcss-safe-parser", "postcss-sass", "postcss-scss", "postcss-syntax", "sugarss" ], "effects": [ "grunt-stylelint", "stylelint-config-wikimedia", "stylelint-no-unsupported-browser-features" ], "range": "", "nodes": [ "node_modules/stylelint" ], "fixAvailable": false }, "stylelint-config-wikimedia": { "name": "stylelint-config-wikimedia", "severity": "moderate", "isDirect": true, "via": [ "stylelint", "stylelint-no-unsupported-browser-features" ], "effects": [], "range": "", "nodes": [ "node_modules/stylelint-config-wikimedia" ], "fixAvailable": false }, "stylelint-no-unsupported-browser-features": { "name": "stylelint-no-unsupported-browser-features", "severity": "moderate", "isDirect": false, "via": [ "stylelint" ], "effects": [], "range": "", "nodes": [ "node_modules/stylelint-no-unsupported-browser-features" ], "fixAvailable": true }, "sugarss": { "name": "sugarss", "severity": "moderate", "isDirect": false, "via": [ "postcss" ], "effects": [], "range": "", "nodes": [ "node_modules/sugarss" ], "fixAvailable": true } }, "metadata": { "vulnerabilities": { "info": 0, "low": 0, "moderate": 15, "high": 3, "critical": 0, "total": 18 }, "dependencies": { "prod": 1, "dev": 476, "optional": 0, "peer": 0, "peerOptional": 0, "total": 476 } } } --- 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: 19 installs, 0 updates, 0 removals - Locking composer/semver (3.4.3) - Locking composer/spdx-licenses (1.5.8) - Locking mediawiki/mediawiki-codesniffer (v38.0.0) - Locking mediawiki/minus-x (1.1.1) - Locking php-parallel-lint/php-console-color (v0.3) - Locking php-parallel-lint/php-console-highlighter (v0.5) - Locking php-parallel-lint/php-parallel-lint (v1.3.1) - Locking psr/container (2.0.2) - Locking squizlabs/php_codesniffer (3.6.1) - Locking symfony/console (v5.4.47) - Locking symfony/deprecation-contracts (v3.5.1) - 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-php73 (v1.31.0) - Locking symfony/polyfill-php80 (v1.31.0) - Locking symfony/service-contracts (v3.5.1) - Locking symfony/string (v6.4.15) Writing lock file Installing dependencies from lock file (including require-dev) Package operations: 19 installs, 0 updates, 0 removals 0 [>---------------------------] 0 [->--------------------------] - Installing squizlabs/php_codesniffer (3.6.1): Extracting archive - Installing symfony/polyfill-mbstring (v1.31.0): Extracting archive - Installing composer/spdx-licenses (1.5.8): Extracting archive - Installing composer/semver (3.4.3): Extracting archive - Installing mediawiki/mediawiki-codesniffer (v38.0.0): 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 (v6.4.15): Extracting archive - Installing symfony/deprecation-contracts (v3.5.1): Extracting archive - Installing psr/container (2.0.2): Extracting archive - Installing symfony/service-contracts (v3.5.1): Extracting archive - Installing symfony/polyfill-php80 (v1.31.0): Extracting archive - Installing symfony/polyfill-php73 (v1.31.0): Extracting archive - Installing symfony/console (v5.4.47): Extracting archive - Installing mediawiki/minus-x (1.1.1): Extracting archive - Installing php-parallel-lint/php-console-color (v0.3): Extracting archive - Installing php-parallel-lint/php-console-highlighter (v0.5): Extracting archive - Installing php-parallel-lint/php-parallel-lint (v1.3.1): 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 13 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": { "@stylelint/postcss-css-in-js": { "name": "@stylelint/postcss-css-in-js", "severity": "moderate", "isDirect": false, "via": [ "postcss", "postcss-syntax" ], "effects": [], "range": "", "nodes": [ "node_modules/@stylelint/postcss-css-in-js" ], "fixAvailable": true }, "@stylelint/postcss-markdown": { "name": "@stylelint/postcss-markdown", "severity": "moderate", "isDirect": false, "via": [ "postcss", "postcss-syntax" ], "effects": [], "range": "", "nodes": [ "node_modules/@stylelint/postcss-markdown" ], "fixAvailable": true }, "autoprefixer": { "name": "autoprefixer", "severity": "moderate", "isDirect": false, "via": [ "postcss" ], "effects": [], "range": "", "nodes": [ "node_modules/autoprefixer" ], "fixAvailable": true }, "eslint-config-wikimedia": { "name": "eslint-config-wikimedia", "severity": "high", "isDirect": true, "via": [ "eslint-plugin-compat" ], "effects": [], "range": "", "nodes": [ "node_modules/eslint-config-wikimedia" ], "fixAvailable": false }, "eslint-plugin-compat": { "name": "eslint-plugin-compat", "severity": "high", "isDirect": false, "via": [ "semver" ], "effects": [ "eslint-config-wikimedia" ], "range": "", "nodes": [ "node_modules/eslint-plugin-compat" ], "fixAvailable": false }, "grunt-stylelint": { "name": "grunt-stylelint", "severity": "moderate", "isDirect": true, "via": [ "stylelint" ], "effects": [], "range": "", "nodes": [ "node_modules/grunt-stylelint" ], "fixAvailable": false }, "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": [ "@stylelint/postcss-css-in-js", "@stylelint/postcss-markdown", "autoprefixer", "postcss-html", "postcss-less", "postcss-safe-parser", "postcss-sass", "postcss-scss", "postcss-syntax", "stylelint", "sugarss" ], "range": "", "nodes": [ "node_modules/postcss" ], "fixAvailable": false }, "postcss-html": { "name": "postcss-html", "severity": "moderate", "isDirect": false, "via": [ "postcss", "postcss-syntax" ], "effects": [], "range": "", "nodes": [ "node_modules/postcss-html" ], "fixAvailable": true }, "postcss-less": { "name": "postcss-less", "severity": "moderate", "isDirect": false, "via": [ "postcss" ], "effects": [], "range": "", "nodes": [ "node_modules/postcss-less" ], "fixAvailable": true }, "postcss-safe-parser": { "name": "postcss-safe-parser", "severity": "moderate", "isDirect": false, "via": [ "postcss" ], "effects": [], "range": "", "nodes": [ "node_modules/postcss-safe-parser" ], "fixAvailable": true }, "postcss-sass": { "name": "postcss-sass", "severity": "moderate", "isDirect": false, "via": [ "postcss" ], "effects": [], "range": "", "nodes": [ "node_modules/postcss-sass" ], "fixAvailable": true }, "postcss-scss": { "name": "postcss-scss", "severity": "moderate", "isDirect": false, "via": [ "postcss" ], "effects": [], "range": "", "nodes": [ "node_modules/postcss-scss" ], "fixAvailable": true }, "postcss-syntax": { "name": "postcss-syntax", "severity": "moderate", "isDirect": false, "via": [ "postcss" ], "effects": [], "range": "", "nodes": [ "node_modules/postcss-syntax" ], "fixAvailable": true }, "semver": { "name": "semver", "severity": "high", "isDirect": false, "via": [ { "source": 1098562, "name": "semver", "dependency": "semver", "title": "semver vulnerable to Regular Expression Denial of Service", "url": "https://github.com/advisories/GHSA-c2qf-rxjj-qqgw", "severity": "high", "cwe": [ "CWE-1333" ], "cvss": { "score": 7.5, "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H" }, "range": ">=7.0.0 <7.5.2" } ], "effects": [ "eslint-plugin-compat" ], "range": "", "nodes": [ "node_modules/eslint-plugin-compat/node_modules/semver" ], "fixAvailable": false }, "stylelint": { "name": "stylelint", "severity": "moderate", "isDirect": false, "via": [ "@stylelint/postcss-css-in-js", "@stylelint/postcss-markdown", "autoprefixer", "postcss", "postcss-html", "postcss-less", "postcss-safe-parser", "postcss-sass", "postcss-scss", "postcss-syntax", "sugarss" ], "effects": [ "grunt-stylelint", "stylelint-config-wikimedia", "stylelint-no-unsupported-browser-features" ], "range": "", "nodes": [ "node_modules/stylelint" ], "fixAvailable": false }, "stylelint-config-wikimedia": { "name": "stylelint-config-wikimedia", "severity": "moderate", "isDirect": true, "via": [ "stylelint", "stylelint-no-unsupported-browser-features" ], "effects": [], "range": "", "nodes": [ "node_modules/stylelint-config-wikimedia" ], "fixAvailable": false }, "stylelint-no-unsupported-browser-features": { "name": "stylelint-no-unsupported-browser-features", "severity": "moderate", "isDirect": false, "via": [ "stylelint" ], "effects": [], "range": "", "nodes": [ "node_modules/stylelint-no-unsupported-browser-features" ], "fixAvailable": true }, "sugarss": { "name": "sugarss", "severity": "moderate", "isDirect": false, "via": [ "postcss" ], "effects": [], "range": "", "nodes": [ "node_modules/sugarss" ], "fixAvailable": true } }, "metadata": { "vulnerabilities": { "info": 0, "low": 0, "moderate": 15, "high": 3, "critical": 0, "total": 18 }, "dependencies": { "prod": 1, "dev": 476, "optional": 0, "peer": 0, "peerOptional": 0, "total": 476 } } } --- 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 ERR! code E404 npm ERR! 404 Not Found - GET https://registry.npmjs.org/eslint-config-wikimedia - Not found npm ERR! 404 npm ERR! 404 'eslint-config-wikimedia@0.20.0' is not in this registry. npm ERR! 404 npm ERR! 404 Note that you can also install from a npm ERR! 404 tarball, folder, http url, or git url. npm ERR! A complete log of this run can be found in: npm ERR! /cache/_logs/2024-12-08T18_30_02_234Z-debug-0.log --- stdout --- { "error": { "code": "E404", "summary": "Not Found - GET https://registry.npmjs.org/eslint-config-wikimedia - Not found", "detail": "\n 'eslint-config-wikimedia@0.20.0' is not in this registry.\n\nNote that you can also install from a\ntarball, folder, http url, or git url." } } --- end --- {"error": {"code": "E404", "summary": "Not Found - GET https://registry.npmjs.org/eslint-config-wikimedia - Not found", "detail": "\n 'eslint-config-wikimedia@0.20.0' is not in this registry.\n\nNote that you can also install from a\ntarball, folder, http url, or git url."}} Traceback (most recent call last): File "/venv/lib/python3.11/site-packages/runner-0.1.0-py3.11.egg/runner/__init__.py", line 1868, 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 1813, 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 218, in npm_audit_fix if dry_run["audit"]["auditReportVersion"] != 2: ~~~~~~~^^^^^^^^^ KeyError: 'audit'