@sap/async-xsjs 2.1.12 → 2.3.0

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,7 +5,36 @@ 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="2.1.12"></a>
8
+ <a name="2.3.0"></a>
9
+ ## 2.3.0 - 2026-06-02
10
+
11
+ ### Updated
12
+ - update @sap/node-jwt version to 1.6.29
13
+ - update @sap/jobs-client to 1.9.1
14
+ - update yauzl version to 3.3.2
15
+ ### Added
16
+ - Added node 24 support & tests.
17
+
18
+ <a name="2.2.0"></a>
19
+ ## 2.2.0 - 2026-05-18
20
+
21
+ ### Updated
22
+ - update @sap/node-vsi version to 1.4.33
23
+ - update nodemailer to 8.0.7
24
+ - update axios to 1.16.1
25
+ - update @sap/audit-logging to 7.0.1
26
+ - update @sap/e2e-trace to 6.2.1
27
+ - update @sap/instance-manager to 5.2.6
28
+ - update @sap/jobs-client to 1.9.0
29
+ - update @sap/logging to 9.2.1
30
+ - update @sap/textbundle to 6.2.0
31
+ - update @sap/xsenv to 6.2.1
32
+ - update @sap/xss-secure to 6.2.0
33
+ - update multiparty to 4.3.0
34
+ - update sax to 1.6.0
35
+ - removed node 18 support & tests
36
+
37
+ <a name="2.1.12"></a>
9
38
  ## 2.1.12 - 2026-05-14
10
39
 
11
40
  ### Updated
