Skip to content

Conversation

@vikiv480
Copy link
Contributor

Mocha depends on a vulnerable version of nanoid: GHSA-mwcw-c2x4-8c55

The package was updated with: npm audit fix --force

# npm audit report

nanoid  <3.3.8
Infinite loop in nanoid - https://github.com/advisories/GHSA-mwcw-c2x4-8c55
fix available via `npm audit fix --force`
Will install [email protected], 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 low severity vulnerabilities

To address all issues (including breaking changes), run:
  npm audit fix --force

Mocha depends on a vulnerable version of `nanoid`: GHSA-mwcw-c2x4-8c55

The package was updated with: `npm audit fix --force`

```
# npm audit report

nanoid  <3.3.8
Infinite loop in nanoid - GHSA-mwcw-c2x4-8c55
fix available via `npm audit fix --force`
Will install [email protected], 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 low severity vulnerabilities

To address all issues (including breaking changes), run:
  npm audit fix --force
```
Mocha has dropped support for v12.x

See breaking changes for v10.0.0:
https://github.com/mochajs/mocha/blob/main/CHANGELOG.md#1000--2022-05-01
Copy link
Member

@roback roback left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@vikiv480 vikiv480 merged commit a8c1068 into master Dec 19, 2024
4 checks passed
@vikiv480 vikiv480 deleted the bump-mocha branch December 19, 2024 11:10
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