Packages

@cloudflare/unenv-preset

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

Your version

2.9.0

13 Jan 2026Where it was published

2.16.2 is the newest release of 2.x.

In short

2 new1 fixed

Release note

The section about @cloudflare/unenv-preset of a note shared by several packages.

Minor Changes

  • Add support for native node:sqlite module when the enable_nodejs_sqlite_module compatibility flag is enabled. This feature is currently experimental and requires nodejs_compat, experimental, and enable_nodejs_sqlite_module compatibility flags to be set.

  • Export the list of built-in node modules that are available without the node: prefix.
    Modules that are only available with the node: prefix are not included (i.e. node:sqlite).
    Note that new modules will be added with the node: prefix only and not be added to the list.

Patch Changes

  • Fix handling of Node builtin modules

    The list of builtin modules should not depend on the version of Node.
    Switch to using the lists published by @cloudflare/unenv-preset.

    This fixes an issue with trying to import i.e. node:sqlite with Node < 22.5.0
    which does not implement this module.

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.