This run took 101 seconds.
From e2f9fdec15905aa39b7873c0f911dd84380c9ef9 Mon Sep 17 00:00:00 2001 From: libraryupgrader <tools.libraryupgrader@tools.wmflabs.org> Date: Fri, 21 Mar 2025 02:58:20 +0000 Subject: [PATCH] build: Updating npm dependencies MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * @wikimedia/codex: 1.20.3 → 1.21.1 * @babel/runtime: 7.26.9 → 7.26.10 * https://github.com/advisories/GHSA-968p-4wvh-cqc8 Change-Id: I70ba086de08854bd3e976fa3da0541c384f24af0 --- package-lock.json | 25 +++++++++++-------------- package.json | 2 +- 2 files changed, 12 insertions(+), 15 deletions(-) diff --git a/package-lock.json b/package-lock.json index 2dddd19..103acc9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,7 +9,7 @@ "@babel/preset-env": "7.25.4", "@vue/test-utils": "2.4.6", "@vue/vue3-jest": "29.2.6", - "@wikimedia/codex": "1.20.3", + "@wikimedia/codex": "1.21.1", "@wikimedia/types-wikimedia": "0.4.4", "api-testing": "1.6.0", "eslint-config-wikimedia": "0.28.2", @@ -1795,11 +1795,10 @@ } }, "node_modules/@babel/runtime": { - "version": "7.26.9", - "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.26.9.tgz", - "integrity": "sha512-aA63XwOkcl4xxQa3HjPMqOP6LiK0ZDv3mUPYEFXkpHbaFjtGggE1A61FjFzJnB+p7/oy2gA8E+rcBNl/zC1tMg==", + "version": "7.26.10", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.26.10.tgz", + "integrity": "sha512-2WJMeRQPHKSPemqk/awGrAiuFfzBmOIPXKizAsVhWH9YJqLZ0H+HS4c8loHGgW6utJ3E/ejXQUsiGaQy2NZ9Fw==", "dev": true, - "license": "MIT", "dependencies": { "regenerator-runtime": "^0.14.0" }, @@ -3569,14 +3568,13 @@ } }, "node_modules/@wikimedia/codex": { - "version": "1.20.3", - "resolved": "https://registry.npmjs.org/@wikimedia/codex/-/codex-1.20.3.tgz", - "integrity": "sha512-rjnNsaTE0ggWkcZccF8FWn+UKmN0eExIe7bLy0SjKVr0IK9IQR0hezYfb0nEI7RbDlZs31b+nStLVo7GHulPNw==", + "version": "1.21.1", + "resolved": "https://registry.npmjs.org/@wikimedia/codex/-/codex-1.21.1.tgz", + "integrity": "sha512-Xl4bY9oqNPcSqq68IGUv7krieuLHr98AaeDznM1rkx3Zt3eU8x5yI7sPVmSJ2mPHIf4dHDaPc8KHbGE4Rr7VAQ==", "dev": true, - "license": "GPL-2.0+", "dependencies": { "@floating-ui/vue": "1.0.6", - "@wikimedia/codex-icons": "1.20.3" + "@wikimedia/codex-icons": "1.21.1" }, "engines": { "node": ">=20", @@ -3587,11 +3585,10 @@ } }, "node_modules/@wikimedia/codex-icons": { - "version": "1.20.3", - "resolved": "https://registry.npmjs.org/@wikimedia/codex-icons/-/codex-icons-1.20.3.tgz", - "integrity": "sha512-UcMAinvkhzpx2kPagdbSSaIpP3rZbtikJ6hcJXAA1zR/W6sltKC0H0P5Jzz3pyW5a3nGodTWH93170ooJ+qsgQ==", + "version": "1.21.1", + "resolved": "https://registry.npmjs.org/@wikimedia/codex-icons/-/codex-icons-1.21.1.tgz", + "integrity": "sha512-TMMaA+2OWa5ECYBkoDpo/IaiKGW06dGGRcoCvWiMAS2DkrzDQoftTwv7q8BBfcRdik5ZZdBO1pdQ9OLVGhEHVw==", "dev": true, - "license": "MIT", "engines": { "node": ">=20", "npm": ">=10.8.1" diff --git a/package.json b/package.json index 04582d9..3d2aa62 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,7 @@ "stylelint-config-wikimedia": "0.18.0", "@vue/test-utils": "2.4.6", "@vue/vue3-jest": "29.2.6", - "@wikimedia/codex": "1.20.3", + "@wikimedia/codex": "1.21.1", "jest-environment-jsdom": "29.7.0", "typescript": "4.8.4", "vue": "3.5.13" -- 2.39.2
$ date --- stdout --- Fri Mar 21 02:57:00 UTC 2025 --- end --- $ git clone file:///srv/git/mediawiki-extensions-ReadingLists.git repo --depth=1 -b master --- 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/master --- stdout --- 48285fee2127a6baf949b330ae77d9d3f889b6a8 refs/heads/master --- end --- $ /usr/bin/npm audit --json --- stdout --- { "auditReportVersion": 2, "vulnerabilities": { "@babel/runtime": { "name": "@babel/runtime", "severity": "moderate", "isDirect": false, "via": [ { "source": 1103025, "name": "@babel/runtime", "dependency": "@babel/runtime", "title": "Babel has inefficient RexExp complexity in generated code with .replace when transpiling named capturing groups", "url": "https://github.com/advisories/GHSA-968p-4wvh-cqc8", "severity": "moderate", "cwe": [ "CWE-1333" ], "cvss": { "score": 6.2, "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H" }, "range": "<7.26.10" } ], "effects": [], "range": "<7.26.10", "nodes": [ "node_modules/@babel/runtime" ], "fixAvailable": true } }, "metadata": { "vulnerabilities": { "info": 0, "low": 0, "moderate": 1, "high": 0, "critical": 0, "total": 1 }, "dependencies": { "prod": 1, "dev": 869, "optional": 5, "peer": 139, "peerOptional": 0, "total": 869 } } } --- 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: 38 installs, 0 updates, 0 removals - Locking composer/pcre (3.3.2) - Locking composer/semver (3.4.3) - 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.4) - Locking felixfbecker/advanced-json-rpc (v3.2.1) - Locking mediawiki/mediawiki-codesniffer (v46.0.0) - Locking mediawiki/mediawiki-phan-config (0.15.1) - Locking mediawiki/minus-x (1.1.3) - Locking mediawiki/phan-taint-check-plugin (6.1.0) - Locking microsoft/tolerant-php-parser (v0.1.2) - Locking netresearch/jsonmapper (v4.5.0) - Locking phan/phan (5.4.5) - 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.12) - Locking phpdocumentor/reflection-common (2.2.0) - Locking phpdocumentor/reflection-docblock (5.6.1) - Locking phpdocumentor/type-resolver (1.10.0) - Locking phpstan/phpdoc-parser (2.1.0) - Locking psr/container (2.0.2) - Locking psr/log (3.0.2) - Locking sabre/event (5.1.7) - Locking squizlabs/php_codesniffer (3.11.3) - Locking symfony/console (v7.2.1) - 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-php80 (v1.31.0) - Locking symfony/service-contracts (v3.5.1) - Locking symfony/string (v7.2.0) - 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: 38 installs, 0 updates, 0 removals 0 [>---------------------------] 0 [->--------------------------] - Installing squizlabs/php_codesniffer (3.11.3): Extracting archive - Installing dealerdirect/phpcodesniffer-composer-installer (v1.0.0): Extracting archive - Installing composer/pcre (3.3.2): Extracting archive - Installing symfony/polyfill-php80 (v1.31.0): Extracting archive - Installing phpcsstandards/phpcsutils (1.0.12): 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.3): Extracting archive - Installing mediawiki/mediawiki-codesniffer (v46.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.2.0): 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/console (v7.2.1): 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 (2.1.0): Extracting archive - Installing phpdocumentor/reflection-common (2.2.0): Extracting archive - Installing doctrine/deprecations (1.1.4): Extracting archive - Installing phpdocumentor/type-resolver (1.10.0): Extracting archive - Installing phpdocumentor/reflection-docblock (5.6.1): Extracting archive - Installing felixfbecker/advanced-json-rpc (v3.2.1): Extracting archive - Installing psr/log (3.0.2): Extracting archive - Installing composer/xdebug-handler (3.0.5): Extracting archive - Installing phan/phan (5.4.5): Extracting archive - Installing mediawiki/phan-taint-check-plugin (6.1.0): Extracting archive - Installing mediawiki/mediawiki-phan-config (0.15.1): Extracting archive - Installing mediawiki/minus-x (1.1.3): 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 0/36 [>---------------------------] 0% 20/36 [===============>------------] 55% 35/36 [===========================>] 97% 36/36 [============================] 100% 1 package suggestions were added by new dependencies, use `composer suggest` to see details. Generating autoload files 16 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 --- Upgrading n:@wikimedia/codex from 1.20.3 -> 1.21.1 $ /usr/bin/npm install --- stderr --- npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: '@wikimedia/codex@1.21.1', npm WARN EBADENGINE required: { npm: '>=10.8.1', node: '>=20' }, npm WARN EBADENGINE current: { node: 'v18.19.0', npm: '9.2.0' } npm WARN EBADENGINE } npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: '@wikimedia/codex-icons@1.21.1', npm WARN EBADENGINE required: { npm: '>=10.8.1', node: '>=20' }, npm WARN EBADENGINE current: { node: 'v18.19.0', npm: '9.2.0' } npm WARN EBADENGINE } npm WARN deprecated osenv@0.1.5: This package is no longer supported. npm WARN deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful. npm WARN deprecated @humanwhocodes/config-array@0.13.0: Use @eslint/config-array instead npm WARN deprecated rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported npm WARN deprecated abab@2.0.6: Use your platform's native atob() and btoa() methods instead npm WARN deprecated @humanwhocodes/object-schema@2.0.3: Use @eslint/object-schema instead npm WARN deprecated glob@7.1.7: Glob versions prior to v9 are no longer supported npm WARN deprecated formidable@1.2.6: Please upgrade to latest, formidable@v2 or formidable@v3! Check these notes: https://bit.ly/2ZEqIau npm WARN deprecated domexception@4.0.0: Use your platform's native DOMException instead npm WARN deprecated superagent@6.1.0: Please upgrade to v9.0.0+ as we have fixed a public vulnerability with formidable dependency. Note that v9.0.0+ requires Node.js v14.18.0+. See https://github.com/ladjs/superagent/pull/1800 for insight. This project is supported and maintained by the team at Forward Email @ https://forwardemail.net npm WARN deprecated eslint@8.57.1: This version is no longer supported. Please see https://eslint.org/version-support for other options. --- stdout --- added 868 packages, and audited 869 packages in 11s 138 packages are looking for funding run `npm fund` for details 1 moderate severity vulnerability To address all issues, run: npm audit fix Run `npm audit` for details. --- end --- $ package-lock-lint package-lock.json --- stdout --- Checking package-lock.json --- end --- $ /usr/bin/npm ci --- stderr --- npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: '@wikimedia/codex@1.21.1', npm WARN EBADENGINE required: { node: '>=20', npm: '>=10.8.1' }, npm WARN EBADENGINE current: { node: 'v18.19.0', npm: '9.2.0' } npm WARN EBADENGINE } npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: '@wikimedia/codex-icons@1.21.1', npm WARN EBADENGINE required: { node: '>=20', npm: '>=10.8.1' }, npm WARN EBADENGINE current: { node: 'v18.19.0', npm: '9.2.0' } npm WARN EBADENGINE } npm WARN deprecated osenv@0.1.5: This package is no longer supported. npm WARN deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful. npm WARN deprecated @humanwhocodes/config-array@0.13.0: Use @eslint/config-array instead npm WARN deprecated rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported npm WARN deprecated abab@2.0.6: Use your platform's native atob() and btoa() methods instead npm WARN deprecated @humanwhocodes/object-schema@2.0.3: Use @eslint/object-schema instead npm WARN deprecated glob@7.1.7: Glob versions prior to v9 are no longer supported npm WARN deprecated formidable@1.2.6: Please upgrade to latest, formidable@v2 or formidable@v3! Check these notes: https://bit.ly/2ZEqIau npm WARN deprecated domexception@4.0.0: Use your platform's native DOMException instead npm WARN deprecated superagent@6.1.0: Please upgrade to v9.0.0+ as we have fixed a public vulnerability with formidable dependency. Note that v9.0.0+ requires Node.js v14.18.0+. See https://github.com/ladjs/superagent/pull/1800 for insight. This project is supported and maintained by the team at Forward Email @ https://forwardemail.net npm WARN deprecated eslint@8.57.1: This version is no longer supported. Please see https://eslint.org/version-support for other options. --- stdout --- added 868 packages, and audited 869 packages in 11s 138 packages are looking for funding run `npm fund` for details 1 moderate severity vulnerability To address all issues, run: npm audit fix Run `npm audit` for details. --- end --- $ /usr/bin/npm test --- stderr --- PASS tests/jest/readinglist.scripts/api.test.js Developer mode ✓ getProjectHost returns en.wikipedia.org (8 ms) ✓ getProjectApiUrl returns en.wikipedia.org ✓ getProjectApiUrl returns fr.wikipedia.org (1 ms) ✓ getProjectApiUrl adds protocol to en.wikipedia.org fromBase64 ✓ Import and Export works (3 ms) ✓ If language codes are passed as projects, these should be converted to project URLs (1 ms) getThumbnailsAndDescriptions ✓ input pages order is preserved in output (3 ms) getReadingListPages ✓ Preserves list item ID across projects and redirects (3 ms) PASS tests/jest/readinglist.scripts/views/ReadingList.test.js ReadingList ✓ renders an empty list (45 ms) ✓ renders a list of pages (146 ms) ✓ renders a delete button for each page (39 ms) Test Suites: 2 passed, 2 total Tests: 11 passed, 11 total Snapshots: 2 passed, 2 total Time: 4.009 s Ran all test suites. --- stdout --- > test > grunt test && npm run test:unit Running "eslint:all" (eslint) task /src/repo/resources/readinglist.scripts/views/IntermediateState.vue 33:1 warning This line has a length of 123. Maximum allowed is 100 max-len 34:1 warning This line has a length of 2764. Maximum allowed is 100 max-len ✖ 2 problems (0 errors, 2 warnings) Running "stylelint:all" (stylelint) task >> Linted 8 files without errors Running "banana:ReadingLists" (banana) task >> 2 message directories checked. Done. > test:unit > jest --verbose ---------------------------------|---------|----------|---------|---------|----------------------------------------------------------------- File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s ---------------------------------|---------|----------|---------|---------|----------------------------------------------------------------- All files | 53.29 | 45.05 | 57.62 | 51.51 | resources | 0 | 0 | 0 | 0 | readinglist.page.scripts.js | 0 | 0 | 0 | 0 | 2-11 special.readinglist.scripts.js | 0 | 100 | 100 | 0 | 1-3 resources/readinglist.scripts | 56.06 | 46.06 | 60.71 | 54.48 | api.js | 66.92 | 55.07 | 63.46 | 66.37 | 126-129,155,179-224,262,272,326-330,333,369-394,414-415,432,445 index.js | 0 | 0 | 0 | 0 | 1-30 special.js | 0 | 0 | 0 | 0 | 1-39 utils.js | 90.9 | 50 | 100 | 90.9 | 23 ---------------------------------|---------|----------|---------|---------|----------------------------------------------------------------- --- end --- $ /usr/bin/npm audit --json --- stdout --- { "auditReportVersion": 2, "vulnerabilities": { "@babel/runtime": { "name": "@babel/runtime", "severity": "moderate", "isDirect": false, "via": [ { "source": 1103025, "name": "@babel/runtime", "dependency": "@babel/runtime", "title": "Babel has inefficient RexExp complexity in generated code with .replace when transpiling named capturing groups", "url": "https://github.com/advisories/GHSA-968p-4wvh-cqc8", "severity": "moderate", "cwe": [ "CWE-1333" ], "cvss": { "score": 6.2, "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H" }, "range": "<7.26.10" } ], "effects": [], "range": "<7.26.10", "nodes": [ "node_modules/@babel/runtime" ], "fixAvailable": true } }, "metadata": { "vulnerabilities": { "info": 0, "low": 0, "moderate": 1, "high": 0, "critical": 0, "total": 1 }, "dependencies": { "prod": 1, "dev": 869, "optional": 5, "peer": 139, "peerOptional": 0, "total": 869 } } } --- 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: '@wikimedia/codex@1.21.1', npm WARN EBADENGINE required: { node: '>=20', npm: '>=10.8.1' }, npm WARN EBADENGINE current: { node: 'v18.19.0', npm: '9.2.0' } npm WARN EBADENGINE } npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: '@wikimedia/codex-icons@1.21.1', npm WARN EBADENGINE required: { node: '>=20', npm: '>=10.8.1' }, npm WARN EBADENGINE current: { node: 'v18.19.0', npm: '9.2.0' } npm WARN EBADENGINE } --- stdout --- { "added": 1, "removed": 0, "changed": 1, "audited": 870, "funding": 138, "audit": { "auditReportVersion": 2, "vulnerabilities": { "@babel/runtime": { "name": "@babel/runtime", "severity": "moderate", "isDirect": false, "via": [ { "source": 1103025, "name": "@babel/runtime", "dependency": "@babel/runtime", "title": "Babel has inefficient RexExp complexity in generated code with .replace when transpiling named capturing groups", "url": "https://github.com/advisories/GHSA-968p-4wvh-cqc8", "severity": "moderate", "cwe": [ "CWE-1333" ], "cvss": { "score": 6.2, "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H" }, "range": "<7.26.10" } ], "effects": [], "range": "<7.26.10", "nodes": [ "" ], "fixAvailable": true } }, "metadata": { "vulnerabilities": { "info": 0, "low": 0, "moderate": 1, "high": 0, "critical": 0, "total": 1 }, "dependencies": { "prod": 1, "dev": 869, "optional": 5, "peer": 139, "peerOptional": 0, "total": 869 } } } } --- end --- {"added": 1, "removed": 0, "changed": 1, "audited": 870, "funding": 138, "audit": {"auditReportVersion": 2, "vulnerabilities": {"@babel/runtime": {"name": "@babel/runtime", "severity": "moderate", "isDirect": false, "via": [{"source": 1103025, "name": "@babel/runtime", "dependency": "@babel/runtime", "title": "Babel has inefficient RexExp complexity in generated code with .replace when transpiling named capturing groups", "url": "https://github.com/advisories/GHSA-968p-4wvh-cqc8", "severity": "moderate", "cwe": ["CWE-1333"], "cvss": {"score": 6.2, "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}, "range": "<7.26.10"}], "effects": [], "range": "<7.26.10", "nodes": [""], "fixAvailable": true}}, "metadata": {"vulnerabilities": {"info": 0, "low": 0, "moderate": 1, "high": 0, "critical": 0, "total": 1}, "dependencies": {"prod": 1, "dev": 869, "optional": 5, "peer": 139, "peerOptional": 0, "total": 869}}}} $ /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: '@wikimedia/codex@1.21.1', npm WARN EBADENGINE required: { node: '>=20', npm: '>=10.8.1' }, npm WARN EBADENGINE current: { node: 'v18.19.0', npm: '9.2.0' } npm WARN EBADENGINE } npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: '@wikimedia/codex-icons@1.21.1', npm WARN EBADENGINE required: { node: '>=20', npm: '>=10.8.1' }, npm WARN EBADENGINE current: { node: 'v18.19.0', npm: '9.2.0' } npm WARN EBADENGINE } --- stdout --- changed 1 package, and audited 869 packages in 3s 138 packages are looking for funding run `npm fund` for details found 0 vulnerabilities --- end --- Verifying that tests still pass $ /usr/bin/npm ci --- stderr --- npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: '@wikimedia/codex@1.21.1', npm WARN EBADENGINE required: { node: '>=20', npm: '>=10.8.1' }, npm WARN EBADENGINE current: { node: 'v18.19.0', npm: '9.2.0' } npm WARN EBADENGINE } npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: '@wikimedia/codex-icons@1.21.1', npm WARN EBADENGINE required: { node: '>=20', npm: '>=10.8.1' }, npm WARN EBADENGINE current: { node: 'v18.19.0', npm: '9.2.0' } npm WARN EBADENGINE } npm WARN deprecated osenv@0.1.5: This package is no longer supported. npm WARN deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful. npm WARN deprecated @humanwhocodes/config-array@0.13.0: Use @eslint/config-array instead npm WARN deprecated rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported npm WARN deprecated abab@2.0.6: Use your platform's native atob() and btoa() methods instead npm WARN deprecated @humanwhocodes/object-schema@2.0.3: Use @eslint/object-schema instead npm WARN deprecated glob@7.1.7: Glob versions prior to v9 are no longer supported npm WARN deprecated formidable@1.2.6: Please upgrade to latest, formidable@v2 or formidable@v3! Check these notes: https://bit.ly/2ZEqIau npm WARN deprecated domexception@4.0.0: Use your platform's native DOMException instead npm WARN deprecated superagent@6.1.0: Please upgrade to v9.0.0+ as we have fixed a public vulnerability with formidable dependency. Note that v9.0.0+ requires Node.js v14.18.0+. See https://github.com/ladjs/superagent/pull/1800 for insight. This project is supported and maintained by the team at Forward Email @ https://forwardemail.net npm WARN deprecated eslint@8.57.1: This version is no longer supported. Please see https://eslint.org/version-support for other options. --- stdout --- added 868 packages, and audited 869 packages in 10s 138 packages are looking for funding run `npm fund` for details found 0 vulnerabilities --- end --- $ /usr/bin/npm test --- stderr --- PASS tests/jest/readinglist.scripts/api.test.js Developer mode ✓ getProjectHost returns en.wikipedia.org (27 ms) ✓ getProjectApiUrl returns en.wikipedia.org (1 ms) ✓ getProjectApiUrl returns fr.wikipedia.org (1 ms) ✓ getProjectApiUrl adds protocol to en.wikipedia.org (2 ms) fromBase64 ✓ Import and Export works (4 ms) ✓ If language codes are passed as projects, these should be converted to project URLs (1 ms) getThumbnailsAndDescriptions ✓ input pages order is preserved in output (3 ms) getReadingListPages ✓ Preserves list item ID across projects and redirects (4 ms) PASS tests/jest/readinglist.scripts/views/ReadingList.test.js ReadingList ✓ renders an empty list (50 ms) ✓ renders a list of pages (77 ms) ✓ renders a delete button for each page (15 ms) Test Suites: 2 passed, 2 total Tests: 11 passed, 11 total Snapshots: 2 passed, 2 total Time: 2.882 s Ran all test suites. --- stdout --- > test > grunt test && npm run test:unit Running "eslint:all" (eslint) task /src/repo/resources/readinglist.scripts/views/IntermediateState.vue 33:1 warning This line has a length of 123. Maximum allowed is 100 max-len 34:1 warning This line has a length of 2764. Maximum allowed is 100 max-len ✖ 2 problems (0 errors, 2 warnings) Running "stylelint:all" (stylelint) task >> Linted 8 files without errors Running "banana:ReadingLists" (banana) task >> 2 message directories checked. Done. > test:unit > jest --verbose ---------------------------------|---------|----------|---------|---------|----------------------------------------------------------------- File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s ---------------------------------|---------|----------|---------|---------|----------------------------------------------------------------- All files | 53.29 | 45.05 | 57.62 | 51.51 | resources | 0 | 0 | 0 | 0 | readinglist.page.scripts.js | 0 | 0 | 0 | 0 | 2-11 special.readinglist.scripts.js | 0 | 100 | 100 | 0 | 1-3 resources/readinglist.scripts | 56.06 | 46.06 | 60.71 | 54.48 | api.js | 66.92 | 55.07 | 63.46 | 66.37 | 126-129,155,179-224,262,272,326-330,333,369-394,414-415,432,445 index.js | 0 | 0 | 0 | 0 | 1-30 special.js | 0 | 0 | 0 | 0 | 1-39 utils.js | 90.9 | 50 | 100 | 90.9 | 23 ---------------------------------|---------|----------|---------|---------|----------------------------------------------------------------- --- end --- {"1103025": {"source": 1103025, "name": "@babel/runtime", "dependency": "@babel/runtime", "title": "Babel has inefficient RexExp complexity in generated code with .replace when transpiling named capturing groups", "url": "https://github.com/advisories/GHSA-968p-4wvh-cqc8", "severity": "moderate", "cwe": ["CWE-1333"], "cvss": {"score": 6.2, "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}, "range": "<7.26.10"}} Upgrading n:@babel/runtime from 7.26.9 -> 7.26.10 $ package-lock-lint package-lock.json --- stdout --- Checking package-lock.json --- end --- build: Updating npm dependencies * @wikimedia/codex: 1.20.3 → 1.21.1 * @babel/runtime: 7.26.9 → 7.26.10 * https://github.com/advisories/GHSA-968p-4wvh-cqc8 $ git add . --- stdout --- --- end --- $ git commit -F /tmp/tmpysthgbm5 --- stdout --- [master e2f9fde] build: Updating npm dependencies 2 files changed, 12 insertions(+), 15 deletions(-) --- end --- $ git format-patch HEAD~1 --stdout --- stdout --- From e2f9fdec15905aa39b7873c0f911dd84380c9ef9 Mon Sep 17 00:00:00 2001 From: libraryupgrader <tools.libraryupgrader@tools.wmflabs.org> Date: Fri, 21 Mar 2025 02:58:20 +0000 Subject: [PATCH] build: Updating npm dependencies MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * @wikimedia/codex: 1.20.3 → 1.21.1 * @babel/runtime: 7.26.9 → 7.26.10 * https://github.com/advisories/GHSA-968p-4wvh-cqc8 Change-Id: I70ba086de08854bd3e976fa3da0541c384f24af0 --- package-lock.json | 25 +++++++++++-------------- package.json | 2 +- 2 files changed, 12 insertions(+), 15 deletions(-) diff --git a/package-lock.json b/package-lock.json index 2dddd19..103acc9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,7 +9,7 @@ "@babel/preset-env": "7.25.4", "@vue/test-utils": "2.4.6", "@vue/vue3-jest": "29.2.6", - "@wikimedia/codex": "1.20.3", + "@wikimedia/codex": "1.21.1", "@wikimedia/types-wikimedia": "0.4.4", "api-testing": "1.6.0", "eslint-config-wikimedia": "0.28.2", @@ -1795,11 +1795,10 @@ } }, "node_modules/@babel/runtime": { - "version": "7.26.9", - "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.26.9.tgz", - "integrity": "sha512-aA63XwOkcl4xxQa3HjPMqOP6LiK0ZDv3mUPYEFXkpHbaFjtGggE1A61FjFzJnB+p7/oy2gA8E+rcBNl/zC1tMg==", + "version": "7.26.10", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.26.10.tgz", + "integrity": "sha512-2WJMeRQPHKSPemqk/awGrAiuFfzBmOIPXKizAsVhWH9YJqLZ0H+HS4c8loHGgW6utJ3E/ejXQUsiGaQy2NZ9Fw==", "dev": true, - "license": "MIT", "dependencies": { "regenerator-runtime": "^0.14.0" }, @@ -3569,14 +3568,13 @@ } }, "node_modules/@wikimedia/codex": { - "version": "1.20.3", - "resolved": "https://registry.npmjs.org/@wikimedia/codex/-/codex-1.20.3.tgz", - "integrity": "sha512-rjnNsaTE0ggWkcZccF8FWn+UKmN0eExIe7bLy0SjKVr0IK9IQR0hezYfb0nEI7RbDlZs31b+nStLVo7GHulPNw==", + "version": "1.21.1", + "resolved": "https://registry.npmjs.org/@wikimedia/codex/-/codex-1.21.1.tgz", + "integrity": "sha512-Xl4bY9oqNPcSqq68IGUv7krieuLHr98AaeDznM1rkx3Zt3eU8x5yI7sPVmSJ2mPHIf4dHDaPc8KHbGE4Rr7VAQ==", "dev": true, - "license": "GPL-2.0+", "dependencies": { "@floating-ui/vue": "1.0.6", - "@wikimedia/codex-icons": "1.20.3" + "@wikimedia/codex-icons": "1.21.1" }, "engines": { "node": ">=20", @@ -3587,11 +3585,10 @@ } }, "node_modules/@wikimedia/codex-icons": { - "version": "1.20.3", - "resolved": "https://registry.npmjs.org/@wikimedia/codex-icons/-/codex-icons-1.20.3.tgz", - "integrity": "sha512-UcMAinvkhzpx2kPagdbSSaIpP3rZbtikJ6hcJXAA1zR/W6sltKC0H0P5Jzz3pyW5a3nGodTWH93170ooJ+qsgQ==", + "version": "1.21.1", + "resolved": "https://registry.npmjs.org/@wikimedia/codex-icons/-/codex-icons-1.21.1.tgz", + "integrity": "sha512-TMMaA+2OWa5ECYBkoDpo/IaiKGW06dGGRcoCvWiMAS2DkrzDQoftTwv7q8BBfcRdik5ZZdBO1pdQ9OLVGhEHVw==", "dev": true, - "license": "MIT", "engines": { "node": ">=20", "npm": ">=10.8.1" diff --git a/package.json b/package.json index 04582d9..3d2aa62 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,7 @@ "stylelint-config-wikimedia": "0.18.0", "@vue/test-utils": "2.4.6", "@vue/vue3-jest": "29.2.6", - "@wikimedia/codex": "1.20.3", + "@wikimedia/codex": "1.21.1", "jest-environment-jsdom": "29.7.0", "typescript": "4.8.4", "vue": "3.5.13" -- 2.39.2 --- end ---