mirror of
https://github.com/renovatebot/renovate.git
synced 2026-11-05 11:56:31 +00:00
3032c960b3
* fix(npm): remove old dependency when replacement exists * Add coverage ignore comments * Simplify implementation * Rename to removeAsString * Move it after replaceAsString * Improve test case * Improve error message of replaceAsString * Fix coverage * Fix coverage again * Only remove dependency at depType like replaceAsString * Refactor tests * Fix tsc * fix(npm): skip update when replacement dependency already exists * Simplify else * Avoid returning an error * fix(flatten): skip replacement updates when a sibling dependency already exists * Revert the other changes * Also handle it in the Dependency Dashboard * Filter out earlier * Try some other way * Try fix dep dashboard * Try fix again * Extract helper * Improve some stuff * Improve assertion * Remove misleading comment * Address review comments