Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@sap-ux/annotation-converter

Package Overview
Dependencies
Maintainers
3
Versions
77
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.5 to 0.5.6

6

CHANGELOG.md
# @sap-ux/annotation-converter
## 0.5.6
### Patch Changes
- 0dc370d: fix: annotation source definition in all cases
## 0.5.5

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

8

dist/converter.js

@@ -1038,3 +1038,7 @@ "use strict";

if (!annotationListPerTarget[currentTargetName]) {
annotationListPerTarget[currentTargetName] = annotationList;
annotationListPerTarget[currentTargetName] = {
annotations: annotationList.annotations.concat(),
target: currentTargetName
};
annotationListPerTarget[currentTargetName].__source = annotationSource;
}

@@ -1047,4 +1051,4 @@ else {

});
annotation.__source = annotationSource;
if (findIndex !== -1) {
annotation.__source = annotationSource;
annotationListPerTarget[currentTargetName].annotations.splice(findIndex, 1, annotation);

@@ -1051,0 +1055,0 @@ }

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

@@ -5,0 +5,0 @@ "repository": {

@@ -1274,3 +1274,7 @@ import type {

if (!annotationListPerTarget[currentTargetName]) {
annotationListPerTarget[currentTargetName] = annotationList;
annotationListPerTarget[currentTargetName] = {
annotations: annotationList.annotations.concat(),
target: currentTargetName
};
(annotationListPerTarget[currentTargetName] as any).__source = annotationSource;
} else {

@@ -1286,4 +1290,4 @@ annotationList.annotations.forEach((annotation) => {

);
(annotation as any).__source = annotationSource;
if (findIndex !== -1) {
(annotation as any).__source = annotationSource;
annotationListPerTarget[currentTargetName].annotations.splice(findIndex, 1, annotation);

@@ -1290,0 +1294,0 @@ } else {

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