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

chore: update packages (fixes xml2js vulnerability) #5

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

bakasmarius
Copy link

@bakasmarius bakasmarius commented Apr 14, 2023

There was a vulnerability reported recently in xml2js package: Leonidas-from-XIV/node-xml2js#663.
It was fixed in v0.5.0 with this PR: Leonidas-from-XIV/node-xml2js#603.
Using v0.5.0 adds [Object: null prototype] to every object, so I added JSON.parse(JSON.stringify(output)) in order not to break/change the functionality of parse-bmfront-xml.

P.S.: I just saw that there's already a PR for this (#4)
P.P.S.: This will close #6

@ctbaird
Copy link

ctbaird commented Apr 14, 2023

@bakasmarius I just opened an issue for this #6, by the way.

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.

security vulnerability in dependency xml2js
2 participants