News for hackers. Stuff that matters.
Re:Dev corrupts NPM libs 'colors' and 'faker', breaking thou... by umvi on Sunday January 09, 2022 @10:48PM (#29870369)
Yeah but in this case you might not be directly dependent on colors. You might be dependent on http-server, which is in turn dependent on colors. You can only roll back http-server, and unless http-server rolls back colors, you are stuck.
Re:Dev corrupts NPM libs 'colors' and 'faker', breaking thou... by kristjansson on Sunday January 09, 2022 @11:40PM (#29870730)
So set it in overrides? Blacklist it in your private mirror? It’s your project, your environment, and your computer, you’re never stuck.
Re:Dev corrupts NPM libs 'colors' and 'faker', breaking thou... by umvi on Monday January 10, 2022 @12:42AM (#29871057)
Oh I agree, nobody is stuck. I'm just pointing out that, sure, there are messy workarounds, but in this case it is not as simple as "rollback".