[6.1] update script browserlist:update#46903
Conversation
There was a problem hiding this comment.
Pull request overview
This PR updates the npm script command for updating the browserslist database to use the recommended update-browserslist-db package directly instead of the deprecated --update-db flag from the browserslist package. The change addresses a deprecation warning and aligns with current best practices.
Changes:
- Updated the npm script command from
npx browserslist@latest --update-dbtonpx update-browserslist-db@latest
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
@tecpromotion Should this be fixed in 5.4-dev and 6.0-dev, too? We have that in all branches, so maybe we should fix it in 5.4-dev and merge it up? |
see #46905 |
Summary of Changes
This PR updates the deprecated --update-db command.
Testing Instructions
run
npm run browserlist:updateActual result BEFORE applying this Pull Request
Expected result AFTER applying this Pull Request
Link to documentations
Please select:
Documentation link for guide.joomla.org:
No documentation changes for guide.joomla.org needed
Pull Request link for manual.joomla.org:
No documentation changes for manual.joomla.org needed