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 2.4.0 to 2.4.1

4

lib/sol2uml.js

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

The results show the comparision of contract A to B.
The results show the comparison of contracts A to B.
The ${clc.green('green')} sections are additions to contract B that are not in contract A.

@@ -215,3 +215,3 @@ The ${clc.red('red')} sections are removals from contract A that are not in contract B.

.argument('<addressB>', 'Contract address in hexadecimal format with a 0x prefix.')
.addOption(new commander_1.Option('-l, --lineBuffer <value>', 'Minimum number a lines before and after changes').default('4'))
.addOption(new commander_1.Option('-l, --lineBuffer <value>', 'Minimum number of lines before and after changes').default('4'))
.option('-s, --saveFiles', 'Save the flattened contract code to the filesystem. The file names will be the contract address with a .sol extension.', false)

@@ -218,0 +218,0 @@ .action(async (addressA, addressB, options, command) => {

{
"name": "sol2uml",
"version": "2.4.0",
"version": "2.4.1",
"description": "Solidity contract visualisation tool.",

@@ -24,3 +24,3 @@ "main": "./lib/index.js",

"@solidity-parser/parser": "^0.14.5",
"axios": "^1.2.1",
"axios": "^1.1.3",
"axios-debug-log": "^1.0.0",

@@ -27,0 +27,0 @@ "cli-color": "^2.0.3",

@@ -163,3 +163,3 @@ # Solidity 2 UML

The results show the comparision of contract A to B.
The results show the comparison of contracts A to B.
The green sections are additions to contract B that are not in contract A.

@@ -176,3 +176,3 @@ The red sections are removals from contract A that are not in contract B.

Options:
-l, --lineBuffer <value> Minimum number a lines before and after changes (default: "4")
-l, --lineBuffer <value> Minimum number of lines before and after changes (default: "4")
-s, --saveFiles Save the flattened contract code to the filesystem. The file names will be the contract address with a .sol extension. (default: false)

@@ -179,0 +179,0 @@ -h, --help display help for command

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