Problem
Mocha 7.1.0 is using an outdated version of mkdirp and that is causing a warning of low severity vulnerability. Updating mocha to 7.1.1 (the latest at the moment on npm) is no good as well, as it is using mkdirp@0.5.3 and we get a deprecated message: Legacy versions of mkdirp are no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.).
Solution
We will have to wait for mocha to update its version so to fix that deprecated warning.
Problem Mocha
7.1.0
is using an outdated version ofmkdirp
and that is causing a warning oflow severity vulnerability
. Updating mocha to7.1.1
(the latest at the moment onnpm
) is no good as well, as it is usingmkdirp@0.5.3
and we get a deprecated message:Legacy versions of mkdirp are no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
.Solution We will have to wait for mocha to update its version so to fix that deprecated warning.
CC @nojvek