@@ -396,7 +396,7 @@ Statement.prototype.setText = Statement.prototype.setClob;
396
396
  Statement.prototype.setDate = function (columnIndex, value, format) {
397
397
  argumentsUtil.validateSetterArgs(arguments, 2);
398
398
  argumentsUtil.validateDateTime(value);
399
- if (!util.isDate(value)) {
399
+ if (!util.types.isDate(value)) {
400
400
  value = parser.parseDateTime(value, format);
401
401
  }
402
402
  switch (this._parameterInfo[columnIndex - 1].nativeType) {
@@ -435,7 +435,7 @@ Statement.prototype.setDate = function (columnIndex, value, format) {
435
435
  Statement.prototype.setTime = function (columnIndex, value, format) {
436
436
  argumentsUtil.validateSetterArgs(arguments, 2);
437
437
  argumentsUtil.validateDateTime(value);
438
- if (!util.isDate(value)) {
438
+ if (!util.types.isDate(value)) {
439
439
  value = parser.parseDateTime(value, format);
440
440
  }
441
441
  switch (this._parameterInfo[columnIndex - 1].nativeType) {
@@ -471,7 +471,7 @@ Statement.prototype.setTime = function (columnIndex, value, format) {
471
471
  Statement.prototype.setTimestamp = function (columnIndex, value, format) {
472
472
  argumentsUtil.validateSetterArgs(arguments, 2);
473
473
  argumentsUtil.validateDateTime(value);
474
- if (!util.isDate(value)) {
474
+ if (!util.types.isDate(value)) {
475
475
  value = parser.parseDateTime(value, format);
476
476
  }
477
477
  switch (this._parameterInfo[columnIndex - 1].nativeType) {
@@ -133,10 +133,10 @@ async function configure(config) {
133
133
  }
134
134
 
135
135
  // for now we accept only Date objects until we implement date parsing compatible to XS1
136
- if (!util.isDate(startTime)) {
136
+ if (!util.types.isDate(startTime)) {
137
137
  throw new Error('Job.configure: startTime object parameter required');
138
138
  }
139
- if (!util.isDate(endTime)) {
139
+ if (!util.types.isDate(endTime)) {
140
140
  throw new Error('Job.configure: endTime object parameter required');
141
141
  }
142
142
 
@@ -171,7 +171,7 @@ function convertTime(time, propName) {
171
171
  if (time === null) {
172
172
  return null;
173
173
  }
174
- if (util.isDate(time)) {
174
+ if (util.types.isDate(time)) {
175
175
  return {
176
176
  date: time.toISOString()
177
177
  };
@@ -225,4 +225,4 @@ function updateJobSchedulePromise(scheduler, req) {
225
225
  resolve(result);
226
226
  });
227
227
  });
228
- }
228
+ }
@@ -1,30 +1,30 @@
1
1
  {
2
2
  "name": "@sap/async-xsjs",
3
- "version": "2.1.12",
3
+ "version": "2.3.0",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@sap/async-xsjs",
9
- "version": "2.1.12",
9
+ "version": "2.3.0",
10
10
  "license": "SEE LICENSE IN LICENSE file",
11
11
  "dependencies": {
12
- "@sap/audit-logging": "^7.0.0",
13
- "@sap/e2e-trace": "^6.1.0",
12
+ "@sap/audit-logging": "^7.0.1",
13
+ "@sap/e2e-trace": "^6.2.1",
14
14
  "@sap/hana-client": "2.28.20",
15
15
  "@sap/hdbext": "8.1.13",
16
- "@sap/instance-manager": "^5.2.5",
17
- "@sap/jobs-client": "^1.8.6",
18
- "@sap/logging": "^9.1.1",
19
- "@sap/node-jwt": "^1.6.28",
20
- "@sap/node-vsi": "^1.4.32",
21
- "@sap/textbundle": "^6.1.0",
22
- "@sap/xsenv": "^6.1.0",
16
+ "@sap/instance-manager": "^5.2.6",
17
+ "@sap/jobs-client": "^1.9.1",
18
+ "@sap/logging": "^9.2.1",
19
+ "@sap/node-jwt": "^1.6.29",
20
+ "@sap/node-vsi": "^1.4.33",
21
+ "@sap/textbundle": "^6.2.0",
22
+ "@sap/xsenv": "^6.2.1",
23
23
  "@sap/xsodata": "^8.3.2",
24
- "@sap/xss-secure": "^6.1.0",
24
+ "@sap/xss-secure": "^6.2.0",
25
25
  "@sap/xssec": "^3.6.0",
26
26
  "accept-language": "2.0.16",
27
- "axios": "^1.13.5",
27
+ "axios": "^1.16.1",
28
28
  "big.js": "7.0.1",
29
29
  "body-parser": "2.2.2",
30
30
  "callsite": "1.0.0",
@@ -36,18 +36,18 @@
36
36
  "lodash": "4.18.1",
37
37
  "media-typer": "0.3.0",
38
38
  "moment": "2.30.1",
39
- "multiparty": "4.2.3",
40
- "nodemailer": "8.0.5",
39
+ "multiparty": "4.3.0",
40
+ "nodemailer": "8.0.7",
41
41
  "passport": "0.7.0",
42
42
  "passport-strategy": "1.0.0",
43
- "sax": "1.4.4",
43
+ "sax": "1.6.0",
44
44
  "statuses": "1.2.1",
45
45
  "verror": "1.10.1",
46
- "yauzl": "3.3.0",
46
+ "yauzl": "3.3.2",
47
47
  "yazl": "2.4.1"
48
48
  },
49
49
  "engines": {
50
- "node": "^18.x || ^20.x || ^22.x"
50
+ "node": "^20.x || ^22.x || ^24.x"
51
51
  }
52
52
  },
53
53
  "node_modules/@sap/audit-logging": {
@@ -177,40 +177,13 @@
177
177
  }
178
178
  },
179
179
  "node_modules/@sap/jobs-client": {
180
- "version": "1.9.0",
180
+ "version": "1.9.1",
181
181
  "license": "SEE LICENSE IN LICENSE",
182
182
  "dependencies": {
183
- "@sap/xsenv": "5.4.0"
183
+ "@sap/xsenv": "6.2.1"
184
184
  },
185
185
  "engines": {
186
- "node": "^14 || ^16 || ^18 || ^20 || ^22"
187
- }
188
- },
189
- "node_modules/@sap/jobs-client/node_modules/@sap/xsenv": {
190
- "version": "5.4.0",
191
- "license": "SEE LICENSE IN LICENSE file",
192
- "dependencies": {
193
- "debug": "4.3.7",
194
- "node-cache": "^5.1.2",
195
- "verror": "1.10.1"
196
- },
197
- "engines": {
198
- "node": "^18.0.0 || ^20.0.0 || ^22.0.0"
199
- }
200
- },
201
- "node_modules/@sap/jobs-client/node_modules/debug": {
202
- "version": "4.3.7",
203
- "license": "MIT",
204
- "dependencies": {
205
- "ms": "^2.1.3"
206
- },
207
- "engines": {
208
- "node": ">=6.0"
209
- },
210
- "peerDependenciesMeta": {
211
- "supports-color": {
212
- "optional": true
213
- }
186
+ "node": "^14 || ^16 || ^18 || ^20 || ^22 || ^24"
214
187
  }
215
188
  },
216
189
  "node_modules/@sap/logging": {
@@ -226,7 +199,7 @@
226
199
  }
227
200
  },
228
201
  "node_modules/@sap/node-jwt": {
229
- "version": "1.6.28",
202
+ "version": "1.6.29",
230
203
  "hasInstallScript": true,
231
204
  "license": "SAP DEVELOPER LICENSE AGREEMENT",
232
205
  "engines": {
@@ -234,7 +207,7 @@
234
207
  }
235
208
  },
236
209
  "node_modules/@sap/node-vsi": {
237
- "version": "1.4.32",
210
+ "version": "1.4.33",
238
211
  "hasInstallScript": true,
239
212
  "license": "SAP DEVELOPER LICENSE AGREEMENT",
240
213
  "engines": {
@@ -746,7 +719,7 @@
746
719
  }
747
720
  },
748
721
  "node_modules/es-object-atoms": {
749
- "version": "1.1.1",
722
+ "version": "1.1.2",
750
723
  "license": "MIT",
751
724
  "dependencies": {
752
725
  "es-errors": "^1.3.0"
@@ -846,7 +819,7 @@
846
819
  }
847
820
  },
848
821
  "node_modules/express/node_modules/body-parser/node_modules/qs": {
849
- "version": "6.15.1",
822
+ "version": "6.15.2",
850
823
  "license": "BSD-3-Clause",
851
824
  "dependencies": {
852
825
  "side-channel": "^1.1.0"
@@ -1078,7 +1051,7 @@
1078
1051
  }
1079
1052
  },
1080
1053
  "node_modules/hasown": {
1081
- "version": "2.0.3",
1054
+ "version": "2.0.4",
1082
1055
  "license": "MIT",
1083
1056
  "dependencies": {
1084
1057
  "function-bind": "^1.1.2"
@@ -1252,7 +1225,7 @@
1252
1225
  "license": "MIT"
1253
1226
  },
1254
1227
  "node_modules/lru-cache": {
1255
- "version": "11.3.6",
1228
+ "version": "11.5.1",
1256
1229
  "license": "BlueOak-1.0.0",
1257
1230
  "engines": {
1258
1231
  "node": "20 || >=22"
@@ -1332,10 +1305,10 @@
1332
1305
  "license": "MIT"
1333
1306
  },
1334
1307
  "node_modules/multiparty": {
1335
- "version": "4.2.3",
1308
+ "version": "4.3.0",
1336
1309
  "license": "MIT",
1337
1310
  "dependencies": {
1338
- "http-errors": "~1.8.1",
1311
+ "http-errors": "2.0.0",
1339
1312
  "safe-buffer": "5.2.1",
1340
1313
  "uid-safe": "2.1.5"
1341
1314
  },
@@ -1343,32 +1316,25 @@
1343
1316
  "node": ">= 0.10"
1344
1317
  }
1345
1318
  },
1346
- "node_modules/multiparty/node_modules/depd": {
1347
- "version": "1.1.2",
1348
- "license": "MIT",
1349
- "engines": {
1350
- "node": ">= 0.6"
1351
- }
1352
- },
1353
1319
  "node_modules/multiparty/node_modules/http-errors": {
1354
- "version": "1.8.1",
1320
+ "version": "2.0.0",
1355
1321
  "license": "MIT",
1356
1322
  "dependencies": {
1357
- "depd": "~1.1.2",
1323
+ "depd": "2.0.0",
1358
1324
  "inherits": "2.0.4",
1359
1325
  "setprototypeof": "1.2.0",
1360
- "statuses": ">= 1.5.0 < 2",
1326
+ "statuses": "2.0.1",
1361
1327
  "toidentifier": "1.0.1"
1362
1328
  },
1363
1329
  "engines": {
1364
- "node": ">= 0.6"
1330
+ "node": ">= 0.8"
1365
1331
  }
1366
1332
  },
1367
1333
  "node_modules/multiparty/node_modules/statuses": {
1368
- "version": "1.5.0",
1334
+ "version": "2.0.1",
1369
1335
  "license": "MIT",
1370
1336
  "engines": {
1371
- "node": ">= 0.6"
1337
+ "node": ">= 0.8"
1372
1338
  }
1373
1339
  },
1374
1340
  "node_modules/negotiator": {
@@ -1418,7 +1384,7 @@
1418
1384
  }
1419
1385
  },
1420
1386
  "node_modules/nodemailer": {
1421
- "version": "8.0.5",
1387
+ "version": "8.0.7",
1422
1388
  "license": "MIT-0",
1423
1389
  "engines": {
1424
1390
  "node": ">=6.0.0"
@@ -1594,14 +1560,14 @@
1594
1560
  "license": "MIT"
1595
1561
  },
1596
1562
  "node_modules/sax": {
1597
- "version": "1.4.4",
1563
+ "version": "1.6.0",
1598
1564
  "license": "BlueOak-1.0.0",
1599
1565
  "engines": {
1600
1566
  "node": ">=11.0.0"
1601
1567
  }
1602
1568
  },
1603
1569
  "node_modules/semver": {
1604
- "version": "7.8.0",
1570
+ "version": "7.8.1",
1605
1571
  "license": "ISC",
1606
1572
  "bin": {
1607
1573
  "semver": "bin/semver.js"
@@ -1865,10 +1831,9 @@
1865
1831
  }
1866
1832
  },
1867
1833
  "node_modules/yauzl": {
1868
- "version": "3.3.0",
1834
+ "version": "3.3.2",
1869
1835
  "license": "MIT",
1870
1836
  "dependencies": {
1871
- "buffer-crc32": "~0.2.3",
1872
1837
  "pend": "~1.2.0"
1873
1838
  },
1874
1839
  "engines": {
package/package.json CHANGED
@@ -1,26 +1,26 @@
1
1
  {
2
2
  "name": "@sap/async-xsjs",
3
3
  "description": "Compatibility layer to run XS Classic applications on XS Advanced",
4
- "version": "2.1.12",
4
+ "version": "2.3.0",
5
5
  "repository": {
6
6
  "url": "git@github.wdf.sap.corp:xs2/async-xsjs.git"
7
7
  },
8
8
  "license": "SEE LICENSE IN LICENSE file",
9
9
  "main": "./lib",
10
10
  "dependencies": {
11
- "@sap/audit-logging": "^7.0.0",
12
- "@sap/e2e-trace": "^6.1.0",
11
+ "@sap/audit-logging": "^7.0.1",
12
+ "@sap/e2e-trace": "^6.2.1",
13
13
  "@sap/hana-client": "2.28.20",
14
14
  "@sap/hdbext": "8.1.13",
15
- "@sap/instance-manager": "^5.2.5",
16
- "@sap/jobs-client": "^1.8.6",
17
- "@sap/logging": "^9.1.1",
18
- "@sap/node-jwt": "^1.6.28",
19
- "@sap/node-vsi": "^1.4.32",
20
- "@sap/textbundle": "^6.1.0",
21
- "@sap/xsenv": "^6.1.0",
15
+ "@sap/instance-manager": "^5.2.6",
16
+ "@sap/jobs-client": "^1.9.1",
17
+ "@sap/logging": "^9.2.1",
18
+ "@sap/node-jwt": "^1.6.29",
19
+ "@sap/node-vsi": "^1.4.33",
20
+ "@sap/textbundle": "^6.2.0",
21
+ "@sap/xsenv": "^6.2.1",
22
22
  "@sap/xsodata": "^8.3.2",
23
- "@sap/xss-secure": "^6.1.0",
23
+ "@sap/xss-secure": "^6.2.0",
24
24
  "@sap/xssec": "^3.6.0",
25
25
  "accept-language": "2.0.16",
26
26
  "big.js": "7.0.1",
@@ -34,19 +34,19 @@
34
34
  "lodash": "4.18.1",
35
35
  "media-typer": "0.3.0",
36
36
  "moment": "2.30.1",
37
- "multiparty": "4.2.3",
38
- "nodemailer": "8.0.5",
37
+ "multiparty": "4.3.0",
38
+ "nodemailer": "8.0.7",
39
39
  "passport": "0.7.0",
40
40
  "passport-strategy": "1.0.0",
41
- "sax": "1.4.4",
41
+ "sax": "1.6.0",
42
42
  "statuses": "1.2.1",
43
43
  "verror": "1.10.1",
44
- "yauzl": "3.3.0",
44
+ "yauzl": "3.3.2",
45
45
  "yazl": "2.4.1",
46
- "axios": "^1.13.5"
46
+ "axios": "^1.16.1"
47
47
  },
48
48
  "engines": {
49
- "node": "^18.x || ^20.x || ^22.x"
49
+ "node": "^20.x || ^22.x || ^24.x"
50
50
  },
51
51
  "files": [
52
52
  "lib",