Skip to content

Conversation

@Mimori256
Copy link
Contributor

This PR updates the browserslist database (caniuse-lite) to the latest version to resolve the "caniuse-lite is outdated" warning during build

The build process was showing the following warning as the current caniuse-lite version is 1.0.30001571, while the latest version is 1.0.30001762 (191 versions behind):

Browserslist: caniuse-lite is outdated. Please run:
  npx update-browserslist-db@latest
  Why you should do it regularly: https://github.com/browserslist/update-db#readme

This update ensures latest browser support information for Babel transpilation

Copy link
Member

@tunetheweb tunetheweb left a comment

Choose a reason for hiding this comment

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

Going to be chasing our tails a little on this one, but yes we should update periodically and it has been a while. It doesn't seem to make a difference to build though.

@Mimori256
Copy link
Contributor Author

Thanks for the review!

The build warning was bugging me a bit, so I figured it was worth updating. You're right that we'll probably need to do this periodically. FYI there are actions like https://github.com/c2corg/browserslist-update-action that can help automate this, if that's ever useful (Of course, it's also possible to create a custom action if that fits better)

@tunetheweb tunetheweb merged commit 2558557 into GoogleChrome:main Jan 7, 2026
8 of 10 checks passed
@Mimori256 Mimori256 deleted the update-caniuse branch January 7, 2026 11:21
@tunetheweb
Copy link
Member

The build warning was bugging me a bit, so I figured it was worth updating

I appreciate people who get rid of noise :-)

FYI there are actions like https://github.com/c2corg/browserslist-update-action that can help automate this, if that's ever useful (Of course, it's also possible to create a custom action if that fits better)

Given we work on Baseline widely available support we only need to update every 30 months. So doing it automatically with each caniuse=list change is probably overkill and just noisy. So let's keep it manual for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants