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

Upgrade pdf2json to fix xmldom vulnerability #92

Merged
merged 3 commits into from
Oct 6, 2021

Conversation

craig-walker-orennia
Copy link
Contributor

@craig-walker-orennia craig-walker-orennia commented Oct 5, 2021

When installing pdfreader, I got an NPM warning that the xmldom package has a major vulnerability. xmldom 0.6.0 is a dependency of pdf2json 1.2.3, which is a dependency of pdfreader 1.2.11.

This PR bumps pdf2json to 1.2.5, which in turn depends on xmldom ^0.7.5, which doesn't have the vulnerability. npm audit shows no vulnerabilities as of today, and npm test has all tests passing.

In turn upgrades xmldom from 0.6.0 to 0.7.5, which eliminates the npm audit warning.
Copy link
Owner

@adrienjoly adrienjoly left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome, thank you Craig!

@adrienjoly adrienjoly merged commit 6cff1e4 into adrienjoly:master Oct 6, 2021
@github-actions
Copy link

github-actions bot commented Oct 6, 2021

🎉 This PR is included in version 1.2.12 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants