@breautek/storm 9.2.4 → 9.2.6

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 (106) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/docs/assets/style.css +3 -3
  3. package/docs/classes/Application.html +50 -50
  4. package/docs/classes/Command.html +90 -90
  5. package/docs/classes/ConfigLoader.html +3 -3
  6. package/docs/classes/Database.html +2 -2
  7. package/docs/classes/DatabaseCastObject.html +2 -2
  8. package/docs/classes/DatabaseConnection.html +22 -22
  9. package/docs/classes/DatabaseQueryError.html +8 -8
  10. package/docs/classes/DeadLockError.html +8 -8
  11. package/docs/classes/DiskSpaceError.html +7 -7
  12. package/docs/classes/DropTemporaryTableQuery.html +7 -7
  13. package/docs/classes/DuplicateEntryError.html +7 -7
  14. package/docs/classes/EntityNotFoundError.html +7 -7
  15. package/docs/classes/ExpiredTokenError.html +7 -7
  16. package/docs/classes/GetMySQLVersion.html +7 -7
  17. package/docs/classes/Handler.html +2 -2
  18. package/docs/classes/IllegalStateError.html +7 -7
  19. package/docs/classes/InternalError.html +7 -7
  20. package/docs/classes/InvalidCredentialsError.html +7 -7
  21. package/docs/classes/InvalidValueError.html +7 -7
  22. package/docs/classes/LineString.html +2 -2
  23. package/docs/classes/LockWaitTimeoutError.html +8 -8
  24. package/docs/classes/ManagedDatabaseConnection.html +5 -5
  25. package/docs/classes/Middleware.html +2 -2
  26. package/docs/classes/MissingConfigError.html +7 -7
  27. package/docs/classes/MissingParameterError.html +7 -7
  28. package/docs/classes/MySQLConnection.html +25 -25
  29. package/docs/classes/MySQLDatabase.html +2 -2
  30. package/docs/classes/NotImplementedError.html +7 -7
  31. package/docs/classes/Point.html +2 -2
  32. package/docs/classes/Polygon.html +2 -2
  33. package/docs/classes/Query.html +8 -8
  34. package/docs/classes/RawError.html +7 -7
  35. package/docs/classes/RawQuery.html +8 -8
  36. package/docs/classes/Request.html +3 -3
  37. package/docs/classes/Response.html +2 -2
  38. package/docs/classes/ResponseData.html +3 -3
  39. package/docs/classes/ServiceProvider.html +2 -2
  40. package/docs/classes/ServiceResponse.html +2 -2
  41. package/docs/classes/SetSessionVariableQuery.html +7 -7
  42. package/docs/classes/StormError.html +7 -7
  43. package/docs/classes/TemporaryTableQuery.html +7 -7
  44. package/docs/classes/TimeoutError.html +7 -7
  45. package/docs/classes/Token.html +2 -2
  46. package/docs/classes/TokenManager.html +2 -2
  47. package/docs/classes/Transaction.html +2 -2
  48. package/docs/classes/UnauthorizedAccessError.html +7 -7
  49. package/docs/enums/ErrorCode.html +2 -2
  50. package/docs/enums/ExitCode.html +2 -2
  51. package/docs/enums/HTTPMethod.html +2 -2
  52. package/docs/enums/IsolationLevel.html +2 -2
  53. package/docs/enums/JWTError.html +2 -2
  54. package/docs/enums/StatusCode.html +2 -2
  55. package/docs/enums/TransactionAccessLevel.html +2 -2
  56. package/docs/functions/getInstance.html +1 -1
  57. package/docs/interfaces/IAdditionalErrorDetails.html +1 -1
  58. package/docs/interfaces/ICloudwatchConfig.html +2 -2
  59. package/docs/interfaces/ICloudwatchCredentials.html +2 -2
  60. package/docs/interfaces/ICloudwatchStreamConfig.html +2 -2
  61. package/docs/interfaces/IConfig.html +3 -3
  62. package/docs/interfaces/IDatabaseConfig.html +2 -2
  63. package/docs/interfaces/IDatabaseConnection.html +5 -5
  64. package/docs/interfaces/IDatabasePosition.html +2 -2
  65. package/docs/interfaces/IErrorResponse.html +2 -2
  66. package/docs/interfaces/IFormData.html +2 -2
  67. package/docs/interfaces/IGetMySQLVersionResult.html +2 -2
  68. package/docs/interfaces/IGetMySQLVersionRow.html +2 -2
  69. package/docs/interfaces/IInsertQueryResult.html +2 -2
  70. package/docs/interfaces/IJWTVerifyOptions.html +2 -2
  71. package/docs/interfaces/IOKPacket.html +2 -2
  72. package/docs/interfaces/IParameterMap.html +1 -1
  73. package/docs/interfaces/IQueryable.html +2 -2
  74. package/docs/interfaces/IRequestResponse.html +2 -2
  75. package/docs/interfaces/ISetSessionVariableQueryInput.html +2 -2
  76. package/docs/interfaces/IStormCLIArgs.html +2 -2
  77. package/docs/interfaces/ITemporaryTableQueryInput.html +2 -2
  78. package/docs/interfaces/IUpdateQueryResult.html +2 -2
  79. package/docs/interfaces/formidable.EmitData.html +2 -2
  80. package/docs/interfaces/formidable.EventData.html +2 -2
  81. package/docs/interfaces/formidable.File.html +9 -9
  82. package/docs/interfaces/formidable.FileJSON.html +7 -7
  83. package/docs/interfaces/formidable.Options.html +16 -16
  84. package/docs/interfaces/formidable.Part.html +17 -17
  85. package/docs/types/IDeleteQueryResult.html +1 -1
  86. package/docs/types/IStoredProcedureResult.html +1 -1
  87. package/docs/types/TCoordinate.html +1 -1
  88. package/docs/types/TExpiresIn.html +1 -1
  89. package/docs/types/TSerializableResponse.html +1 -1
  90. package/docs/types/TSupportedResponsePrimitives.html +1 -1
  91. package/docs/types/TSupportedResponseTypes.html +1 -1
  92. package/docs/types/formidable.BufferEncoding.html +1 -1
  93. package/docs/types/formidable.DefaultOptions.html +1 -1
  94. package/docs/types/formidable.EnabledPlugins.html +1 -1
  95. package/docs/types/formidable.EventNames.html +1 -1
  96. package/docs/types/formidable.Fields.html +1 -1
  97. package/docs/types/formidable.Files.html +1 -1
  98. package/docs/types/formidable.MappedParsers.html +1 -1
  99. package/docs/types/formidable.Plugin.html +1 -1
  100. package/docs/types/formidable.PluginFunction.html +1 -1
  101. package/docs/types/formidable.Plugins.html +1 -1
  102. package/docs/variables/formidable.html +1 -1
  103. package/lib/MySQLConnection.js +4 -1
  104. package/lib/MySQLConnection.js.map +1 -1
  105. package/package.json +18 -18
  106. package/src/MySQLConnection.ts +4 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@breautek/storm",
