Closed curiouscatgithub closed 1 year ago
@mvdcorput , @Thodor12 , @lheasysoft , @blueasysoft could you please take a look at this small change? It is needed to address a vulnerability in xml2js dependency.
It looks good to me, but @lheasysoft is the only maintainer of this repository as far as I'm aware, I cannot merge this. I don't know if he/she is still active on Github, their account looks pretty dead. Worst case scenario you'd have to fork and re-release under a different name (license permits this)
Alternatively you can grab the index.ts source and pull it into your own code.
LH ist not available at the moment. I guess he will answer in 2-3 weeks and a merge is likely.
I am finally back and will take a look at the PR very soon. Sorry for letting you wait that long.
Thank you @lheasysoft.
First of all: Thanks for your contribution :-) I appreciate that you provided a working fix for the breaking changes in xml2js. I will merge this PR and update the npm package.
Just one question: Why did you change the package name in package.json? This package is "https://www.npmjs.com/package/resx-json-typescript-converter" (a major overhaul of "resx-to-typescript"). As I can't update the "resx-to-typescript" package on npm, I will stick with "resx-json-typescript-converter" for the name as this is the package that is maintained.
Thanks for reviewing and merging! As to change to the package name, Im not aware I have changed it, in my pull request I think it did not change, in any case nothing intentional. Thanks again.
Sorry, I got that wrong. There was a change in the package-lock.json. But it was actually setting the right name there instead of the old, wrong one. My bad. Thanks again for you commit :-)
xml2js has been updated with a breaking version to address a security issue: https://github.com/Leonidas-from-XIV/node-xml2js/issues/667. This change makes resx-json-typescript-converter work with xml2js 0.5.0