deps.rs/assets/styles
Eduardo Pinho 309f13ec84
Extend dependency status box to report more issues (#121)
* Extend dependency status box to report more issues

- replace render_dev_dependency_box
  with an extended render_dependency_box
   - reports insecure dev dependencies,
     outdated main dependencies,
     and outdated dev dependencies
   - handle pluralization in dependency count message
- change methods in AnalyzeDependenciesOutcome
   - add count_outdated
   - remove any_dev_issues
- remove AnalyzedDependencies::any_dev_issues

* Format status.rs

* Simplify AnalyzeDependenciesOutcome method impls

- match ergonomics lint

* Use bullet point list

* Tweak dependency box again

- only use list items if there is more than one dependency kind

* Fix outdated dependency count

- `count_outdated` already counts only main dependencies

* Tweak dependency box to no longer assume non-zero issues

- check for when all dependency component counts are zero,
  render nothing
- always call `render_dependency_box` if it finds no security issues

Co-authored-by: Cecile Tonglet <cecile.tonglet@cecton.com>
2021-10-18 15:55:53 +01:00
..
bulma Extend dependency status box to report more issues (#121) 2021-10-18 15:55:53 +01:00
fa.sass Use font-awesome-as-a-crate instead of importing the entire Font Awesome library (#101) 2021-02-10 16:45:14 +01:00
main.sass Upgrade bulma to 0.9.2 and reduce imported styles (#102) 2021-02-15 08:50:28 +01:00