sol2uml 2.4.0 → 2.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -160,7 +160,7 @@ Options:
160
160
  ```
161
161
  Usage: sol2uml diff [options] <addressA> <addressB>
162
162
 
163
- The results show the comparision of contract A to B.
163
+ The results show the comparison of contracts A to B.
164
164
  The green sections are additions to contract B that are not in contract A.
165
165
  The red sections are removals from contract A that are not in contract B.
166
166
  The line numbers are from contract B. There are no line numbers for the red sections as they are not in contract B.
@@ -172,7 +172,7 @@ Arguments:
172
172
  addressB Contract address in hexadecimal format with a 0x prefix.
173
173
 
174
174
  Options:
175
- -l, --lineBuffer <value> Minimum number a lines before and after changes (default: "4")
175
+ -l, --lineBuffer <value> Minimum number of lines before and after changes (default: "4")
176
176
  -s, --saveFiles Save the flattened contract code to the filesystem. The file names will be the contract address with a .sol extension. (default: false)
177
177
  -h, --help display help for command
178
178
  ```
package/lib/sol2uml.js CHANGED
@@ -205,13 +205,13 @@ program
205
205
  .description('Compare verified Solidity code differences between two contracts.')
206
206
  .usage(`[options] <addressA> <addressB>
207
207
 
208
- The results show the comparision of contract A to B.
208
+ The results show the comparison of contracts A to B.
209
209
  The ${clc.green('green')} sections are additions to contract B that are not in contract A.
210
210
  The ${clc.red('red')} sections are removals from contract A that are not in contract B.
211
211
  The line numbers are from contract B. There are no line numbers for the red sections as they are not in contract B.`)
212
212
  .argument('<addressA>', 'Contract address in hexadecimal format with a 0x prefix.')
213
213
  .argument('<addressB>', 'Contract address in hexadecimal format with a 0x prefix.')
214
- .addOption(new commander_1.Option('-l, --lineBuffer <value>', 'Minimum number a lines before and after changes').default('4'))
214
+ .addOption(new commander_1.Option('-l, --lineBuffer <value>', 'Minimum number of lines before and after changes').default('4'))
215
215
  .option('-s, --saveFiles', 'Save the flattened contract code to the filesystem. The file names will be the contract address with a .sol extension.', false)
216
216
  .action(async (addressA, addressB, options, command) => {
217
217
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sol2uml",
3
- "version": "2.4.0",
3
+ "version": "2.4.1",
4
4
  "description": "Solidity contract visualisation tool.",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",
@@ -21,7 +21,7 @@
21
21
  "dependencies": {
22
22
  "@aduh95/viz.js": "^3.7.0",
23
23
  "@solidity-parser/parser": "^0.14.5",
24
- "axios": "^1.2.1",
24
+ "axios": "^1.1.3",
25
25
  "axios-debug-log": "^1.0.0",
26
26
  "cli-color": "^2.0.3",
27
27
  "commander": "^9.4.1",