@sap/async-xsjs 1.0.6 → 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 CHANGED
@@ -5,6 +5,27 @@ 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
+
15
+ <a name="1.0.7"></a>
16
+ ## 1.0.7 - 2023-10-03
17
+
18
+ ### Updated
19
+ - Updated hana-client to v2.18.24
20
+ - Updated hdbext to v8.0.0
21
+ - Updated xssec to v3.3.5
22
+ - Updated audit-logging to v5.7.1
23
+
24
+
25
+ ### Fixed
26
+ - Fixed Sql script job runner
27
+
28
+
8
29
  <a name="1.0.6"></a>
9
30
  ## 1.0.6 - 2023-06-23
10
31
 
@@ -1,3 +1,4 @@
1
+ /* eslint-disable */
1
2
  'use strict';
2
3
 
3
4
  var assert = require('assert');
@@ -8,29 +9,48 @@ module.exports = SqlScriptJobRunner;
8
9
 
9
10
 
10
11
  function SqlScriptJobRunner(dbReqOptions) {
11
- assert(dbReqOptions, 'Valid dbReqOptions expected');
12
- this._dbReqOptions = dbReqOptions;
12
+ assert(dbReqOptions, 'Valid dbReqOptions expected');
13
+ this._dbReqOptions = dbReqOptions;
13
14
  }
14
15
 
15
- SqlScriptJobRunner.prototype.run = async function(job, inputParams) {
16
- var self = this;
17
- var hanaOptions;
18
- var hdbClient;
19
-
20
- var hanaOpts = await this._dbReqOptions.getInstanceOptionsPromise();
21
- hanaOptions = hanaOpts;
22
- var client = await connection.connect(hanaOptions);
23
- hdbClient = client;
24
- client.setAutoCommit(true);
25
- var procedure = await hdbext.loadProcedurePromise(client, hanaOptions.schema, self._defineSqlProcName(job.action));
26
- await procedure(inputParams);
27
- hdbClient && await hdbClient.close();
16
+ SqlScriptJobRunner.prototype.run = async function (job, inputParams) {
17
+ var hanaOptions = await this._dbReqOptions.getInstanceOptionsPromise();
18
+ var client = await connection.connect(hanaOptions);
19
+ client.setAutoCommit(true);
20
+
21
+ try {
22
+ await this._execProc(client, hanaOptions.schema, this._defineSqlProcName(job.action), inputParams);
23
+ } finally {
24
+ client && client.close(function () {
25
+ });
26
+ }
28
27
  };
29
28
 
30
- SqlScriptJobRunner.prototype._defineSqlProcName = function(action) {
31
- if (!action.packagename) {
32
- return action.funcname;
33
- }
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);
34
+ return new Promise((resolve, reject) => {
35
+ hdbext.loadProcedurePromise(client, schema, procName)
36
+ .then((procedure) => {
37
+ procedure(inputParams, function () {
38
+ var err = arguments[0];
39
+ if (err) {
40
+ reject(err);
41
+ } else {
42
+ resolve();
43
+ }
44
+ });
45
+ });
46
+ });
47
+ };
48
+
49
+
50
+ SqlScriptJobRunner.prototype._defineSqlProcName = function (action) {
51
+ if (!action.packagename) {
52
+ return action.funcname;
53
+ }
34
54
 
35
- return action.packagename + '::' + action.funcname;
55
+ return action.packagename + '::' + action.funcname;
36
56
  };
