renovate/lib/modules/manager/cdnurl
Michael Kriese da6ba6435f
refactor(manager): strict null checks (#15151)
* refactor: strict null checks for util

* chore: fix type

* Update tsconfig.strict.json

* Update lib/util/package-rules.ts

* Update lib/util/package-rules.ts

* chore: fix test and coverage

* chore: fix package rules

* refactor(manager): strict null checks

* chore: revert config changes
2022-04-17 14:34:26 +02:00
..
__fixtures__ refactor: lib/modules (#14488) 2022-03-04 09:04:02 +01:00
__snapshots__ refactor: rename lookupName -> packageName (#14494) 2022-03-04 09:04:02 +01:00
extract.spec.ts refactor: rename lookupName -> packageName (#14494) 2022-03-04 09:04:02 +01:00
extract.ts refactor(manager): strict null checks (#15151) 2022-04-17 14:34:26 +02:00
index.ts refactor: lib/modules (#14488) 2022-03-04 09:04:02 +01:00
readme.md refactor: lib/modules (#14488) 2022-03-04 09:04:02 +01:00

Important: This manager isn't aware of subresource integrity (SRI) hashes. It will search/replace any matching url it finds, without consideration for things such as script integrity hashes. Use the html manager instead if you need SRI updating.

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

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