Packages

miniflare

4.20260730.0 · 30 Jul 2026MIT57.5M / weekRepositoryHomepagenpmAtom feed

Your version

3.20240524.2

4 Jun 2024Where it was published

3.20250718.3 is the newest release of 3.x.

In short

1 fixed

Release note

Patch Changes

  • Allow the magic proxy to handle functions returning functions

    Previously functions returning functions would not be handled by the magic proxy,
    the changes here enable the above, allowing for code such as the following:

        const mf = new Miniflare(/* ... */);
    
        const { functionsFactory } = await mf.getBindings<Env>();
        const fn = functionsFactory.getFunction();
        const functionResult = fn();

    This also works with the native workers RPC mechanism, allowing users to
    return functions in their RPC code.

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.