In Defense of Hyper Modular JavaScript
medium.com
medium.com
No they absolutely are not. Having a few dependencies is something that almost all software has.
Depending on left pad means more than just "I'll have problems if it is removed".
It means you'll have problems if it is modified. It means you'll have problems if it has a vulnerability that needs to be fixed. It means you'll have problems in tons of different circumstances. Depending on things willy-nilly is a bad practice.
Trusting left pad written by god knows who is a little different than trusting something like jquery that has been around for 15 years.
If your referring to "just not having external dependancies at all" then good luck writing anything of value without first recreating the wheel.
As to the question of if the code is modified, thats what semver is for. Production apps should always link to a specific version of a library.
even though it presents a good argument for "hyper modular" packages, you'll never see me write a one :)