github cloudflare/workers-sdk @cloudflare/unenv-preset@2.7.5

latest release: wrangler@4.40.3
11 hours ago

Patch Changes

  • #10805 d0801b1 Thanks @vicb! - Drop node:process polyfill when v2 is available

    Note 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);
    

Don't miss a new workers-sdk release

NewReleases is sending notifications on new releases.