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

Fix: Upgrade yargs to ^16.0.0 #96

Open
smeltofelderberries opened this issue Nov 23, 2020 · 8 comments
Open

Fix: Upgrade yargs to ^16.0.0 #96

smeltofelderberries opened this issue Nov 23, 2020 · 8 comments

Comments

@smeltofelderberries
Copy link

Hi,

There is a patch to a high severity vulnerability available for yargs. Can you please update to version ^16.0.0 or so? It would resolve CVE-2020-7774.

https://snyk.io/test/npm/yargs/15.3.1

Thank you in advance!

@calvinmetcalf
Copy link
Owner

this isn't actually a high severity bug here so I'll get around to this today or tomorrow, feel free to open a pull request if you want to speed things along

@arielperez82
Copy link

@calvinmetcalf , I have a PR for this, which also resolves the Prototype Pollution vulnerability in y18n by upgrading to yargs 16.1.1.

All tests pass.
Screen Shot 2020-11-26 at 7 28 52 AM

If you provide me the appropriate access rights, I can push up my branch and open a PR.

@calvinmetcalf
Copy link
Owner

you don't need any rights to open up a PR, just open it from you're forked version to mine

@arielperez82
Copy link

arielperez82 commented Nov 27, 2020 via email

@calvinmetcalf
Copy link
Owner

calvinmetcalf commented Nov 27, 2020 via email

@arielperez82
Copy link

arielperez82 commented Nov 27, 2020 via email

@wickedest
Copy link

wickedest commented Nov 30, 2020

Note that this change should be a breaking change. Previously, copyfiles would work on node 8.x as it was using yargs 15.3.1, which was using engines >= 8. Now, copyfiles uses yargs 16.1.0, using engines >= 10.

@arielperez82
Copy link

arielperez82 commented Nov 30, 2020 via email

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

No branches or pull requests

4 participants