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

sol2uml

Package Overview
Dependencies
Maintainers
1
Versions
84
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sol2uml - npm Package Compare versions

Comparing version 1.1.15 to 1.1.16

2

lib/parser.js

@@ -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}`);

6

package.json
{
"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.
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