Update uuid dependency#77848
Conversation
Upstream has deprecated all versions of `uuid` before 11, and notes that 11 will likely be deprecated in 2028. Packages are updated to the latest version, 14.0.0. The monorepo root is updated to 11.1.1, which is the latest version that still supports CommonJS.
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message. To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
|
@manzoorwanijk Care to review? Or suggest who should? Thanks! 🙂 |
manzoorwanijk
left a comment
There was a problem hiding this comment.
This should be fine. Let us wait for CI to be happy.
|
Looks like these E2E tests are broken in trunk too. |
Why do we need to do this, because of Jest? |
|
Because various files in the root use
On the other hand, if you're using node 20.19.0+, it may be possible to use uuid v14 despite it being esm-only thanks to the unflagging of the require(esm) feature in that version. Jest or other stuff may still have issues with it though. I'll leave experimenting with that for someone else. |
|
Linting is broken. Fix in #77888 |
What?
Packages are updated to the latest version, 14.0.0. The monorepo root is updated to 11.1.1, which is the latest version that still supports CommonJS.
Why?
Upstream has deprecated all versions of
uuidbefore 11, and notes that 11 will likely be deprecated in 2028.How?
... By updating the version numbers in package.json files.
Testing Instructions
There should be no functional changes due to this PR.
Testing Instructions for Keyboard
N/A
Screenshots or screencast
N/A
Use of AI Tools
None