@@ -1,18 +1,18 @@
1
1
  {
2
2
  "name": "@sap/async-xsjs",
3
- "version": "1.0.6",
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.6",
9
+ "version": "1.0.8",
10
10
  "license": "SEE LICENSE IN LICENSE file",
11
11
  "dependencies": {
12
- "@sap/audit-logging": "^5.7.0",
12
+ "@sap/audit-logging": "^5.7.1",
13
13
  "@sap/e2e-trace": "^3.2.0",
14
- "@sap/hana-client": "2.17.14",
15
- "@sap/hdbext": "^7.7.5",
14
+ "@sap/hana-client": "^2.18.24",
15
+ "@sap/hdbext": "^8.0.0",
16
16
  "@sap/instance-manager": "^3.5.3",
17
17
  "@sap/jobs-client": "^1.7.43",
18
18
  "@sap/logging": "^6.2.0",
@@ -24,7 +24,7 @@
24
24
  "@sap/xsenv": "^3.4.0",
25
25
  "@sap/xsodata": "^8.0.2",
26
26
  "@sap/xss-secure": "^4.1.0",
27
- "@sap/xssec": "^3.2.17",
27
+ "@sap/xssec": "^3.3.5",
28
28
  "accept-language": "2.0.16",
29
29
  "axios": "^1.3.5",
30
30
  "big.js": "5.0.2",
@@ -53,16 +53,16 @@
53
53
  }
54
54
  },
55
55
  "node_modules/@sap/audit-logging": {
56
- "version": "5.7.0",
56
+ "version": "5.7.2",
57
57
  "dependencies": {
58
- "@sap/xssec": "^3.2.17",
59
- "debug": "4.3.3",
58
+ "@sap/xssec": "^3.3.5",
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": "^10.0.0 || ^12.0.0 || ^14.0.0 || ^16.0.0 || ^18.0.0"
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": {
@@ -75,7 +75,7 @@
75
75
  }
76
76
  },
