by nukeop · 8y ago · 0 comments
What is to be avoided is inclusion of packages that implement a ton of functionalities, and then only using a very small subset of those. In these cases it's better to create your own solution.
what's the better way to do it
copy & paste, or use a package manager
When you add a dependency, how do you prevent the maintainer of the dependency or any sub- or sub-sub-...dependency to break your system in the future?I can't imagine any big companies work like that. Execute code on their servers which is under the control of 'somebody from the internet'.
That sounds like a lot of work. Compared to copying/writing 30 lines.
How do you know the pinned version and it's dependencies do not get changed by the maintainers?