Skip to content

Runs npm audit and adds missing test packages - #106

Closed
ryanlabouve wants to merge 1 commit into
jonkemp:masterfrom
ryanlabouve:update-packages
Closed

Runs npm audit and adds missing test packages#106
ryanlabouve wants to merge 1 commit into
jonkemp:masterfrom
ryanlabouve:update-packages

Conversation

@ryanlabouve

Copy link
Copy Markdown

Tried to use this project and noticed some security vulns.

Sorry for the massive diff, but this is mostly NPM code.

  • Runs npm audit --fix
  • Ran npm run test and noticed some missing packages from this package.
  • Installed missing packages npm install --save-dev superagent-proxy and npm install --save-dev proxy-from-env
  • Made sure tests passed

@ryanlabouve

Copy link
Copy Markdown
Author

Noticed no CI, so adding a screenshot of the test

-bash 2021-09-25 10-56-34

Please let me know if you'd like me to add a testing workflow via Github actions :-D

@jonkemp jonkemp closed this Oct 16, 2021
@ryanlabouve

Copy link
Copy Markdown
Author

Good talk

@jonkemp

jonkemp commented Oct 16, 2021

Copy link
Copy Markdown
Owner

Sorry @ryanlabouve. You're right. I should have at least left a comment explaining why this was closed.

I closed it because I felt it wasn't really needed. Running audit fix just updates the package-lock.json file which I just don't feel is necessary for someone to submit a pr for. Just my opinion. I also deleted the node modules and then ran npm install again and didn't see any missing packages so I didn't feel that was necessary. In addition, lerna was updated but extract-css was updated to an older version. That kind of change should have an explanation and I don't see a reason for it.

I appreciate your wishing to contribute but I'm working on a significant maintenance pr which I usually do myself right now. Please feel free to share anymore ideas you have for further contributions.

@ryanlabouve

ryanlabouve commented Oct 16, 2021 via email

Copy link
Copy Markdown
Author

@alumni

alumni commented Oct 18, 2021

Copy link
Copy Markdown

@jonkemp not all of us are using npm, and yes, we could manually add package resolutions in package managers, but this won't fix the issues that come from the old cheerio version. Maybe you could set up Dependabot/WhiteSource Renovate/Snyk for this repo?

@alumni alumni mentioned this pull request Jan 4, 2022
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.

3 participants