Packages

@whatwg-node/promise-helpers

2.0.2 · 10 Nov 2026MIT34.4M / weekRepositoryHomepagenpmAtom feed

Your version

2.0.2

Latest10 Nov 2026Where it was published

In short

1 faster

Release note

The section about @whatwg-node/promise-helpers of a note shared by several packages.

Patch Changes

  • #3793
    f778c82
    Thanks @ardatan! - Use shared prototype classes
    for fakePromise / fakeRejectPromise instances.

    Resolved and rejected fake promises (and foreign-thenable wrappers) are no
    longer allocated as object literals with own then/catch/finally methods.
    A shared constructor keeps a stable V8 hidden class while preserving the same
    brand (Symbol.for) and unwrapping behavior.

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.