chore: update dependencies

mysql2 patch no longer includes types, profiling, or connection attributes.
This commit is contained in:
Linden committed 2023-07-11 17:23:56 +10:00
1 parent fa0068e798
commit ef7f4156df
5 files changed
+1100 -1251

No files matched your search

+4
View File
@@ -25,6 +25,9 @@ setInterval(() => {
}, 1000);
setTimeout(async () => {
const flags = []
flags.push(connectionOptions.database ? 'CONNECT_WITH_DB' : '-CONNECT_WITH_DB')
pool = createPool({
connectTimeout: 60000,
trace: false,
@@ -32,6 +35,7 @@ setTimeout(async () => {
...connectionOptions,
typeCast,
namedPlaceholders: false, // we use our own named-placeholders patch, disable mysql2s
flags: flags
});
const connection = await pool.getConnection();