77
77
  "node_modules/@sap/hana-client": {
78
- "version": "2.17.14",
78
+ "version": "2.18.24",
79
79
  "hasInstallScript": true,
80
80
  "dependencies": {
81
81
  "debug": "3.1.0"
@@ -94,10 +94,10 @@
94
94
  "version": "2.0.0"
95
95
  },
96
96
  "node_modules/@sap/hdbext": {
97
- "version": "7.7.5",
97
+ "version": "8.0.0",
98
98
  "dependencies": {
99
99
  "@sap/e2e-trace": "^3.1.0",
100
- "@sap/hana-client": "2.17.14",
100
+ "@sap/hana-client": "2.17.21",
101
101
  "accept-language": "2.0.16",
102
102
  "async": "3.2.2",
103
103
  "debug": "4.3.1",
@@ -105,9 +105,28 @@
105
105
  "verror": "1.10.0"
106
106
  },
107
107
  "engines": {
108
- "node": "^10.0.0 || ^12.0.0 || ^14.0.0 || ^16.0.0 || ^18.0.0"
108
+ "node": "^12.0.0 || ^14.0.0 || ^16.0.0 || ^18.0.0"
109
+ }
110
+ },
111
+ "node_modules/@sap/hdbext/node_modules/@sap/hana-client": {
112
+ "version": "2.17.21",
113
+ "hasInstallScript": true,
114
+ "dependencies": {
115
+ "debug": "3.1.0"
116
+ },
117
+ "engines": {
118
+ "node": ">=4.0.0"
109
119
  }
110
120
  },
121
+ "node_modules/@sap/hdbext/node_modules/@sap/hana-client/node_modules/debug": {
122
+ "version": "3.1.0",
123
+ "dependencies": {
124
+ "ms": "2.0.0"
125
+ }
126
+ },
127
+ "node_modules/@sap/hdbext/node_modules/@sap/hana-client/node_modules/ms": {
128
+ "version": "2.0.0"
129
+ },
111
130
  "node_modules/@sap/hdbext/node_modules/debug": {
112
131
  "version": "4.3.1",
113
132
  "dependencies": {
@@ -136,6 +155,20 @@
136
155
  "node": "^10.0.0 || ^12.0.0 || ^14.0.0 || ^16.0.0 || ^18"
137
156
  }
138
157
  },
158
+ "node_modules/@sap/instance-manager/node_modules/debug": {
159
+ "version": "4.3.3",
160
+ "dependencies": {
161
+ "ms": "2.1.2"
162
+ },
163
+ "engines": {
164
+ "node": ">=6.0"
165
+ },
166
+ "peerDependenciesMeta": {
167
+ "supports-color": {
168
+ "optional": true
169
+ }
170
+ }
171
+ },
139
172
  "node_modules/@sap/jobs-client": {
140
173
  "version": "1.7.47",
141
174
  "dependencies": {
@@ -203,6 +236,20 @@
203
236
  "node": "^10.0.0 || ^12.0.0 || ^14.0.0 || ^16.0.0 || ^18.0.0"
204
237
  }
205
238
  },
239
+ "node_modules/@sap/xsenv/node_modules/debug": {
240
+ "version": "4.3.3",
241
+ "dependencies": {
242
+ "ms": "2.1.2"
243
+ },
244
+ "engines": {
245
+ "node": ">=6.0"
246
+ },
247
+ "peerDependenciesMeta": {
248
+ "supports-color": {
249
+ "optional": true
250
+ }
251
+ }
252
+ },
206
253
  "node_modules/@sap/xsodata": {
207
254
  "version": "8.1.0",
208
255
  "dependencies": {
@@ -221,9 +268,29 @@
221
268
  "node": "^14 || ^16 || ^18"
222
269
  }
223
270
  },
271
+ "node_modules/@sap/xsodata/node_modules/@sap/xssec": {
272
+ "version": "3.2.17",
273
+ "dependencies": {
274
+ "axios": "^0.26.0",
275
+ "debug": "^4.3.2",
276
+ "jsonwebtoken": "^9.0.0",
277
+ "lru-cache": "^6.0.0",
278
+ "node-rsa": "^1.1.1",
279
+ "valid-url": "1.0.9"
280
+ },
281
+ "engines": {
282
+ "node": ">=12.0.0"
283
+ }
284
+ },
224
285
  "node_modules/@sap/xsodata/node_modules/async": {
225
286
  "version": "3.2.4"
226
287
  },
288
+ "node_modules/@sap/xsodata/node_modules/axios": {
289
+ "version": "0.26.1",
290
+ "dependencies": {
291
+ "follow-redirects": "^1.14.8"
292
+ }
293
+ },
227
294
  "node_modules/@sap/xsodata/node_modules/big.js": {
228
295
  "version": "6.2.1",
229
296
  "engines": {
@@ -251,18 +318,18 @@
251
318
  "npm": "1.2.8000 || >= 1.4.16"
252
319
  }
253
320
  },
321
+ "node_modules/@sap/xsodata/node_modules/body-parser/node_modules/debug": {
322
+ "version": "2.6.9",
323
+ "dependencies": {
324
+ "ms": "2.0.0"
325
+ }
326
+ },
254
327
  "node_modules/@sap/xsodata/node_modules/content-type": {
255
328
  "version": "1.0.5",
256
329
  "engines": {
257
330
  "node": ">= 0.6"
258
331
  }
259
332
  },
260
- "node_modules/@sap/xsodata/node_modules/debug": {
261
- "version": "2.6.9",
262
- "dependencies": {
263
- "ms": "2.0.0"
264
- }
265
- },
266
333
  "node_modules/@sap/xsodata/node_modules/depd": {
267
334
  "version": "2.0.0",
268
335
  "engines": {
@@ -291,6 +358,15 @@
291
358
  "node": ">= 0.8"
292
359
  }
293
360
  },
361
+ "node_modules/@sap/xsodata/node_modules/lru-cache": {
362
+ "version": "6.0.0",
363
+ "dependencies": {
364
+ "yallist": "^4.0.0"
365
+ },
366
+ "engines": {
367
+ "node": ">=10"
368
+ }
369
+ },
294
370
  "node_modules/@sap/xsodata/node_modules/ms": {
295
371
  "version": "2.0.0"
296
372
  },
@@ -330,6 +406,9 @@
330
406
  "node": ">= 0.8"
331
407
  }
332
408
  },
409
+ "node_modules/@sap/xsodata/node_modules/yallist": {
410
+ "version": "4.0.0"
411
+ },
333
412
  "node_modules/@sap/xss-secure": {
334
413
  "version": "4.2.0",
335
414
  "engines": {
@@ -337,17 +416,17 @@
337
416
  }
338
417
  },
