Nearly all the time I use npm
to install a package, I get a warning like:
npm WARN deprecated minimatch@1.0.0: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
Then I install the dubious packages with the advised version number.
Is there any way to make npm
do this automatically? At own risk of course.