Patch Changes
-
#10805
d0801b1
Thanks @vicb! - Dropnode:process
polyfill when v2 is availableNote that EventEmitters (
on
,off
,addListener
,removeListener
, ...) used to be available on the import while they should not have been. They are now only available on the global process:import p from "node:process"; // Working before this PR, not working after this PR p.on("exit", exitHandler); // Use the global process instead (works before and after the PR) process.on("exit", exitHandler);