prettier-plugin-solidity
Advanced tools
Comparing version 1.0.0-alpha.16 to 1.0.0-alpha.17
{ | ||
"name": "prettier-plugin-solidity", | ||
"version": "1.0.0-alpha.16", | ||
"version": "1.0.0-alpha.17", | ||
"description": "prettier plugin for solidity", | ||
@@ -38,2 +38,6 @@ "main": "src", | ||
{ | ||
"email": "hi@mudit.blog", | ||
"name": "Mudit Gupta" | ||
}, | ||
{ | ||
"email": "victorio.franco@gmail.com", | ||
@@ -63,5 +67,5 @@ "name": "Franco Victorio" | ||
"prettier": "^1.15.3", | ||
"solidity-parser-antlr": "^0.3.3", | ||
"solidity-parser-antlr": "^0.4.0", | ||
"string-width": "^3.0.0" | ||
} | ||
} |
@@ -34,2 +34,6 @@ /* eslint-disable no-nested-ternary, operator-linebreak */ | ||
let doc; | ||
if (node === null) { | ||
return ''; | ||
} | ||
switch (node.type) { | ||
@@ -311,8 +315,3 @@ case 'SourceUnit': | ||
', ', | ||
path.map(statementPath => { | ||
if (!statementPath.getValue()) { | ||
return ', '; | ||
} | ||
return print(statementPath); | ||
}, 'variables') | ||
path.map(statementPath => print(statementPath), 'variables') | ||
); | ||
@@ -319,0 +318,0 @@ |
Sorry, the diff of this file is not supported yet
227663
67
2247
+ Addedsolidity-parser-antlr@0.4.11(transitive)
- Removedsolidity-parser-antlr@0.3.3(transitive)
Updatedsolidity-parser-antlr@^0.4.0