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

Update vulnerable dependencies #165

Closed
wants to merge 2 commits into from
Closed

Conversation

g-marconet
Copy link

@g-marconet g-marconet commented Sep 30, 2019

There are a few PRs out for this already, but one breaks tests and another only covers upgrades to lodash.

This updates handlebars, lodash, and does its best to use non-vulnerable versions of downstream dev dependencies with npm audit fix. There are two outstanding vulnerabilities in a dependency of istanbul, but they required updating 3 major versions to fix and I do not know enough about this codebase to make that change.

Why this PR?
express-hbs version 2.1.2 pins a vulnerable version of handlebars. This causes all downstream projects to report vulnerabilities when npm audit is run.

How do I know this fixes vulnerabilities?
Run npm audit --production and observe that it "found 0 vulnerabilities".

@benbrown
Copy link

benbrown commented Oct 3, 2019

+1 for getting this merged and published to npm!

@ErisDS
Copy link
Member

ErisDS commented Oct 4, 2019 via email

@ErisDS
Copy link
Member

ErisDS commented Oct 22, 2019

Thanks for your help! I've redone the dependency updates as more had been flagged vulnerable in the meantime. Express-hbs 2.2.0 has been published.

@ErisDS ErisDS closed this Oct 22, 2019
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.

None yet

3 participants