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

Update string-width to fix vulnerable ansi-regex #60

Closed
wants to merge 2 commits into from

Conversation

StudioMaX
Copy link

Upgrade the string-width package to ^4.2.3, as it contains the transitive ansi-regex package in which the vulnerability was found.

Dependency tree:

wide-align@^1.1.0
  > "string-width@^1.0.2 || 2"
    > strip-ansi@^4.0.0
      > ansi-regex@^3.0.0

Snyk report: https://app.snyk.io/vuln/SNYK-JS-ANSIREGEX-1583908
GitHub Advisory Database: GHSA-93q8-gq69-wqmw

@hajirazin
Copy link

when will this PR be merged?

@iarna
Copy link
Owner

iarna commented Oct 14, 2021

This makes multiple changes and I'd prefer things to be more targeted. I've added my own commits to produce functionally the same result and published a new version.

@iarna iarna closed this Oct 14, 2021
@pkuczynski
Copy link

Cool! Thanks @iarna :)

@StudioMaX StudioMaX deleted the fix-ansi-regex branch October 16, 2021 10:51
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

Successfully merging this pull request may close these issues.

None yet

4 participants