Skip to content

Commit 4cf39cd

Browse files
authored
Merge pull request #208 from protofire/change-parser
Update parser
2 parents 7a1ddb1 + 4b881d6 commit 4cf39cd

File tree

4 files changed

+9
-10
lines changed

4 files changed

+9
-10
lines changed

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -213,8 +213,7 @@ Related documentation you may find [there](https://protofire.github.io/solhint/)
213213

214214
## Acknowledgements
215215

216-
The Solidity parser used is maintained by [ConsenSys Diligence Team](https://diligence.consensys.net/).
217-
You can find it [here](https://github.com/consensys/solidity-parser-antlr).
216+
The Solidity parser used is [`@solidity-parser/parser`](https://github.com/solidity-parser/parser).
218217

219218
## Licence
220219

lib/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
const fs = require('fs')
2-
const parser = require('solidity-parser-diligence')
2+
const parser = require('@solidity-parser/parser')
33
const glob = require('glob')
44
const ignore = require('ignore')
55
const astParents = require('ast-parents')

package-lock.json

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
"author": "Ilya Drabenia <ilya.drobenya@gmail.com>",
3030
"license": "MIT",
3131
"dependencies": {
32+
"@solidity-parser/parser": "^0.5.2",
3233
"ajv": "^6.6.1",
3334
"antlr4": "4.7.1",
3435
"ast-parents": "0.0.1",
@@ -41,8 +42,7 @@
4142
"ignore": "^4.0.6",
4243
"js-yaml": "^3.12.0",
4344
"lodash": "^4.17.11",
44-
"semver": "^6.3.0",
45-
"solidity-parser-diligence": "^0.4.18"
45+
"semver": "^6.3.0"
4646
},
4747
"devDependencies": {
4848
"@stryker-mutator/core": "^2.3.0",

0 commit comments

Comments
 (0)