Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add npm audit to workflow, remove vulnerable packages #175

Merged
merged 1 commit into from
Dec 13, 2023

Conversation

lenkan
Copy link
Collaborator

@lenkan lenkan commented Dec 9, 2023

This PR adds a step to the workflow that runs npm audit, which is used to scan for reported vulnerabilities among the dependencies in package-lock.json. This can be done without installing any dependencies and that step will fail if there are any vulnerabilities reported in the dependencies.

There was 8 medium and 3 high vulnerabilities reported by the size-limit dependency. It is not being used currently, so I removed it along with any other unused packages I found.

Copy link

codecov bot commented Dec 9, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (858dea2) 81.42% compared to head (400d561) 81.42%.

Additional details and impacted files
@@             Coverage Diff              @@
##           development     #175   +/-   ##
============================================
  Coverage        81.42%   81.42%           
============================================
  Files               46       46           
  Lines             4141     4141           
  Branches          1030     1030           
============================================
  Hits              3372     3372           
  Misses             737      737           
  Partials            32       32           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@lenkan lenkan changed the title fix: run npm audit, remove vulnerable packages add npm audit to workflow, remove vulnerable packages Dec 9, 2023
@lenkan lenkan force-pushed the fix-vulnerabilities branch from 284dbbf to 400d561 Compare December 9, 2023 10:45
@lenkan lenkan merged commit d311c1e into WebOfTrust:development Dec 13, 2023
6 checks passed
@lenkan lenkan deleted the fix-vulnerabilities branch December 13, 2023 14:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants