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

@sap-ux/annotation-converter

Package Overview
Dependencies
Maintainers
0
Versions
76
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sap-ux/annotation-converter - npm Package Compare versions

Comparing version 0.9.11 to 0.10.0

11

CHANGELOG.md
# @sap-ux/annotation-converter
## 0.10.0
### Minor Changes
- d581d62: **BREAKING CHANGE**: parser and writeback no longer incorrectly convert string Collections entries as `string`. Now returned values correctly match the `StringExpression` type and function signatures.
### Patch Changes
- Updated dependencies [d581d62]
- @sap-ux/vocabularies-types@0.12.1
## 0.9.11

@@ -4,0 +15,0 @@

5

dist/writeback.js

@@ -213,3 +213,6 @@ "use strict";

if (typeof collectionItem === 'string') {
return collectionItem;
return {
type: 'String',
String: collectionItem
};
}

@@ -216,0 +219,0 @@ else if (typeof collectionItem === 'object') {

6

package.json
{
"name": "@sap-ux/annotation-converter",
"version": "0.9.11",
"version": "0.10.0",
"description": "SAP Fiori OData - Annotation converter",

@@ -17,6 +17,6 @@ "repository": {

"dependencies": {
"@sap-ux/vocabularies-types": "0.12.0"
"@sap-ux/vocabularies-types": "0.12.1"
},
"devDependencies": {
"@sap-ux/edmx-parser": "0.8.2"
"@sap-ux/edmx-parser": "0.9.0"
},

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

@@ -10,3 +10,4 @@ import type {

RawAnnotation,
Reference
Reference,
StringExpression
} from '@sap-ux/vocabularies-types';

@@ -217,3 +218,3 @@ import { unalias } from './utils';

| AnnotationRecord
| string
| StringExpression
| PropertyPathExpression

@@ -225,3 +226,6 @@ | PathExpression

if (typeof collectionItem === 'string') {
return collectionItem;
return {
type: 'String',
String: collectionItem
};
} else if (typeof collectionItem === 'object') {

@@ -228,0 +232,0 @@ if (collectionItem.hasOwnProperty('$Type')) {

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