Closed jeffeb3 closed 3 years ago
npm audit
=== npm audit security report ===
# Run npm install react-scripts@4.0.3 to resolve 2 vulnerabilities
SEMVER WARNING: Recommended action is a potentially breaking change
┌───────────────┬──────────────────────────────────────────────────────────────┐
│ Moderate │ Regular Expression Denial of Service │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Package │ ssri │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Dependency of │ react-scripts │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Path │ react-scripts > terser-webpack-plugin > cacache > ssri │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ More info │ https://npmjs.com/advisories/565 │
└───────────────┴──────────────────────────────────────────────────────────────┘
┌───────────────┬──────────────────────────────────────────────────────────────┐
│ High │ Prototype Pollution │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Package │ immer │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Dependency of │ react-scripts │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Path │ react-scripts > react-dev-utils > immer │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ More info │ https://npmjs.com/advisories/1603 │
└───────────────┴──────────────────────────────────────────────────────────────┘
found 2 vulnerabilities (1 moderate, 1 high) in 1907 scanned packages
2 vulnerabilities require semver-major dependency updates.
This is what made me think I needed to push the react-scripts to 4.0.3, but then it doesn't build. What am I missing?
This is what made me think I needed to push the react-scripts to 4.0.3, but then it doesn't build. What am I missing?
@jeffeb3 I ultimately upgraded everything. This requires Node 12.x. If you can install/run locally with a clean install, then I think this is good to merge.
hmmm. I'm on node 6.x :)
I am trying to upgrade now, but I don't want to risk breaking my system, so I am going cautiously.
It looks like there might still be more audit fix issues.
I also changed react-dev-utils based on what github told me to do.
@bobnik, can you confirm this is what I should be doing?