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

@accordproject/concerto-cto

Package Overview
Dependencies
Maintainers
6
Versions
498
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@accordproject/concerto-cto - npm Package Compare versions

Comparing version 1.2.2-20211217155508 to 1.2.2-20211219104658

16

lib/printer.js

@@ -160,7 +160,7 @@ /*

result += ` ${mm.name}`;
result += defaultString;
result += validatorString;
if (mm.isOptional) {
result += ' optional';
}
result += defaultString;
result += validatorString;
return result;

@@ -203,2 +203,6 @@ }

}
if (mm.superType) {
result += `extends ${mm.superType.name} `;
}
// XXX Needs to be fixed to support `identified`
if (mm.identified) {

@@ -211,5 +215,2 @@ if (mm.identified.$class === 'concerto.metamodel.IdentifiedBy') {

}
if (mm.superType) {
result += `extends ${mm.superType.name} `;
}
result += '{';

@@ -230,7 +231,2 @@ mm.properties.forEach((property) => {

let result = '';
if (metaModel.concertoVersion) {
result += `concerto version "${metaModel.concertoVersion}"`;
result += '\n';
result += '\n';
}
result += `namespace ${metaModel.namespace}`;

@@ -237,0 +233,0 @@ if (metaModel.imports && metaModel.imports.length > 0) {

{
"name": "@accordproject/concerto-cto",
"version": "1.2.2-20211217155508",
"version": "1.2.2-20211219104658",
"description": "Parser for Concerto CTO files",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/accordproject/concerto",

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