pyupio / safety

Safety checks Python dependencies for known security vulnerabilities and suggests the proper remediations for vulnerabilities detected.
https://safetycli.com/product/safety-cli
MIT License
1.7k stars 143 forks source link

Changing the JSON output following the customers/users feedback #375

Closed yeisonvargasf closed 2 years ago

yeisonvargasf commented 2 years ago

This PR adds a new key/value structure and grammar for the JSON output; the cache feature was also affected.

codecov[bot] commented 2 years ago

Codecov Report

Merging #375 (fb507c3) into develop (1b1c5e0) will increase coverage by 3.47%. The diff coverage is 87.60%.

@@             Coverage Diff             @@
##           develop     #375      +/-   ##
===========================================
+ Coverage    80.50%   83.98%   +3.47%     
===========================================
  Files           14       14              
  Lines         1375     1417      +42     
===========================================
+ Hits          1107     1190      +83     
+ Misses         268      227      -41     
Impacted Files Coverage Δ
safety/formatters/text.py 69.09% <0.00%> (ø)
safety/formatters/screen.py 72.54% <33.33%> (ø)
safety/formatters/json.py 92.10% <83.33%> (-4.87%) :arrow_down:
safety/safety.py 89.87% <85.71%> (-1.26%) :arrow_down:
safety/output_utils.py 84.54% <91.48%> (+14.63%) :arrow_up:
safety/cli.py 75.00% <100.00%> (ø)
safety/constants.py 100.00% <100.00%> (ø)
safety/formatters/bare.py 79.16% <100.00%> (ø)
safety/models.py 89.28% <100.00%> (+2.32%) :arrow_up:
... and 2 more

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 1b1c5e0...fb507c3. Read the comment docs.