Flat 4.1.0 is deprecated causing an npm warn #4410
Labels
area: security
involving vulnerabilities
good first issue
new contributors should look here!
status: accepting prs
Mocha can use your help with this one!
Prerequisites
faq
labelnode node_modules/.bin/mocha --version
(Local) andmocha --version
(Global). We recommend that you not install Mocha globally.Description
when installing mocha 8.1.1, npm warns that flat 4.1.0 is deprecated.
Steps to Reproduce
run
npm i -g mocha
Expected behavior: [What you expect to happen]
No warns
Actual behavior: [What actually happens]
npm WARN deprecated flat@4.1.0: Fixed a prototype pollution security issue in 4.1.0, please upgrade to ^4.1.1 or ^5.0.1.
Reproduces how often: [What percentage of the time does it reproduce?]
all the time
Versions
mocha 8.1.1
node 12
ubuntu bionic
The text was updated successfully, but these errors were encountered: