In the worst case scenario, using 'stable' versions of Linux distributions like Debian.
But, in recent years, the trend was the one of young incompetent hipster devs: it is has been to not use the very last version of everything, and especially if we can get it directly from random sources on the internet.
This is especially true with npm/js and go developers.
It is not like no one tried to tell them and teach them about that, but they can't or won't understand...