Socket
Socket
Sign inDemoInstall

@sap/cds-compiler

Package Overview
Dependencies
Maintainers
1
Versions
106
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sap/cds-compiler - npm Package Compare versions

Comparing version 2.15.6 to 2.15.8

8

lib/edm/annotations/preprocessAnnotations.js

@@ -300,4 +300,8 @@ 'use strict';

// TODO should be flattened, but then alphabetical order is destroyed
let newTextAnno = { '$value': textAnno, '@UI.TextArrangement': value };
carrier['@Common.Text'] = newTextAnno;
// Do not overwrite existing nested annotation values, instead give existing
// nested annotation precedence and remove outer annotation (always)
if(!carrier['@Common.Text.@UI.TextArrangement'] && textAnno) {
carrier['@Common.Text'] = { '$value': textAnno, '@UI.TextArrangement': value };
}
delete carrier[aName];

@@ -304,0 +308,0 @@ }

@@ -105,2 +105,3 @@ // CSN frontend - transform CSN into XSN

'target', 'elements', 'enum', 'items',
'cardinality', // for association publishing in views
'type', 'length', 'precision', 'scale', 'srid', 'localized', 'notNull',

@@ -107,0 +108,0 @@ 'keys', 'on', // only with 'target'

@@ -187,5 +187,7 @@ // Transform XSN (augmented CSN) into CSN

// sync with definition in from-csn.js:
// Note: Order here is also the property order in CSN.
const typeProperties = [
'target', 'elements', 'enum', 'items', // TODO: notNull?
'type', 'length', 'precision', 'scale', 'srid', 'localized',
'target', 'elements', 'enum', 'items',
'cardinality', // for association publishing in views
'type', 'length', 'precision', 'scale', 'srid', 'localized', // TODO: notNull?
'foreignKeys', 'on', // for explicit ON/keys with REDIRECTED

@@ -192,0 +194,0 @@ ];

{
"name": "@sap/cds-compiler",
"version": "2.15.6",
"version": "2.15.8",
"description": "CDS (Core Data Services) compiler and backends",

@@ -5,0 +5,0 @@ "homepage": "https://cap.cloud.sap/",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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