How do I fix npm warnings and invalid packages?
For example: I am getting a bunch of warnings on running npm install as follows:
npm WARN deprecated @email@example.com: ‘@types/adal’ is now ‘@types/adal-angular’
npm WARN deprecated [firstname.lastname@example.org]: Thanks for using Babel: we recommend using babel-preset-env now: please read babeljs.io/env to update!
npm WARN deprecated [email@example.com]: This version is no longer maintained. Please upgrade to the latest version.
npm WARN deprecated [firstname.lastname@example.org]: scmp v2 uses improved core crypto comparison since Node v6.6.0
npm WARN deprecated [email@example.com]: This version is no longer maintained. Please upgrade to the latest version.
How do I fix these warnings?
Also, here is the package structure for jest which says invalid. How do I fix that? What does this structure represent?
±- UNMET PEER DEPENDENCY firstname.lastname@example.org invalid
| `-- email@example.com
| ±- firstname.lastname@example.org