@minatojs/driver-sqlite
Advanced tools
Comparing version 3.3.5 to 3.3.6
@@ -215,3 +215,9 @@ "use strict"; | ||
const [sqlite, buffer] = await Promise.all([ | ||
(0, import_sql.default)(), | ||
(0, import_sql.default)({ | ||
locateFile(file) { | ||
if (!process.env.KOISHI_BASE) | ||
return file; | ||
return process.env.KOISHI_BASE + "/" + file; | ||
} | ||
}), | ||
this.config.path === ":memory:" ? null : import_fs.promises.readFile(this.config.path).catch(() => null) | ||
@@ -218,0 +224,0 @@ ]); |
{ | ||
"name": "@minatojs/driver-sqlite", | ||
"version": "3.3.5", | ||
"version": "3.3.6", | ||
"description": "SQLite Driver for Minato", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
Sorry, the diff of this file is not supported yet
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
39224
420
3