Hi there π
This is more of a feature request than a bug report, as the README already states that this functionality does not currently exist.
Basically, when we pull in a dependency transitively, e.g. pulling in TypeScript through roboter, it'd be nice to be able to check not only the version of the dependency itself, but also the version of the transitive dependency.
This would be especially helpful for the mentioned use-case, as TypeScript sometimes breaks the API in minor versions and we'd like to tag certain lines of code to be reconsidered once a new TypeScript version has landed in roboter.
I've prepared a small example of the "issue" here: https://github.com/strangedev/unicorn-expiring-todo-comments
Basically, we pull in roboter at some version and want to check that the included TypeScript version is above some specific version.
// TODO [typescript@>=4.1.5]: This transitive dependency is outdated.
// TODO [roboter@>=10.0.0]: This dependency is outdated.
console.log('Ohai! :3');
It'd be nice if the rule would fail for both lines and not just the one where the dependency is explicitly listed in package.json
.
Anyway, thanks for the great work!
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too