But we're not talking about installing the latest versions of your libraries. Otherwise, Go will definitely break after 10 years
In the case of the "internal dependency" one, plenty of people regularly patch stuff in NPM and keep the same version number.