-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
Prototype Pollution via ts-jest > yargs-parser #5573
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
Comments
Same issue on 4.4.3 |
Not possible in this major because that's a breaking change for Vue CLI. And there is no actual vulnerability exposed to the end-users, because in If you do need to circumvent the warning, you can use the |
Also having this issue (from this library and also laravel-mix). I did as @sodatea suggested, which removed the warnings, not yet clear what kind of impact it might have to the libraries that depend on the problem versions. Seems okay so far. In package.json:
|
Same with @Aaronm14, originally my problem was just Laravel-mix but then I tried to just input what @msklvsk shared which is (npm i @vue/cli-plugin-unit-jest) and then a new error was added which is the (@vue/cli-plugin-unit-jest > ts-jest > yargs-parser). So I tried to do what @sodatea suggested, and same thing happened with Aaron, it removed the warnings but I'm really not sure what happened but it worked.
In package.json just copy what Aaronm14 inputed. |
I wonder what impact this vulnerability can have..for me the dependency is related to laravel-mix(4.1.4). |
Updated yargs-parser to 18.1.3 but I'm still seeing this vulnerability warning. |
This worked for me, this looks like the best work around for the time being |
Additionally, this vulnerability should not be able to touch the package using it (@vue/cli-plugin-unit-jest) See vuejs/vue-cli#5573 for more
Version
4.4.1
Environment info
Steps to reproduce
npm i @vue/cli-plugin-unit-jest
What is expected?
“Found 0 vulnerabilities.”
What is actually happening?
The text was updated successfully, but these errors were encountered: