A little secret to rock your YouTube subscribers
Get Free YouTube Subscribers, Views and Likes

How to protect NPM from corrupted libraries?

Follow
PS After Hours

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    / dzikuvx  
Facebook   / quadmeup  
Discord server https://quadmeup.com/discord'>https://quadmeup.com/discord
My website https://quadmeup.com/
Instagram   / dzikuvx  

posted by Mitwalli2i