Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

Commit

Permalink
Merge pull request #2244 from trufflesuite/upgrade-web3-version1
Browse files Browse the repository at this point in the history
Dependency update: Upgrade web3 packages to 1.2.0
  • Loading branch information
eggplantzzz authored Jul 23, 2019
2 parents cee0bec + 86881e5 commit 53e509f
Show file tree
Hide file tree
Showing 18 changed files with 502 additions and 311 deletions.
2 changes: 1 addition & 1 deletion packages/truffle-artifactor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"require-nocache": "^1.0.0",
"temp": "^0.8.3",
"truffle-contract": "^4.0.25",
"web3": "1.0.0-beta.37"
"web3": "^1.2.0"
},
"publishConfig": {
"access": "public"
Expand Down
8 changes: 4 additions & 4 deletions packages/truffle-contract/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@
"truffle-contract-schema": "^3.0.11",
"truffle-error": "^0.0.5",
"truffle-interface-adapter": "^0.2.0",
"web3": "1.0.0-beta.37",
"web3-core-promievent": "1.0.0-beta.37",
"web3-eth-abi": "1.0.0-beta.37",
"web3-utils": "1.0.0-beta.37"
"web3": "^1.2.0",
"web3-core-promievent": "^1.2.0",
"web3-eth-abi": "^1.2.0",
"web3-utils": "^1.2.0"
},
"devDependencies": {
"async": "2.6.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/truffle-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
"truffle-solidity-utils": "^1.2.3",
"truffle-workflow-compile": "^2.0.24",
"universal-analytics": "^0.4.17",
"web3": "1.0.0-beta.37",
"web3": "^1.2.0",
"xregexp": "^4.2.4",
"yargs": "^8.0.2"
},
Expand Down
4 changes: 2 additions & 2 deletions packages/truffle-debugger/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@
"truffle-decoder": "^3.0.6",
"truffle-expect": "^0.0.9",
"truffle-solidity-utils": "^1.2.3",
"web3": "1.0.0-beta.37",
"web3-eth-abi": "1.0.0-beta.37"
"web3": "^1.2.0",
"web3-eth-abi": "^1.2.0"
},
"devDependencies": {
"async": "2.6.1",
Expand Down
36 changes: 18 additions & 18 deletions packages/truffle-decode-utils/package.json
Original file line number Diff line number Diff line change
@@ -1,31 +1,28 @@
{
"name": "truffle-decode-utils",
"version": "1.0.14",
"description": "Utilities for decoding data from the EVM",
"dependencies": {
"bn.js": "^4.11.8",
"lodash.clonedeep": "^4.5.0",
"lodash.escaperegexp": "^4.1.2",
"web3": "1.0.0-beta.37",
"web3-eth-abi": "1.0.0-beta.52"
"license": "MIT",
"author": "Truffle Suite <inquiry@trufflesuite.com>",
"homepage": "https://github.com/trufflesuite/truffle-decode-utils#readme",
"repository": "https://github.com/trufflesuite/truffle/tree/master/packages/truffle-decode-utils",
"bugs": {
"url": "https://github.com/trufflesuite/truffle-decode-utils/issues"
},
"version": "1.0.14",
"main": "dist/index.js",
"types": "src/index.ts",
"scripts": {
"prepare": "yarn build",
"build": "node_modules/.bin/tsc",
"prepare": "yarn build",
"start": "node_modules/.bin/tsc --watch",
"test": "echo \"No test specified\" && exit 0;"
},
"repository": "https://github.com/trufflesuite/truffle/tree/master/packages/truffle-decode-utils",
"author": "Truffle Suite <inquiry@trufflesuite.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/trufflesuite/truffle-decode-utils/issues"
},
"homepage": "https://github.com/trufflesuite/truffle-decode-utils#readme",
"publishConfig": {
"access": "public"
"types": "src/index.ts",
"dependencies": {
"bn.js": "^4.11.8",
"lodash.clonedeep": "^4.5.0",
"lodash.escaperegexp": "^4.1.2",
"web3": "^1.2.0",
"web3-eth-abi": "1.0.0-beta.52"
},
"devDependencies": {
"@types/bn.js": "^4.11.2",
Expand All @@ -34,5 +31,8 @@
"@types/web3": "^1.0.5",
"typescript": "^3.1.3"
},
"publishConfig": {
"access": "public"
},
"gitHead": "b207efb3c1409746537293b3e0fc27350029188e"
}
60 changes: 30 additions & 30 deletions packages/truffle-decoder/package.json
Original file line number Diff line number Diff line change
@@ -1,44 +1,25 @@
{
"name": "truffle-decoder",
"version": "3.0.6",
"description": "A library that provides both high and low level decoding of Ethereum contract variables",
"license": "MIT",
"author": "Mike Seese",
"homepage": "https://github.com/trufflesuite/truffle#readme",
"repository": "https://github.com/trufflesuite/truffle/tree/master/packages/truffle-decoder",
"bugs": {
"url": "https://github.com/trufflesuite/truffle/issues"
},
"version": "3.0.6",
"main": "dist/interface/index.js",
"types": "lib/interface/index.ts",
"directories": {
"lib": "lib"
},
"scripts": {
"prepare": "yarn build",
"build": "node_modules/.bin/tsc",
"prepare": "yarn build",
"start": "node_modules/.bin/tsc --watch",
"test": "cd test && truffle test"
},
"repository": "https://github.com/trufflesuite/truffle/tree/master/packages/truffle-decoder",
"keywords": [
"ethereum",
"contract",
"state",
"decoder"
],
"author": "Mike Seese",
"license": "MIT",
"bugs": {
"url": "https://github.com/trufflesuite/truffle/issues"
},
"homepage": "https://github.com/trufflesuite/truffle#readme",
"devDependencies": {
"@types/bn.js": "^4.11.2",
"@types/debug": "^0.0.31",
"@types/lodash": "^4.14.116",
"@types/lodash.clonedeep": "^4.5.4",
"@types/lodash.isequal": "^4.5.4",
"@types/lodash.merge": "^4.6.4",
"@types/utf8": "^2.1.6",
"@types/web3": "^1.0.5",
"json-schema-to-typescript": "^5.5.0",
"truffle-contract-schema": "^3.0.11",
"typescript": "^3.1.3"
},
"types": "lib/interface/index.ts",
"dependencies": {
"abi-decoder": "^1.2.0",
"async-eventemitter": "^0.2.4",
Expand All @@ -49,10 +30,29 @@
"lodash.merge": "^4.6.1",
"truffle-decode-utils": "^1.0.14",
"utf8": "^3.0.0",
"web3": "1.0.0-beta.37"
"web3": "^1.2.0"
},
"peerDependencies": {
"truffle": "^5.0.14"
},
"devDependencies": {
"@types/bn.js": "^4.11.2",
"@types/debug": "^0.0.31",
"@types/lodash": "^4.14.116",
"@types/lodash.clonedeep": "^4.5.4",
"@types/lodash.isequal": "^4.5.4",
"@types/lodash.merge": "^4.6.4",
"@types/utf8": "^2.1.6",
"@types/web3": "^1.0.5",
"json-schema-to-typescript": "^5.5.0",
"truffle-contract-schema": "^3.0.11",
"typescript": "^3.1.3"
},
"keywords": [
"contract",
"decoder",
"ethereum",
"state"
],
"gitHead": "b207efb3c1409746537293b3e0fc27350029188e"
}
2 changes: 1 addition & 1 deletion packages/truffle-deployer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"mocha": "5.2.0",
"truffle-reporters": "^1.0.10",
"truffle-workflow-compile": "^2.0.24",
"web3": "1.0.0-beta.37"
"web3": "^1.2.0"
},
"keywords": [
"contracts",
Expand Down
2 changes: 1 addition & 1 deletion packages/truffle-environment/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"truffle-expect": "^0.0.9",
"truffle-interface-adapter": "^0.2.0",
"truffle-resolver": "^5.0.14",
"web3": "1.0.0-beta.37"
"web3": "^1.2.0"
},
"devDependencies": {
"debug": "^4.1.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/truffle-external-compile/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"glob": "^7.1.2",
"truffle-contract-schema": "^3.0.11",
"truffle-expect": "^0.0.9",
"web3-utils": "1.0.0-beta.37"
"web3-utils": "^1.2.0"
},
"devDependencies": {
"chai": "4.2.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/truffle-hdwallet-provider/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ $ npm install truffle-hdwallet-provider
## Requirements
```
Node >= 7.6
Web3 1.0.0-beta.37
Web3 ^1.2.0
```

## General Usage
Expand Down
3 changes: 1 addition & 2 deletions packages/truffle-hdwallet-provider/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"dependencies": {
"any-promise": "^1.3.0",
"bindings": "^1.3.1",
"web3": "1.0.0-beta.37",
"web3": "^1.2.0",
"websocket": "^1.0.28"
},
"devDependencies": {
Expand All @@ -29,7 +29,6 @@
"ganache-core": "2.5.7",
"js-scrypt": "^0.2.0",
"mocha": "5.2.0",
"web3": "1.0.0-beta.37",
"web3-provider-engine": "https://github.com/trufflesuite/provider-engine#web3-one",
"webpack": "^4.24.0",
"webpack-cli": "^3.1.2"
Expand Down
2 changes: 1 addition & 1 deletion packages/truffle-interface-adapter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"dependencies": {
"bn.js": "^4.11.8",
"ethers": "^4.0.32",
"web3": "1.0.0-beta.37"
"web3": "^1.2.0"
},
"devDependencies": {
"@types/bn.js": "^4.11.4",
Expand Down
30 changes: 15 additions & 15 deletions packages/truffle-migrate/package.json
Original file line number Diff line number Diff line change
@@ -1,24 +1,18 @@
{
"name": "truffle-migrate",
"version": "3.0.26",
"description": "On-chain migrations management",
"main": "index.js",
"scripts": {
"test": "mocha ./test/* ./test/**/*"
},
"repository": "https://github.com/trufflesuite/truffle/tree/master/packages/truffle-migrate",
"keywords": [
"ethereum",
"truffle",
"migrations",
"deployment"
],
"author": "Tim Coulter <tim.coulter@consensys.net>",
"license": "MIT",
"author": "Tim Coulter <tim.coulter@consensys.net>",
"homepage": "https://github.com/trufflesuite/truffle-migrate#readme",
"repository": "https://github.com/trufflesuite/truffle/tree/master/packages/truffle-migrate",
"bugs": {
"url": "https://github.com/trufflesuite/truffle-migrate/issues"
},
"homepage": "https://github.com/trufflesuite/truffle-migrate#readme",
"version": "3.0.26",
"main": "index.js",
"scripts": {
"test": "mocha ./test/* ./test/**/*"
},
"dependencies": {
"async": "2.6.1",
"emittery": "^0.4.0",
Expand All @@ -29,12 +23,18 @@
"truffle-interface-adapter": "^0.2.0",
"truffle-reporters": "^1.0.10",
"truffle-require": "^2.0.15",
"web3": "1.0.0-beta.37"
"web3": "^1.2.0"
},
"devDependencies": {
"mocha": "5.2.0",
"sinon": "^7.3.2"
},
"keywords": [
"deployment",
"ethereum",
"migrations",
"truffle"
],
"publishConfig": {
"access": "public"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/truffle-provider/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"dependencies": {
"truffle-error": "^0.0.5",
"truffle-interface-adapter": "^0.2.0",
"web3": "1.0.0-beta.37"
"web3": "^1.2.0"
},
"devDependencies": {
"ganache-core": "2.5.7",
Expand Down
2 changes: 1 addition & 1 deletion packages/truffle-reporters/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"dependencies": {
"node-emoji": "^1.8.1",
"ora": "^3.0.0",
"web3-utils": "1.0.0-beta.37"
"web3-utils": "^1.2.0"
},
"gitHead": "b207efb3c1409746537293b3e0fc27350029188e"
}
34 changes: 17 additions & 17 deletions packages/truffle-require/package.json
Original file line number Diff line number Diff line change
@@ -1,34 +1,34 @@
{
"name": "truffle-require",
"version": "2.0.15",
"description": "Require and execute a Javascript module within a Truffle context",
"main": "require.js",
"scripts": {
"test": "mocha"
},
"repository": "https://github.com/trufflesuite/truffle/tree/master/packages/truffle-require",
"keywords": [
"ethereum",
"truffle",
"exec",
"require"
],
"author": "Tim Coulter <tim.coulter@consensys.net>",
"license": "MIT",
"author": "Tim Coulter <tim.coulter@consensys.net>",
"homepage": "https://github.com/trufflesuite/truffle-exec#readme",
"repository": "https://github.com/trufflesuite/truffle/tree/master/packages/truffle-require",
"bugs": {
"url": "https://github.com/trufflesuite/truffle-exec/issues"
},
"homepage": "https://github.com/trufflesuite/truffle-exec#readme",
"devDependencies": {
"mocha": "5.2.0"
"version": "2.0.15",
"main": "require.js",
"scripts": {
"test": "mocha"
},
"dependencies": {
"original-require": "1.0.1",
"truffle-config": "^1.1.15",
"truffle-expect": "^0.0.9",
"truffle-interface-adapter": "^0.2.0",
"web3": "1.0.0-beta.37"
"web3": "^1.2.0"
},
"devDependencies": {
"mocha": "5.2.0"
},
"keywords": [
"ethereum",
"exec",
"require",
"truffle"
],
"publishConfig": {
"access": "public"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/truffle/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"truffle-contract": "^4.0.25",
"truffle-core": "^5.0.28",
"truffle-debugger": "^5.0.20",
"web3": "1.0.0-beta.37",
"web3": "^1.2.0",
"webpack": "^2.5.1",
"webpack-bundle-analyzer": "^3.0.3",
"yargs": "^8.0.2"
Expand Down
Loading

0 comments on commit 53e509f

Please sign in to comment.