baja-lite 1.8.6 → 1.8.7

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/sql.js +4 -4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "baja-lite",
3
- "version": "1.8.6",
3
+ "version": "1.8.7",
4
4
  "description": "some util for self",
5
5
  "homepage": "https://github.com/void-soul/baja-lite",
6
6
  "repository": {
package/sql.js CHANGED
@@ -413,8 +413,8 @@ export class Mysql {
413
413
  try {
414
414
  connection = await this.createConnection(SyncMode.Async);
415
415
  if (connection) {
416
- const data = await connection.query(SyncMode.Async, 'SELECT 1 FROM DUAL');
417
- globalThis[_LoggerService].debug?.('keepAlive->', data?.[0]?.[1]);
416
+ await connection.query(SyncMode.Async, 'SELECT 1 FROM DUAL');
417
+ // (globalThis[_LoggerService]! as LoggerService).debug?.('keepAlive->', data?.[0]?.[1]);
418
418
  }
419
419
  }
420
420
  catch (error) {
@@ -731,8 +731,8 @@ export class Postgresql {
731
731
  try {
732
732
  connection = await this.createConnection(SyncMode.Async);
733
733
  if (connection) {
734
- const data = await connection.query(SyncMode.Async, 'SELECT 1 FROM DUAL');
735
- globalThis[_LoggerService].debug?.('keepAlive->', data?.[0]?.[1]);
734
+ await connection.query(SyncMode.Async, 'SELECT 1 FROM DUAL');
735
+ // (globalThis[_LoggerService]! as LoggerService).debug?.('keepAlive->', data?.[0]?.[1]);
736
736
  }
737
737
  }
738
738
  catch (error) {