There is small React/Redux app I'd like to check against nsp check.
For instance, nsp complains that debug 2.6.8 package I use in app contains a vulnerability. So I need to bump version of debug:
Regular Expression Denial of Service
│ Name │ debug
│ CVSS │ 3.7 (Low)
│ Installed │ 2.6.8
│ Vulnerable │ <= 2.6.8 || >= 3.0.0 <= 3.0.1
│ Patched │ >= 2.6.9 < 3.0.0 || >= 3.1.0
│ Path │ sms-web@0.0.1 > webpack-dev-server@2.5.0 >
compression@1.7.0 >
│ │ debug@2.6.8
│ More Info │ https://nodesecurity.io/advisories/534
I tried npm update --depth=7
, but it didn't update debug package.
So how can I update deeply placed packages, e.g. debug?