News for hackers. Stuff that matters.
Re:Dev corrupts NPM libs 'colors' and 'faker', breaking thou... by hnthrowaway0315 on Sunday January 09, 2022 @05:50PM (#29868207)
Why wouldn't everyone roll their own solution? Doesn't seem to be a huge thing to me, but I could be wrong...
Re:Dev corrupts NPM libs 'colors' and 'faker', breaking thou... by gitgrump on Monday January 10, 2022 @01:17AM (#29871264)
Honestly? They probably don't know how, or that's just not part of the JS culture. I've met a lot of JS-only developers, and most probably don't even know what ANSI escape sequences are, let alone how to work with them. The lack of basic computer knowledge from the JS ecosystem is shocking. I don't expect this to poll well in Peoria, as it were, but this has been my consistent observation.
Re:Dev corrupts NPM libs 'colors' and 'faker', breaking thou... by guessmyname on Sunday January 09, 2022 @05:58PM (#29868274)
> Why wouldn't everyone roll their own solution? Doesn't seem to be a huge thing to me, but I could be wrong...

Laziness; and people’s infatuation for dependency trees, especially those in the Node.js & JavaScript ecosystems.

Re:Dev corrupts NPM libs 'colors' and 'faker', breaking thou... by jamil7 on Sunday January 09, 2022 @06:07PM (#29868372)
> Why wouldn't everyone roll their own solution?

JS devs will do anything to avoid this.

Re:Dev corrupts NPM libs 'colors' and 'faker', breaking thou... by cerved on Sunday January 09, 2022 @06:01PM (#29868295)
exhibit A

> even though colorizing text is as simple as writing this \x1b[48;5;011<TEXT>\x1[0m