Merge pull request #134 from sc-forks/solparse

npm publishing solidity-parser-sc
pull/135/head
c-g-e-w-e-k-e- 7 years ago committed by GitHub
commit 32a0f21dec
  1. 4
      docs/testrpc-sc.md
  2. 2
      lib/instrumentSolidity.js
  3. 2
      lib/preprocessor.js
  4. 26
      package-lock.json
  5. 2
      package.json

@ -69,6 +69,10 @@ You can trigger a [CI build](https://travis-ci.org/sc-forks/zeppelin-solidity) a
$ npm run ci $ npm run ci
``` ```
### solidity-parser-sc
We also publish `solidity-parser-sc` because `consensys/solidity-parser` in its .pegjs form has been
left to die in the wild, unloved by all. Publish at the publish branch by running `npm version patch`, `npm publish`.

@ -1,4 +1,4 @@
const SolidityParser = require('solidity-parser'); const SolidityParser = require('solidity-parser-sc');
const preprocessor = require('./preprocessor'); const preprocessor = require('./preprocessor');
const injector = require('./injector'); const injector = require('./injector');
const parse = require('./parse'); const parse = require('./parse');

@ -1,5 +1,5 @@
const SolExplore = require('sol-explore'); const SolExplore = require('sol-explore');
const SolidityParser = require('solidity-parser'); const SolidityParser = require('solidity-parser-sc');
/** /**
* Splices enclosing brackets into `contract` around `expression`; * Splices enclosing brackets into `contract` around `expression`;

26
package-lock.json generated

@ -931,9 +931,9 @@
"dev": true "dev": true
}, },
"browserify-aes": { "browserify-aes": {
"version": "1.0.8", "version": "1.1.0",
"resolved": "https://registry.npmjs.org/browserify-aes/-/browserify-aes-1.0.8.tgz", "resolved": "https://registry.npmjs.org/browserify-aes/-/browserify-aes-1.1.0.tgz",
"integrity": "sha512-WYCMOT/PtGTlpOKFht0YJFYcPy6pLCR98CtWfzK13zoynLlBMvAdEMSRGmgnJCw2M2j/5qxBkinZQFobieM8dQ==", "integrity": "sha512-W2bIMLYoZ9oow7TyePpMJk9l9LY7O3R61a/68bVCDOtnJynnwe3ZeW2IzzSkrQnPKNdJrxVDn3ALZNisSBwb7g==",
"requires": { "requires": {
"buffer-xor": "1.0.3", "buffer-xor": "1.0.3",
"cipher-base": "1.0.4", "cipher-base": "1.0.4",
@ -948,7 +948,7 @@
"resolved": "https://registry.npmjs.org/browserify-cipher/-/browserify-cipher-1.0.0.tgz", "resolved": "https://registry.npmjs.org/browserify-cipher/-/browserify-cipher-1.0.0.tgz",
"integrity": "sha1-mYgkSHS/XtTijalWZtzWasj8Njo=", "integrity": "sha1-mYgkSHS/XtTijalWZtzWasj8Njo=",
"requires": { "requires": {
"browserify-aes": "1.0.8", "browserify-aes": "1.1.0",
"browserify-des": "1.0.0", "browserify-des": "1.0.0",
"evp_bytestokey": "1.0.3" "evp_bytestokey": "1.0.3"
} }
@ -1463,7 +1463,7 @@
"integrity": "sha1-Pja2xCs3BDgjzbwzLVjzHiRFSAs=", "integrity": "sha1-Pja2xCs3BDgjzbwzLVjzHiRFSAs=",
"dev": true, "dev": true,
"requires": { "requires": {
"browserify-aes": "1.0.8", "browserify-aes": "1.1.0",
"create-hash": "1.1.3", "create-hash": "1.1.3",
"create-hmac": "1.1.6" "create-hmac": "1.1.6"
} }
@ -1951,7 +1951,7 @@
"resolved": "https://registry.npmjs.org/ethereumjs-testrpc-sc/-/ethereumjs-testrpc-sc-4.0.2.tgz", "resolved": "https://registry.npmjs.org/ethereumjs-testrpc-sc/-/ethereumjs-testrpc-sc-4.0.2.tgz",
"integrity": "sha512-Gp/0/4cAH2g1rpcjiCngdxg7j6BKuFrvE1kWGSmnLjhRlbm1UW9/k923PbHKFIRP7oXMMio/lVeXAVsZZCEnrQ==", "integrity": "sha512-Gp/0/4cAH2g1rpcjiCngdxg7j6BKuFrvE1kWGSmnLjhRlbm1UW9/k923PbHKFIRP7oXMMio/lVeXAVsZZCEnrQ==",
"requires": { "requires": {
"webpack": "3.7.0" "webpack": "3.7.1"
} }
}, },
"ethereumjs-tx": { "ethereumjs-tx": {
@ -4663,7 +4663,7 @@
"integrity": "sha1-N8T5t+06tlx0gXtfJICTf7+XxxI=", "integrity": "sha1-N8T5t+06tlx0gXtfJICTf7+XxxI=",
"requires": { "requires": {
"asn1.js": "4.9.1", "asn1.js": "4.9.1",
"browserify-aes": "1.0.8", "browserify-aes": "1.1.0",
"create-hash": "1.1.3", "create-hash": "1.1.3",
"evp_bytestokey": "1.0.3", "evp_bytestokey": "1.0.3",
"pbkdf2": "3.0.14" "pbkdf2": "3.0.14"
@ -5617,8 +5617,10 @@
} }
} }
}, },
"solidity-parser": { "solidity-parser-sc": {
"version": "git+https://github.com/sc-forks/solidity-parser.git#8f3e1263d11705195a40f6390ad3276d8c853d88", "version": "0.4.1",
"resolved": "https://registry.npmjs.org/solidity-parser-sc/-/solidity-parser-sc-0.4.1.tgz",
"integrity": "sha512-51kDgZXLCfgOtmxrPPK1Jhgi257emdf8g9xBA7BA5TgFTM8tSEgRzvJGlGTPbI03txLETuSvNpPhy46c+srOyQ==",
"requires": { "requires": {
"mocha": "2.5.3", "mocha": "2.5.3",
"pegjs": "0.10.0", "pegjs": "0.10.0",
@ -6297,9 +6299,9 @@
} }
}, },
"webpack": { "webpack": {
"version": "3.7.0", "version": "3.7.1",
"resolved": "https://registry.npmjs.org/webpack/-/webpack-3.7.0.tgz", "resolved": "https://registry.npmjs.org/webpack/-/webpack-3.7.1.tgz",
"integrity": "sha512-+OKXJj9uqXDQQy6/poZuYRjCiQPPeXdiPpZmBupfDyMUAeqL+67jzCSxGJ9jok3c6Wy3nDivcjMbiVOcTgg8zg==", "integrity": "sha512-8MR+gVfxsvtx4J1UlbRGkUJEpDQUBFmisRmpPO5cVLgF21R8UMChX39OOjDz63a+m/iswGoqATszdZB2VCsYuA==",
"requires": { "requires": {
"acorn": "5.1.2", "acorn": "5.1.2",
"acorn-dynamic-import": "2.0.2", "acorn-dynamic-import": "2.0.2",

@ -28,7 +28,7 @@
"req-cwd": "^1.0.1", "req-cwd": "^1.0.1",
"shelljs": "^0.7.4", "shelljs": "^0.7.4",
"sol-explore": "^1.6.2", "sol-explore": "^1.6.2",
"solidity-parser": "git+https://github.com/sc-forks/solidity-parser.git", "solidity-parser-sc": "0.4.1",
"web3": "^0.18.4" "web3": "^0.18.4"
}, },
"devDependencies": { "devDependencies": {

Loading…
Cancel
Save