339
418
  "node_modules/@sap/xssec": {
340
- "version": "3.2.17",
419
+ "version": "3.3.5",
341
420
  "dependencies": {
342
421
  "axios": "^0.26.0",
343
422
  "debug": "^4.3.2",
344
- "jsonwebtoken": "^9.0.0",
423
+ "jsonwebtoken": "^9.0.2",
345
424
  "lru-cache": "^6.0.0",
346
425
  "node-rsa": "^1.1.1",
347
426
  "valid-url": "1.0.9"
348
427
  },
349
428
  "engines": {
350
- "node": ">=12.0.0"
429
+ "node": ">=16.1.0"
351
430
  }
352
431
  },
353
432
  "node_modules/@sap/xssec/node_modules/axios": {
@@ -406,7 +485,7 @@
406
485
  "version": "0.4.0"
407
486
  },
408
487
  "node_modules/axios": {
409
- "version": "1.4.0",
488
+ "version": "1.5.1",
410
489
  "dependencies": {
411
490
  "follow-redirects": "^1.15.0",
412
491
  "form-data": "^4.0.0",
@@ -474,10 +553,11 @@
474
553
  }
475
554
  },
476
555
  "node_modules/call-bind": {
477
- "version": "1.0.2",
556
+ "version": "1.0.5",
478
557
  "dependencies": {
479
- "function-bind": "^1.1.1",
480
- "get-intrinsic": "^1.0.2"
558
+ "function-bind": "^1.1.2",
559
+ "get-intrinsic": "^1.2.1",
560
+ "set-function-length": "^1.1.1"
481
561
  }
482
562
  },
483
563
  "node_modules/callsite": {
@@ -587,7 +667,7 @@
587
667
  "version": "1.0.2"
588
668
  },
589
669
  "node_modules/debug": {
590
- "version": "4.3.3",
670
+ "version": "4.3.4",
591
671
  "dependencies": {
592
672
  "ms": "2.1.2"
593
673
  },
@@ -600,6 +680,17 @@
600
680
  }
601
681
  }
602
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
+ },
603
694
  "node_modules/delayed-stream": {
604
695
  "version": "1.0.0",
605
696
  "engines": {
@@ -837,7 +928,7 @@
837
928
  }
838
929
  },
839
930
  "node_modules/follow-redirects": {
840
- "version": "1.15.2",
931
+ "version": "1.15.3",
841
932
  "engines": {
842
933
  "node": ">=4.0"
843
934
  },
@@ -871,7 +962,7 @@
871
962
  }
872
963
  },
873
964
  "node_modules/function-bind": {
874
- "version": "1.1.1"
965
+ "version": "1.1.2"
875
966
  },
876
967
  "node_modules/get-intrinsic": {
877
968
  "version": "1.2.1",
@@ -882,15 +973,24 @@
882
973
  "has-symbols": "^1.0.3"
883
974
  }
884
975
  },
885
- "node_modules/has": {
886
- "version": "1.0.3",
976
+ "node_modules/gopd": {
977
+ "version": "1.0.1",
887
978
  "dependencies": {
888
- "function-bind": "^1.1.1"
889
- },
979
+ "get-intrinsic": "^1.1.3"
980
+ }
981
+ },
982
+ "node_modules/has": {
983
+ "version": "1.0.4",
890
984
  "engines": {
891
985
  "node": ">= 0.4.0"
892
986
  }
893
987
  },
988
+ "node_modules/has-property-descriptors": {
989
+ "version": "1.0.0",
990
+ "dependencies": {
991
+ "get-intrinsic": "^1.1.1"
992
+ }
993
+ },
894
994
  "node_modules/has-proto": {
895
995
  "version": "1.0.1",
896
996
  "engines": {
@@ -956,12 +1056,18 @@
956
1056
  }
957
1057
  },
