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.9 to 0.5.10

6

CHANGELOG.md
# @sap-ux/annotation-converter
## 0.5.10
### Patch Changes
- 0f7acf2: Improve type definition to be more consistent with the output
## 0.5.9

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

12

dist/converter.js

@@ -860,3 +860,13 @@ "use strict";

function createGlobalResolve(convertedOutput, objectMap) {
return function resolvePath(sPath) {
return function resolvePath(sPath, resolveDirectly = false) {
if (resolveDirectly) {
const targetResolution = _resolveTarget(objectMap, convertedOutput, '/' + sPath, false, true);
if (targetResolution.target) {
targetResolution.visitedObjects.push(targetResolution.target);
}
return {
target: targetResolution.target,
objectPath: targetResolution.visitedObjects
};
}
const aPathSplit = sPath.split('/');

@@ -863,0 +873,0 @@ if (aPathSplit.shift() !== '') {

4

package.json
{
"name": "@sap-ux/annotation-converter",
"version": "0.5.9",
"version": "0.5.10",
"description": "SAP Fiori OData - Annotation converter",

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

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

@@ -20,0 +20,0 @@ },

@@ -1066,3 +1066,16 @@ import type {

function createGlobalResolve(convertedOutput: ConvertedMetadata, objectMap: Record<string, any>) {
return function resolvePath<T extends ServiceObjectAndAnnotation>(sPath: string): ResolutionTarget<T> {
return function resolvePath<T extends ServiceObjectAndAnnotation>(
sPath: string,
resolveDirectly: boolean = false
): ResolutionTarget<T> {
if (resolveDirectly) {
const targetResolution: any = _resolveTarget(objectMap, convertedOutput, '/' + sPath, false, true);
if (targetResolution.target) {
targetResolution.visitedObjects.push(targetResolution.target);
}
return {
target: targetResolution.target,
objectPath: targetResolution.visitedObjects
};
}
const aPathSplit = sPath.split('/');

@@ -1069,0 +1082,0 @@ if (aPathSplit.shift() !== '') {

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