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

@sap-ux/edmx-parser

Package Overview
Dependencies
Maintainers
3
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sap-ux/edmx-parser - npm Package Compare versions

Comparing version 0.5.15 to 0.5.16

6

CHANGELOG.md
# @sap-ux/edmx-parser
## 0.5.16
### Patch Changes
- 3116cd5: The annotation converter now returns the correct references
## 0.5.15

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

1

dist/utils.d.ts

@@ -63,4 +63,3 @@ /**

addParserOutput(parserOutput: RawMetadata): void;
private mergeReferences;
}
//# sourceMappingURL=utils.d.ts.map

@@ -92,3 +92,3 @@ "use strict";

this._parserOutput.push(parserOutput);
this.mergeReferences(parserOutput.references);
this._references = this._references.concat(parserOutput.references);
this._associations = this._associations.concat(parserOutput.schema.associations);

@@ -108,14 +108,4 @@ this._associationSets = this._associationSets.concat(parserOutput.schema.associationSets);

}
mergeReferences(references) {
for (const reference of references) {
const clash = this._references.find((r) => r.namespace === reference.namespace || r.alias === reference.alias);
// Assuming that the parser output passed to addParserOutput() is unaliased, it is safe to ignore
// non-unique references here. If it is not, then this is going to be problematic
if (!clash) {
this._references.push(reference);
}
}
}
}
exports.MergedRawMetadata = MergedRawMetadata;
//# sourceMappingURL=utils.js.map
{
"name": "@sap-ux/edmx-parser",
"version": "0.5.15",
"version": "0.5.16",
"description": "SAP Fiori OData - EDMX File parser",

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

@@ -123,3 +123,3 @@ /**

this._parserOutput.push(parserOutput);
this.mergeReferences(parserOutput.references);
this._references = this._references.concat(parserOutput.references);
this._associations = this._associations.concat(parserOutput.schema.associations);

@@ -139,15 +139,2 @@ this._associationSets = this._associationSets.concat(parserOutput.schema.associationSets);

}
private mergeReferences(references: Reference[]) {
for (const reference of references) {
const clash = this._references.find(
(r) => r.namespace === reference.namespace || r.alias === reference.alias
);
// Assuming that the parser output passed to addParserOutput() is unaliased, it is safe to ignore
// non-unique references here. If it is not, then this is going to be problematic
if (!clash) {
this._references.push(reference);
}
}
}
}

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