@sap/xsodata
Advanced tools
Comparing version 7.3.5 to 7.3.7
@@ -11,2 +11,8 @@ # Change Log | ||
## [7.3.7] - 2021-02-24 | ||
### Fixed | ||
For Edm.String typed properties, all single quotes must be preserved. | ||
## [7.3.5] - 2020-11-23 | ||
@@ -13,0 +19,0 @@ |
@@ -295,2 +295,3 @@ 'use strict'; | ||
function _getType(type, defaultType = null) { | ||
if (type) { | ||
@@ -300,2 +301,4 @@ const i = type.indexOf('('); | ||
return type.substr(0, i); | ||
} else { | ||
return type; | ||
} | ||
@@ -302,0 +305,0 @@ } |
@@ -244,3 +244,3 @@ /* parser generated by jison 0.4.18 */ | ||
} | ||
if (typeof action === 'undefined' || !action.length || !action[0]) { | ||
if (typeof action === 'undefined' || !action.length || !action[0]) { | ||
var errStr = ''; | ||
@@ -247,0 +247,0 @@ expected = []; |
@@ -38,3 +38,3 @@ 'use strict'; | ||
context.logger.logSqlParameters( parameters); | ||
context.logger.logSqlParameters(parameters); | ||
@@ -41,0 +41,0 @@ startTime = context.logger.getStartTimeSql(); |
@@ -825,4 +825,5 @@ 'use strict'; | ||
value = localParams[0]; | ||
value = value.replace("\\", "\\\\"); // replace \ with \\ | ||
value = value.replace("'", "\\'"); // replace ' with \' prep. stm. adds 2nd ' | ||
value = value.replace(/\\/g, "\\\\"); // replace \ with \\ | ||
value = value.replace(/'/g, "\\'"); // replace ' with \' prep. stm. adds 2nd ' | ||
params.push(value); //e.g. "'a string'" | ||
@@ -829,0 +830,0 @@ } else if (kv.value instanceof edm.Number) { |
{ | ||
"name": "@sap/xsodata", | ||
"version": "7.3.5", | ||
"version": "7.3.7", | ||
"description": "Expose data from a HANA database as OData V2 service with help of .xsodata files.", | ||
@@ -57,3 +57,3 @@ "main": "index.js", | ||
"hdb": "=0.18.1", | ||
"lodash": "=4.17.20", | ||
"lodash": "=4.17.21", | ||
"negotiator": "=0.6.2", | ||
@@ -60,0 +60,0 @@ "rwlock": "=5.0.0", |
@@ -17,2 +17,5 @@ XSODATA | ||
If you are developing an OData service for SAP Business Technology Platform, it is recommended to move to the SAP Cloud Application Programming Model (CP). | ||
The XSODATA solution supports HANA as a service, but does **NOT** support SAP HANA Cloud Services (see also SAP note 3013788). | ||
## Usage | ||
@@ -19,0 +22,0 @@ |
1308344
32240
163
Updatedlodash@=4.17.21