How to protect NPM from corrupted libraries?

Subscribers:
4,210
Published on ● Video Link: https://www.youtube.com/watch?v=GEW_rzy05c8



Category:
Tutorial
Duration: 1:40
117 views
8


If you do not do this one simple thing, other people can break your JavaScript application? How? By publishing a new version of their library on NPM. If you do not test everything, you might even do not notice that something went wrong and your app has problems. This is why, always pinpoint your NPM dependencies to a given, specific, version. Avoid "compatible " and "equivalent". And definitely, never do "any version". That is the short way to a huge headache.

NPM colors library https://www.npmjs.com/package/colors
NPM faker library https://www.npmjs.com/package/faker

#quadmeup #npm #programming

Visit my primary channel https://www.youtube.com/user/dzikuvx
Facebook https://www.facebook.com/quadmeup
Discord server https://quadmeup.com/discord
My website https://quadmeup.com/
Instagram https://www.instagram.com/dzikuvx/







Tags:
how to use package.json
npm
corrupted libraries
programming
npm tips
npm tips and tricks
javascript
node js
node npm
node npm tutorial