958
1058
  "node_modules/jsonwebtoken": {
959
- "version": "9.0.0",
1059
+ "version": "9.0.2",
960
1060
  "dependencies": {
961
1061
  "jws": "^3.2.2",
962
- "lodash": "^4.17.21",
1062
+ "lodash.includes": "^4.3.0",
1063
+ "lodash.isboolean": "^3.0.3",
1064
+ "lodash.isinteger": "^4.0.4",
1065
+ "lodash.isnumber": "^3.0.3",
1066
+ "lodash.isplainobject": "^4.0.6",
1067
+ "lodash.isstring": "^4.0.1",
1068
+ "lodash.once": "^4.0.0",
963
1069
  "ms": "^2.1.1",
964
- "semver": "^7.3.8"
1070
+ "semver": "^7.5.4"
965
1071
  },
966
1072
  "engines": {
967
1073
  "node": ">=12",
@@ -986,6 +1092,27 @@
986
1092
  "node_modules/lodash": {
987
1093
  "version": "4.17.21"
988
1094
  },
1095
+ "node_modules/lodash.includes": {
1096
+ "version": "4.3.0"
1097
+ },
1098
+ "node_modules/lodash.isboolean": {
1099
+ "version": "3.0.3"
1100
+ },
1101
+ "node_modules/lodash.isinteger": {
1102
+ "version": "4.0.4"
1103
+ },
1104
+ "node_modules/lodash.isnumber": {
1105
+ "version": "3.0.3"
1106
+ },
1107
+ "node_modules/lodash.isplainobject": {
1108
+ "version": "4.0.6"
1109
+ },
1110
+ "node_modules/lodash.isstring": {
1111
+ "version": "4.0.1"
1112
+ },
1113
+ "node_modules/lodash.once": {
1114
+ "version": "4.1.1"
1115
+ },
989
1116
  "node_modules/lru-cache": {
990
1117
  "version": "4.1.1",
991
1118
  "dependencies": {
@@ -1103,7 +1230,7 @@
1103
1230
  }
1104
1231
  },
1105
1232
  "node_modules/object-inspect": {
1106
- "version": "1.12.3"
1233
+ "version": "1.13.1"
1107
1234
  },
1108
1235
  "node_modules/on-finished": {
1109
1236
  "version": "2.3.0",
@@ -1227,7 +1354,7 @@
1227
1354
  "version": "1.2.4"
1228
1355
  },
1229
1356
  "node_modules/semver": {
1230
- "version": "7.5.3",
1357
+ "version": "7.5.4",
1231
1358
  "dependencies": {
1232
1359
  "lru-cache": "^6.0.0"
1233
1360
  },
@@ -1329,6 +1456,18 @@
1329
1456
  "node": ">= 0.8.0"
1330
1457
  }
1331
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
+ },
1332
1471
  "node_modules/setprototypeof": {
1333
1472
  "version": "1.2.0"
1334
1473
  },
@@ -1447,10 +1586,10 @@
1447
1586
  },
1448
1587
  "dependencies": {
1449
1588
  "@sap/audit-logging": {
1450
- "version": "5.7.0",
1589
+ "version": "5.7.2",
1451
1590
  "requires": {
1452
- "@sap/xssec": "^3.2.17",
1453
- "debug": "4.3.3",
1591
+ "@sap/xssec": "^3.3.5",
1592
+ "debug": "4.3.4",
1454
1593
  "fetch-retry": "4.1.0",
1455
1594
  "node-cache": "5.1.0",
1456
1595
  "node-fetch": "2.6.7"
@@ -1463,7 +1602,7 @@
1463
1602
  }
1464
1603
  },
1465
1604
  "@sap/hana-client": {
1466
- "version": "2.17.14",
1605
+ "version": "2.18.24",
1467
1606
  "requires": {
1468
1607
  "debug": "3.1.0"
1469
1608
  },
@@ -1480,10 +1619,10 @@
1480
1619
  }
1481
1620
  },
