updating the version of yargs#115
Conversation
the current version of yargs used a version of y18n that has Prototype Pollution issues https://www.npmjs.com/advisories/1654 As mentioned in the abive doco this has been resolved in 5.0.5 or later versions of y18n. yargs version 17.0.1 uses the v5.0.5 of y18n which should resolve this issue
|
@xzyfer could you please review this ? our project has a dependency on this and we have to whitelist this package as a result of security audit failure |
|
Hi. Recently I got some audit warnings coming from this package's dependencies. How to reproduceCreate an empty folder and run the following: yarn init --yes
yarn add sass-graph
yarn auditYarn outputor npm init --yes
npm install sass-graph --save
npm auditNPM outputThe fix that needs to be applied
Testing the changesI ran the tests on these node versions and both
@shenoyguru Could you update the minimum node version and travis config too? I could open a new PR if you don't want to deal with it. @xzyfer Do you need any help to merge in and release a new verion? Edit: Btw, there's more issues / pull requests trying to solve similar issues: #114 & #112, all using or suggesting older yargs version |
|
Thanks for this.
|
the current version of yargs used a version of y18n that has Prototype Pollution
issues
https://www.npmjs.com/advisories/1654
As mentioned in the abive document this has been resolved in 5.0.5 or later versions of y18n.
yargs version 17.0.1 uses the v5.0.5 of y18n which should resolve this issue