@cloudflare/unenv-preset
2.16.2 · 21 Sep 2026MIT OR Apache-2.043.8M / weekRepositoryHomepagenpmAtom feed
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:sqlitemodule when theenable_nodejs_sqlite_modulecompatibility flag is enabled. This feature is currently experimental and requiresnodejs_compat,experimental, andenable_nodejs_sqlite_modulecompatibility 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 thenode:prefix are not included (i.e.node:sqlite).
Note that new modules will be added with thenode: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:sqlitewith 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.