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(vulnerability): updating mocha versions #211

Merged
merged 1 commit into from
Feb 18, 2025

Conversation

gamer496
Copy link
Collaborator

@gamer496 gamer496 commented Feb 17, 2025

Fixing vulnerability in npm audit:

# npm audit report

nanoid  <3.3.8
Severity: moderate
Predictable results in nanoid generation when given non-integer values - https://github.com/advisories/GHSA-mwcw-c2x4-8c55
fix available via `npm audit fix --force`
Will install mocha@11.1.0, which is a breaking change
node_modules/nanoid
  mocha  8.2.0 - 10.2.0
  Depends on vulnerable versions of nanoid
  node_modules/mocha

2 moderate severity vulnerabilities

And fixing: https://github.com/Cognigy/Cognigy-CLI/security/dependabot/70

@deepaknegi-cognigy
Copy link
Collaborator

Screenshot 2025-02-18 at 10 35 42

Was able to run tests successfully in my local.

@gamer496 gamer496 merged commit 62c6f8e into develop Feb 18, 2025
5 checks passed
@XavierJordaMurria
Copy link
Collaborator

🎉 This PR is included in version 1.6.8 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants