Bugfix update

This commit is contained in:
2026-03-22 05:46:26 +01:00
parent f0cec49e3b
commit 35c4ca3853
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ export default function dbSchemaToType({ config, dbSchema, }) {
const dbTablesSchemas = datasquirelSchema.tables;
const defDbName = config.db_name
?.toUpperCase()
.replace(/^[a-zA-Z0-9]/g, "_");
.replace(/[^a-zA-Z0-9]/g, "_");
const defNames = [];
const schemas = dbTablesSchemas
.map((table) => {
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@moduletrace/bun-sqlite",
"version": "1.0.11",
"version": "1.0.12",
"description": "SQLite manager for Bun",
"author": "Benjamin Toby",
"main": "dist/index.js",
+1 -1
View File
@@ -26,7 +26,7 @@ export default function dbSchemaToType({
const defDbName = config.db_name
?.toUpperCase()
.replace(/^[a-zA-Z0-9]/g, "_");
.replace(/[^a-zA-Z0-9]/g, "_");
const defNames: string[] = [];