Skip to content

Automated Dependency Updates for Cdnurl

Categories: cd

Renovate supports updating Cdnurl dependencies.

File Matching

Because file names for cdnurl cannot be easily determined automatically, Renovate will not attempt to match any cdnurl files by default. For details on how to extend a manager's fileMatch value, please follow this link.

Supported datasources

This manager supports extracting the following datasources: cdnjs.

Default config

{
  "fileMatch": [],
  "versioning": "semver"
}

Additional Information

To enable this manager, add the matching files to cdnurl.fileMatch. For example:

{
  "cdnurl": {
    "fileMatch": ["\\.html?$"]
  }
}

Warning

This manager does not read or update Subresource Integrity (SRI) hashes. It replaces any matching URL it finds, without adding or updating script integrity hashes. We recommend you use the html manager if you need SRI updating.