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

tplant

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tplant - npm Package Compare versions

Comparing version 2.3.0 to 2.3.1

1

dist/Components/Property.d.ts

@@ -9,2 +9,3 @@ import { ComponentKind } from '../Models/ComponentKind';

returnType: string;
isAbstract: boolean;
isOptional: boolean;

@@ -11,0 +12,0 @@ isStatic: boolean;

@@ -9,2 +9,3 @@ "use strict";

this.returnType = 'any';
this.isAbstract = false;
this.isOptional = false;

@@ -15,3 +16,7 @@ this.isStatic = false;

Property.prototype.toPUML = function () {
return "" + { public: '+', private: '-', protected: '#' }[this.modifier] + (this.isStatic ? '{static} ' : '') + this.name + (this.isOptional ? '?' : '') + ": " + this.returnType;
var result = { public: '+', private: '-', protected: '#' }[this.modifier];
result += (this.isAbstract ? '{abstract} ' : '');
result += (this.isStatic ? '{static} ' : '');
result += "" + this.name + (this.isOptional ? '?' : '') + ": " + this.returnType;
return result;
};

@@ -18,0 +23,0 @@ return Property;

@@ -10,2 +10,3 @@ "use strict";

result.modifier = ComponentFactory_1.ComponentFactory.getMemberModifier(namedDeclaration);
result.isAbstract = ComponentFactory_1.ComponentFactory.isAbstract(namedDeclaration);
result.isOptional = ComponentFactory_1.ComponentFactory.isOptional(namedDeclaration);

@@ -12,0 +13,0 @@ result.isStatic = ComponentFactory_1.ComponentFactory.isStatic(namedDeclaration);

2

dist/index.js

@@ -18,3 +18,3 @@ #!/usr/bin/env node

commander_1.default
.version('2.3.0')
.version('2.3.1')
.option('-i, --input <path>', 'Define the path of the Typescript file')

@@ -21,0 +21,0 @@ .option('-o, --output <path>', 'Define the path of the output file. If not defined, it\'ll output on the STDOUT')

{
"name": "tplant",
"version": "2.3.0",
"version": "2.3.1",
"description": "Typescript to PlantUML",

@@ -5,0 +5,0 @@ "keywords": [

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