In addition, there is another tendency to say "we *could* #rollyourown, but let's use a #library instead."
This shouldn't be a hard and fast thing though. A lot of the time you end up net negative because the work you did to 1. install the #dependency 2. #adapt your code to use it is more than it took just to roll your own, if it's a simple process.
You also are asking for situations like the 2016 #leftpad disaster:
https://qz.com/646467/how-one-programmer-broke-the-internet-by-deleting-a-tiny-piece-of-code
#rollyourown #library #dependency #adapt #leftpad