stimulsoft-data-adapter 2025.2.3 → 2025.2.5
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/FirebirdAdapter.js +3 -3
- package/MSSQLAdapter.js +5 -5
- package/MongoDBAdapter.js +3 -3
- package/MySQLAdapter.js +4 -4
- package/PostgreSQLAdapter.js +3 -3
- package/index.js +3 -3
- package/package.json +1 -1
package/FirebirdAdapter.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
Stimulsoft.Reports.JS
|
|
3
|
-
Version: 2025.2.
|
|
4
|
-
Build date: 2025.
|
|
3
|
+
Version: 2025.2.5
|
|
4
|
+
Build date: 2025.06.02
|
|
5
5
|
License: https://www.stimulsoft.com/en/licensing/reports
|
|
6
6
|
*/
|
|
7
7
|
exports.process = function (command, onResult) {
|
|
@@ -11,7 +11,7 @@ exports.process = function (command, onResult) {
|
|
|
11
11
|
var end = function (result) {
|
|
12
12
|
try {
|
|
13
13
|
if (db) db.detach();
|
|
14
|
-
result.adapterVersion = "2025.2.
|
|
14
|
+
result.adapterVersion = "2025.2.5";
|
|
15
15
|
onResult(result);
|
|
16
16
|
}
|
|
17
17
|
catch (e) {
|
package/MSSQLAdapter.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
/*
|
|
2
2
|
Stimulsoft.Reports.JS
|
|
3
|
-
Version: 2025.2.
|
|
4
|
-
Build date: 2025.
|
|
3
|
+
Version: 2025.2.5
|
|
4
|
+
Build date: 2025.06.02
|
|
5
5
|
License: https://www.stimulsoft.com/en/licensing/reports
|
|
6
6
|
*/
|
|
7
7
|
exports.process = function (command, onResult) {
|
|
8
8
|
var end = function (result) {
|
|
9
9
|
try {
|
|
10
10
|
if (connection) connection.close();
|
|
11
|
-
result.adapterVersion = "2025.2.
|
|
11
|
+
result.adapterVersion = "2025.2.5";
|
|
12
12
|
onResult(result);
|
|
13
13
|
}
|
|
14
14
|
catch (e) {
|
|
@@ -228,7 +228,7 @@ exports.process = function (command, onResult) {
|
|
|
228
228
|
break;
|
|
229
229
|
|
|
230
230
|
case "encrypt":
|
|
231
|
-
config.options["encrypt"] =
|
|
231
|
+
config.options["encrypt"] = match[1].toLowerCase() == "true";
|
|
232
232
|
break;
|
|
233
233
|
|
|
234
234
|
case "connectiontimeout":
|
|
@@ -244,7 +244,7 @@ exports.process = function (command, onResult) {
|
|
|
244
244
|
break;
|
|
245
245
|
|
|
246
246
|
case "trustservercertificate":
|
|
247
|
-
config.options["trustServerCertificate"] =
|
|
247
|
+
config.options["trustServerCertificate"] = match[1].toLowerCase() == "true";
|
|
248
248
|
break;
|
|
249
249
|
}
|
|
250
250
|
}
|
package/MongoDBAdapter.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
Stimulsoft.Reports.JS
|
|
3
|
-
Version: 2025.2.
|
|
4
|
-
Build date: 2025.
|
|
3
|
+
Version: 2025.2.5
|
|
4
|
+
Build date: 2025.06.02
|
|
5
5
|
License: https://www.stimulsoft.com/en/licensing/reports
|
|
6
6
|
*/
|
|
7
7
|
exports.process = function (command, onResult) {
|
|
@@ -127,7 +127,7 @@ exports.process = function (command, onResult) {
|
|
|
127
127
|
}
|
|
128
128
|
|
|
129
129
|
client.close();
|
|
130
|
-
result.adapterVersion = "2025.2.
|
|
130
|
+
result.adapterVersion = "2025.2.5";
|
|
131
131
|
onResult(result);
|
|
132
132
|
});
|
|
133
133
|
}
|
package/MySQLAdapter.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
Stimulsoft.Reports.JS
|
|
3
|
-
Version: 2025.2.
|
|
4
|
-
Build date: 2025.
|
|
3
|
+
Version: 2025.2.5
|
|
4
|
+
Build date: 2025.06.02
|
|
5
5
|
License: https://www.stimulsoft.com/en/licensing/reports
|
|
6
6
|
*/
|
|
7
7
|
exports.process = function (command, onResult) {
|
|
@@ -13,7 +13,7 @@ exports.process = function (command, onResult) {
|
|
|
13
13
|
catch (e) {
|
|
14
14
|
}
|
|
15
15
|
finally {
|
|
16
|
-
result.adapterVersion = "2025.2.
|
|
16
|
+
result.adapterVersion = "2025.2.5";
|
|
17
17
|
onResult(result);
|
|
18
18
|
}
|
|
19
19
|
}
|
|
@@ -31,7 +31,7 @@ exports.process = function (command, onResult) {
|
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
var query = function (queryString, parameters, timeout, maxDataRows) {
|
|
34
|
-
connection.query("USE " + command.connectionStringInfo.database);
|
|
34
|
+
connection.query("USE `" + command.connectionStringInfo.database + "`");
|
|
35
35
|
connection.query({ sql: queryString, timeout: timeout }, parameters, function (error, rows, fields) {
|
|
36
36
|
if (error) onError(error.message);
|
|
37
37
|
else {
|
package/PostgreSQLAdapter.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
/*
|
|
2
2
|
Stimulsoft.Reports.JS
|
|
3
|
-
Version: 2025.2.
|
|
4
|
-
Build date: 2025.
|
|
3
|
+
Version: 2025.2.5
|
|
4
|
+
Build date: 2025.06.02
|
|
5
5
|
License: https://www.stimulsoft.com/en/licensing/reports
|
|
6
6
|
*/
|
|
7
7
|
exports.process = function (command, onResult) {
|
|
8
8
|
var end = function (result) {
|
|
9
9
|
try {
|
|
10
10
|
if (client) client.end();
|
|
11
|
-
result.adapterVersion = "2025.2.
|
|
11
|
+
result.adapterVersion = "2025.2.5";
|
|
12
12
|
onResult(result);
|
|
13
13
|
}
|
|
14
14
|
catch (e) {
|
package/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
Stimulsoft.Reports.JS
|
|
3
|
-
Version: 2025.2.
|
|
4
|
-
Build date: 2025.
|
|
3
|
+
Version: 2025.2.5
|
|
4
|
+
Build date: 2025.06.02
|
|
5
5
|
License: https://www.stimulsoft.com/en/licensing/reports
|
|
6
6
|
*/
|
|
7
7
|
|
|
@@ -75,7 +75,7 @@ function getResponse(result) {
|
|
|
75
75
|
return result
|
|
76
76
|
}
|
|
77
77
|
function onProcess(onResult, encryptData, result) {
|
|
78
|
-
result.handlerVersion = "2025.2.
|
|
78
|
+
result.handlerVersion = "2025.2.5";
|
|
79
79
|
result.checkVersion = true;
|
|
80
80
|
result.encryptData = encryptData;
|
|
81
81
|
onResult(result);
|