Minor Changes
-
#11841
beb96afThanks @vicb! - Add support for nativenode: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. -
#11834
5c59217Thanks @vicb! - Export the list of built-in node modules that are available without thenode: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
-
#11834
5c59217Thanks @vicb! - fix handling of Node builtin modulesThe 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.