Skip to content

[5.4] update script browserlist:update - #46905

Merged
richard67 merged 2 commits into
joomla:5.4-devfrom
tecpromotion:browserlist-update
Feb 17, 2026
Merged

[5.4] update script browserlist:update#46905
richard67 merged 2 commits into
joomla:5.4-devfrom
tecpromotion:browserlist-update

Conversation

@tecpromotion

@tecpromotion tecpromotion commented Feb 17, 2026

Copy link
Copy Markdown
Contributor

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

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

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

Copilot AI left a comment

Copy link
Copy Markdown

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 for updating the browserslist database from the deprecated command to the current recommended approach. The browserslist database is used to ensure that CSS/JS transpilation targets the correct browser versions as defined in the project's browserslist configuration.

Changes:

  • Updated the browserlist:update npm script to use update-browserslist-db@latest instead of the deprecated browserslist@latest --update-db command

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

Comment thread package.json
@tecpromotion tecpromotion changed the title [5.4] update browserlist:update [5.4] update script browserlist:update Feb 17, 2026
@richard67 richard67 added this to the Joomla! 5.4.4 milestone Feb 17, 2026
@richard67

Copy link
Copy Markdown
Member

I have tested this item ✅ successfully on 3d9cc36

Works, and after executing npm run browserlist:update, the node_modules/baseline-browser-mapping and node_modules/caniuse-lite NPM dependencies are updated in package-lock.json, and when running npm ci after that, the warning about an outdated browser mapping has gone.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/46905.

@richard67
richard67 merged commit dccded1 into joomla:5.4-dev Feb 17, 2026
69 of 70 checks passed
@richard67

Copy link
Copy Markdown
Member

Thanks @tecpromotion .

@richard67 richard67 added the bug label Feb 17, 2026
@tecpromotion
tecpromotion deleted the browserlist-update branch February 17, 2026 21:01
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-5.4-dev

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants