New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@sap-ux/annotation-converter

Package Overview
Dependencies
Maintainers
3
Versions
78
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sap-ux/annotation-converter - npm Package Compare versions

Comparing version 0.5.8 to 0.5.9

6

CHANGELOG.md
# @sap-ux/annotation-converter
## 0.5.9
### Patch Changes
- 069270b: Initial open source release of the SAP UX FE Mockserver
## 0.5.8

@@ -4,0 +10,0 @@

3

dist/converter.js

@@ -948,3 +948,4 @@ "use strict";

currentTarget.annotations._annotations[`${vocAlias}.${vocTermWithQualifier}`] =
currentTarget.annotations[vocAlias][vocTermWithQualifier];
currentTarget.annotations._annotations[(0, utils_1.unalias)(utils_1.defaultReferences, `${vocAlias}.${vocTermWithQualifier}`)] =
currentTarget.annotations[vocAlias][vocTermWithQualifier];
objectMap[annotationTarget] = currentTarget.annotations[vocAlias][vocTermWithQualifier];

@@ -951,0 +952,0 @@ });

@@ -243,9 +243,12 @@ "use strict";

}
return Object.assign(Object.assign({}, baseAnnotation), { collection: annotation.map((anno) => revertCollectionItemToRawType(references, anno)) });
return {
...baseAnnotation,
collection: annotation.map((anno) => revertCollectionItemToRawType(references, anno))
};
}
else if (annotation.hasOwnProperty('$Type')) {
return Object.assign(Object.assign({}, baseAnnotation), { record: revertCollectionItemToRawType(references, annotation) });
return { ...baseAnnotation, record: revertCollectionItemToRawType(references, annotation) };
}
else {
return Object.assign(Object.assign({}, baseAnnotation), { value: revertValueToRawType(references, annotation) });
return { ...baseAnnotation, value: revertValueToRawType(references, annotation) };
}

@@ -252,0 +255,0 @@ }

{
"name": "@sap-ux/annotation-converter",
"version": "0.5.8",
"version": "0.5.9",
"description": "SAP Fiori OData - Annotation converter",

@@ -17,4 +17,4 @@ "repository": {

"devDependencies": {
"@sap-ux/vocabularies-types": "0.5.5",
"@sap-ux/edmx-parser": "0.5.4"
"@sap-ux/vocabularies-types": "0.5.6",
"@sap-ux/edmx-parser": "0.5.5"
},

@@ -21,0 +21,0 @@ "scripts": {

@@ -1184,3 +1184,4 @@ import type {

currentTarget.annotations._annotations[`${vocAlias}.${vocTermWithQualifier}`] =
currentTarget.annotations[vocAlias][vocTermWithQualifier];
currentTarget.annotations._annotations[unalias(defaultReferences, `${vocAlias}.${vocTermWithQualifier}`)!] =
currentTarget.annotations[vocAlias][vocTermWithQualifier];
objectMap[annotationTarget] = currentTarget.annotations[vocAlias][vocTermWithQualifier];

@@ -1187,0 +1188,0 @@ });

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc