cli
cli copied to clipboard
Packages plugin issues
- [x] Should the version not be the normalized
<major>.<minor>.<patch>
but e.g.exotic
, the plugin throws. The occurrence should be filtered out instead. Use semver package to deal with these. - [x] The Yarn v1 outdated data has a dynamic structure. The plugin currently considers it static.
- [x] The adapters for package manager support are now implemented in a declarative way. Instead, providing an object per package manager with its data in one place is more maintainable.
- [x] When
effects
is empty andisDirect
isfalse
for NPM, empty direct dependency is passed. - [ ] Outdated score is now a ratio between total outdated and total major dependencies. It should be a ratio between total dependencies (both up-to-date and outdated) and major outdated. E.g. via
npm ls --all --parseable
fornpm
.