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

[Bug] Please upgrade yargs to resolve ansi-regex CVE #130

Open
1 task done
thom-nic opened this issue Apr 20, 2022 · 0 comments
Open
1 task done

[Bug] Please upgrade yargs to resolve ansi-regex CVE #130

thom-nic opened this issue Apr 20, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@thom-nic
Copy link

  • I'd be willing to submit the fix

GHSA-93q8-gq69-wqmw

Describe the bug

┌───────────────┬──────────────────────────────────────────────────────────────┐
│ Moderate      │  Inefficient Regular Expression Complexity in                │
│               │ chalk/ansi-regex                                             │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Package       │ ansi-regex                                                   │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Patched in    │ >=4.1.1                                                      │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Dependency of │ mochapack [dev]                                              │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Path          │ mochapack > yargs > cliui > wrap-ansi > string-width >       │
│               │ strip-ansi > ansi-regex                                      │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ More info     │ https://github.com/advisories/GHSA-93q8-gq69-wqmw            │
└───────────────┴──────────────────────────────────────────────────────────────┘

yargs@15 or 16 have updated the dependency tree to bump ansi-regex to v5:

  └─┬ [email protected]
│   └─┬ [email protected]
│     ├─┬ [email protected]
│     │ └── [email protected] 
│     └─┬ [email protected]
│       └─┬ [email protected]
│         └── [email protected] 
@thom-nic thom-nic added the bug Something isn't working label Apr 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant