fix(manager/regex): depName requirement if using the recursive strategy (#16225)
* fix(manager/regex): depName requirement if using the recursive strategy * chore(manager/regex): implement code suggestions * chore: replace Boolean with Is function * chore: abort if match strings are empty * refactor: do not parse regexes on each recursion and filter after all matches are processed * fixup! test name * Revert "chore: abort if match strings are empty" This reverts commit bf41a92f * refactor: extract inline function * fix: out-of-bound check * feat: allow currentDigest as valid alternative to currentValue * Update lib/modules/manager/regex/utils.ts Co-authored-by:Michael Kriese <michael.kriese@visualon.de> * chore: prettier Co-authored-by:
Michael Kriese <michael.kriese@visualon.de>
Showing
- docs/usage/configuration-options.md 1 addition, 1 deletiondocs/usage/configuration-options.md
- lib/modules/manager/regex/index.spec.ts 30 additions, 0 deletionslib/modules/manager/regex/index.spec.ts
- lib/modules/manager/regex/strategies.ts 46 additions, 29 deletionslib/modules/manager/regex/strategies.ts
- lib/modules/manager/regex/types.ts 11 additions, 0 deletionslib/modules/manager/regex/types.ts
- lib/modules/manager/regex/utils.ts 14 additions, 0 deletionslib/modules/manager/regex/utils.ts
Loading
Please register or sign in to comment