From d4702a2cc5aadd87415c907b166600fc45732551 Mon Sep 17 00:00:00 2001 From: Jongsun Suh Date: Fri, 2 Aug 2024 12:36:22 -0400 Subject: [PATCH] Bump `typescript` from `~5.0.4` to `~5.1.6` (#4576) ## References - Closes #4370 ## Changelog ```md ### Changed - Upgrade TypeScript version to `~5.1.6` ([#4576](https://github.com/MetaMask/core/pull/4576)) ``` ## Checklist - [x] I've updated the test suite for new or updated code as appropriate - [x] I've updated documentation (JSDoc, Markdown, etc.) for new or updated code as appropriate - [x] I've highlighted breaking changes using the "BREAKING" category above as appropriate --- package.json | 2 +- packages/accounts-controller/package.json | 2 +- packages/address-book-controller/package.json | 2 +- packages/announcement-controller/package.json | 2 +- packages/approval-controller/package.json | 2 +- packages/assets-controllers/package.json | 2 +- packages/base-controller/package.json | 2 +- packages/build-utils/package.json | 2 +- packages/chain-controller/package.json | 2 +- packages/composable-controller/package.json | 2 +- packages/controller-utils/package.json | 2 +- packages/ens-controller/package.json | 2 +- packages/eth-json-rpc-provider/package.json | 2 +- packages/gas-fee-controller/package.json | 2 +- packages/json-rpc-engine/package.json | 2 +- .../json-rpc-middleware-stream/package.json | 2 +- packages/keyring-controller/package.json | 2 +- packages/logging-controller/package.json | 2 +- packages/message-manager/package.json | 2 +- packages/name-controller/package.json | 2 +- packages/network-controller/package.json | 2 +- packages/notification-controller/package.json | 2 +- .../package.json | 2 +- packages/permission-controller/package.json | 2 +- .../permission-log-controller/package.json | 2 +- packages/phishing-controller/package.json | 2 +- packages/polling-controller/package.json | 2 +- packages/preferences-controller/package.json | 2 +- packages/profile-sync-controller/package.json | 2 +- .../queued-request-controller/package.json | 2 +- packages/rate-limit-controller/package.json | 2 +- .../src/RateLimitController.ts | 8 +- .../selected-network-controller/package.json | 2 +- packages/signature-controller/package.json | 2 +- packages/transaction-controller/package.json | 2 +- .../user-operation-controller/package.json | 2 +- .../package-template/package.json | 2 +- yarn.lock | 86 +++++++++---------- 38 files changed, 83 insertions(+), 83 deletions(-) diff --git a/package.json b/package.json index 11b6ef1f0a..a95b49a415 100644 --- a/package.json +++ b/package.json @@ -91,7 +91,7 @@ "simple-git-hooks": "^2.8.0", "ts-node": "^10.9.1", "tsup": "^8.0.2", - "typescript": "~5.0.4", + "typescript": "~5.1.6", "yargs": "^17.7.2" }, "packageManager": "yarn@4.2.2", diff --git a/packages/accounts-controller/package.json b/packages/accounts-controller/package.json index 6bdecbda85..a5a5f140e3 100644 --- a/packages/accounts-controller/package.json +++ b/packages/accounts-controller/package.json @@ -63,7 +63,7 @@ "ts-jest": "^27.1.4", "typedoc": "^0.24.8", "typedoc-plugin-missing-exports": "^2.0.0", - "typescript": "~5.0.4" + "typescript": "~5.1.6" }, "peerDependencies": { "@metamask/keyring-controller": "^17.0.0", diff --git a/packages/address-book-controller/package.json b/packages/address-book-controller/package.json index 261e6ff478..79e7b92ef4 100644 --- a/packages/address-book-controller/package.json +++ b/packages/address-book-controller/package.json @@ -53,7 +53,7 @@ "ts-jest": "^27.1.4", "typedoc": "^0.24.8", "typedoc-plugin-missing-exports": "^2.0.0", - "typescript": "~5.0.4" + "typescript": "~5.1.6" }, "engines": { "node": "^18.18 || >=20" diff --git a/packages/announcement-controller/package.json b/packages/announcement-controller/package.json index f09ef27127..0109a1a9c2 100644 --- a/packages/announcement-controller/package.json +++ b/packages/announcement-controller/package.json @@ -51,7 +51,7 @@ "ts-jest": "^27.1.4", "typedoc": "^0.24.8", "typedoc-plugin-missing-exports": "^2.0.0", - "typescript": "~5.0.4" + "typescript": "~5.1.6" }, "engines": { "node": "^18.18 || >=20" diff --git a/packages/approval-controller/package.json b/packages/approval-controller/package.json index 2d81c4195a..d80653a8f8 100644 --- a/packages/approval-controller/package.json +++ b/packages/approval-controller/package.json @@ -55,7 +55,7 @@ "ts-jest": "^27.1.4", "typedoc": "^0.24.8", "typedoc-plugin-missing-exports": "^2.0.0", - "typescript": "~5.0.4" + "typescript": "~5.1.6" }, "engines": { "node": "^18.18 || >=20" diff --git a/packages/assets-controllers/package.json b/packages/assets-controllers/package.json index 678df63f39..c2cc5b3b8c 100644 --- a/packages/assets-controllers/package.json +++ b/packages/assets-controllers/package.json @@ -86,7 +86,7 @@ "ts-jest": "^27.1.4", "typedoc": "^0.24.8", "typedoc-plugin-missing-exports": "^2.0.0", - "typescript": "~5.0.4" + "typescript": "~5.1.6" }, "peerDependencies": { "@metamask/accounts-controller": "^18.0.0", diff --git a/packages/base-controller/package.json b/packages/base-controller/package.json index da3905bbb0..4d36b83a0e 100644 --- a/packages/base-controller/package.json +++ b/packages/base-controller/package.json @@ -53,7 +53,7 @@ "ts-jest": "^27.1.4", "typedoc": "^0.24.8", "typedoc-plugin-missing-exports": "^2.0.0", - "typescript": "~5.0.4" + "typescript": "~5.1.6" }, "engines": { "node": "^18.18 || >=20" diff --git a/packages/build-utils/package.json b/packages/build-utils/package.json index efce007bdb..43cc27a672 100644 --- a/packages/build-utils/package.json +++ b/packages/build-utils/package.json @@ -53,7 +53,7 @@ "ts-jest": "^27.1.4", "typedoc": "^0.24.8", "typedoc-plugin-missing-exports": "^2.0.0", - "typescript": "~5.0.4" + "typescript": "~5.1.6" }, "engines": { "node": "^18.18 || >=20" diff --git a/packages/chain-controller/package.json b/packages/chain-controller/package.json index b02304f5c0..2ff22bea1b 100644 --- a/packages/chain-controller/package.json +++ b/packages/chain-controller/package.json @@ -59,7 +59,7 @@ "ts-jest": "^27.1.4", "typedoc": "^0.24.8", "typedoc-plugin-missing-exports": "^2.0.0", - "typescript": "~5.0.4" + "typescript": "~5.1.6" }, "engines": { "node": "^18.18 || >=20" diff --git a/packages/composable-controller/package.json b/packages/composable-controller/package.json index e6ad732152..40285168d8 100644 --- a/packages/composable-controller/package.json +++ b/packages/composable-controller/package.json @@ -54,7 +54,7 @@ "ts-jest": "^27.1.4", "typedoc": "^0.24.8", "typedoc-plugin-missing-exports": "^2.0.0", - "typescript": "~5.0.4" + "typescript": "~5.1.6" }, "engines": { "node": "^18.18 || >=20" diff --git a/packages/controller-utils/package.json b/packages/controller-utils/package.json index f53c85de07..6e5efa7d35 100644 --- a/packages/controller-utils/package.json +++ b/packages/controller-utils/package.json @@ -60,7 +60,7 @@ "ts-jest": "^27.1.4", "typedoc": "^0.24.8", "typedoc-plugin-missing-exports": "^2.0.0", - "typescript": "~5.0.4" + "typescript": "~5.1.6" }, "engines": { "node": "^18.18 || >=20" diff --git a/packages/ens-controller/package.json b/packages/ens-controller/package.json index b9502b360c..2e138e2171 100644 --- a/packages/ens-controller/package.json +++ b/packages/ens-controller/package.json @@ -56,7 +56,7 @@ "ts-jest": "^27.1.4", "typedoc": "^0.24.8", "typedoc-plugin-missing-exports": "^2.0.0", - "typescript": "~5.0.4" + "typescript": "~5.1.6" }, "peerDependencies": { "@metamask/network-controller": "^20.0.0" diff --git a/packages/eth-json-rpc-provider/package.json b/packages/eth-json-rpc-provider/package.json index 90ebce2c45..442c79fee9 100644 --- a/packages/eth-json-rpc-provider/package.json +++ b/packages/eth-json-rpc-provider/package.json @@ -64,7 +64,7 @@ "jest-it-up": "^2.0.2", "ts-jest": "^27.1.4", "typedoc": "^0.24.8", - "typescript": "~5.0.4" + "typescript": "~5.1.6" }, "engines": { "node": "^18.18 || >=20" diff --git a/packages/gas-fee-controller/package.json b/packages/gas-fee-controller/package.json index 72b377dfe7..117fc82ed9 100644 --- a/packages/gas-fee-controller/package.json +++ b/packages/gas-fee-controller/package.json @@ -65,7 +65,7 @@ "ts-jest": "^27.1.4", "typedoc": "^0.24.8", "typedoc-plugin-missing-exports": "^2.0.0", - "typescript": "~5.0.4" + "typescript": "~5.1.6" }, "peerDependencies": { "@metamask/network-controller": "^20.0.0" diff --git a/packages/json-rpc-engine/package.json b/packages/json-rpc-engine/package.json index c40cf879ee..05e8c8d359 100644 --- a/packages/json-rpc-engine/package.json +++ b/packages/json-rpc-engine/package.json @@ -63,7 +63,7 @@ "jest-it-up": "^2.0.2", "ts-jest": "^27.1.4", "typedoc": "^0.24.8", - "typescript": "~5.0.4" + "typescript": "~5.1.6" }, "engines": { "node": "^18.18 || >=20" diff --git a/packages/json-rpc-middleware-stream/package.json b/packages/json-rpc-middleware-stream/package.json index 30224db6d5..8a2eb7a6b4 100644 --- a/packages/json-rpc-middleware-stream/package.json +++ b/packages/json-rpc-middleware-stream/package.json @@ -57,7 +57,7 @@ "ts-jest": "^27.1.4", "typedoc": "^0.24.8", "typedoc-plugin-missing-exports": "^2.0.0", - "typescript": "~5.0.4", + "typescript": "~5.1.6", "webextension-polyfill-ts": "^0.26.0" }, "engines": { diff --git a/packages/keyring-controller/package.json b/packages/keyring-controller/package.json index ac7f7357c8..074cce99f3 100644 --- a/packages/keyring-controller/package.json +++ b/packages/keyring-controller/package.json @@ -70,7 +70,7 @@ "ts-jest": "^27.1.4", "typedoc": "^0.24.8", "typedoc-plugin-missing-exports": "^2.0.0", - "typescript": "~5.0.4", + "typescript": "~5.1.6", "uuid": "^8.3.2" }, "engines": { diff --git a/packages/logging-controller/package.json b/packages/logging-controller/package.json index b7b6f54807..d7ad99fb13 100644 --- a/packages/logging-controller/package.json +++ b/packages/logging-controller/package.json @@ -53,7 +53,7 @@ "ts-jest": "^27.1.4", "typedoc": "^0.24.8", "typedoc-plugin-missing-exports": "^2.0.0", - "typescript": "~5.0.4" + "typescript": "~5.1.6" }, "engines": { "node": "^18.18 || >=20" diff --git a/packages/message-manager/package.json b/packages/message-manager/package.json index c08174e11f..8f0a441c94 100644 --- a/packages/message-manager/package.json +++ b/packages/message-manager/package.json @@ -57,7 +57,7 @@ "ts-jest": "^27.1.4", "typedoc": "^0.24.8", "typedoc-plugin-missing-exports": "^2.0.0", - "typescript": "~5.0.4" + "typescript": "~5.1.6" }, "engines": { "node": "^18.18 || >=20" diff --git a/packages/name-controller/package.json b/packages/name-controller/package.json index 4fb5954404..937a3de4e0 100644 --- a/packages/name-controller/package.json +++ b/packages/name-controller/package.json @@ -55,7 +55,7 @@ "ts-jest": "^27.1.4", "typedoc": "^0.24.8", "typedoc-plugin-missing-exports": "^2.0.0", - "typescript": "~5.0.4" + "typescript": "~5.1.6" }, "engines": { "node": "^18.18 || >=20" diff --git a/packages/network-controller/package.json b/packages/network-controller/package.json index e0033dfdb0..55cf7be05e 100644 --- a/packages/network-controller/package.json +++ b/packages/network-controller/package.json @@ -72,7 +72,7 @@ "ts-jest": "^27.1.4", "typedoc": "^0.24.8", "typedoc-plugin-missing-exports": "^2.0.0", - "typescript": "~5.0.4" + "typescript": "~5.1.6" }, "engines": { "node": "^18.18 || >=20" diff --git a/packages/notification-controller/package.json b/packages/notification-controller/package.json index 7b7edce1a8..3cb9bcaa71 100644 --- a/packages/notification-controller/package.json +++ b/packages/notification-controller/package.json @@ -53,7 +53,7 @@ "ts-jest": "^27.1.4", "typedoc": "^0.24.8", "typedoc-plugin-missing-exports": "^2.0.0", - "typescript": "~5.0.4" + "typescript": "~5.1.6" }, "engines": { "node": "^18.18 || >=20" diff --git a/packages/notification-services-controller/package.json b/packages/notification-services-controller/package.json index 1fe8124690..0ef6b2be7f 100644 --- a/packages/notification-services-controller/package.json +++ b/packages/notification-services-controller/package.json @@ -64,7 +64,7 @@ "ts-jest": "^27.1.4", "typedoc": "^0.24.8", "typedoc-plugin-missing-exports": "^2.0.0", - "typescript": "~5.0.4" + "typescript": "~5.1.6" }, "peerDependencies": { "@metamask/keyring-controller": "^17.0.0", diff --git a/packages/permission-controller/package.json b/packages/permission-controller/package.json index 394a4f632a..1605b87a51 100644 --- a/packages/permission-controller/package.json +++ b/packages/permission-controller/package.json @@ -60,7 +60,7 @@ "ts-jest": "^27.1.4", "typedoc": "^0.24.8", "typedoc-plugin-missing-exports": "^2.0.0", - "typescript": "~5.0.4" + "typescript": "~5.1.6" }, "peerDependencies": { "@metamask/approval-controller": "^7.0.0" diff --git a/packages/permission-log-controller/package.json b/packages/permission-log-controller/package.json index 84eb8d880c..4572d2d3f9 100644 --- a/packages/permission-log-controller/package.json +++ b/packages/permission-log-controller/package.json @@ -56,7 +56,7 @@ "ts-jest": "^27.1.4", "typedoc": "^0.24.8", "typedoc-plugin-missing-exports": "^2.0.0", - "typescript": "~5.0.4" + "typescript": "~5.1.6" }, "engines": { "node": "^18.18 || >=20" diff --git a/packages/phishing-controller/package.json b/packages/phishing-controller/package.json index a215d7eed4..93980b0d32 100644 --- a/packages/phishing-controller/package.json +++ b/packages/phishing-controller/package.json @@ -58,7 +58,7 @@ "ts-jest": "^27.1.4", "typedoc": "^0.24.8", "typedoc-plugin-missing-exports": "^2.0.0", - "typescript": "~5.0.4" + "typescript": "~5.1.6" }, "engines": { "node": "^18.18 || >=20" diff --git a/packages/polling-controller/package.json b/packages/polling-controller/package.json index 77daddd97d..559b891c57 100644 --- a/packages/polling-controller/package.json +++ b/packages/polling-controller/package.json @@ -58,7 +58,7 @@ "ts-jest": "^27.1.4", "typedoc": "^0.24.8", "typedoc-plugin-missing-exports": "^2.0.0", - "typescript": "~5.0.4" + "typescript": "~5.1.6" }, "peerDependencies": { "@metamask/network-controller": "^20.0.0" diff --git a/packages/preferences-controller/package.json b/packages/preferences-controller/package.json index 73d1347ae2..a542adb639 100644 --- a/packages/preferences-controller/package.json +++ b/packages/preferences-controller/package.json @@ -54,7 +54,7 @@ "ts-jest": "^27.1.4", "typedoc": "^0.24.8", "typedoc-plugin-missing-exports": "^2.0.0", - "typescript": "~5.0.4" + "typescript": "~5.1.6" }, "peerDependencies": { "@metamask/keyring-controller": "^17.0.0" diff --git a/packages/profile-sync-controller/package.json b/packages/profile-sync-controller/package.json index e81dc89ced..1b1c0daa91 100644 --- a/packages/profile-sync-controller/package.json +++ b/packages/profile-sync-controller/package.json @@ -64,7 +64,7 @@ "ts-jest": "^27.1.4", "typedoc": "^0.24.8", "typedoc-plugin-missing-exports": "^2.0.0", - "typescript": "~5.0.4" + "typescript": "~5.1.6" }, "peerDependencies": { "@metamask/keyring-controller": "^17.0.0", diff --git a/packages/queued-request-controller/package.json b/packages/queued-request-controller/package.json index cbbd4b199c..fec74e9656 100644 --- a/packages/queued-request-controller/package.json +++ b/packages/queued-request-controller/package.json @@ -62,7 +62,7 @@ "ts-jest": "^27.1.4", "typedoc": "^0.24.8", "typedoc-plugin-missing-exports": "^2.0.0", - "typescript": "~5.0.4" + "typescript": "~5.1.6" }, "peerDependencies": { "@metamask/network-controller": "^20.0.0", diff --git a/packages/rate-limit-controller/package.json b/packages/rate-limit-controller/package.json index 04109709a2..6046f74415 100644 --- a/packages/rate-limit-controller/package.json +++ b/packages/rate-limit-controller/package.json @@ -53,7 +53,7 @@ "ts-jest": "^27.1.4", "typedoc": "^0.24.8", "typedoc-plugin-missing-exports": "^2.0.0", - "typescript": "~5.0.4" + "typescript": "~5.1.6" }, "engines": { "node": "^18.18 || >=20" diff --git a/packages/rate-limit-controller/src/RateLimitController.ts b/packages/rate-limit-controller/src/RateLimitController.ts index 0753ab346b..7ac65c5b55 100644 --- a/packages/rate-limit-controller/src/RateLimitController.ts +++ b/packages/rate-limit-controller/src/RateLimitController.ts @@ -164,15 +164,15 @@ export class RateLimitController< } this.recordRequest(type, origin); - const implementation = this.implementations[type].method; + const implementation = this.implementations[type].method as ( + ...args: Parameters + ) => ReturnType; if (!implementation) { throw new Error('Invalid api type'); } - return implementation(...args) as ReturnType< - RateLimitedApis[ApiType]['method'] - >; + return implementation(...args); } /** diff --git a/packages/selected-network-controller/package.json b/packages/selected-network-controller/package.json index 9b4582e14a..fb836c0ac5 100644 --- a/packages/selected-network-controller/package.json +++ b/packages/selected-network-controller/package.json @@ -60,7 +60,7 @@ "ts-jest": "^27.1.4", "typedoc": "^0.24.8", "typedoc-plugin-missing-exports": "^2.0.0", - "typescript": "~5.0.4" + "typescript": "~5.1.6" }, "peerDependencies": { "@metamask/network-controller": "^20.0.0", diff --git a/packages/signature-controller/package.json b/packages/signature-controller/package.json index 3131eaf7d1..2b182e8c65 100644 --- a/packages/signature-controller/package.json +++ b/packages/signature-controller/package.json @@ -59,7 +59,7 @@ "ts-jest": "^27.1.4", "typedoc": "^0.24.8", "typedoc-plugin-missing-exports": "^2.0.0", - "typescript": "~5.0.4" + "typescript": "~5.1.6" }, "peerDependencies": { "@metamask/approval-controller": "^7.0.0", diff --git a/packages/transaction-controller/package.json b/packages/transaction-controller/package.json index 1346adcdb8..df26eacc5a 100644 --- a/packages/transaction-controller/package.json +++ b/packages/transaction-controller/package.json @@ -82,7 +82,7 @@ "ts-jest": "^27.1.4", "typedoc": "^0.24.8", "typedoc-plugin-missing-exports": "^2.0.0", - "typescript": "~5.0.4" + "typescript": "~5.1.6" }, "peerDependencies": { "@babel/runtime": "^7.23.9", diff --git a/packages/user-operation-controller/package.json b/packages/user-operation-controller/package.json index 3dde35b914..70f21db5e9 100644 --- a/packages/user-operation-controller/package.json +++ b/packages/user-operation-controller/package.json @@ -67,7 +67,7 @@ "ts-jest": "^27.1.4", "typedoc": "^0.24.8", "typedoc-plugin-missing-exports": "^2.0.0", - "typescript": "~5.0.4" + "typescript": "~5.1.6" }, "peerDependencies": { "@metamask/approval-controller": "^7.0.0", diff --git a/scripts/create-package/package-template/package.json b/scripts/create-package/package-template/package.json index c3dd081092..f9c715776f 100644 --- a/scripts/create-package/package-template/package.json +++ b/scripts/create-package/package-template/package.json @@ -47,7 +47,7 @@ "ts-jest": "^27.1.4", "typedoc": "^0.24.8", "typedoc-plugin-missing-exports": "^2.0.0", - "typescript": "~5.0.4" + "typescript": "~5.1.6" }, "engines": { "node": "NODE_VERSIONS" diff --git a/yarn.lock b/yarn.lock index 4a0966e2cd..829fbfa206 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2218,7 +2218,7 @@ __metadata: ts-jest: "npm:^27.1.4" typedoc: "npm:^0.24.8" typedoc-plugin-missing-exports: "npm:^2.0.0" - typescript: "npm:~5.0.4" + typescript: "npm:~5.1.6" uuid: "npm:^8.3.2" peerDependencies: "@metamask/keyring-controller": ^17.0.0 @@ -2251,7 +2251,7 @@ __metadata: ts-jest: "npm:^27.1.4" typedoc: "npm:^0.24.8" typedoc-plugin-missing-exports: "npm:^2.0.0" - typescript: "npm:~5.0.4" + typescript: "npm:~5.1.6" languageName: unknown linkType: soft @@ -2267,7 +2267,7 @@ __metadata: ts-jest: "npm:^27.1.4" typedoc: "npm:^0.24.8" typedoc-plugin-missing-exports: "npm:^2.0.0" - typescript: "npm:~5.0.4" + typescript: "npm:~5.1.6" languageName: unknown linkType: soft @@ -2299,7 +2299,7 @@ __metadata: ts-jest: "npm:^27.1.4" typedoc: "npm:^0.24.8" typedoc-plugin-missing-exports: "npm:^2.0.0" - typescript: "npm:~5.0.4" + typescript: "npm:~5.1.6" languageName: unknown linkType: soft @@ -2349,7 +2349,7 @@ __metadata: ts-jest: "npm:^27.1.4" typedoc: "npm:^0.24.8" typedoc-plugin-missing-exports: "npm:^2.0.0" - typescript: "npm:~5.0.4" + typescript: "npm:~5.1.6" uuid: "npm:^8.3.2" peerDependencies: "@metamask/accounts-controller": ^18.0.0 @@ -2415,7 +2415,7 @@ __metadata: ts-jest: "npm:^27.1.4" typedoc: "npm:^0.24.8" typedoc-plugin-missing-exports: "npm:^2.0.0" - typescript: "npm:~5.0.4" + typescript: "npm:~5.1.6" languageName: unknown linkType: soft @@ -2442,7 +2442,7 @@ __metadata: ts-jest: "npm:^27.1.4" typedoc: "npm:^0.24.8" typedoc-plugin-missing-exports: "npm:^2.0.0" - typescript: "npm:~5.0.4" + typescript: "npm:~5.1.6" languageName: unknown linkType: soft @@ -2475,7 +2475,7 @@ __metadata: ts-jest: "npm:^27.1.4" typedoc: "npm:^0.24.8" typedoc-plugin-missing-exports: "npm:^2.0.0" - typescript: "npm:~5.0.4" + typescript: "npm:~5.1.6" uuid: "npm:^8.3.2" languageName: unknown linkType: soft @@ -2495,7 +2495,7 @@ __metadata: ts-jest: "npm:^27.1.4" typedoc: "npm:^0.24.8" typedoc-plugin-missing-exports: "npm:^2.0.0" - typescript: "npm:~5.0.4" + typescript: "npm:~5.1.6" languageName: unknown linkType: soft @@ -2544,7 +2544,7 @@ __metadata: ts-jest: "npm:^27.1.4" typedoc: "npm:^0.24.8" typedoc-plugin-missing-exports: "npm:^2.0.0" - typescript: "npm:~5.0.4" + typescript: "npm:~5.1.6" languageName: unknown linkType: soft @@ -2597,7 +2597,7 @@ __metadata: simple-git-hooks: "npm:^2.8.0" ts-node: "npm:^10.9.1" tsup: "npm:^8.0.2" - typescript: "npm:~5.0.4" + typescript: "npm:~5.1.6" yargs: "npm:^17.7.2" languageName: unknown linkType: soft @@ -2641,7 +2641,7 @@ __metadata: ts-jest: "npm:^27.1.4" typedoc: "npm:^0.24.8" typedoc-plugin-missing-exports: "npm:^2.0.0" - typescript: "npm:~5.0.4" + typescript: "npm:~5.1.6" peerDependencies: "@metamask/network-controller": ^20.0.0 languageName: unknown @@ -2794,7 +2794,7 @@ __metadata: jest-it-up: "npm:^2.0.2" ts-jest: "npm:^27.1.4" typedoc: "npm:^0.24.8" - typescript: "npm:~5.0.4" + typescript: "npm:~5.1.6" uuid: "npm:^8.3.2" languageName: unknown linkType: soft @@ -3023,7 +3023,7 @@ __metadata: ts-jest: "npm:^27.1.4" typedoc: "npm:^0.24.8" typedoc-plugin-missing-exports: "npm:^2.0.0" - typescript: "npm:~5.0.4" + typescript: "npm:~5.1.6" uuid: "npm:^8.3.2" peerDependencies: "@metamask/network-controller": ^20.0.0 @@ -3067,7 +3067,7 @@ __metadata: jest-it-up: "npm:^2.0.2" ts-jest: "npm:^27.1.4" typedoc: "npm:^0.24.8" - typescript: "npm:~5.0.4" + typescript: "npm:~5.1.6" languageName: unknown linkType: soft @@ -3101,7 +3101,7 @@ __metadata: ts-jest: "npm:^27.1.4" typedoc: "npm:^0.24.8" typedoc-plugin-missing-exports: "npm:^2.0.0" - typescript: "npm:~5.0.4" + typescript: "npm:~5.1.6" webextension-polyfill-ts: "npm:^0.26.0" languageName: unknown linkType: soft @@ -3166,7 +3166,7 @@ __metadata: ts-jest: "npm:^27.1.4" typedoc: "npm:^0.24.8" typedoc-plugin-missing-exports: "npm:^2.0.0" - typescript: "npm:~5.0.4" + typescript: "npm:~5.1.6" uuid: "npm:^8.3.2" languageName: unknown linkType: soft @@ -3184,7 +3184,7 @@ __metadata: ts-jest: "npm:^27.1.4" typedoc: "npm:^0.24.8" typedoc-plugin-missing-exports: "npm:^2.0.0" - typescript: "npm:~5.0.4" + typescript: "npm:~5.1.6" uuid: "npm:^8.3.2" languageName: unknown linkType: soft @@ -3206,7 +3206,7 @@ __metadata: ts-jest: "npm:^27.1.4" typedoc: "npm:^0.24.8" typedoc-plugin-missing-exports: "npm:^2.0.0" - typescript: "npm:~5.0.4" + typescript: "npm:~5.1.6" uuid: "npm:^8.3.2" languageName: unknown linkType: soft @@ -3233,7 +3233,7 @@ __metadata: ts-jest: "npm:^27.1.4" typedoc: "npm:^0.24.8" typedoc-plugin-missing-exports: "npm:^2.0.0" - typescript: "npm:~5.0.4" + typescript: "npm:~5.1.6" languageName: unknown linkType: soft @@ -3269,7 +3269,7 @@ __metadata: ts-jest: "npm:^27.1.4" typedoc: "npm:^0.24.8" typedoc-plugin-missing-exports: "npm:^2.0.0" - typescript: "npm:~5.0.4" + typescript: "npm:~5.1.6" uuid: "npm:^8.3.2" languageName: unknown linkType: soft @@ -3300,7 +3300,7 @@ __metadata: ts-jest: "npm:^27.1.4" typedoc: "npm:^0.24.8" typedoc-plugin-missing-exports: "npm:^2.0.0" - typescript: "npm:~5.0.4" + typescript: "npm:~5.1.6" languageName: unknown linkType: soft @@ -3328,7 +3328,7 @@ __metadata: ts-jest: "npm:^27.1.4" typedoc: "npm:^0.24.8" typedoc-plugin-missing-exports: "npm:^2.0.0" - typescript: "npm:~5.0.4" + typescript: "npm:~5.1.6" uuid: "npm:^8.3.2" peerDependencies: "@metamask/keyring-controller": ^17.0.0 @@ -3406,7 +3406,7 @@ __metadata: ts-jest: "npm:^27.1.4" typedoc: "npm:^0.24.8" typedoc-plugin-missing-exports: "npm:^2.0.0" - typescript: "npm:~5.0.4" + typescript: "npm:~5.1.6" peerDependencies: "@metamask/approval-controller": ^7.0.0 languageName: unknown @@ -3448,7 +3448,7 @@ __metadata: ts-jest: "npm:^27.1.4" typedoc: "npm:^0.24.8" typedoc-plugin-missing-exports: "npm:^2.0.0" - typescript: "npm:~5.0.4" + typescript: "npm:~5.1.6" languageName: unknown linkType: soft @@ -3471,7 +3471,7 @@ __metadata: ts-jest: "npm:^27.1.4" typedoc: "npm:^0.24.8" typedoc-plugin-missing-exports: "npm:^2.0.0" - typescript: "npm:~5.0.4" + typescript: "npm:~5.1.6" languageName: unknown linkType: soft @@ -3506,7 +3506,7 @@ __metadata: ts-jest: "npm:^27.1.4" typedoc: "npm:^0.24.8" typedoc-plugin-missing-exports: "npm:^2.0.0" - typescript: "npm:~5.0.4" + typescript: "npm:~5.1.6" uuid: "npm:^8.3.2" peerDependencies: "@metamask/network-controller": ^20.0.0 @@ -3538,7 +3538,7 @@ __metadata: ts-jest: "npm:^27.1.4" typedoc: "npm:^0.24.8" typedoc-plugin-missing-exports: "npm:^2.0.0" - typescript: "npm:~5.0.4" + typescript: "npm:~5.1.6" peerDependencies: "@metamask/keyring-controller": ^17.0.0 languageName: unknown @@ -3569,7 +3569,7 @@ __metadata: ts-jest: "npm:^27.1.4" typedoc: "npm:^0.24.8" typedoc-plugin-missing-exports: "npm:^2.0.0" - typescript: "npm:~5.0.4" + typescript: "npm:~5.1.6" peerDependencies: "@metamask/keyring-controller": ^17.0.0 "@metamask/snaps-controllers": ^9.3.0 @@ -3620,7 +3620,7 @@ __metadata: ts-jest: "npm:^27.1.4" typedoc: "npm:^0.24.8" typedoc-plugin-missing-exports: "npm:^2.0.0" - typescript: "npm:~5.0.4" + typescript: "npm:~5.1.6" peerDependencies: "@metamask/network-controller": ^20.0.0 "@metamask/selected-network-controller": ^17.0.0 @@ -3641,7 +3641,7 @@ __metadata: ts-jest: "npm:^27.1.4" typedoc: "npm:^0.24.8" typedoc-plugin-missing-exports: "npm:^2.0.0" - typescript: "npm:~5.0.4" + typescript: "npm:~5.1.6" languageName: unknown linkType: soft @@ -3693,7 +3693,7 @@ __metadata: ts-jest: "npm:^27.1.4" typedoc: "npm:^0.24.8" typedoc-plugin-missing-exports: "npm:^2.0.0" - typescript: "npm:~5.0.4" + typescript: "npm:~5.1.6" peerDependencies: "@metamask/network-controller": ^20.0.0 "@metamask/permission-controller": ^11.0.0 @@ -3720,7 +3720,7 @@ __metadata: ts-jest: "npm:^27.1.4" typedoc: "npm:^0.24.8" typedoc-plugin-missing-exports: "npm:^2.0.0" - typescript: "npm:~5.0.4" + typescript: "npm:~5.1.6" peerDependencies: "@metamask/approval-controller": ^7.0.0 "@metamask/keyring-controller": ^17.0.0 @@ -3967,7 +3967,7 @@ __metadata: ts-jest: "npm:^27.1.4" typedoc: "npm:^0.24.8" typedoc-plugin-missing-exports: "npm:^2.0.0" - typescript: "npm:~5.0.4" + typescript: "npm:~5.1.6" uuid: "npm:^8.3.2" peerDependencies: "@babel/runtime": ^7.23.9 @@ -4004,7 +4004,7 @@ __metadata: ts-jest: "npm:^27.1.4" typedoc: "npm:^0.24.8" typedoc-plugin-missing-exports: "npm:^2.0.0" - typescript: "npm:~5.0.4" + typescript: "npm:~5.1.6" uuid: "npm:^8.3.2" peerDependencies: "@metamask/approval-controller": ^7.0.0 @@ -12994,23 +12994,23 @@ __metadata: languageName: node linkType: hard -"typescript@npm:~5.0.4": - version: 5.0.4 - resolution: "typescript@npm:5.0.4" +"typescript@npm:~5.1.6": + version: 5.1.6 + resolution: "typescript@npm:5.1.6" bin: tsc: bin/tsc tsserver: bin/tsserver - checksum: 10/e5c3adff09a138c0e27d13b5bb2b106ca17a162ffa945d66161669c265c65436309c5817358a2af1abb69d07440d358f8c1ed7cbb63a2c8680e19b9c268fe4ef + checksum: 10/f347cde665cf43dc4c1c7d9821c7d9bbec3c3914f4bdd82ee490e9fb9f6d99036ed8666463b6a192dd005eeef333c5087d5931bdd51ec853436ff9a670a7417e languageName: node linkType: hard -"typescript@patch:typescript@npm%3A~5.0.4#optional!builtin": - version: 5.0.4 - resolution: "typescript@patch:typescript@npm%3A5.0.4#optional!builtin::version=5.0.4&hash=b5f058" +"typescript@patch:typescript@npm%3A~5.1.6#optional!builtin": + version: 5.1.6 + resolution: "typescript@patch:typescript@npm%3A5.1.6#optional!builtin::version=5.1.6&hash=5da071" bin: tsc: bin/tsc tsserver: bin/tsserver - checksum: 10/b1b62606c7ec75efe9edc61e195d9e69f0440cac1bcd111dfa864f839255f0d9a7b79869f2823559c608826fc0c9894d2917ae4063e0aa06f5d0784a35170497 + checksum: 10/f5481fa3ba0eee8970f46708d13c05650a865ad093b586fc9573f425c64c57ca97e3308e110bb528deb3ccebe83f6fd7b5a8ac90018038da96326a9ccdf8e77c languageName: node linkType: hard