From c9c30d3a76d55cd93dd652bd001ef18c0495c0b6 Mon Sep 17 00:00:00 2001 From: Kim Persson Date: Thu, 31 Mar 2022 13:55:17 +0200 Subject: [PATCH] chore: bump ts version to solve type issue with ethereumjs (#455) --- contracts/erc20/package.json | 2 +- contracts/test-utils/package.json | 2 +- contracts/treasury/package.json | 2 +- contracts/utils/package.json | 2 +- contracts/zero-ex/package.json | 2 +- package.json | 2 +- packages/asset-swapper/package.json | 2 +- packages/contract-addresses/package.json | 2 +- packages/contract-artifacts/package.json | 2 +- packages/contract-wrappers/package.json | 2 +- packages/migrations/package.json | 2 +- packages/protocol-utils/package.json | 2 +- tsconfig.json | 3 ++- yarn.lock | 7 ++++--- 14 files changed, 18 insertions(+), 16 deletions(-) diff --git a/contracts/erc20/package.json b/contracts/erc20/package.json index 96734c9bd5..2c62025c1f 100644 --- a/contracts/erc20/package.json +++ b/contracts/erc20/package.json @@ -79,7 +79,7 @@ "solhint": "^1.4.1", "tslint": "5.11.0", "typedoc": "~0.16.11", - "typescript": "4.2.2" + "typescript": "4.6.3" }, "dependencies": { "@0x/base-contract": "^6.5.0", diff --git a/contracts/test-utils/package.json b/contracts/test-utils/package.json index cdfea1365d..68b96e2130 100644 --- a/contracts/test-utils/package.json +++ b/contracts/test-utils/package.json @@ -39,7 +39,7 @@ "npm-run-all": "^4.1.2", "shx": "^0.2.2", "tslint": "5.11.0", - "typescript": "4.2.2" + "typescript": "4.6.3" }, "dependencies": { "@0x/assert": "^3.0.34", diff --git a/contracts/treasury/package.json b/contracts/treasury/package.json index 970a0dea37..867c722cc6 100644 --- a/contracts/treasury/package.json +++ b/contracts/treasury/package.json @@ -69,7 +69,7 @@ "solhint": "^1.4.1", "tslint": "5.11.0", "typedoc": "~0.16.11", - "typescript": "4.2.2" + "typescript": "4.6.3" }, "dependencies": { "@0x/base-contract": "^6.5.0", diff --git a/contracts/utils/package.json b/contracts/utils/package.json index b0a0066fd2..7da97f7a31 100644 --- a/contracts/utils/package.json +++ b/contracts/utils/package.json @@ -76,7 +76,7 @@ "solhint": "^1.4.1", "truffle": "^5.0.32", "tslint": "5.11.0", - "typescript": "4.2.2" + "typescript": "4.6.3" }, "dependencies": { "@0x/base-contract": "^6.5.0", diff --git a/contracts/zero-ex/package.json b/contracts/zero-ex/package.json index a377b44573..4b459f7bc0 100644 --- a/contracts/zero-ex/package.json +++ b/contracts/zero-ex/package.json @@ -79,7 +79,7 @@ "truffle": "^5.0.32", "tslint": "5.11.0", "typedoc": "~0.16.11", - "typescript": "4.2.2" + "typescript": "4.6.3" }, "dependencies": { "@0x/base-contract": "^6.5.0", diff --git a/package.json b/package.json index 9bf2eae09b..5438baefa8 100644 --- a/package.json +++ b/package.json @@ -71,7 +71,7 @@ "npm-run-all": "^4.1.2", "prettier": "1.19.1", "source-map-support": "^0.5.6", - "typescript": "4.2.2", + "typescript": "4.6.3", "wsrun": "^5.2.4" }, "resolutions": { diff --git a/packages/asset-swapper/package.json b/packages/asset-swapper/package.json index ff3f6df7ef..6992ee9dd0 100644 --- a/packages/asset-swapper/package.json +++ b/packages/asset-swapper/package.json @@ -123,7 +123,7 @@ "tslint": "5.11.0", "typedoc": "~0.16.11", "typemoq": "^2.1.0", - "typescript": "4.2.2" + "typescript": "4.6.3" }, "publishConfig": { "access": "public" diff --git a/packages/contract-addresses/package.json b/packages/contract-addresses/package.json index fee386882b..df47df67aa 100644 --- a/packages/contract-addresses/package.json +++ b/packages/contract-addresses/package.json @@ -30,7 +30,7 @@ "devDependencies": { "gitpkg": "https://github.com/0xProject/gitpkg.git", "shx": "^0.2.2", - "typescript": "4.2.2" + "typescript": "4.6.3" }, "publishConfig": { "access": "public" diff --git a/packages/contract-artifacts/package.json b/packages/contract-artifacts/package.json index c95bd85556..96521e5fb1 100644 --- a/packages/contract-artifacts/package.json +++ b/packages/contract-artifacts/package.json @@ -36,7 +36,7 @@ "lodash": "^4.17.11", "mocha": "^6.2.0", "shx": "^0.2.2", - "typescript": "4.2.2" + "typescript": "4.6.3" }, "publishConfig": { "access": "public" diff --git a/packages/contract-wrappers/package.json b/packages/contract-wrappers/package.json index 0bb9ff837e..c33b23ced1 100644 --- a/packages/contract-wrappers/package.json +++ b/packages/contract-wrappers/package.json @@ -52,7 +52,7 @@ "gitpkg": "https://github.com/0xProject/gitpkg.git", "tslint": "5.11.0", "typedoc": "~0.16.11", - "typescript": "4.2.2" + "typescript": "4.6.3" }, "dependencies": { "@0x/assert": "^3.0.34", diff --git a/packages/migrations/package.json b/packages/migrations/package.json index 924704992e..812fcfbbdb 100644 --- a/packages/migrations/package.json +++ b/packages/migrations/package.json @@ -62,7 +62,7 @@ "shx": "^0.2.2", "tslint": "5.11.0", "typedoc": "~0.16.11", - "typescript": "4.2.2", + "typescript": "4.6.3", "web3-provider-engine": "14.0.6", "yargs": "^10.0.3" }, diff --git a/packages/protocol-utils/package.json b/packages/protocol-utils/package.json index 5579ff5d49..68e018b1b8 100644 --- a/packages/protocol-utils/package.json +++ b/packages/protocol-utils/package.json @@ -58,7 +58,7 @@ "sinon": "^4.0.0", "tslint": "5.11.0", "typedoc": "~0.16.11", - "typescript": "4.2.2", + "typescript": "4.6.3", "web3-provider-engine": "14.0.6" }, "dependencies": { diff --git a/tsconfig.json b/tsconfig.json index 1b2ba3223d..7f10a174d0 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -13,7 +13,8 @@ // These settings are required for TypeScript project references "declaration": true, "declarationMap": true, - "sourceMap": true + "sourceMap": true, + "useUnknownInCatchVariables": false }, "exclude": [], // The root of the project is just a list of references and does not contain diff --git a/yarn.lock b/yarn.lock index 64f57f839b..4fc5807216 100644 --- a/yarn.lock +++ b/yarn.lock @@ -12136,9 +12136,10 @@ typescript@3.7.x: version "3.7.5" resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.7.5.tgz#0692e21f65fd4108b9330238aac11dd2e177a1ae" -typescript@4.2.2: - version "4.2.2" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.2.2.tgz#1450f020618f872db0ea17317d16d8da8ddb8c4c" +typescript@4.6.3: + version "4.6.3" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.6.3.tgz#eefeafa6afdd31d725584c67a0eaba80f6fc6c6c" + integrity sha512-yNIatDa5iaofVozS/uQJEl3JRWLKKGJKh6Yaiv0GLGSuhpFJe7P3SbHZ8/yjAHRQwKRoA6YZqlfjXWmVzoVSMw== typescript@^3.8.3: version "3.9.7"