Skip to content

Conversation

yogeshbhutkar
Copy link
Contributor

@yogeshbhutkar yogeshbhutkar commented Mar 24, 2025

What?

This PR updates the browserslist and caniuse-lite dependencies to their latest versions.

Why?

The outdated dependencies are causing JS unit tests to fail on the latest PRs.

@yogeshbhutkar yogeshbhutkar marked this pull request as ready for review March 24, 2025 06:30
Copy link

github-actions bot commented Mar 24, 2025

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 props-bot label.

If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.

Co-authored-by: yogeshbhutkar <yogeshbhutkar@git.wordpress.org>
Co-authored-by: t-hamano <wildworks@git.wordpress.org>

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.

@yogeshbhutkar
Copy link
Contributor Author

Unfortunately, the PHP Unit tests are failing in this PR, but, these failures are not related to the changes made and should pass when re-run.

@t-hamano
Copy link
Contributor

Thanks for the PR!

How did you update these files? Did you run npx update-browserslist-db@latest?

I run npx update-browserslist-db@latest locally, but it seems that the changes are different from those in this PR.

@t-hamano t-hamano added the [Type] Build Tooling Issues or PRs related to build tooling label Mar 24, 2025
@yogeshbhutkar
Copy link
Contributor Author

yogeshbhutkar commented Mar 24, 2025

@t-hamano, I manually updated both the dependencies. Running npx update-browserslist-db@latest is just removing the caniuse-lite dependency for me from the package.json.

Edit:
Basically, I did this:

npm install browserslist@latest caniuse-lite@latest --save-dev

Followed by this:

npx update-browserslist-db@latest

To verify the update.

Copy link
Contributor

@t-hamano t-hamano left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the detailed explanation!

All CIs are ✅, and we can merge this PR.

@t-hamano t-hamano merged commit 8eb7055 into WordPress:trunk Mar 24, 2025
65 of 66 checks passed
@github-actions github-actions bot added this to the Gutenberg 20.6 milestone Mar 24, 2025
Sourav61 pushed a commit to Sourav61/gutenberg that referenced this pull request Mar 24, 2025
…ress#69669)

Co-authored-by: yogeshbhutkar <yogeshbhutkar@git.wordpress.org>
Co-authored-by: t-hamano <wildworks@git.wordpress.org>
Mamaduka pushed a commit that referenced this pull request Mar 24, 2025
Co-authored-by: yogeshbhutkar <yogeshbhutkar@git.wordpress.org>
Co-authored-by: t-hamano <wildworks@git.wordpress.org>
Mamaduka added a commit that referenced this pull request Mar 24, 2025
… (#69687)

Co-authored-by: Yogesh Bhutkar <yogesh.bhutkar@rtcamp.com>
Co-authored-by: yogeshbhutkar <yogeshbhutkar@git.wordpress.org>
Co-authored-by: t-hamano <wildworks@git.wordpress.org>
chriszarate pushed a commit to chriszarate/gutenberg that referenced this pull request Jul 1, 2025
…ress#69669)

Co-authored-by: yogeshbhutkar <yogeshbhutkar@git.wordpress.org>
Co-authored-by: t-hamano <wildworks@git.wordpress.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Type] Build Tooling Issues or PRs related to build tooling
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants