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

@sap/cds-compiler

Package Overview
Dependencies
Maintainers
0
Versions
108
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 4.9.4 to 4.9.6

5

lib/transform/db/flattening.js

@@ -19,2 +19,3 @@ 'use strict';

const { cloneCsnNonDict } = require('../../model/cloneCsn');
const { EdmTypeFacetNames } = require('../../edm/EdmPrimitiveTypeDefinitions');

@@ -832,7 +833,7 @@ /**

setProp(newFk, '$extensionPath', extensionPath);
for (const prop of [ 'type', 'length', 'scale', 'precision', 'srid', 'default', '@odata.Type' ]) {
[ 'type', 'length', 'scale', 'precision', 'srid', 'default', '@odata.Type', ...EdmTypeFacetNames.map(f => `@odata.${f}`) ].forEach((prop) => {
// copy props from original element to preserve derived types!
if (element[prop] !== undefined)
newFk[prop] = element[prop];
}
});
return [ [ prefix, newFk ] ];

@@ -839,0 +840,0 @@ }

2

lib/transform/effective/main.js

@@ -14,3 +14,2 @@ 'use strict';

const associations = require('./associations');
const generateDrafts = require('../draft/db');
const handleExists = require('../db/transformExists');

@@ -81,3 +80,2 @@ const misc = require('./misc');

associations.transformBacklinks(csn, options, csnUtils, messageFunctions);
generateDrafts(csn, options, '_', messageFunctions);
const transformers = mergeTransformers([ misc.attachPersistenceName(csn, options, csnUtils), options.remapOdataAnnotations ? annotations.remapODataAnnotations(csn) : {}, misc.removeDefinitionsAndProperties(csn, options) ], null);

@@ -84,0 +82,0 @@ applyTransformations(csn, transformers, [], { skipIgnore: false });

{
"name": "@sap/cds-compiler",
"version": "4.9.4",
"version": "4.9.6",
"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

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