@sap/async-xsjs 2.2.0 → 3.0.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,6 +5,25 @@ 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="3.0.0"></a>
9
+ ## 3.0.0 - 2026-06-08
10
+
11
+ ### Updated
12
+ - update @sap/hana-client version to 2.28.21
13
+ - update nodemailer to 8.0.10
14
+ - update yauzl version to 3.4.0
15
+ - update axios version to 1.17.0
16
+
17
+ <a name="2.3.0"></a>
18
+ ## 2.3.0 - 2026-06-02
19
+
20
+ ### Updated
21
+ - update @sap/node-jwt version to 1.6.29
22
+ - update @sap/jobs-client to 1.9.1
23
+ - update yauzl version to 3.3.2
24
+ ### Added
25
+ - Added node 24 support & tests.
26
+
8
27
  <a name="2.2.0"></a>
9
28
  ## 2.2.0 - 2026-05-18
10
29
 
@@ -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,22 +1,22 @@
1
1
  {
2
2
  "name": "@sap/async-xsjs",
3
- "version": "2.2.0",
3
+ "version": "3.0.0",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@sap/async-xsjs",
9
- "version": "2.2.0",
9
+ "version": "3.0.0",
10
10
  "license": "SEE LICENSE IN LICENSE file",
11
11
  "dependencies": {
12
12
  "@sap/audit-logging": "^7.0.1",
13
13
  "@sap/e2e-trace": "^6.2.1",
14
- "@sap/hana-client": "2.28.20",
14
+ "@sap/hana-client": "2.28.21",
15
15
  "@sap/hdbext": "8.1.13",
16
16
  "@sap/instance-manager": "^5.2.6",
17
- "@sap/jobs-client": "^1.9.0",
17
+ "@sap/jobs-client": "^1.9.1",
18
18
  "@sap/logging": "^9.2.1",
19
- "@sap/node-jwt": "^1.6.28",
19
+ "@sap/node-jwt": "^1.6.29",
20
20
  "@sap/node-vsi": "^1.4.33",
21
21
  "@sap/textbundle": "^6.2.0",
22
22
  "@sap/xsenv": "^6.2.1",
@@ -24,7 +24,7 @@
24
24
  "@sap/xss-secure": "^6.2.0",
25
25
  "@sap/xssec": "^3.6.0",
26
26
  "accept-language": "2.0.16",
27
- "axios": "^1.16.1",
27
+ "axios": "^1.17.0",
28
28
  "big.js": "7.0.1",
29
29
  "body-parser": "2.2.2",
30
30
  "callsite": "1.0.0",
@@ -37,17 +37,17 @@
37
37
  "media-typer": "0.3.0",
38
38
  "moment": "2.30.1",
39
39
  "multiparty": "4.3.0",
40
- "nodemailer": "8.0.7",
40
+ "nodemailer": "8.0.10",
41
41
  "passport": "0.7.0",
42
42
  "passport-strategy": "1.0.0",
43
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.4.0",
47
47
  "yazl": "2.4.1"
48
48
  },
49
49
  "engines": {
50
- "node": "^20.x || ^22.x"
50
+ "node": "^20.x || ^22.x || ^24.x"
51
51
  }
52
52
  },
53
53
  "node_modules/@sap/audit-logging": {
@@ -83,7 +83,7 @@
83
83
  }
84
84
  },
85
85
  "node_modules/@sap/hana-client": {
86
- "version": "2.28.20",
86
+ "version": "2.28.21",
87
87
  "hasInstallScript": true,
88
88
  "license": "SEE LICENSE IN developer-license-3_2.txt",
89
89
  "dependencies": {
@@ -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"
184
- },
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"
183
+ "@sap/xsenv": "6.2.1"
196
184
  },
197
185
  "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": {
@@ -455,7 +428,7 @@
455
428
  "license": "MIT"
456
429
  },
457
430
  "node_modules/axios": {
458
- "version": "1.16.1",
431
+ "version": "1.17.0",
459
432
  "license": "MIT",
460
433
  "dependencies": {
461
434
  "follow-redirects": "^1.16.0",
@@ -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"
@@ -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.4.0",
1228
+ "version": "11.5.1",
1256
1229
  "license": "BlueOak-1.0.0",
1257
1230
  "engines": {
1258
1231
  "node": "20 || >=22"
@@ -1411,7 +1384,7 @@
1411
1384
  }
1412
1385
  },
1413
1386
  "node_modules/nodemailer": {
1414
- "version": "8.0.7",
1387
+ "version": "8.0.10",
1415
1388
  "license": "MIT-0",
1416
1389
  "engines": {
1417
1390
  "node": ">=6.0.0"
@@ -1594,7 +1567,7 @@
1594
1567
  }
1595
1568
  },
1596
1569
  "node_modules/semver": {
1597
- "version": "7.8.0",
1570
+ "version": "7.8.2",
1598
1571
  "license": "ISC",
1599
1572
  "bin": {
1600
1573
  "semver": "bin/semver.js"
@@ -1858,10 +1831,9 @@
1858
1831
  }
1859
1832
  },
1860
1833
  "node_modules/yauzl": {
1861
- "version": "3.3.0",
1834
+ "version": "3.4.0",
1862
1835
  "license": "MIT",
1863
1836
  "dependencies": {
1864
- "buffer-crc32": "~0.2.3",
1865
1837
  "pend": "~1.2.0"
1866
1838
  },
1867
1839
  "engines": {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sap/async-xsjs",
3
3
  "description": "Compatibility layer to run XS Classic applications on XS Advanced",
4
- "version": "2.2.0",
4
+ "version": "3.0.0",
5
5
  "repository": {
6
6
  "url": "git@github.wdf.sap.corp:xs2/async-xsjs.git"
7
7
  },
@@ -10,12 +10,12 @@
10
10
  "dependencies": {
11
11
  "@sap/audit-logging": "^7.0.1",
12
12
  "@sap/e2e-trace": "^6.2.1",
13
- "@sap/hana-client": "2.28.20",
13
+ "@sap/hana-client": "2.28.21",
14
14
  "@sap/hdbext": "8.1.13",
15
15
  "@sap/instance-manager": "^5.2.6",
16
- "@sap/jobs-client": "^1.9.0",
16
+ "@sap/jobs-client": "^1.9.1",
17
17
  "@sap/logging": "^9.2.1",
18
- "@sap/node-jwt": "^1.6.28",
18
+ "@sap/node-jwt": "^1.6.29",
19
19
  "@sap/node-vsi": "^1.4.33",
20
20
  "@sap/textbundle": "^6.2.0",
21
21
  "@sap/xsenv": "^6.2.1",
@@ -35,18 +35,18 @@
35
35
  "media-typer": "0.3.0",
36
36
  "moment": "2.30.1",
37
37
  "multiparty": "4.3.0",
38
- "nodemailer": "8.0.7",
38
+ "nodemailer": "8.0.10",
39
39
  "passport": "0.7.0",
40
40
  "passport-strategy": "1.0.0",
41
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.4.0",
45
45
  "yazl": "2.4.1",
46
- "axios": "^1.16.1"
46
+ "axios": "^1.17.0"
47
47
  },
48
48
  "engines": {
49
- "node": "^20.x || ^22.x"
49
+ "node": "^20.x || ^22.x || ^24.x"
50
50
  },
51
51
  "files": [
52
52
  "lib",