As I understand it, the original maintainer of the colors package, Marak, previously sabotaged it for a laundry list of political/ideological reasons, involving Aaron Schwartz, the Ukraine war, and big corporations using his code. npm removed the malicious version against the old maintainer's will, but one still has to wonder if he might one day sabotage his packages again. Anything by him is kinda suspect, now.
Someone else called DABH took over maintainership after the sabotage. Let's point at the npm package he controls, just to be sure that bumping our dev dependencies in future won't install malware.
The (tiny, trivial) example script that uses colors still seems to work after this:
Resolves https://github.com/kpdecker/jsdiff/issues/337
As I understand it, the original maintainer of the
colors
package, Marak, previously sabotaged it for a laundry list of political/ideological reasons, involving Aaron Schwartz, the Ukraine war, and big corporations using his code. npm removed the malicious version against the old maintainer's will, but one still has to wonder if he might one day sabotage his packages again. Anything by him is kinda suspect, now.Someone else called DABH took over maintainership after the sabotage. Let's point at the npm package he controls, just to be sure that bumping our dev dependencies in future won't install malware.
The (tiny, trivial) example script that uses
colors
still seems to work after this: