If your like me and you only started using npm to compile Understrap child themes you might be getting annoyed at all the outdated dependencies you keep getting warnings about.
First install npm like usual:
Then install “npm-check-updates” (you don’t need to do this every time you want to update, just the first time):
npm i npm-check-updates -g
Now you can run “npm-check-updates”:
npx npm-check-updates -u
And if it finds something that can be updated just install npm again:
And that should fix a few of your outdated dependencies!