Skip to content

Comments

[6.1] update script browserlist:update#46903

Merged
HLeithner merged 1 commit intojoomla:6.1-devfrom
tecpromotion:6.1/maint/browserlist-update
Feb 18, 2026
Merged

[6.1] update script browserlist:update#46903
HLeithner merged 1 commit intojoomla:6.1-devfrom
tecpromotion:6.1/maint/browserlist-update

Conversation

@tecpromotion
Copy link
Contributor

@tecpromotion tecpromotion commented Feb 17, 2026

Summary of Changes

This PR updates the deprecated --update-db command.

Testing Instructions

run npm run browserlist:update

Actual result BEFORE applying this Pull Request

> joomla@6.1.0 browserlist:update
> npx browserslist@latest --update-db

The --update-db command is deprecated.
Please use npx update-browserslist-db@latest instead.
Browserslist DB update will still be made.
Latest version:     1.0.30001770
Installed version:  1.0.30001770
caniuse-lite is up to date
caniuse-lite has been successfully updated

No target browser changes

Expected result AFTER applying this Pull Request

> joomla@6.1.0 browserlist:update
> npx update-browserslist-db@latest

Latest version:     1.0.30001770
Installed version:  1.0.30001770
caniuse-lite is up to date
caniuse-lite has been successfully updated

No target browser changes

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

Copilot AI review requested due to automatic review settings February 17, 2026 18:22
@joomla-cms-bot joomla-cms-bot added NPM Resource Changed This Pull Request can't be tested by Patchtester PR-6.1-dev labels Feb 17, 2026
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

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-db to npx update-browserslist-db@latest

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@richard67
Copy link
Member

@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?

@tecpromotion
Copy link
Contributor Author

@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
Please merge and run the command as RM to update the package-lock.json

@tecpromotion tecpromotion added this to the Joomla! 6.1.0 milestone Feb 17, 2026
@richard67 richard67 added the bug label Feb 17, 2026
@richard67 richard67 changed the title [6.1] update spript browserlist:update [6.1] update script browserlist:update Feb 17, 2026
@HLeithner HLeithner merged commit aa58dfc into joomla:6.1-dev Feb 18, 2026
57 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug NPM Resource Changed This Pull Request can't be tested by Patchtester PR-6.1-dev

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants