Page MenuHomePhabricator

build: Update several dependencies to latest
Closed, ResolvedPublic

Description

Background

There's a number of outdated dependencies now, that are keeping new functionality and clarity from our testing and building environments. Specifically:

@babel/preset-env 7.25.4 → 7.28.5
@wikimedia/types-wikimedia 0.4.4 → 0.5.0
jest 29.7.0 → 30.2.0
jest-environment-jsdom 29.7.0 → 30.2.0
typescript 4.8.4 → 5.9.3
vue 3.5.13 → 3.5.24

Only with 'vue' we should wait for update in MediaWiki core, all others are repository specific and should be updated to latest.

Update 2025-12-02:
vue-jest support for anything higher than v29.7.0 is not given. Project seems end-of-life. For more information, refer to T305515

Acceptance criteria for done

Update

  • @babel/preset-env
  • @wikimedia/types-wikimedia
  • jest
  • jest-environment-jsdom
  • typescript

and ensure

  • script functionality sustains

Event Timeline

Change #1207354 had a related patch set uploaded (by VolkerE; author: VolkerE):

[mediawiki/extensions/ReadingLists@master] build: Update Jest dependencies to v30.2.0

https://gerrit.wikimedia.org/r/1207354

Ha! Interestingly latest @vue/vue3-jest@29.2.6 is already 2 years old and hasn't been updated any since, while jest and such has. Another problem in the making.

Change #1207390 had a related patch set uploaded (by VolkerE; author: VolkerE):

[mediawiki/extensions/ReadingLists@master] build: Update typescript and types specific dependencies

https://gerrit.wikimedia.org/r/1207390

HFan-WMF triaged this task as Medium priority.Nov 20 2025, 7:33 PM
HFan-WMF moved this task from Incoming to Needs refinement on the Reader Experience Team board.

Change #1207390 merged by jenkins-bot:

[mediawiki/extensions/ReadingLists@master] build: Update typescript and types specific dependencies

https://gerrit.wikimedia.org/r/1207390

Change #1207354 abandoned by VolkerE:

[mediawiki/extensions/ReadingLists@master] build: Update Jest dependencies to v30.2.0

Reason:

No vue-jest support for this anymore :(

https://gerrit.wikimedia.org/r/1207354

Volker_E renamed this task from build; Update several dependencies to latest to build: Update several dependencies to latest.Dec 2 2025, 11:11 PM
Volker_E closed this task as Resolved.
Volker_E claimed this task.
Volker_E removed a project: Patch-For-Review.