But why are we polyfilling a function that exists in every version of node? When did this code not just work after installation that it required a polyfill?
It wasn’t and isn’t uncommon to pull down a dependency from npm and expect it to work in multiple runtimes.