update circom and snarkjs

This commit is contained in:
poma 2019-09-27 17:20:50 +03:00
parent 5ef6e33c78
commit bb80cd9788
2 changed files with 71 additions and 94 deletions

91
package-lock.json generated
View File

@ -1312,9 +1312,9 @@
} }
}, },
"circom": { "circom": {
"version": "0.0.30", "version": "0.0.34",
"resolved": "https://registry.npmjs.org/circom/-/circom-0.0.30.tgz", "resolved": "https://registry.npmjs.org/circom/-/circom-0.0.34.tgz",
"integrity": "sha512-jZqk8ZzEUy2+HqkK/7DJ7t98NhV28fgaRitOK+iQ7f97+sznACAbItBmPbnmSwQfT9lFtidAtVnXPlD0tIy+DQ==", "integrity": "sha512-R7yNW8PtX2xREtLYWZ/o5cfKHT/qa+CveXsGVAX1ej7mPrTat9mlEMXEy2vX//IuP9/cnYTY/KxJ2SN05PUeGA==",
"requires": { "requires": {
"big-integer": "^1.6.32", "big-integer": "^1.6.32",
"optimist": "^0.6.1", "optimist": "^0.6.1",
@ -1322,38 +1322,16 @@
} }
}, },
"circomlib": { "circomlib": {
"version": "0.0.10", "version": "0.0.18",
"resolved": "https://registry.npmjs.org/circomlib/-/circomlib-0.0.10.tgz", "resolved": "https://registry.npmjs.org/circomlib/-/circomlib-0.0.18.tgz",
"integrity": "sha512-+/gEnk3I1zuU7Nbm/gig+Yc87p2R+t9agDWnOVrg+warKLOFLgtbH6OuefbAtqGwHf8qq0pEmeaJfvaf53lKxQ==", "integrity": "sha512-A06u7fEYlUb/NoRguYSkxDcPfAcqHJ23UnZ1jsj4l581C4Q4i7NC0MwsYOOPDnhXqk1t3/LjDFzN3dIhPyfiCQ==",
"requires": { "requires": {
"blake-hash": "^1.1.0", "blake-hash": "^1.1.0",
"blake2b": "^2.1.3", "blake2b": "^2.1.3",
"snarkjs": "0.1.11", "snarkjs": "^0.1.20",
"typedarray-to-buffer": "^3.1.5", "typedarray-to-buffer": "^3.1.5",
"web3": "^1.0.0-beta.55" "web3": "^1.0.0-beta.55"
}, },
"dependencies": {
"espree": {
"version": "5.0.1",
"resolved": "https://registry.npmjs.org/espree/-/espree-5.0.1.tgz",
"integrity": "sha512-qWAZcWh4XE/RwzLJejfcofscgMc9CamR6Tn1+XRXNzrvUSSbiAjGOI/fggztjIi7y9VLPqnICMIPiGyr8JaZ0A==",
"requires": {
"acorn": "^6.0.7",
"acorn-jsx": "^5.0.0",
"eslint-visitor-keys": "^1.0.0"
}
},
"snarkjs": {
"version": "0.1.11",
"resolved": "https://registry.npmjs.org/snarkjs/-/snarkjs-0.1.11.tgz",
"integrity": "sha512-NoMNn03Uwbt18V340ZlHSZscyfIu8F6fMOL7LT9Xr1zQY/nmzScM8442ATyJfzSI5bDTAz1QQGbCerP2BCKljA==",
"requires": {
"big-integer": "^1.6.35",
"chai": "^4.1.2",
"escape-string-regexp": "^1.0.5",
"eslint": "^5.3.0",
"yargs": "^12.0.2"
},
"dependencies": { "dependencies": {
"eslint": { "eslint": {
"version": "5.16.0", "version": "5.16.0",
@ -1397,40 +1375,39 @@
"table": "^5.2.3", "table": "^5.2.3",
"text-table": "^0.2.0" "text-table": "^0.2.0"
} }
} },
"espree": {
"version": "5.0.1",
"resolved": "https://registry.npmjs.org/espree/-/espree-5.0.1.tgz",
"integrity": "sha512-qWAZcWh4XE/RwzLJejfcofscgMc9CamR6Tn1+XRXNzrvUSSbiAjGOI/fggztjIi7y9VLPqnICMIPiGyr8JaZ0A==",
"requires": {
"acorn": "^6.0.7",
"acorn-jsx": "^5.0.0",
"eslint-visitor-keys": "^1.0.0"
} }
}, },
"web3": { "keccak": {
"version": "1.0.0-beta.55", "version": "2.0.0",
"resolved": "https://registry.npmjs.org/web3/-/web3-1.0.0-beta.55.tgz", "resolved": "https://registry.npmjs.org/keccak/-/keccak-2.0.0.tgz",
"integrity": "sha512-yJpwy4IUA3T/F9hWzYQVn0GbJCrAaZ0KTIO3iuqkhaYH0Y09KV7k4GzFi4hN7hT4cFTj4yIKaeVCwQ5kzvi2Vg==", "integrity": "sha512-rKe/lRr0KGhjoz97cwg+oeT1Rj/Y4cjae6glArioUC8JBF9ROGZctwIaaruM7d7naovME4Q8WcQSO908A8qcyQ==",
"requires": { "requires": {
"@babel/runtime": "^7.3.1", "bindings": "^1.2.1",
"@types/node": "^10.12.18", "inherits": "^2.0.3",
"web3-core": "1.0.0-beta.55", "nan": "^2.2.1",
"web3-eth": "1.0.0-beta.55", "safe-buffer": "^5.1.0"
"web3-eth-personal": "1.0.0-beta.55",
"web3-net": "1.0.0-beta.55",
"web3-providers": "1.0.0-beta.55",
"web3-shh": "1.0.0-beta.55",
"web3-utils": "1.0.0-beta.55"
} }
}, },
"web3-utils": { "snarkjs": {
"version": "1.0.0-beta.55", "version": "0.1.20",
"resolved": "https://registry.npmjs.org/web3-utils/-/web3-utils-1.0.0-beta.55.tgz", "resolved": "https://registry.npmjs.org/snarkjs/-/snarkjs-0.1.20.tgz",
"integrity": "sha512-ASWqUi8gtWK02Tp8ZtcoAbHenMpQXNvHrakgzvqTNNZn26wgpv+Q4mdPi0KOR6ZgHFL8R/9b5BBoUTglS1WPpg==", "integrity": "sha512-tYmWiVm1sZiB44aIh5w/3HUaTntTUC4fv+CWs4rR0gfkt2KbHTpArOqZW++/Lxujrn9IypXVhdKVUr/eE6Hxfg==",
"requires": { "requires": {
"@babel/runtime": "^7.3.1", "big-integer": "^1.6.43",
"@types/bn.js": "^4.11.4", "chai": "^4.2.0",
"@types/node": "^10.12.18", "escape-string-regexp": "^1.0.5",
"bn.js": "4.11.8", "eslint": "^5.16.0",
"eth-lib": "0.2.8", "keccak": "^2.0.0",
"ethjs-unit": "^0.1.6", "yargs": "^12.0.5"
"lodash": "^4.17.11",
"number-to-bn": "1.7.0",
"randombytes": "^2.1.0",
"utf8": "2.1.1"
} }
} }
} }

View File

@ -27,8 +27,8 @@
"browserify": "^16.3.0", "browserify": "^16.3.0",
"chai": "^4.2.0", "chai": "^4.2.0",
"chai-as-promised": "^7.1.1", "chai-as-promised": "^7.1.1",
"circom": "0.0.30", "circom": "0.0.34",
"circomlib": "^0.0.10", "circomlib": "^0.0.18",
"dotenv": "^8.0.0", "dotenv": "^8.0.0",
"eslint": "^6.2.2", "eslint": "^6.2.2",
"ganache-cli": "^6.4.5", "ganache-cli": "^6.4.5",