@sap/async-xsjs 2.2.0 → 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 +10 -0
- package/lib/xsjs/db/dbapi/Statement.js +3 -3
- package/lib/xsjs/jobs/Job.js +4 -4
- package/npm-shrinkwrap.json +15 -43
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,16 @@ 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.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
|
+
|
|
8
18
|
<a name="2.2.0"></a>
|
|
9
19
|
## 2.2.0 - 2026-05-18
|
|
10
20
|
|
|
@@ -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) {
|
package/lib/xsjs/jobs/Job.js
CHANGED
|
@@ -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
|
+
}
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sap/async-xsjs",
|
|
3
|
-
"version": "2.
|
|
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.
|
|
9
|
+
"version": "2.3.0",
|
|
10
10
|
"license": "SEE LICENSE IN LICENSE file",
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@sap/audit-logging": "^7.0.1",
|
|
@@ -14,9 +14,9 @@
|
|
|
14
14
|
"@sap/hana-client": "2.28.20",
|
|
15
15
|
"@sap/hdbext": "8.1.13",
|
|
16
16
|
"@sap/instance-manager": "^5.2.6",
|
|
17
|
-
"@sap/jobs-client": "^1.9.
|
|
17
|
+
"@sap/jobs-client": "^1.9.1",
|
|
18
18
|
"@sap/logging": "^9.2.1",
|
|
19
|
-
"@sap/node-jwt": "^1.6.
|
|
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",
|
|
@@ -43,11 +43,11 @@
|
|
|
43
43
|
"sax": "1.6.0",
|
|
44
44
|
"statuses": "1.2.1",
|
|
45
45
|
"verror": "1.10.1",
|
|
46
|
-
"yauzl": "3.3.
|
|
46
|
+
"yauzl": "3.3.2",
|
|
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": {
|
|
@@ -177,40 +177,13 @@
|
|
|
177
177
|
}
|
|
178
178
|
},
|
|
179
179
|
"node_modules/@sap/jobs-client": {
|
|
180
|
-
"version": "1.9.
|
|
180
|
+
"version": "1.9.1",
|
|
181
181
|
"license": "SEE LICENSE IN LICENSE",
|
|
182
182
|
"dependencies": {
|
|
183
|
-
"@sap/xsenv": "
|
|
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"
|
|
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"
|
|
183
|
+
"@sap/xsenv": "6.2.1"
|
|
206
184
|
},
|
|
207
185
|
"engines": {
|
|
208
|
-
"node": "
|
|
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.
|
|
202
|
+
"version": "1.6.29",
|
|
230
203
|
"hasInstallScript": true,
|
|
231
204
|
"license": "SAP DEVELOPER LICENSE AGREEMENT",
|
|
232
205
|
"engines": {
|
|
@@ -746,7 +719,7 @@
|
|
|
746
719
|
}
|
|
747
720
|
},
|
|
748
721
|
"node_modules/es-object-atoms": {
|
|
749
|
-
"version": "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.
|
|
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.
|
|
1228
|
+
"version": "11.5.1",
|
|
1256
1229
|
"license": "BlueOak-1.0.0",
|
|
1257
1230
|
"engines": {
|
|
1258
1231
|
"node": "20 || >=22"
|
|
@@ -1594,7 +1567,7 @@
|
|
|
1594
1567
|
}
|
|
1595
1568
|
},
|
|
1596
1569
|
"node_modules/semver": {
|
|
1597
|
-
"version": "7.8.
|
|
1570
|
+
"version": "7.8.1",
|
|
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.
|
|
1834
|
+
"version": "3.3.2",
|
|
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.
|
|
4
|
+
"version": "2.3.0",
|
|
5
5
|
"repository": {
|
|
6
6
|
"url": "git@github.wdf.sap.corp:xs2/async-xsjs.git"
|
|
7
7
|
},
|
|
@@ -13,9 +13,9 @@
|
|
|
13
13
|
"@sap/hana-client": "2.28.20",
|
|
14
14
|
"@sap/hdbext": "8.1.13",
|
|
15
15
|
"@sap/instance-manager": "^5.2.6",
|
|
16
|
-
"@sap/jobs-client": "^1.9.
|
|
16
|
+
"@sap/jobs-client": "^1.9.1",
|
|
17
17
|
"@sap/logging": "^9.2.1",
|
|
18
|
-
"@sap/node-jwt": "^1.6.
|
|
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",
|
|
@@ -41,12 +41,12 @@
|
|
|
41
41
|
"sax": "1.6.0",
|
|
42
42
|
"statuses": "1.2.1",
|
|
43
43
|
"verror": "1.10.1",
|
|
44
|
-
"yauzl": "3.3.
|
|
44
|
+
"yauzl": "3.3.2",
|
|
45
45
|
"yazl": "2.4.1",
|
|
46
46
|
"axios": "^1.16.1"
|
|
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",
|