Socket
Socket
Sign inDemoInstall

@sap/cds-compiler

Package Overview
Dependencies
Maintainers
3
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 1.17.1 to 1.17.2

17

lib/edm/edmPreprocessor.js

@@ -135,4 +135,2 @@ 'use strict';

model.definitions[parameterCsn.name] = parameterCsn;
// modify the original parameter entity with backlink and new name

@@ -391,7 +389,8 @@ entityCsn.name = originalEntityName;

// Omit associations (no navigation properties)
let ignore = false;
if (isAssocOrComposition(e.type)) {
e._ignore = true;
ignore = true;
}
if(isStructured(e)) {
e._ignore = true;
ignore = true;
// parameters/elements

@@ -401,6 +400,8 @@ signal(info`Structured types not yet supported as primary keys of proxy entity type "${name}" for unexposed association target "${element.target.name}"`,

}
// clone elements and strip of all annotations
proxy.elements[e.name] = cloneCsn(e);
hasKeys = true;
if(!ignore) {
// clone elements and strip of all annotations
proxy.elements[e.name] = cloneCsn(e);
Object.keys(proxy.elements[e.name]).forEach(k => { if(k[0] === '@') delete proxy.elements[e.name][k] } );
hasKeys = true;
}
});

@@ -407,0 +408,0 @@ if(!hasKeys) {

@@ -163,3 +163,4 @@ 'use strict';

copyAnnotations(assoc, foreignKeyElement, true);
if (model.options && !model.options.forHana)
copyAnnotations(assoc, foreignKeyElement, true);

@@ -166,0 +167,0 @@ // If the association is non-fkArtifact resp. key, so should be the foreign key field

{
"name": "@sap/cds-compiler",
"version": "1.17.1",
"version": "1.17.2",
"lockfileVersion": 1,

@@ -5,0 +5,0 @@ "requires": true,

@@ -1,1 +0,1 @@

{"bin":{"cdsc":"bin/cdsc.js","cdshi":"bin/cdshi.js","cdsse":"bin/cdsse.js"},"bundleDependencies":false,"dependencies":{"antlr4":"4.7.1","resolve":"1.8.1","sax":"1.2.4"},"deprecated":false,"description":"CDS (Core Data Services) compiler and backends","keywords":["CDS"],"main":"lib/main.js","name":"@sap/cds-compiler","version":"1.17.1","license":"SEE LICENSE IN developer-license-3.1.txt"}
{"bin":{"cdsc":"bin/cdsc.js","cdshi":"bin/cdshi.js","cdsse":"bin/cdsse.js"},"bundleDependencies":false,"dependencies":{"antlr4":"4.7.1","resolve":"1.8.1","sax":"1.2.4"},"deprecated":false,"description":"CDS (Core Data Services) compiler and backends","keywords":["CDS"],"main":"lib/main.js","name":"@sap/cds-compiler","version":"1.17.2","license":"SEE LICENSE IN developer-license-3.1.txt"}

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

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

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