Major version update. Major bugfixes. Security vulnerabilites fixed

This commit is contained in:
2026-10-14 03:02:07 +01:00
parent 4e47bd8ce0
commit 7c095f6f16
112 changed files with 2479 additions and 1219 deletions
+18 -2
View File
@@ -1,2 +1,18 @@
import type { BunSQLiteConfigReturn } from "../types";
export default function init(): Promise<BunSQLiteConfigReturn>;
import type { Database } from "bun:sqlite";
import type { BunSQLiteConfig, BunSQLiteConfigReturn, BUN_SQLITE_DatabaseSchemaType } from "../types";
/**
* # Declare Global Variables
*/
declare global {
var CONFIG: BunSQLiteConfig;
var DB_SCHEMA: BUN_SQLITE_DatabaseSchemaType;
var SQLITE_CLIENT: Database;
var CONFIG_FILE_PATH: string;
var SCHEMA_FILE_PATH: string;
}
/**
* # Load config, schema and the SQLite client into globals
* @description Runs once per process. Later calls return the loaded
* globals.
*/
export default function init(): BunSQLiteConfigReturn;