1482
1621
  "@sap/hdbext": {
1483
- "version": "7.7.5",
1622
+ "version": "8.0.0",
1484
1623
  "requires": {
1485
1624
  "@sap/e2e-trace": "^3.1.0",
1486
- "@sap/hana-client": "2.17.14",
1625
+ "@sap/hana-client": "2.17.21",
1487
1626
  "accept-language": "2.0.16",
1488
1627
  "async": "3.2.2",
1489
1628
  "debug": "4.3.1",
@@ -1491,6 +1630,23 @@
1491
1630
  "verror": "1.10.0"
1492
1631
  },
1493
1632
  "dependencies": {
1633
+ "@sap/hana-client": {
1634
+ "version": "2.17.21",
1635
+ "requires": {
1636
+ "debug": "3.1.0"
1637
+ },
1638
+ "dependencies": {
1639
+ "debug": {
1640
+ "version": "3.1.0",
1641
+ "requires": {
1642
+ "ms": "2.0.0"
1643
+ }
1644
+ },
1645
+ "ms": {
1646
+ "version": "2.0.0"
1647
+ }
1648
+ }
1649
+ },
1494
1650
  "debug": {
1495
1651
  "version": "4.3.1",
1496
1652
  "requires": {
@@ -1508,6 +1664,14 @@
1508
1664
  "lru-cache": "4.1.1",
1509
1665
  "node-fetch": "2.6.7",
1510
1666
  "uuid": "7.0.0"
1667
+ },
1668
+ "dependencies": {
1669
+ "debug": {
1670
+ "version": "4.3.3",
1671
+ "requires": {
1672
+ "ms": "2.1.2"
1673
+ }
1674
+ }
1511
1675
  }
1512
1676
  },
1513
1677
  "@sap/jobs-client": {
@@ -1548,6 +1712,14 @@
1548
1712
  "debug": "4.3.3",
1549
1713
  "node-cache": "^5.1.0",
1550
1714
  "verror": "1.10.0"
1715
+ },
1716
+ "dependencies": {
1717
+ "debug": {
1718
+ "version": "4.3.3",
1719
+ "requires": {
1720
+ "ms": "2.1.2"
1721
+ }
1722
+ }
1551
1723
  }
1552
1724
  },
1553
1725
  "@sap/xsodata": {
@@ -1565,9 +1737,26 @@
1565
1737
  "xml-writer": "1.7.0"
1566
1738
  },
1567
1739
  "dependencies": {
1740
+ "@sap/xssec": {
1741
+ "version": "3.2.17",
1742
+ "requires": {
1743
+ "axios": "^0.26.0",
1744
+ "debug": "^4.3.2",
1745
+ "jsonwebtoken": "^9.0.0",
1746
+ "lru-cache": "^6.0.0",
1747
+ "node-rsa": "^1.1.1",
1748
+ "valid-url": "1.0.9"
1749
+ }
1750
+ },
1568
1751
  "async": {
1569
1752
  "version": "3.2.4"
1570
1753
  },
1754
+ "axios": {
1755
+ "version": "0.26.1",
1756
+ "requires": {
1757
+ "follow-redirects": "^1.14.8"
1758
+ }
1759
+ },
1571
1760
  "big.js": {
1572
1761
  "version": "6.2.1"
1573
1762
  },
@@ -1586,17 +1775,19 @@
1586
1775
  "raw-body": "2.5.1",
1587
1776
  "type-is": "~1.6.18",
1588
1777
  "unpipe": "1.0.0"
1778
+ },
1779
+ "dependencies": {
1780
+ "debug": {
1781
+ "version": "2.6.9",
1782
+ "requires": {
1783
+ "ms": "2.0.0"
1784
+ }
1785
+ }
1589
1786
  }
1590
1787
  },
1591
1788
  "content-type": {
1592
1789
  "version": "1.0.5"
1593
1790
  },
1594
- "debug": {
1595
- "version": "2.6.9",
1596
- "requires": {
1597
- "ms": "2.0.0"
1598
- }
1599
- },
1600
1791
  "depd": {
1601
1792
  "version": "2.0.0"
1602
1793
  },
@@ -1616,6 +1807,12 @@
1616
1807
  "toidentifier": "1.0.1"
1617
1808
  }
1618
1809
  },
1810
+ "lru-cache": {
1811
+ "version": "6.0.0",
1812
+ "requires": {
1813
+ "yallist": "^4.0.0"
1814
+ }
1815
+ },
1619
1816
  "ms": {
1620
1817
  "version": "2.0.0"
1621
1818
  },
@@ -1642,6 +1839,9 @@
1642
1839
  },
