aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-06-21 21:02:09 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2017-06-21 21:02:09 +0800
commitef96c58b7f7d0ce678e8eb4f662b2f6a31e8799a (patch)
treefd7ba0e297bcdeec857fada88676b788c110683d
parent096d3bdb26921cb3e7d05e65dc286ddf49f98a8a (diff)
downloaddexon-sol-tools-ef96c58b7f7d0ce678e8eb4f662b2f6a31e8799a.tar
dexon-sol-tools-ef96c58b7f7d0ce678e8eb4f662b2f6a31e8799a.tar.gz
dexon-sol-tools-ef96c58b7f7d0ce678e8eb4f662b2f6a31e8799a.tar.bz2
dexon-sol-tools-ef96c58b7f7d0ce678e8eb4f662b2f6a31e8799a.tar.lz
dexon-sol-tools-ef96c58b7f7d0ce678e8eb4f662b2f6a31e8799a.tar.xz
dexon-sol-tools-ef96c58b7f7d0ce678e8eb4f662b2f6a31e8799a.tar.zst
dexon-sol-tools-ef96c58b7f7d0ce678e8eb4f662b2f6a31e8799a.zip
Temporarily use forked version of truffle-contract to reduce the bundle
truffle-contract uses web3 0.18.0. We use web3 0.19.0 which results in 2 versions of web3 being bundled with the package This commit temporarily switches to custom truffle-contract fork We'll switch back when the PR would be accepted
-rw-r--r--package.json2
-rw-r--r--yarn.lock24
2 files changed, 8 insertions, 18 deletions
diff --git a/package.json b/package.json
index d1fff0808..554b3980e 100644
--- a/package.json
+++ b/package.json
@@ -95,7 +95,7 @@
"jsonschema": "^1.1.1",
"lodash": "^4.17.4",
"publish-release": "^1.3.3",
- "truffle-contract": "^2.0.1",
+ "truffle-contract": "0xproject/truffle-contract#temporary",
"web3": "^0.19.0"
}
}
diff --git a/yarn.lock b/yarn.lock
index 674bb9246..3629ccb63 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -4226,11 +4226,11 @@ trim@0.0.1:
version "0.0.1"
resolved "https://registry.yarnpkg.com/trim/-/trim-0.0.1.tgz#5858547f6b290757ee95cccc666fb50084c460dd"
-truffle-blockchain-utils@0.0.1:
+truffle-blockchain-utils@0xproject/truffle-blockchain-utils:
version "0.0.1"
- resolved "https://registry.yarnpkg.com/truffle-blockchain-utils/-/truffle-blockchain-utils-0.0.1.tgz#07a58e55bb0555a64208c9119c0b04ffe1464aa4"
+ resolved "https://codeload.github.com/0xproject/truffle-blockchain-utils/tar.gz/edf5c512d70aa0fc7a7ce26b25a108ae005af9d8"
dependencies:
- web3 "^0.18.0"
+ web3 "^0.19.0"
truffle-contract-schema@0.0.5:
version "0.0.5"
@@ -4238,14 +4238,14 @@ truffle-contract-schema@0.0.5:
dependencies:
crypto-js "^3.1.9-1"
-truffle-contract@^2.0.1:
+truffle-contract@0xproject/truffle-contract#temporary:
version "2.0.1"
- resolved "https://registry.yarnpkg.com/truffle-contract/-/truffle-contract-2.0.1.tgz#f83e3f18d8044027f2a9ee7c33767ba10fd39dd8"
+ resolved "https://codeload.github.com/0xproject/truffle-contract/tar.gz/e105b90c4b388e56e38450b174fb6976e597fa30"
dependencies:
ethjs-abi "0.1.8"
- truffle-blockchain-utils "0.0.1"
+ truffle-blockchain-utils "0xproject/truffle-blockchain-utils"
truffle-contract-schema "0.0.5"
- web3 "^0.18.0"
+ web3 "^0.19.0"
tslib@^1.7.1:
version "1.7.1"
@@ -4482,16 +4482,6 @@ web3@^0.16.0, web3@~0.16.0:
utf8 "^2.1.1"
xmlhttprequest "*"
-web3@^0.18.0:
- version "0.18.4"
- resolved "https://registry.yarnpkg.com/web3/-/web3-0.18.4.tgz#81ec1784145491f2eaa8955b31c06049e07c5e7d"
- dependencies:
- bignumber.js "git+https://github.com/debris/bignumber.js.git#94d7146671b9719e00a09c29b01a691bc85048c2"
- crypto-js "^3.1.4"
- utf8 "^2.1.1"
- xhr2 "*"
- xmlhttprequest "*"
-
web3@^0.19.0:
version "0.19.0"
resolved "https://registry.yarnpkg.com/web3/-/web3-0.19.0.tgz#8b18fba24421a59d2884859bcb9b718c2665524e"