Packages

@cloudflare/unenv-preset

2.16.2 · 21 Sep 2026MIT OR Apache-2.043.8M / weekRepositoryHomepagenpmAtom feed

Your version

2.7.5

30 Sep 2025Where it was published

2.16.2 is the newest release of 2.x.

In short

1 fixed

Release note

Patch Changes

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

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.