Upgrading mocha 9 to 10
Breaking9.2.2 → 10.8.2Breaking6Security1Platform1New7Changed11Fixed14Other44
BreakingUpgrade verdict
6 breaking changes and a platform requirement change and a security fix.
In plain terms
- Mocha no longer supports running tests in Internet Explorer 11.
- Loading Mocha through AMD/RequireJS is no longer supported.
- Mocha no longer sends Growl desktop notifications.
- The command-line entry file is now named mocha.js instead of mocha.
Must act Top 5 of 8 that need code or config changes
Node.js requirement changed in 10.0.0: >= 12.0.0 → >= 14.0.0.
Drops @ungap/promise-all-settled, growl, nanoid, which.
Installs 71 packages in all (was 80).
What you must change
Breaking6
Drops Internet Explorer 11 support.
Drops AMD/RequireJS support.
Drops Growl notification support.
Renames executable bin/mocha to bin/mocha.js.
bin/mochabin/mocha.jsRemoves the deprecated Runner signature.
RunnerUpgrades Minimatch for the --ignore option on Windows.
--ignoreMinimatchSecurity1
Updates glob to address a vulnerability in a dependency, fixing issue #4837.
globPlatform1
Drops Node.js v12.x support.