1643
1840
  "statuses": {
1644
1841
  "version": "2.0.1"
1842
+ },
1843
+ "yallist": {
1844
+ "version": "4.0.0"
1645
1845
  }
1646
1846
  }
1647
1847
  },
@@ -1649,11 +1849,11 @@
1649
1849
  "version": "4.2.0"
1650
1850
  },
1651
1851
  "@sap/xssec": {
1652
- "version": "3.2.17",
1852
+ "version": "3.3.5",
1653
1853
  "requires": {
1654
1854
  "axios": "^0.26.0",
1655
1855
  "debug": "^4.3.2",
1656
- "jsonwebtoken": "^9.0.0",
1856
+ "jsonwebtoken": "^9.0.2",
1657
1857
  "lru-cache": "^6.0.0",
1658
1858
  "node-rsa": "^1.1.1",
1659
1859
  "valid-url": "1.0.9"
@@ -1708,7 +1908,7 @@
1708
1908
  "version": "0.4.0"
1709
1909
  },
1710
1910
  "axios": {
1711
- "version": "1.4.0",
1911
+ "version": "1.5.1",
1712
1912
  "requires": {
1713
1913
  "follow-redirects": "^1.15.0",
1714
1914
  "form-data": "^4.0.0",
@@ -1760,10 +1960,11 @@
1760
1960
  "version": "3.1.2"
1761
1961
  },
1762
1962
  "call-bind": {
1763
- "version": "1.0.2",
1963
+ "version": "1.0.5",
1764
1964
  "requires": {
1765
- "function-bind": "^1.1.1",
1766
- "get-intrinsic": "^1.0.2"
1965
+ "function-bind": "^1.1.2",
1966
+ "get-intrinsic": "^1.2.1",
1967
+ "set-function-length": "^1.1.1"
1767
1968
  }
1768
1969
  },
1769
1970
  "callsite": {
@@ -1846,11 +2047,19 @@
1846
2047
  "version": "1.0.2"
1847
2048
  },
1848
2049
  "debug": {
1849
- "version": "4.3.3",
2050
+ "version": "4.3.4",
1850
2051
  "requires": {
1851
2052
  "ms": "2.1.2"
1852
2053
  }
1853
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
+ },
1854
2063
  "delayed-stream": {
1855
2064
  "version": "1.0.0"
1856
2065
  },
@@ -2033,7 +2242,7 @@
2033
2242
  }
2034
2243
  },
2035
2244
  "follow-redirects": {
2036
- "version": "1.15.2"
2245
+ "version": "1.15.3"
2037
2246
  },
2038
2247
  "form-data": {
2039
2248
  "version": "4.0.0",
@@ -2050,7 +2259,7 @@
2050
2259
  "version": "0.5.2"
2051
2260
  },
2052
2261
  "function-bind": {
2053
- "version": "1.1.1"
2262
+ "version": "1.1.2"
2054
2263
  },
2055
2264
  "get-intrinsic": {
2056
2265
  "version": "1.2.1",
@@ -2061,10 +2270,19 @@
2061
2270
  "has-symbols": "^1.0.3"
2062
2271
  }
2063
2272
  },
2273
+ "gopd": {
2274
+ "version": "1.0.1",
2275
+ "requires": {
2276
+ "get-intrinsic": "^1.1.3"
2277
+ }
2278
+ },
2064
2279
  "has": {
2065
- "version": "1.0.3",
2280
+ "version": "1.0.4"
2281
+ },
2282
+ "has-property-descriptors": {
2283
+ "version": "1.0.0",
2066
2284
  "requires": {
2067
- "function-bind": "^1.1.1"
2285
+ "get-intrinsic": "^1.1.1"
2068
2286
  }
2069
2287
  },
2070
2288
  "has-proto": {
@@ -2113,12 +2331,18 @@
2113
2331
  "version": "1.9.1"
2114
2332
  },