3
- "version": "9.2.4",
3
+ "version": "9.2.6",
4
4
  "description": "Object-Oriented REST API framework",
5
5
  "main": "lib/api.js",
6
6
  "types": "lib/api.d.ts",
@@ -47,20 +47,20 @@
47
47
  "@arashi/token": "1.0.1",
48
48
  "@breautek/merge-change": "1.0.0",
49
49
  "@types/body-parser": "1.19.6",
50
- "@types/express": "5.0.3",
51
- "@types/formidable": "3.4.5",
50
+ "@types/express": "5.0.6",
51
+ "@types/formidable": "3.4.6",
52
52
  "@types/jsonwebtoken": "9.0.10",
53
53
  "@types/mysql": "2.15.27",
54
- "@types/node": "24.5.2",
54
+ "@types/node": "24.10.1",
55
55
  "ajv": "8.17.1",
56
- "body-parser": "2.2.0",
57
- "commander": "14.0.1",
58
- "express": "5.1.0",
59
- "form-data": "4.0.4",
56
+ "body-parser": "2.2.1",
57
+ "commander": "14.0.2",
58
+ "express": "5.2.1",
59
+ "form-data": "4.0.5",
60
60
  "formidable": "3.5.4",
61
61
  "jsonwebtoken": "9.0.2",
62
- "mysql2": "3.15.0",
63
- "sql-formatter": "15.6.9",
62
+ "mysql2": "3.15.3",
63
+ "sql-formatter": "15.6.10",
64
64
  "tslib": "2.8.1",
65
65
  "uuid": "11.1.0"
66
66
  },
@@ -71,17 +71,17 @@
71
71
  "devDependencies": {
72
72
  "@arashi/interfaces": "1.2.1",
73
73
  "@arashi/logger": "4.1.3",
74
- "@jest/types": "30.0.5",
75
- "@totalpave/eslint-plugin": "7.0.16",
74
+ "@jest/types": "30.2.0",
75
+ "@totalpave/eslint-plugin": "7.0.17",
76
76
  "@types/jest": "30.0.0",
77
77
  "@types/ms": "2.1.0",
78
78
  "auto-changelog": "2.5.0",
79
- "jest": "30.1.3",
80
- "jest-jasmine2": "30.1.3",
81
- "ts-jest": "29.4.4",
79
+ "jest": "30.2.0",
80
+ "jest-jasmine2": "30.2.0",
81
+ "ts-jest": "29.4.6",
82
82
  "ts-node": "10.9.2",
83
- "typedoc": "0.28.13",
84
- "typedoc-plugin-markdown": "4.8.1",
85
- "typescript": "5.9.2"
83
+ "typedoc": "0.28.15",
84
+ "typedoc-plugin-markdown": "4.9.0",
85
+ "typescript": "5.9.3"
86
86
  }
87
87
  }
@@ -272,7 +272,10 @@ export class MySQLConnection extends DatabaseConnection<MySQL.PoolConnection> {
272
272
  timeout: this.getTimeout()
273
273
  }, params);
274
274
 
275
- getInstance().getLogger().trace(TAG, SQLFormatter.format(queryObject.sql, SQL_FORMATTING_OPTIONS));
275
+ let logger: BaseLogger = getInstance().getLogger();
276
+ if (logger.getLogLevel() === LogLevel.SILLY) {
277
+ getInstance().getLogger().trace(TAG, SQLFormatter.format(queryObject.sql, SQL_FORMATTING_OPTIONS));
278
+ }
276
279
 
277
280
  return queryObject.stream(streamOptions);
278
281
  }