This run took 72 seconds.
From 533b652f824288b8fb492cf155e2b853b23e11bc Mon Sep 17 00:00:00 2001
From: libraryupgrader <tools.libraryupgrader@tools.wmflabs.org>
Date: Thu, 13 Nov 2025 11:33:54 +0000
Subject: [PATCH] build: Updating @wikimedia/codex to 2.3.2
Change-Id: I324066b6df9c79b828522e0516552a888268c315
---
package-lock.json | 24 +++++++++----------
package.json | 2 +-
.../__snapshots__/Entries.test.js.snap | 2 ++
.../__snapshots__/Lists.test.js.snap | 2 ++
4 files changed, 17 insertions(+), 13 deletions(-)
diff --git a/package-lock.json b/package-lock.json
index 3f8f34f..659fa6c 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": "2.2.1",
+ "@wikimedia/codex": "2.3.2",
"@wikimedia/types-wikimedia": "0.4.4",
"api-testing": "1.7.1",
"eslint-config-wikimedia": "0.31.0",
@@ -3728,30 +3728,30 @@
}
},
"node_modules/@wikimedia/codex": {
- "version": "2.2.1",
- "resolved": "https://registry.npmjs.org/@wikimedia/codex/-/codex-2.2.1.tgz",
- "integrity": "sha512-EJggU6gsvUZApNyASm8x/aYnqZqeagj0NhpiQIJg4pNBx16OconVSLPoGIYiQ/KIsUz8K7Osxt6IFw1rESMS4w==",
+ "version": "2.3.2",
+ "resolved": "https://registry.npmjs.org/@wikimedia/codex/-/codex-2.3.2.tgz",
+ "integrity": "sha512-kzDg5RZxvlaJEE0JDK+CQjR+83DpY/QEW01BwLalcDKhP/HCujMz2QpsUAV8qaGNArAO/IkIUzBj1+2eL7yKNg==",
"dev": true,
"dependencies": {
"@floating-ui/vue": "1.0.6",
- "@wikimedia/codex-icons": "2.2.1"
+ "@wikimedia/codex-icons": "2.3.2"
},
"engines": {
- "node": ">=20",
- "npm": ">=10.8.1"
+ "node": ">=20.19.1",
+ "npm": ">=10.8.2"
},
"peerDependencies": {
"vue": "^3.5.13"
}
},
"node_modules/@wikimedia/codex-icons": {
- "version": "2.2.1",
- "resolved": "https://registry.npmjs.org/@wikimedia/codex-icons/-/codex-icons-2.2.1.tgz",
- "integrity": "sha512-PX3QqC0bfXGz2sM9hOoRYIsOKnaDuXdpe09VuT52ngQQg2xlmwrT/icx0lF8fK0Is6/rENx7mwIHbjEDRMuMwA==",
+ "version": "2.3.2",
+ "resolved": "https://registry.npmjs.org/@wikimedia/codex-icons/-/codex-icons-2.3.2.tgz",
+ "integrity": "sha512-2oIGBBrK7B+oHhiKjGdkrZdABCymaSAFCRrBOj+83S5oD/q0u+D3IEs/SQ1JT1RuV5pv/iap3mh7StPfLKI1mw==",
"dev": true,
"engines": {
- "node": ">=20",
- "npm": ">=10.8.1"
+ "node": ">=20.19.1",
+ "npm": ">=10.8.2"
}
},
"node_modules/@wikimedia/types-wikimedia": {
diff --git a/package.json b/package.json
index 3a75ecd..9d8414a 100644
--- a/package.json
+++ b/package.json
@@ -12,7 +12,7 @@
"@babel/preset-env": "7.25.4",
"@vue/test-utils": "2.4.6",
"@vue/vue3-jest": "29.2.6",
- "@wikimedia/codex": "2.2.1",
+ "@wikimedia/codex": "2.3.2",
"@wikimedia/types-wikimedia": "0.4.4",
"api-testing": "1.7.1",
"eslint-config-wikimedia": "0.31.0",
diff --git a/tests/jest/ext.readingLists.special/__snapshots__/Entries.test.js.snap b/tests/jest/ext.readingLists.special/__snapshots__/Entries.test.js.snap
index 7640ac8..93d8548 100644
--- a/tests/jest/ext.readingLists.special/__snapshots__/Entries.test.js.snap
+++ b/tests/jest/ext.readingLists.special/__snapshots__/Entries.test.js.snap
@@ -81,6 +81,7 @@ exports[`Entries renders with toolbar enabled 1`] = `
<div
class="cdx-menu-button__menu-wrapper"
>
+ <!--teleport start-->
<div
class="cdx-menu"
style="display: none; visibility: hidden; position: absolute; top: 0px; left: 0px; transform: translate(0px, 0px);"
@@ -385,6 +386,7 @@ exports[`Entries renders with toolbar enabled 1`] = `
<!--v-if-->
</ul>
</div>
+ <!--teleport end-->
</div>
</div>
</div>
diff --git a/tests/jest/ext.readingLists.special/__snapshots__/Lists.test.js.snap b/tests/jest/ext.readingLists.special/__snapshots__/Lists.test.js.snap
index 3bd1e94..43288d9 100644
--- a/tests/jest/ext.readingLists.special/__snapshots__/Lists.test.js.snap
+++ b/tests/jest/ext.readingLists.special/__snapshots__/Lists.test.js.snap
@@ -77,6 +77,7 @@ exports[`Lists renders with toolbar enabled 1`] = `
<div
class="cdx-menu-button__menu-wrapper"
>
+ <!--teleport start-->
<div
class="cdx-menu"
style="display: none; visibility: hidden; position: absolute; top: 0px; left: 0px; transform: translate(0px, 0px);"
@@ -381,6 +382,7 @@ exports[`Lists renders with toolbar enabled 1`] = `
<!--v-if-->
</ul>
</div>
+ <!--teleport end-->
</div>
</div>
</div>
--
2.47.3
$ date
--- stdout ---
Thu Nov 13 11:32:45 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 ---
6712a01df2f3f637409932da06f251f6d0f6a558 refs/heads/master
--- end ---
$ /usr/bin/npm audit --json
--- stdout ---
{
"auditReportVersion": 2,
"vulnerabilities": {},
"metadata": {
"vulnerabilities": {
"info": 0,
"low": 0,
"moderate": 0,
"high": 0,
"critical": 0,
"total": 0
},
"dependencies": {
"prod": 1,
"dev": 880,
"optional": 5,
"peer": 2,
"peerOptional": 0,
"total": 880
}
}
}
--- 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.4)
- Locking composer/spdx-licenses (1.5.9)
- Locking composer/xdebug-handler (3.0.5)
- Locking dealerdirect/phpcodesniffer-composer-installer (v1.2.0)
- Locking doctrine/deprecations (1.1.5)
- Locking felixfbecker/advanced-json-rpc (v3.2.1)
- Locking mediawiki/mediawiki-codesniffer (v48.0.0)
- Locking mediawiki/mediawiki-phan-config (0.17.0)
- Locking mediawiki/minus-x (1.1.3)
- Locking mediawiki/phan-taint-check-plugin (7.0.0)
- Locking microsoft/tolerant-php-parser (v0.1.2)
- Locking netresearch/jsonmapper (v4.5.0)
- Locking phan/phan (5.5.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.4.0)
- Locking phpcsstandards/phpcsutils (1.1.1)
- Locking phpdocumentor/reflection-common (2.2.0)
- Locking phpdocumentor/reflection-docblock (5.6.3)
- Locking phpdocumentor/type-resolver (1.10.0)
- Locking phpstan/phpdoc-parser (2.3.0)
- Locking psr/container (2.0.2)
- Locking psr/log (3.0.2)
- Locking sabre/event (5.1.7)
- Locking squizlabs/php_codesniffer (3.13.2)
- Locking symfony/console (v7.3.6)
- Locking symfony/deprecation-contracts (v3.6.0)
- Locking symfony/polyfill-ctype (v1.33.0)
- Locking symfony/polyfill-intl-grapheme (v1.33.0)
- Locking symfony/polyfill-intl-normalizer (v1.33.0)
- Locking symfony/polyfill-mbstring (v1.33.0)
- Locking symfony/polyfill-php80 (v1.33.0)
- Locking symfony/service-contracts (v3.6.1)
- Locking symfony/string (v7.3.4)
- Locking tysonandre/var_representation_polyfill (0.1.3)
- Locking webmozart/assert (1.12.1)
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.13.2): Extracting archive
- Installing dealerdirect/phpcodesniffer-composer-installer (v1.2.0): Extracting archive
- Installing composer/pcre (3.3.2): Extracting archive
- Installing phpcsstandards/phpcsutils (1.1.1): Extracting archive
- Installing phpcsstandards/phpcsextra (1.4.0): Extracting archive
- Installing symfony/polyfill-mbstring (v1.33.0): Extracting archive
- Installing composer/spdx-licenses (1.5.9): Extracting archive
- Installing composer/semver (3.4.4): Extracting archive
- Installing mediawiki/mediawiki-codesniffer (v48.0.0): Extracting archive
- Installing tysonandre/var_representation_polyfill (0.1.3): Extracting archive
- Installing symfony/polyfill-php80 (v1.33.0): Extracting archive
- Installing symfony/polyfill-intl-normalizer (v1.33.0): Extracting archive
- Installing symfony/polyfill-intl-grapheme (v1.33.0): Extracting archive
- Installing symfony/polyfill-ctype (v1.33.0): Extracting archive
- Installing symfony/string (v7.3.4): Extracting archive
- Installing symfony/deprecation-contracts (v3.6.0): Extracting archive
- Installing psr/container (2.0.2): Extracting archive
- Installing symfony/service-contracts (v3.6.1): Extracting archive
- Installing symfony/console (v7.3.6): 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.12.1): Extracting archive
- Installing phpstan/phpdoc-parser (2.3.0): Extracting archive
- Installing phpdocumentor/reflection-common (2.2.0): Extracting archive
- Installing doctrine/deprecations (1.1.5): Extracting archive
- Installing phpdocumentor/type-resolver (1.10.0): Extracting archive
- Installing phpdocumentor/reflection-docblock (5.6.3): 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.5.1): Extracting archive
- Installing mediawiki/phan-taint-check-plugin (7.0.0): Extracting archive
- Installing mediawiki/mediawiki-phan-config (0.17.0): 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%
29/36 [======================>-----] 80%
36/36 [============================] 100%
1 package suggestions were added by new dependencies, use `composer suggest` to see details.
Generating autoload files
17 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 2.2.1 -> 2.3.2
$ /usr/bin/npm install
--- stderr ---
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE package: '@wikimedia/codex@2.3.2',
npm WARN EBADENGINE required: { npm: '>=10.8.2', node: '>=20.19.1' },
npm WARN EBADENGINE current: { node: 'v20.19.2', npm: '9.2.0' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE package: '@wikimedia/codex-icons@2.3.2',
npm WARN EBADENGINE required: { npm: '>=10.8.2', node: '>=20.19.1' },
npm WARN EBADENGINE current: { node: 'v20.19.2', 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 domexception@4.0.0: Use your platform's native DOMException instead
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 879 packages, and audited 880 packages in 11s
147 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 ---
$ /usr/bin/npm ci
--- stderr ---
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE package: '@wikimedia/codex@2.3.2',
npm WARN EBADENGINE required: { node: '>=20.19.1', npm: '>=10.8.2' },
npm WARN EBADENGINE current: { node: 'v20.19.2', npm: '9.2.0' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE package: '@wikimedia/codex-icons@2.3.2',
npm WARN EBADENGINE required: { node: '>=20.19.1', npm: '>=10.8.2' },
npm WARN EBADENGINE current: { node: 'v20.19.2', 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 domexception@4.0.0: Use your platform's native DOMException instead
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 879 packages, and audited 880 packages in 13s
147 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
--- end ---
$ /usr/bin/npm test
--- stderr ---
PASS tests/jest/ext.readingLists.api/index.test.js
setup
✓ returns inserted list (8 ms)
getLists
✓ returns array of multiple lists (2 ms)
✓ paginates with continue token (1 ms)
✓ sets up default list if missing (1 ms)
✓ throws on unhandled error (1 ms)
getList
✓ returns metadata of one list
✓ translates default list name/description (1 ms)
✓ sets up default list if missing (1 ms)
✓ throws on unhandled error (1 ms)
getEntries
✓ returns array of list entries (2 ms)
✓ paginates with continue token (1 ms)
✓ sets up default list if missing (1 ms)
✓ throws on unhandled error
getPagesFromManifest
✓ returns array of page metadata (1 ms)
✓ transforms language code to url
✓ resolves page ids to titles (2 ms)
✓ returns fallback on error
createEntry
✓ returns inserted entry
deleteEntry
✓ returns success message (1 ms)
fromBase64
✓ returns entries with resolved pages (2 ms)
✓ returns error message (1 ms)
FAIL tests/jest/ext.readingLists.special/Lists.test.js
Lists
✓ renders with toolbar disabled (1062 ms)
✕ renders with toolbar enabled (188 ms)
● Lists › renders with toolbar enabled
expect(received).toMatchSnapshot()
Snapshot name: `Lists renders with toolbar enabled 1`
- Snapshot - 0
+ Received + 2
@@ -44,10 +44,11 @@
</button>
<div
class="cdx-menu-button__menu-wrapper"
>
+ <!--teleport start-->
<div
class="cdx-menu"
style="display: none; visibility: hidden; position: absolute; top: 0px; left: 0px; transform: translate(0px, 0px);"
>
<ul
@@ -348,10 +349,11 @@
<!--v-if-->
</ul>
</div>
+ <!--teleport end-->
</div>
</div>
</div>
<div
class="reading-lists-grid"
44 | await wrapper.vm.$nextTick();
45 |
> 46 | expect( wrapper.element ).toMatchSnapshot();
| ^
47 | } );
48 | } );
49 |
at Object.<anonymous> (tests/jest/ext.readingLists.special/Lists.test.js:46:29)
› 1 snapshot failed.
FAIL tests/jest/ext.readingLists.special/Entries.test.js
Entries
✓ renders with toolbar disabled (1304 ms)
✕ renders with toolbar enabled (120 ms)
● Entries › renders with toolbar enabled
expect(received).toMatchSnapshot()
Snapshot name: `Entries renders with toolbar enabled 1`
- Snapshot - 0
+ Received + 2
@@ -47,10 +47,11 @@
</button>
<div
class="cdx-menu-button__menu-wrapper"
>
+ <!--teleport start-->
<div
class="cdx-menu"
style="display: none; visibility: hidden; position: absolute; top: 0px; left: 0px; transform: translate(0px, 0px);"
>
<ul
@@ -351,10 +352,11 @@
<!--v-if-->
</ul>
</div>
+ <!--teleport end-->
</div>
</div>
</div>
<!--v-if-->
<div
53 | await wrapper.vm.$nextTick();
54 |
> 55 | expect( wrapper.element ).toMatchSnapshot();
| ^
56 | } );
57 | } );
58 |
at Object.<anonymous> (tests/jest/ext.readingLists.special/Entries.test.js:55:29)
› 1 snapshot failed.
Snapshot Summary
› 2 snapshots failed from 2 test suites. Inspect your code changes or run `npm run test:unit -- -u` to update them.
Test Suites: 2 failed, 1 passed, 3 total
Tests: 2 failed, 23 passed, 25 total
Snapshots: 2 failed, 2 passed, 4 total
Time: 5.751 s
Ran all test suites.
--- stdout ---
> test
> grunt test && npm run test:unit
Running "eslint:all" (eslint) task
Running "stylelint:all" (stylelint) task
>> Linted 10 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 | 54.56 | 45.91 | 50.45 | 54.58 |
ext.readingLists.api | 98.95 | 89.18 | 100 | 98.87 |
index.js | 98.95 | 89.18 | 100 | 98.87 | 243
ext.readingLists.bookmark | 0 | 0 | 0 | 0 |
bookmark.js | 0 | 0 | 0 | 0 | 1-253
ext.readingLists.onboarding | 0 | 0 | 0 | 0 |
index.js | 0 | 100 | 100 | 0 | 1-4
mountApp.js | 0 | 0 | 0 | 0 | 1-183
ext.readingLists.onboarding/components | 0 | 0 | 0 | 0 |
OnboardingPopover.vue | 0 | 0 | 0 | 0 | 5-130
ext.readingLists.special/components | 68.75 | 36.84 | 57.69 | 70.21 |
DisplayButton.vue | 51.51 | 25 | 62.5 | 54.83 | 73-89,110
EmptyList.vue | 100 | 100 | 100 | 100 |
EntryItem.vue | 91.66 | 100 | 75 | 91.66 | 13
ImportDialog.vue | 45.83 | 0 | 0 | 45.83 | 19-41,56-77
ListItem.vue | 100 | 66.66 | 100 | 100 | 34,36-58,70
ext.readingLists.special/pages | 78.75 | 57.89 | 67.85 | 79.24 |
Entries.vue | 77.45 | 61.25 | 70.58 | 78.21 | 63-71,79,87,121-129,135-138,148-149,168-169,221
Lists.vue | 81.03 | 50 | 63.63 | 81.03 | 42-47,73,79,89-90,99-100,131
----------------------------------------|---------|----------|---------|---------|-------------------------------------------------
--- end ---
$ node_modules/.bin/jest -u
--- stderr ---
PASS tests/jest/ext.readingLists.api/index.test.js
PASS tests/jest/ext.readingLists.special/Entries.test.js
› 1 snapshot updated.
PASS tests/jest/ext.readingLists.special/Lists.test.js
› 1 snapshot updated.
Snapshot Summary
› 2 snapshots updated from 2 test suites.
Test Suites: 3 passed, 3 total
Tests: 25 passed, 25 total
Snapshots: 2 updated, 2 passed, 4 total
Time: 3.427 s
Ran all test suites.
--- stdout ---
----------------------------------------|---------|----------|---------|---------|-------------------------------------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
----------------------------------------|---------|----------|---------|---------|-------------------------------------------------
All files | 54.56 | 45.91 | 50.45 | 54.58 |
ext.readingLists.api | 98.95 | 89.18 | 100 | 98.87 |
index.js | 98.95 | 89.18 | 100 | 98.87 | 243
ext.readingLists.bookmark | 0 | 0 | 0 | 0 |
bookmark.js | 0 | 0 | 0 | 0 | 1-253
ext.readingLists.onboarding | 0 | 0 | 0 | 0 |
index.js | 0 | 100 | 100 | 0 | 1-4
mountApp.js | 0 | 0 | 0 | 0 | 1-183
ext.readingLists.onboarding/components | 0 | 0 | 0 | 0 |
OnboardingPopover.vue | 0 | 0 | 0 | 0 | 5-130
ext.readingLists.special/components | 68.75 | 36.84 | 57.69 | 70.21 |
DisplayButton.vue | 51.51 | 25 | 62.5 | 54.83 | 73-89,110
EmptyList.vue | 100 | 100 | 100 | 100 |
EntryItem.vue | 91.66 | 100 | 75 | 91.66 | 13
ImportDialog.vue | 45.83 | 0 | 0 | 45.83 | 19-41,56-77
ListItem.vue | 100 | 66.66 | 100 | 100 | 34,36-58,70
ext.readingLists.special/pages | 78.75 | 57.89 | 67.85 | 79.24 |
Entries.vue | 77.45 | 61.25 | 70.58 | 78.21 | 63-71,79,87,121-129,135-138,148-149,168-169,221
Lists.vue | 81.03 | 50 | 63.63 | 81.03 | 42-47,73,79,89-90,99-100,131
----------------------------------------|---------|----------|---------|---------|-------------------------------------------------
--- end ---
$ /usr/bin/npm test
--- stderr ---
PASS tests/jest/ext.readingLists.special/Lists.test.js
Lists
✓ renders with toolbar disabled (166 ms)
✓ renders with toolbar enabled (182 ms)
PASS tests/jest/ext.readingLists.special/Entries.test.js
Entries
✓ renders with toolbar disabled (108 ms)
✓ renders with toolbar enabled (97 ms)
PASS tests/jest/ext.readingLists.api/index.test.js
setup
✓ returns inserted list (8 ms)
getLists
✓ returns array of multiple lists (2 ms)
✓ paginates with continue token (1 ms)
✓ sets up default list if missing (1 ms)
✓ throws on unhandled error (1 ms)
getList
✓ returns metadata of one list (1 ms)
✓ translates default list name/description (1 ms)
✓ sets up default list if missing
✓ throws on unhandled error
getEntries
✓ returns array of list entries (1 ms)
✓ paginates with continue token (1 ms)
✓ sets up default list if missing (1 ms)
✓ throws on unhandled error (1 ms)
getPagesFromManifest
✓ returns array of page metadata (2 ms)
✓ transforms language code to url (1 ms)
✓ resolves page ids to titles (1 ms)
✓ returns fallback on error (1 ms)
createEntry
✓ returns inserted entry (1 ms)
deleteEntry
✓ returns success message
fromBase64
✓ returns entries with resolved pages (2 ms)
✓ returns error message
Test Suites: 3 passed, 3 total
Tests: 25 passed, 25 total
Snapshots: 4 passed, 4 total
Time: 3.317 s
Ran all test suites.
--- stdout ---
> test
> grunt test && npm run test:unit
Running "eslint:all" (eslint) task
Running "stylelint:all" (stylelint) task
>> Linted 10 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 | 54.56 | 45.91 | 50.45 | 54.58 |
ext.readingLists.api | 98.95 | 89.18 | 100 | 98.87 |
index.js | 98.95 | 89.18 | 100 | 98.87 | 243
ext.readingLists.bookmark | 0 | 0 | 0 | 0 |
bookmark.js | 0 | 0 | 0 | 0 | 1-253
ext.readingLists.onboarding | 0 | 0 | 0 | 0 |
index.js | 0 | 100 | 100 | 0 | 1-4
mountApp.js | 0 | 0 | 0 | 0 | 1-183
ext.readingLists.onboarding/components | 0 | 0 | 0 | 0 |
OnboardingPopover.vue | 0 | 0 | 0 | 0 | 5-130
ext.readingLists.special/components | 68.75 | 36.84 | 57.69 | 70.21 |
DisplayButton.vue | 51.51 | 25 | 62.5 | 54.83 | 73-89,110
EmptyList.vue | 100 | 100 | 100 | 100 |
EntryItem.vue | 91.66 | 100 | 75 | 91.66 | 13
ImportDialog.vue | 45.83 | 0 | 0 | 45.83 | 19-41,56-77
ListItem.vue | 100 | 66.66 | 100 | 100 | 34,36-58,70
ext.readingLists.special/pages | 78.75 | 57.89 | 67.85 | 79.24 |
Entries.vue | 77.45 | 61.25 | 70.58 | 78.21 | 63-71,79,87,121-129,135-138,148-149,168-169,221
Lists.vue | 81.03 | 50 | 63.63 | 81.03 | 42-47,73,79,89-90,99-100,131
----------------------------------------|---------|----------|---------|---------|-------------------------------------------------
--- end ---
$ /usr/bin/npm audit --json
--- stdout ---
{
"auditReportVersion": 2,
"vulnerabilities": {},
"metadata": {
"vulnerabilities": {
"info": 0,
"low": 0,
"moderate": 0,
"high": 0,
"critical": 0,
"total": 0
},
"dependencies": {
"prod": 1,
"dev": 880,
"optional": 5,
"peer": 2,
"peerOptional": 0,
"total": 880
}
}
}
--- end ---
$ package-lock-lint package-lock.json
--- stdout ---
Checking package-lock.json
--- end ---
build: Updating @wikimedia/codex to 2.3.2
$ git add .
--- stdout ---
--- end ---
$ git commit -F /tmp/tmpmrgk0pzh
--- stdout ---
[master 533b652] build: Updating @wikimedia/codex to 2.3.2
4 files changed, 17 insertions(+), 13 deletions(-)
--- end ---
$ git format-patch HEAD~1 --stdout
--- stdout ---
From 533b652f824288b8fb492cf155e2b853b23e11bc Mon Sep 17 00:00:00 2001
From: libraryupgrader <tools.libraryupgrader@tools.wmflabs.org>
Date: Thu, 13 Nov 2025 11:33:54 +0000
Subject: [PATCH] build: Updating @wikimedia/codex to 2.3.2
Change-Id: I324066b6df9c79b828522e0516552a888268c315
---
package-lock.json | 24 +++++++++----------
package.json | 2 +-
.../__snapshots__/Entries.test.js.snap | 2 ++
.../__snapshots__/Lists.test.js.snap | 2 ++
4 files changed, 17 insertions(+), 13 deletions(-)
diff --git a/package-lock.json b/package-lock.json
index 3f8f34f..659fa6c 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": "2.2.1",
+ "@wikimedia/codex": "2.3.2",
"@wikimedia/types-wikimedia": "0.4.4",
"api-testing": "1.7.1",
"eslint-config-wikimedia": "0.31.0",
@@ -3728,30 +3728,30 @@
}
},
"node_modules/@wikimedia/codex": {
- "version": "2.2.1",
- "resolved": "https://registry.npmjs.org/@wikimedia/codex/-/codex-2.2.1.tgz",
- "integrity": "sha512-EJggU6gsvUZApNyASm8x/aYnqZqeagj0NhpiQIJg4pNBx16OconVSLPoGIYiQ/KIsUz8K7Osxt6IFw1rESMS4w==",
+ "version": "2.3.2",
+ "resolved": "https://registry.npmjs.org/@wikimedia/codex/-/codex-2.3.2.tgz",
+ "integrity": "sha512-kzDg5RZxvlaJEE0JDK+CQjR+83DpY/QEW01BwLalcDKhP/HCujMz2QpsUAV8qaGNArAO/IkIUzBj1+2eL7yKNg==",
"dev": true,
"dependencies": {
"@floating-ui/vue": "1.0.6",
- "@wikimedia/codex-icons": "2.2.1"
+ "@wikimedia/codex-icons": "2.3.2"
},
"engines": {
- "node": ">=20",
- "npm": ">=10.8.1"
+ "node": ">=20.19.1",
+ "npm": ">=10.8.2"
},
"peerDependencies": {
"vue": "^3.5.13"
}
},
"node_modules/@wikimedia/codex-icons": {
- "version": "2.2.1",
- "resolved": "https://registry.npmjs.org/@wikimedia/codex-icons/-/codex-icons-2.2.1.tgz",
- "integrity": "sha512-PX3QqC0bfXGz2sM9hOoRYIsOKnaDuXdpe09VuT52ngQQg2xlmwrT/icx0lF8fK0Is6/rENx7mwIHbjEDRMuMwA==",
+ "version": "2.3.2",
+ "resolved": "https://registry.npmjs.org/@wikimedia/codex-icons/-/codex-icons-2.3.2.tgz",
+ "integrity": "sha512-2oIGBBrK7B+oHhiKjGdkrZdABCymaSAFCRrBOj+83S5oD/q0u+D3IEs/SQ1JT1RuV5pv/iap3mh7StPfLKI1mw==",
"dev": true,
"engines": {
- "node": ">=20",
- "npm": ">=10.8.1"
+ "node": ">=20.19.1",
+ "npm": ">=10.8.2"
}
},
"node_modules/@wikimedia/types-wikimedia": {
diff --git a/package.json b/package.json
index 3a75ecd..9d8414a 100644
--- a/package.json
+++ b/package.json
@@ -12,7 +12,7 @@
"@babel/preset-env": "7.25.4",
"@vue/test-utils": "2.4.6",
"@vue/vue3-jest": "29.2.6",
- "@wikimedia/codex": "2.2.1",
+ "@wikimedia/codex": "2.3.2",
"@wikimedia/types-wikimedia": "0.4.4",
"api-testing": "1.7.1",
"eslint-config-wikimedia": "0.31.0",
diff --git a/tests/jest/ext.readingLists.special/__snapshots__/Entries.test.js.snap b/tests/jest/ext.readingLists.special/__snapshots__/Entries.test.js.snap
index 7640ac8..93d8548 100644
--- a/tests/jest/ext.readingLists.special/__snapshots__/Entries.test.js.snap
+++ b/tests/jest/ext.readingLists.special/__snapshots__/Entries.test.js.snap
@@ -81,6 +81,7 @@ exports[`Entries renders with toolbar enabled 1`] = `
<div
class="cdx-menu-button__menu-wrapper"
>
+ <!--teleport start-->
<div
class="cdx-menu"
style="display: none; visibility: hidden; position: absolute; top: 0px; left: 0px; transform: translate(0px, 0px);"
@@ -385,6 +386,7 @@ exports[`Entries renders with toolbar enabled 1`] = `
<!--v-if-->
</ul>
</div>
+ <!--teleport end-->
</div>
</div>
</div>
diff --git a/tests/jest/ext.readingLists.special/__snapshots__/Lists.test.js.snap b/tests/jest/ext.readingLists.special/__snapshots__/Lists.test.js.snap
index 3bd1e94..43288d9 100644
--- a/tests/jest/ext.readingLists.special/__snapshots__/Lists.test.js.snap
+++ b/tests/jest/ext.readingLists.special/__snapshots__/Lists.test.js.snap
@@ -77,6 +77,7 @@ exports[`Lists renders with toolbar enabled 1`] = `
<div
class="cdx-menu-button__menu-wrapper"
>
+ <!--teleport start-->
<div
class="cdx-menu"
style="display: none; visibility: hidden; position: absolute; top: 0px; left: 0px; transform: translate(0px, 0px);"
@@ -381,6 +382,7 @@ exports[`Lists renders with toolbar enabled 1`] = `
<!--v-if-->
</ul>
</div>
+ <!--teleport end-->
</div>
</div>
</div>
--
2.47.3
--- end ---