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.7.0 to 0.7.1

6

CHANGELOG.md
# @sap-ux/edmx-parser
## 0.7.1
### Patch Changes
- 1b25c13: Introduce a new property `forceNullableValuesToNull`
## 0.7.0

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

8

dist/parser.js

@@ -55,5 +55,3 @@ "use strict";

}
if (entityProperty._attributes.Nullable) {
edmProperty.nullable = entityProperty._attributes.Nullable !== 'false';
}
edmProperty.nullable = entityProperty._attributes.Nullable !== 'false';
if (entityProperty._attributes.DefaultValue) {

@@ -363,5 +361,3 @@ switch (edmProperty.type) {

}
if (param._attributes.Nullable) {
edmActionParameter.nullable = param._attributes.Nullable !== 'false';
}
edmActionParameter.nullable = param._attributes.Nullable !== 'false';
return edmActionParameter;

@@ -368,0 +364,0 @@ }),

{
"name": "@sap-ux/edmx-parser",
"version": "0.7.0",
"version": "0.7.1",
"description": "SAP Fiori OData - EDMX File parser",

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

"devDependencies": {
"@sap-ux/vocabularies-types": "0.10.0"
"@sap-ux/vocabularies-types": "0.10.6"
},

@@ -23,0 +23,0 @@ "scripts": {

@@ -37,2 +37,3 @@ // eslint-disable-next-line @typescript-eslint/triple-slash-reference

} from '@sap-ux/vocabularies-types';
import type { StringExpression } from '@sap-ux/vocabularies-types/src';
import { xml2js } from 'xml-js';

@@ -110,5 +111,3 @@ import { ensureArray, RawMetadataInstance } from './utils';

}
if (entityProperty._attributes.Nullable) {
edmProperty.nullable = entityProperty._attributes.Nullable !== 'false';
}
edmProperty.nullable = entityProperty._attributes.Nullable !== 'false';
if (entityProperty._attributes.DefaultValue) {

@@ -535,5 +534,3 @@ switch (edmProperty.type) {

}
if (param._attributes.Nullable) {
edmActionParameter.nullable = param._attributes.Nullable !== 'false';
}
edmActionParameter.nullable = param._attributes.Nullable !== 'false';
return edmActionParameter;

@@ -682,3 +679,3 @@ }),

| AnnotationRecord[]
| string[]
| StringExpression[]
| PropertyPathExpression[]

@@ -710,3 +707,3 @@ | PathExpression[]

(stringArray as any).type = 'String';
return stringArray;
return stringArray as unknown as StringExpression[];
} else if (isExpressionOfType<EDMX.AnnotationPathCollectionWrapper>(collection, 'AnnotationPath')) {

@@ -713,0 +710,0 @@ const annotationPathArray = ensureArray(collection.AnnotationPath).map(

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