Blizzard / node-rdkafka

Node.js bindings for librdkafka
MIT License
2.1k stars 390 forks source link

Upgrade Mocha to 10 #991

Closed SpaceFozzy closed 1 year ago

SpaceFozzy commented 1 year ago

When installing the NPM dependencies I see 4 vulnerabilities (1 moderate, 2 high, 1 critical). This is just because the Mocha version is outdated.

This PR updates Mocha from version 5 to version 10. The only breaking change is updating the configuration file that defines the ui as export. Since mocha now requires that the config file goes in the project root, or that you pass a custom path as a param, I added it to thepackage.json for simplicity.

Changes:

GaryWilber commented 1 year ago

Thanks for the PR. I updated the package as part of #997