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

Commit c4cecf1

Browse files
committed
⬆️ Update web3 dependencies
1 parent f381fbb commit c4cecf1

File tree

32 files changed

+6183
-1749
lines changed

32 files changed

+6183
-1749
lines changed

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"private": true,
33
"scripts": {
44
"bootstrap": "yarn exec lerna bootstrap",
5-
"build": "yarn exec lerna run build --stream",
5+
"build": "lerna run build --stream",
66
"prepare": "lerna run prepare --stream --concurrency=1 && husky install",
77
"publish-release": "./scripts/publish-release.sh",
88
"publish-dist-tag": "./scripts/publish-dist-tag.sh",
@@ -44,7 +44,7 @@
4444
"packages/*/package.json": "node ./scripts/check-truffle-namespace-dependency-versions.js"
4545
},
4646
"resolutions": {
47-
"web3-core": "^4.0.0-alpha.0",
48-
"web3-net": "4.0.0-alpha.0"
47+
"web3-core": "^4.0.1-alpha.0",
48+
"web3-net": "^4.0.1-alpha.0"
4949
}
5050
}

packages/abi-utils/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"dependencies": {
2727
"change-case": "3.0.2",
2828
"fast-check": "3.1.1",
29-
"web3-utils": "1.7.4"
29+
"web3-utils": "^4.0.1-alpha.0"
3030
},
3131
"devDependencies": {
3232
"@fast-check/jest": "^1.0.1",

packages/artifactor/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
"tmp": "^0.2.1",
4141
"ts-node": "10.7.0",
4242
"typescript": "^4.1.4",
43-
"web3": "^4.0.0-alpha.1"
43+
"web3": "^4.0.1-alpha.0"
4444
},
4545
"publishConfig": {
4646
"access": "public"

packages/codec/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
"lodash": "^4.17.21",
3535
"semver": "7.3.7",
3636
"utf8": "^3.0.0",
37-
"web3-utils": "^4.0.0-alpha.1"
37+
"web3-utils": "^4.0.1-alpha.0"
3838
},
3939
"devDependencies": {
4040
"@truffle/contract-schema": "^3.4.10",

packages/compile-solidity/src/compilerSupplier/rangeUtils.ts

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,17 +34,18 @@ export function rangeContainsAtLeast(
3434
const individualAtLeast = !!(
3535
semver.valid(range, { loose: true }) &&
3636
semver.gte(range, comparisonVersion, {
37-
includePrerelease: true,
3837
loose: true
3938
})
4039
);
4140
//the following line doesn't, despite the flag, but does work with version ranges
4241
const rangeAtLeast = !!(
43-
semver.validRange(range, { loose: true }) &&
44-
!semver.gtr(comparisonVersion, range, {
45-
includePrerelease: true,
46-
loose: true
47-
}) //intersects will throw if given undefined so must ward against
42+
(
43+
semver.validRange(range, { loose: true }) &&
44+
!semver.gtr(comparisonVersion, range, {
45+
includePrerelease: true,
46+
loose: true
47+
})
48+
) //intersects will throw if given undefined so must ward against
4849
);
4950
return individualAtLeast || rangeAtLeast;
5051
}

packages/config/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"@types/configstore": "^4.0.0",
3434
"@types/find-up": "^2.1.0",
3535
"@types/lodash": "^4.14.179",
36-
"@types/node": "~12.12.0",
36+
"@types/node": "~18.7.18",
3737
"@types/sinon": "^9.0.10",
3838
"mocha": "9.2.2",
3939
"sinon": "^9.0.2",

packages/config/tsconfig.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
"./typings",
1818
"node_modules/@types/node",
1919
"../../node_modules/@types/mocha",
20-
"../../node_modules/@types/node"
2120
]
2221
},
2322
"include": [

packages/contract-tests/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,6 @@
3030
"ganache": "7.4.0",
3131
"mocha": "9.2.2",
3232
"sinon": "^9.0.2",
33-
"web3": "^4.0.0-alpha.1"
33+
"web3": "^4.0.1-alpha.0"
3434
}
3535
}

packages/contract/dist/truffle-contract.js

Whitespace-only changes.

packages/contract/dist/truffle-contract.js.map

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

0 commit comments

Comments
 (0)