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: Remove CVE-2021-3807 vulnerability #4705

Merged
merged 2 commits into from
Jul 2, 2024

Conversation

JhontSouth
Copy link
Collaborator

Addresses # 4684
#minor

Description

This PR removes the vulnerable versions of ansi-regex to avoid the CVE-2021-3807 vulnerability.

Specific Changes

  • Replaced tinyify with babelify and esmify in adaptive-expressions to avoid the use of ansi-regex 2.1.1.
  • Added babel.config in adaptive-expressions.
  • Updated ansi-regex versions to 3.0.1, 4.1.1 and 5.0.1 in main project and browser-echo-bot.

Testing

The following images show the ansi-regex versions installed after the update.
image
image

@JhontSouth JhontSouth requested a review from a team as a code owner July 2, 2024 19:26
@coveralls
Copy link

coveralls commented Jul 2, 2024

Pull Request Test Coverage Report for Build 9766839145

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.4%) to 84.078%

Totals Coverage Status
Change from base Build 9764567769: -0.4%
Covered Lines: 20347
Relevant Lines: 22904

💛 - Coveralls

@coveralls
Copy link

coveralls commented Jul 2, 2024

Pull Request Test Coverage Report for Build 9766839145

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 84.433%

Totals Coverage Status
Change from base Build 9764567769: 0.0%
Covered Lines: 20429
Relevant Lines: 22904

💛 - Coveralls

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.

3 participants