For me, it’s not about reaching zero dependencies. But having dependencies that we cautiously agreed upon.
The following section about SBOMs covers what I'm about to say, but I want to add to it. Most (all?) major ecosystems include lockfiles that let you control exact dependency versions and look at them. Always be explicit when updating the lockfile.