-
Notifications
You must be signed in to change notification settings - Fork 60
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
updating the version of yargs #115
base: master
Are you sure you want to change the base?
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 audit Yarn output
or npm init --yes
npm install sass-graph --save
npm audit NPM output
The 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