2115
2333
  "jsonwebtoken": {
2116
- "version": "9.0.0",
2334
+ "version": "9.0.2",
2117
2335
  "requires": {
2118
2336
  "jws": "^3.2.2",
2119
- "lodash": "^4.17.21",
2337
+ "lodash.includes": "^4.3.0",
2338
+ "lodash.isboolean": "^3.0.3",
2339
+ "lodash.isinteger": "^4.0.4",
2340
+ "lodash.isnumber": "^3.0.3",
2341
+ "lodash.isplainobject": "^4.0.6",
2342
+ "lodash.isstring": "^4.0.1",
2343
+ "lodash.once": "^4.0.0",
2120
2344
  "ms": "^2.1.1",
2121
- "semver": "^7.3.8"
2345
+ "semver": "^7.5.4"
2122
2346
  }
2123
2347
  },
2124
2348
  "jwa": {
@@ -2139,6 +2363,27 @@
2139
2363
  "lodash": {
2140
2364
  "version": "4.17.21"
2141
2365
  },
2366
+ "lodash.includes": {
2367
+ "version": "4.3.0"
2368
+ },
2369
+ "lodash.isboolean": {
2370
+ "version": "3.0.3"
2371
+ },
2372
+ "lodash.isinteger": {
2373
+ "version": "4.0.4"
2374
+ },
2375
+ "lodash.isnumber": {
2376
+ "version": "3.0.3"
2377
+ },
2378
+ "lodash.isplainobject": {
2379
+ "version": "4.0.6"
2380
+ },
2381
+ "lodash.isstring": {
2382
+ "version": "4.0.1"
2383
+ },
2384
+ "lodash.once": {
2385
+ "version": "4.1.1"
2386
+ },
2142
2387
  "lru-cache": {
2143
2388
  "version": "4.1.1",
2144
2389
  "requires": {
@@ -2214,7 +2459,7 @@
2214
2459
  "version": "6.6.1"
2215
2460
  },
2216
2461
  "object-inspect": {
2217
- "version": "1.12.3"
2462
+ "version": "1.13.1"
2218
2463
  },
2219
2464
  "on-finished": {
2220
2465
  "version": "2.3.0",
@@ -2305,7 +2550,7 @@
2305
2550
  "version": "1.2.4"
2306
2551
  },
2307
2552
  "semver": {
2308
- "version": "7.5.3",
2553
+ "version": "7.5.4",
2309
2554
  "requires": {
2310
2555
  "lru-cache": "^6.0.0"
2311
2556
  },
@@ -2386,6 +2631,15 @@
2386
2631
  "send": "0.18.0"
2387
2632
  }
2388
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
+ },
2389
2643
  "setprototypeof": {
2390
2644
  "version": "1.2.0"
2391
2645
  },
package/package.json CHANGED
@@ -1,15 +1,15 @@
1
1
  {
2
2
  "name": "@sap/async-xsjs",
3
3
  "description": "Compatibility layer to run XS Classic applications on XS Advanced",
4
- "version": "1.0.6",
4
+ "version": "1.0.8",
5
5
  "repository": {},
6
6
  "license": "SEE LICENSE IN LICENSE file",
7
7
  "main": "./lib",
8
8
  "dependencies": {
9
- "@sap/audit-logging": "^5.7.0",
9
+ "@sap/audit-logging": "^5.7.1",
10
10
  "@sap/e2e-trace": "^3.2.0",
11
- "@sap/hana-client": "2.17.14",
12
- "@sap/hdbext": "^7.7.5",
11
+ "@sap/hana-client": "^2.18.24",
12
+ "@sap/hdbext": "^8.0.0",
13
13
  "@sap/instance-manager": "^3.5.3",
14
14
  "@sap/jobs-client": "^1.7.43",
15
15
  "@sap/logging": "^6.2.0",
@@ -21,7 +21,7 @@
21
21
  "@sap/xsenv": "^3.4.0",
22
22
  "@sap/xsodata": "^8.0.2",
23
23
  "@sap/xss-secure": "^4.1.0",
24
- "@sap/xssec": "^3.2.17",
24
+ "@sap/xssec": "^3.3.5",
25
25
  "accept-language": "2.0.16",
26
26
  "big.js": "5.0.2",
27
27
  "body-parser": "1.19.2",