@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.
- package/CHANGELOG.md +12 -0
- package/docs/assets/style.css +3 -3
- package/docs/classes/Application.html +50 -50
- package/docs/classes/Command.html +90 -90
- package/docs/classes/ConfigLoader.html +3 -3
- package/docs/classes/Database.html +2 -2
- package/docs/classes/DatabaseCastObject.html +2 -2
- package/docs/classes/DatabaseConnection.html +22 -22
- package/docs/classes/DatabaseQueryError.html +8 -8
- package/docs/classes/DeadLockError.html +8 -8
- package/docs/classes/DiskSpaceError.html +7 -7
- package/docs/classes/DropTemporaryTableQuery.html +7 -7
- package/docs/classes/DuplicateEntryError.html +7 -7
- package/docs/classes/EntityNotFoundError.html +7 -7
- package/docs/classes/ExpiredTokenError.html +7 -7
- package/docs/classes/GetMySQLVersion.html +7 -7
- package/docs/classes/Handler.html +2 -2
- package/docs/classes/IllegalStateError.html +7 -7
- package/docs/classes/InternalError.html +7 -7
- package/docs/classes/InvalidCredentialsError.html +7 -7
- package/docs/classes/InvalidValueError.html +7 -7
- package/docs/classes/LineString.html +2 -2
- package/docs/classes/LockWaitTimeoutError.html +8 -8
- package/docs/classes/ManagedDatabaseConnection.html +5 -5
- package/docs/classes/Middleware.html +2 -2
- package/docs/classes/MissingConfigError.html +7 -7
- package/docs/classes/MissingParameterError.html +7 -7
- package/docs/classes/MySQLConnection.html +25 -25
- package/docs/classes/MySQLDatabase.html +2 -2
- package/docs/classes/NotImplementedError.html +7 -7
- package/docs/classes/Point.html +2 -2
- package/docs/classes/Polygon.html +2 -2
- package/docs/classes/Query.html +8 -8
- package/docs/classes/RawError.html +7 -7
- package/docs/classes/RawQuery.html +8 -8
- package/docs/classes/Request.html +3 -3
- package/docs/classes/Response.html +2 -2
- package/docs/classes/ResponseData.html +3 -3
- package/docs/classes/ServiceProvider.html +2 -2
- package/docs/classes/ServiceResponse.html +2 -2
- package/docs/classes/SetSessionVariableQuery.html +7 -7
- package/docs/classes/StormError.html +7 -7
- package/docs/classes/TemporaryTableQuery.html +7 -7
- package/docs/classes/TimeoutError.html +7 -7
- package/docs/classes/Token.html +2 -2
- package/docs/classes/TokenManager.html +2 -2
- package/docs/classes/Transaction.html +2 -2
- package/docs/classes/UnauthorizedAccessError.html +7 -7
- package/docs/enums/ErrorCode.html +2 -2
- package/docs/enums/ExitCode.html +2 -2
- package/docs/enums/HTTPMethod.html +2 -2
- package/docs/enums/IsolationLevel.html +2 -2
- package/docs/enums/JWTError.html +2 -2
- package/docs/enums/StatusCode.html +2 -2
- package/docs/enums/TransactionAccessLevel.html +2 -2
- package/docs/functions/getInstance.html +1 -1
- package/docs/interfaces/IAdditionalErrorDetails.html +1 -1
- package/docs/interfaces/ICloudwatchConfig.html +2 -2
- package/docs/interfaces/ICloudwatchCredentials.html +2 -2
- package/docs/interfaces/ICloudwatchStreamConfig.html +2 -2
- package/docs/interfaces/IConfig.html +3 -3
- package/docs/interfaces/IDatabaseConfig.html +2 -2
- package/docs/interfaces/IDatabaseConnection.html +5 -5
- package/docs/interfaces/IDatabasePosition.html +2 -2
- package/docs/interfaces/IErrorResponse.html +2 -2
- package/docs/interfaces/IFormData.html +2 -2
- package/docs/interfaces/IGetMySQLVersionResult.html +2 -2
- package/docs/interfaces/IGetMySQLVersionRow.html +2 -2
- package/docs/interfaces/IInsertQueryResult.html +2 -2
- package/docs/interfaces/IJWTVerifyOptions.html +2 -2
- package/docs/interfaces/IOKPacket.html +2 -2
- package/docs/interfaces/IParameterMap.html +1 -1
- package/docs/interfaces/IQueryable.html +2 -2
- package/docs/interfaces/IRequestResponse.html +2 -2
- package/docs/interfaces/ISetSessionVariableQueryInput.html +2 -2
- package/docs/interfaces/IStormCLIArgs.html +2 -2
- package/docs/interfaces/ITemporaryTableQueryInput.html +2 -2
- package/docs/interfaces/IUpdateQueryResult.html +2 -2
- package/docs/interfaces/formidable.EmitData.html +2 -2
- package/docs/interfaces/formidable.EventData.html +2 -2
- package/docs/interfaces/formidable.File.html +9 -9
- package/docs/interfaces/formidable.FileJSON.html +7 -7
- package/docs/interfaces/formidable.Options.html +16 -16
- package/docs/interfaces/formidable.Part.html +17 -17
- package/docs/types/IDeleteQueryResult.html +1 -1
- package/docs/types/IStoredProcedureResult.html +1 -1
- package/docs/types/TCoordinate.html +1 -1
- package/docs/types/TExpiresIn.html +1 -1
- package/docs/types/TSerializableResponse.html +1 -1
- package/docs/types/TSupportedResponsePrimitives.html +1 -1
- package/docs/types/TSupportedResponseTypes.html +1 -1
- package/docs/types/formidable.BufferEncoding.html +1 -1
- package/docs/types/formidable.DefaultOptions.html +1 -1
- package/docs/types/formidable.EnabledPlugins.html +1 -1
- package/docs/types/formidable.EventNames.html +1 -1
- package/docs/types/formidable.Fields.html +1 -1
- package/docs/types/formidable.Files.html +1 -1
- package/docs/types/formidable.MappedParsers.html +1 -1
- package/docs/types/formidable.Plugin.html +1 -1
- package/docs/types/formidable.PluginFunction.html +1 -1
- package/docs/types/formidable.Plugins.html +1 -1
- package/docs/variables/formidable.html +1 -1
- package/lib/MySQLConnection.js +4 -1
- package/lib/MySQLConnection.js.map +1 -1
- package/package.json +18 -18
- 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.
|
|
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.
|
|
51
|
-
"@types/formidable": "3.4.
|
|
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.
|
|
54
|
+
"@types/node": "24.10.1",
|
|
55
55
|
"ajv": "8.17.1",
|
|
56
|
-
"body-parser": "2.2.
|
|
57
|
-
"commander": "14.0.
|
|
58
|
-
"express": "5.1
|
|
59
|
-
"form-data": "4.0.
|
|
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.
|
|
63
|
-
"sql-formatter": "15.6.
|
|
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
|
|
75
|
-
"@totalpave/eslint-plugin": "7.0.
|
|
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.
|
|
80
|
-
"jest-jasmine2": "30.
|
|
81
|
-
"ts-jest": "29.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.
|
|
84
|
-
"typedoc-plugin-markdown": "4.
|
|
85
|
-
"typescript": "5.9.
|
|
83
|
+
"typedoc": "0.28.15",
|
|
84
|
+
"typedoc-plugin-markdown": "4.9.0",
|
|
85
|
+
"typescript": "5.9.3"
|
|
86
86
|
}
|
|
87
87
|
}
|
package/src/MySQLConnection.ts
CHANGED
|
@@ -272,7 +272,10 @@ export class MySQLConnection extends DatabaseConnection<MySQL.PoolConnection> {
|
|
|
272
272
|
timeout: this.getTimeout()
|
|
273
273
|
}, params);
|
|
274
274
|
|
|
275
|
-
getInstance().getLogger()
|
|
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
|
}
|