@sap/xsodata 7.4.5 → 7.5.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 +7 -0
- package/lib/uri/resourcePathParser.js +3 -0
- package/package.json +9 -9
package/CHANGELOG.md
CHANGED
|
@@ -8,6 +8,13 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/).
|
|
|
8
8
|
|
|
9
9
|
## Unreleased
|
|
10
10
|
|
|
11
|
+
## [7.5.0] - 2022-03-22
|
|
12
|
+
|
|
13
|
+
* Support of node version 16
|
|
14
|
+
* Update module dependencies
|
|
15
|
+
* Update of system query options and xsodata-settings help text
|
|
16
|
+
* Minor changes: Error reporting
|
|
17
|
+
|
|
11
18
|
## [7.4.5] - 2021-12-15
|
|
12
19
|
|
|
13
20
|
* Suppress $metadata annotation <code>sap:aggregation-role="dimension"</code> on calculation view property if it is used as description property referenced by annotation <code>sap:text</code> by another property of the calulation view. The annotation is only supressed if the corresponding xsodata-file has <code>settings</code> containing this: <code>noDimensionAnnoOnTextProperty true;</code>
|
|
@@ -230,6 +230,9 @@ ResourcePathReader.prototype.consumeFollowerSegment = function consumeFollowerSe
|
|
|
230
230
|
// Inputparamters and are keys, both are provides as keys, however for the SQL select we must separate them.
|
|
231
231
|
let keys = [];
|
|
232
232
|
let inputs = [];
|
|
233
|
+
if (!segment.keys) {
|
|
234
|
+
throw new Http400_BadRequest('Navigation to calc view: Input parameters for target calc view are missing');
|
|
235
|
+
}
|
|
233
236
|
segment.keys.forEach(function (kv) {
|
|
234
237
|
if (targetEntity.inputParameters[kv.name]) {
|
|
235
238
|
inputs.push(kv);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sap/xsodata",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.5.0",
|
|
4
4
|
"description": "Expose data from a HANA database as OData V2 service with help of .xsodata files.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"license": "SEE LICENSE IN developer-license-3.1.txt",
|
|
@@ -49,19 +49,19 @@
|
|
|
49
49
|
".npmignore"
|
|
50
50
|
],
|
|
51
51
|
"dependencies": {
|
|
52
|
-
"@sap/xsenv": "3.1
|
|
53
|
-
"@sap/xssec": "3.
|
|
54
|
-
"async": "3.2.
|
|
55
|
-
"big.js": "6.
|
|
56
|
-
"body-parser": "1.19.
|
|
57
|
-
"hdb": "0.
|
|
52
|
+
"@sap/xsenv": "3.2.1",
|
|
53
|
+
"@sap/xssec": "3.2.13",
|
|
54
|
+
"async": "3.2.3",
|
|
55
|
+
"big.js": "6.1.1",
|
|
56
|
+
"body-parser": "1.19.2",
|
|
57
|
+
"hdb": "0.19.1",
|
|
58
58
|
"lodash": "4.17.21",
|
|
59
|
-
"negotiator": "0.6.
|
|
59
|
+
"negotiator": "0.6.3",
|
|
60
60
|
"rwlock": "5.0.0",
|
|
61
61
|
"xml-writer": "1.7.0"
|
|
62
62
|
},
|
|
63
63
|
"engines": {
|
|
64
|
-
"node": "^12 || ^14"
|
|
64
|
+
"node": "^12 || ^14 || ^16"
|
|
65
65
|
},
|
|
66
66
|
"devDependencies": {
|
|
67
67
|
"@sap/hana-client": "2.10.20",
|