Automated Dependency Updates for HTML
Categories: cd
Renovate supports updating HTML dependencies.
File Matching¶
By default, Renovate will check any files matching the following regular expression: /\.html?$/.
For details on how to extend a manager's managerFilePatterns value, please follow this link.
Supported datasources¶
This manager supports extracting the following datasources: cdnjs.
Default config¶
{
"managerFilePatterns": [
"/\\.html?$/"
],
"versioning": "semver",
"digest": {
"enabled": false
},
"pinDigests": false
}
Additional Information¶
The html manager updates <script> tags and CSS <link> tags that point to the cdnjs content delivery network.
It also updates Subresource Integrity (SRI) hashes in integrity attributes.
Key differences between the cdnurl manager and the html manager:
- The
htmlmanager updates SRI hashes, thecndurlmanager does not - The
htmlmanager automatically finds some files to update, thecndurlmanager must be given amanagerFilePatterns
Open items¶
The below list of features were current when this page was generated on December 30, 2025.
Feature requests¶
- Detect JsDelivr links in html manager #26937