Skip to content

Commit

Permalink
Merge pull request #6 from maxsam4/dev
Browse files Browse the repository at this point in the history
Upstream changes
  • Loading branch information
maxsam4 authored Jan 10, 2019
2 parents d8ad79b + 7a94ec5 commit ad5986a
Show file tree
Hide file tree
Showing 4 changed files with 212 additions and 81 deletions.
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,7 @@ You may add the command script to your package.json file and then use `npm run s
4) Low level `call` now returns 2 parameters rather than 1. This plugin does not rafactor it.

### Known bugs
1) It does not work when the function body has only one comment and no statements.
2) It may not work with assemly code (It won't fail but it might not print a few statements).
3) Incomplete tupples like `(hello, )` get incorrectly refactored to `(hello)`.
1) Incomplete tupples like `(hello, )` get incorrectly refactored to `(hello)`.

### TODO
1) Add test cases.
Expand Down
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "prettier-plugin-solidity-refactor",
"version": "1.0.0-alpha.11",
"version": "1.0.0-alpha.12",
"description": "prettier plugin for solidity that refactors solidity 0.4.x code to solidity 0.5.x code",
"main": "src",
"repository": {
Expand All @@ -26,11 +26,11 @@
},
"homepage": "https://mudit.blog/tool-refactor-your-solidity-0-4-x-code-to-solidity-0-5-x-code/",
"dependencies": {
"emoji-regex": "^7.0.1",
"emoji-regex": "^7.0.3",
"escape-string-regexp": "^1.0.5",
"extract-comments": "^1.1.0",
"prettier": "^1.15.2",
"solidity-parser-antlr": "^0.3.1",
"string-width": "3.0.0"
"prettier": "^1.15.3",
"solidity-parser-antlr": "^0.3.3",
"string-width": "^3.0.0"
}
}
Loading

0 comments on commit ad5986a

Please sign in to comment.