@sap/async-xsjs 1.0.7 → 1.0.8
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 +7 -0
- package/lib/jobs/SqlScriptJobRunner.js +5 -1
- package/npm-shrinkwrap.json +83 -17
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,13 @@ This project adheres to [Semantic Versioning](http://semver.org/).
|
|
|
5
5
|
|
|
6
6
|
The format is based on [Keep a Changelog](http://keepachangelog.com/).
|
|
7
7
|
|
|
8
|
+
<a name="1.0.8"></a>
|
|
9
|
+
## 1.0.8 - 2023-10-20
|
|
10
|
+
|
|
11
|
+
### Fixed
|
|
12
|
+
- Fixed Sql script job runner for xsjob procedure
|
|
13
|
+
|
|
14
|
+
|
|
8
15
|
<a name="1.0.7"></a>
|
|
9
16
|
## 1.0.7 - 2023-10-03
|
|
10
17
|
|
|
@@ -19,7 +19,7 @@ SqlScriptJobRunner.prototype.run = async function (job, inputParams) {
|
|
|
19
19
|
client.setAutoCommit(true);
|
|
20
20
|
|
|
21
21
|
try {
|
|
22
|
-
await this._execProc(client, hanaOptions.schema, job.action, inputParams);
|
|
22
|
+
await this._execProc(client, hanaOptions.schema, this._defineSqlProcName(job.action), inputParams);
|
|
23
23
|
} finally {
|
|
24
24
|
client && client.close(function () {
|
|
25
25
|
});
|
|
@@ -27,6 +27,10 @@ SqlScriptJobRunner.prototype.run = async function (job, inputParams) {
|
|
|
27
27
|
};
|
|
28
28
|
|
|
29
29
|
SqlScriptJobRunner.prototype._execProc = function (client, schema, procName, inputParams) {
|
|
30
|
+
if (typeof(procName) != 'string'){
|
|
31
|
+
throw new Error("procName must be of type String")
|
|
32
|
+
}
|
|
33
|
+
inputParams = Object.values(inputParams);
|
|
30
34
|
return new Promise((resolve, reject) => {
|
|
31
35
|
hdbext.loadProcedurePromise(client, schema, procName)
|
|
32
36
|
.then((procedure) => {
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sap/async-xsjs",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.8",
|
|
4
4
|
"lockfileVersion": 2,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "@sap/async-xsjs",
|
|
9
|
-
"version": "1.0.
|
|
9
|
+
"version": "1.0.8",
|
|
10
10
|
"license": "SEE LICENSE IN LICENSE file",
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@sap/audit-logging": "^5.7.1",
|
|
@@ -53,16 +53,16 @@
|
|
|
53
53
|
}
|
|
54
54
|
},
|
|
55
55
|
"node_modules/@sap/audit-logging": {
|
|
56
|
-
"version": "5.7.
|
|
56
|
+
"version": "5.7.2",
|
|
57
57
|
"dependencies": {
|
|
58
|
-
"@sap/xssec": "^3.
|
|
58
|
+
"@sap/xssec": "^3.3.5",
|
|
59
59
|
"debug": "4.3.4",
|
|
60
60
|
"fetch-retry": "4.1.0",
|
|
61
61
|
"node-cache": "5.1.0",
|
|
62
62
|
"node-fetch": "2.6.7"
|
|
63
63
|
},
|
|
64
64
|
"engines": {
|
|
65
|
-
"node": "^
|
|
65
|
+
"node": "^12.0.0 || ^14.0.0 || ^16.0.0 || ^18.0.0"
|
|
66
66
|
}
|
|
67
67
|
},
|
|
68
68
|
"node_modules/@sap/e2e-trace": {
|
|
@@ -553,10 +553,11 @@
|
|
|
553
553
|
}
|
|
554
554
|
},
|
|
555
555
|
"node_modules/call-bind": {
|
|
556
|
-
"version": "1.0.
|
|
556
|
+
"version": "1.0.5",
|
|
557
557
|
"dependencies": {
|
|
558
|
-
"function-bind": "^1.1.
|
|
559
|
-
"get-intrinsic": "^1.
|
|
558
|
+
"function-bind": "^1.1.2",
|
|
559
|
+
"get-intrinsic": "^1.2.1",
|
|
560
|
+
"set-function-length": "^1.1.1"
|
|
560
561
|
}
|
|
561
562
|
},
|
|
562
563
|
"node_modules/callsite": {
|
|
@@ -679,6 +680,17 @@
|
|
|
679
680
|
}
|
|
680
681
|
}
|
|
681
682
|
},
|
|
683
|
+
"node_modules/define-data-property": {
|
|
684
|
+
"version": "1.1.1",
|
|
685
|
+
"dependencies": {
|
|
686
|
+
"get-intrinsic": "^1.2.1",
|
|
687
|
+
"gopd": "^1.0.1",
|
|
688
|
+
"has-property-descriptors": "^1.0.0"
|
|
689
|
+
},
|
|
690
|
+
"engines": {
|
|
691
|
+
"node": ">= 0.4"
|
|
692
|
+
}
|
|
693
|
+
},
|
|
682
694
|
"node_modules/delayed-stream": {
|
|
683
695
|
"version": "1.0.0",
|
|
684
696
|
"engines": {
|
|
@@ -950,7 +962,7 @@
|
|
|
950
962
|
}
|
|
951
963
|
},
|
|
952
964
|
"node_modules/function-bind": {
|
|
953
|
-
"version": "1.1.
|
|
965
|
+
"version": "1.1.2"
|
|
954
966
|
},
|
|
955
967
|
"node_modules/get-intrinsic": {
|
|
956
968
|
"version": "1.2.1",
|
|
@@ -961,12 +973,24 @@
|
|
|
961
973
|
"has-symbols": "^1.0.3"
|
|
962
974
|
}
|
|
963
975
|
},
|
|
976
|
+
"node_modules/gopd": {
|
|
977
|
+
"version": "1.0.1",
|
|
978
|
+
"dependencies": {
|
|
979
|
+
"get-intrinsic": "^1.1.3"
|
|
980
|
+
}
|
|
981
|
+
},
|
|
964
982
|
"node_modules/has": {
|
|
965
983
|
"version": "1.0.4",
|
|
966
984
|
"engines": {
|
|
967
985
|
"node": ">= 0.4.0"
|
|
968
986
|
}
|
|
969
987
|
},
|
|
988
|
+
"node_modules/has-property-descriptors": {
|
|
989
|
+
"version": "1.0.0",
|
|
990
|
+
"dependencies": {
|
|
991
|
+
"get-intrinsic": "^1.1.1"
|
|
992
|
+
}
|
|
993
|
+
},
|
|
970
994
|
"node_modules/has-proto": {
|
|
971
995
|
"version": "1.0.1",
|
|
972
996
|
"engines": {
|
|
@@ -1206,7 +1230,7 @@
|
|
|
1206
1230
|
}
|
|
1207
1231
|
},
|
|
1208
1232
|
"node_modules/object-inspect": {
|
|
1209
|
-
"version": "1.
|
|
1233
|
+
"version": "1.13.1"
|
|
1210
1234
|
},
|
|
1211
1235
|
"node_modules/on-finished": {
|
|
1212
1236
|
"version": "2.3.0",
|
|
@@ -1432,6 +1456,18 @@
|
|
|
1432
1456
|
"node": ">= 0.8.0"
|
|
1433
1457
|
}
|
|
1434
1458
|
},
|
|
1459
|
+
"node_modules/set-function-length": {
|
|
1460
|
+
"version": "1.1.1",
|
|
1461
|
+
"dependencies": {
|
|
1462
|
+
"define-data-property": "^1.1.1",
|
|
1463
|
+
"get-intrinsic": "^1.2.1",
|
|
1464
|
+
"gopd": "^1.0.1",
|
|
1465
|
+
"has-property-descriptors": "^1.0.0"
|
|
1466
|
+
},
|
|
1467
|
+
"engines": {
|
|
1468
|
+
"node": ">= 0.4"
|
|
1469
|
+
}
|
|
1470
|
+
},
|
|
1435
1471
|
"node_modules/setprototypeof": {
|
|
1436
1472
|
"version": "1.2.0"
|
|
1437
1473
|
},
|
|
@@ -1550,9 +1586,9 @@
|
|
|
1550
1586
|
},
|
|
1551
1587
|
"dependencies": {
|
|
1552
1588
|
"@sap/audit-logging": {
|
|
1553
|
-
"version": "5.7.
|
|
1589
|
+
"version": "5.7.2",
|
|
1554
1590
|
"requires": {
|
|
1555
|
-
"@sap/xssec": "^3.
|
|
1591
|
+
"@sap/xssec": "^3.3.5",
|
|
1556
1592
|
"debug": "4.3.4",
|
|
1557
1593
|
"fetch-retry": "4.1.0",
|
|
1558
1594
|
"node-cache": "5.1.0",
|
|
@@ -1924,10 +1960,11 @@
|
|
|
1924
1960
|
"version": "3.1.2"
|
|
1925
1961
|
},
|
|
1926
1962
|
"call-bind": {
|
|
1927
|
-
"version": "1.0.
|
|
1963
|
+
"version": "1.0.5",
|
|
1928
1964
|
"requires": {
|
|
1929
|
-
"function-bind": "^1.1.
|
|
1930
|
-
"get-intrinsic": "^1.
|
|
1965
|
+
"function-bind": "^1.1.2",
|
|
1966
|
+
"get-intrinsic": "^1.2.1",
|
|
1967
|
+
"set-function-length": "^1.1.1"
|
|
1931
1968
|
}
|
|
1932
1969
|
},
|
|
1933
1970
|
"callsite": {
|
|
@@ -2015,6 +2052,14 @@
|
|
|
2015
2052
|
"ms": "2.1.2"
|
|
2016
2053
|
}
|
|
2017
2054
|
},
|
|
2055
|
+
"define-data-property": {
|
|
2056
|
+
"version": "1.1.1",
|
|
2057
|
+
"requires": {
|
|
2058
|
+
"get-intrinsic": "^1.2.1",
|
|
2059
|
+
"gopd": "^1.0.1",
|
|
2060
|
+
"has-property-descriptors": "^1.0.0"
|
|
2061
|
+
}
|
|
2062
|
+
},
|
|
2018
2063
|
"delayed-stream": {
|
|
2019
2064
|
"version": "1.0.0"
|
|
2020
2065
|
},
|
|
@@ -2214,7 +2259,7 @@
|
|
|
2214
2259
|
"version": "0.5.2"
|
|
2215
2260
|
},
|
|
2216
2261
|
"function-bind": {
|
|
2217
|
-
"version": "1.1.
|
|
2262
|
+
"version": "1.1.2"
|
|
2218
2263
|
},
|
|
2219
2264
|
"get-intrinsic": {
|
|
2220
2265
|
"version": "1.2.1",
|
|
@@ -2225,9 +2270,21 @@
|
|
|
2225
2270
|
"has-symbols": "^1.0.3"
|
|
2226
2271
|
}
|
|
2227
2272
|
},
|
|
2273
|
+
"gopd": {
|
|
2274
|
+
"version": "1.0.1",
|
|
2275
|
+
"requires": {
|
|
2276
|
+
"get-intrinsic": "^1.1.3"
|
|
2277
|
+
}
|
|
2278
|
+
},
|
|
2228
2279
|
"has": {
|
|
2229
2280
|
"version": "1.0.4"
|
|
2230
2281
|
},
|
|
2282
|
+
"has-property-descriptors": {
|
|
2283
|
+
"version": "1.0.0",
|
|
2284
|
+
"requires": {
|
|
2285
|
+
"get-intrinsic": "^1.1.1"
|
|
2286
|
+
}
|
|
2287
|
+
},
|
|
2231
2288
|
"has-proto": {
|
|
2232
2289
|
"version": "1.0.1"
|
|
2233
2290
|
},
|
|
@@ -2402,7 +2459,7 @@
|
|
|
2402
2459
|
"version": "6.6.1"
|
|
2403
2460
|
},
|
|
2404
2461
|
"object-inspect": {
|
|
2405
|
-
"version": "1.
|
|
2462
|
+
"version": "1.13.1"
|
|
2406
2463
|
},
|
|
2407
2464
|
"on-finished": {
|
|
2408
2465
|
"version": "2.3.0",
|
|
@@ -2574,6 +2631,15 @@
|
|
|
2574
2631
|
"send": "0.18.0"
|
|
2575
2632
|
}
|
|
2576
2633
|
},
|
|
2634
|
+
"set-function-length": {
|
|
2635
|
+
"version": "1.1.1",
|
|
2636
|
+
"requires": {
|
|
2637
|
+
"define-data-property": "^1.1.1",
|
|
2638
|
+
"get-intrinsic": "^1.2.1",
|
|
2639
|
+
"gopd": "^1.0.1",
|
|
2640
|
+
"has-property-descriptors": "^1.0.0"
|
|
2641
|
+
}
|
|
2642
|
+
},
|
|
2577
2643
|
"setprototypeof": {
|
|
2578
2644
|
"version": "1.2.0"
|
|
2579
2645
|
},
|
package/package.json
CHANGED