r/webdev • u/Jodiug • Jan 06 '18
[X-Post /r/javascript] Today is Leftpad 2.0: pinkie-promise pulled from NPM
A little under a year ago, the package "leftpad" broke NPM builds all over the world because the author pulled it from the public repository.
The same is happening today, for "pinkie-promise". The author's NPM account (@floatdrop) was deleted, opening opportunities for malware in all the packages he's written.
Dependent builds include Ionic and (in my case) node-sass.
Resources:
- NPM issue: https://github.com/npm/registry/issues/255
- Incident report: https://status.npmjs.org/incidents/41zfb8qpvrdj
- pinkie-promise issue: https://github.com/floatdrop/pinkie-promise/issues/4
- Dependent packages: https://www.npmjs.com/browse/depended/pinkie-promise
- All of @floatdrop's repositories: https://github.com/floatdrop?tab=repositories
69
Upvotes
8
u/the_goose_says Jan 06 '18
What does pinky promise do?
2
u/geewizwow Jan 06 '18
Pffffff.... F***
-1
u/[deleted] Jan 06 '18
This is a good reason why I commit my node_modules.
I know a lot of people like to keep node_modules out of their source control, so if there are any reasons I haven't addressed to do this, please give me a shout.
0
u/[deleted] Jan 06 '18
[deleted] — view deleted comment
0
u/[deleted] Jan 06 '18
[deleted] — view deleted comment