Comparing version 1.1.8 to 1.1.9
@@ -283,2 +283,7 @@ "use strict"; | ||
} | ||
// @ts-ignore | ||
else if (expression.type === 'NewExpression') { | ||
// @ts-ignore | ||
umlClass = addAssociations([expression.typeName], umlClass); | ||
} | ||
// @ts-ignore IDEX 0x2a0c0DBEcC7E4D658f48E01e3fA353F44050c208 has this | ||
@@ -285,0 +290,0 @@ else if (expression.type === 'UnaryOperation' && expression.subExpression) { |
{ | ||
"name": "sol2uml", | ||
"version": "1.1.8", | ||
"version": "1.1.9", | ||
"description": "Unified Modeling Language (UML) class diagram generator for Solidity contracts", | ||
@@ -5,0 +5,0 @@ "main": "./lib/index.js", |
@@ -148,4 +148,4 @@ # Solidity 2 UML | ||
This version uses the [solidity-parser-antlr](https://github.com/federicobond/solidity-parser-antlr) Solidity parser which is built on top of [ANTLR4 grammar](https://github.com/solidityj/solidity-antlr4). The logic to generate the dot syntax has been rewritten and different UML syntax is now used. | ||
This version uses Federico Bond's (GitHub @federicobond) [solidity-parser-antlr](https://github.com/federicobond/solidity-parser-antlr) Solidity parser which is built on top of [ANTLR4 grammar](https://github.com/solidityj/solidity-antlr4). The logic to generate the dot syntax has been rewritten and different UML syntax is now used to Richard Ramos's original implementation. | ||
The diagrams are generated using [viz.js](https://github.com/mdaines/viz.js/) which uses [Graphviz](http://www.graphviz.org/) to render a [Scalable Vector Graphics (SVG)](https://en.wikipedia.org/wiki/Scalable_Vector_Graphics) file. [Graphviz Online](https://dreampuf.github.io/GraphvizOnline/) allows dot files to be edited and rendered into a SVG dynamically. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
60053
1228