@theokit/sdk 4.15.3 → 4.15.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/dist/cron.cjs +5 -1
- package/dist/cron.cjs.map +1 -1
- package/dist/cron.js +5 -1
- package/dist/cron.js.map +1 -1
- package/dist/eval.cjs +5 -1
- package/dist/eval.cjs.map +1 -1
- package/dist/eval.js +5 -1
- package/dist/eval.js.map +1 -1
- package/dist/index.cjs +5 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +5 -1
- package/dist/index.js.map +1 -1
- package/dist/internal/persistence/index.cjs +5 -1
- package/dist/internal/persistence/index.cjs.map +1 -1
- package/dist/internal/persistence/index.js +5 -1
- package/dist/internal/persistence/index.js.map +1 -1
- package/dist/persistence.cjs +5 -1
- package/dist/persistence.cjs.map +1 -1
- package/dist/persistence.js +5 -1
- package/dist/persistence.js.map +1 -1
- package/package.json +1 -1
package/dist/eval.cjs
CHANGED
|
@@ -16279,7 +16279,11 @@ async function loadDriver(filePath) {
|
|
|
16279
16279
|
betterSqliteCause = cause;
|
|
16280
16280
|
}
|
|
16281
16281
|
try {
|
|
16282
|
-
const mod = await (driverLoaderOverrides?.nodeSqlite?.() ??
|
|
16282
|
+
const mod = await (driverLoaderOverrides?.nodeSqlite?.() ?? Promise.resolve(
|
|
16283
|
+
process.getBuiltinModule?.("node:sqlite") ?? (() => {
|
|
16284
|
+
throw new Error("node:sqlite built-in unavailable (Node < 22.3)");
|
|
16285
|
+
})()
|
|
16286
|
+
));
|
|
16283
16287
|
return adaptNodeSqlite(new mod.DatabaseSync(filePath));
|
|
16284
16288
|
} catch (nodeSqliteCause) {
|
|
16285
16289
|
const b = betterSqliteCause instanceof Error ? betterSqliteCause.message : String(betterSqliteCause);
|