Comparing version 1.1.15 to 1.1.16
@@ -353,2 +353,4 @@ "use strict"; | ||
return umlClass_1.ClassStereotype.Library; | ||
case 'abstract': | ||
return umlClass_1.ClassStereotype.Abstract; | ||
default: | ||
@@ -355,0 +357,0 @@ throw Error(`Invalid kind ${kind}`); |
{ | ||
"name": "sol2uml", | ||
"version": "1.1.15", | ||
"version": "1.1.16", | ||
"description": "Unified Modeling Language (UML) class diagram generator for Solidity contracts", | ||
@@ -8,3 +8,3 @@ "main": "./lib/index.js", | ||
"scripts": { | ||
"buildSol": "cd ./src/contracts && solc *", | ||
"buildSol": "cd ./src/contracts && solc **/*.sol", | ||
"build": "tsc --build ./tsconfig.json", | ||
@@ -26,3 +26,3 @@ "clean": "tsc --build --clean ./tsconfig.json", | ||
"klaw": "^2.1.1", | ||
"solidity-parser-antlr": "0.4.11", | ||
"solidity-parser-antlr": "naddison36/solidity-parser-antlr", | ||
"svg-to-png": "^4.0.0", | ||
@@ -29,0 +29,0 @@ "verror": "^1.10.0", |
@@ -153,4 +153,6 @@ # Solidity 2 UML | ||
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. | ||
This version uses the [solidity-parser-antlr](https://github.com/ConsenSys/solidity-parser-antlr) Solidity parser. This is a ConsenSys fork of Federico Bond's (GitHub @federicobond) [solidity-parser-antlr](https://github.com/federicobond/solidity-parser-antlr) parser which was 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 [Solidity language grammar](https://solidity.readthedocs.io/en/develop/miscellaneous.html#language-grammar) is published with each major release. | ||
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
GitHub dependency
Supply chain riskContains a dependency which resolves to a GitHub URL. Dependencies fetched from GitHub specifiers are not immutable can be used to inject untrusted code or reduce the likelihood of a reproducible install.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
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
63634
1289
158
1
1
- Removedsolidity-parser-antlr@0.4.11(transitive)
Updatedsolidity-parser-antlr@naddison36/solidity-parser-antlr