From 2bf7e8c5f650ee2495ba8ad6bf485f21a3b25d3a Mon Sep 17 00:00:00 2001 From: Salah-Eddine Saakoun Date: Fri, 12 Jun 2026 20:57:06 +0200 Subject: [PATCH 1/2] chore: align remaining runtime + dev deps with core Final dep alignment before migration to MetaMask/core. Runtime: - @ethereumjs/tx ^5.2.1 -> ^5.4.0 - @ethereumjs/util ^9.0.2 -> ^9.1.0 - bignumber.js ^9.0.1 -> ^9.1.2 - fast-json-patch ^3.1.0 -> ^3.1.1 Dev: - @types/jest ^26 -> ^29.5.14 - @ts-bridge/cli ^0.6.3 -> ^0.6.4 Lint, build, and 196/196 tests remain green. --- CHANGELOG.md | 4 ++ package.json | 12 +++--- yarn.lock | 113 +++++++++++---------------------------------------- 3 files changed, 33 insertions(+), 96 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index de45e9b8..0350a7d3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed +- Bump `@ethereumjs/tx` from `^5.2.1` to `^5.4.0` ([#TBD](https://github.com/MetaMask/smart-transactions-controller/pull/TBD)) +- Bump `@ethereumjs/util` from `^9.0.2` to `^9.1.0` ([#TBD](https://github.com/MetaMask/smart-transactions-controller/pull/TBD)) +- Bump `bignumber.js` from `^9.0.1` to `^9.1.2` ([#TBD](https://github.com/MetaMask/smart-transactions-controller/pull/TBD)) +- Bump `fast-json-patch` from `^3.1.0` to `^3.1.1` ([#TBD](https://github.com/MetaMask/smart-transactions-controller/pull/TBD)) - Bump `@metamask/controller-utils` from `^12.1.0` to `^12.2.0` ([#590](https://github.com/MetaMask/smart-transactions-controller/pull/590)) - Bump `@metamask/profile-sync-controller` from `^28.1.0` to `^28.1.1` ([#590](https://github.com/MetaMask/smart-transactions-controller/pull/590)) - Bump `@metamask/remote-feature-flag-controller` from `^4.2.1` to `^4.2.2` ([#590](https://github.com/MetaMask/smart-transactions-controller/pull/590)) diff --git a/package.json b/package.json index 2ebcb5f4..3947eaf8 100644 --- a/package.json +++ b/package.json @@ -42,8 +42,8 @@ }, "dependencies": { "@babel/runtime": "^7.24.1", - "@ethereumjs/tx": "^5.2.1", - "@ethereumjs/util": "^9.0.2", + "@ethereumjs/tx": "^5.4.0", + "@ethereumjs/util": "^9.1.0", "@ethersproject/bytes": "^5.7.0", "@ethersproject/keccak256": "^5.8.0", "@ethersproject/transactions": "^5.7.0", @@ -59,8 +59,8 @@ "@metamask/superstruct": "^3.1.0", "@metamask/transaction-controller": "^68.0.0", "@metamask/utils": "^11.11.0", - "bignumber.js": "^9.0.1", - "fast-json-patch": "^3.1.0", + "bignumber.js": "^9.1.2", + "fast-json-patch": "^3.1.1", "lodash": "^4.17.21", "reselect": "^5.1.1" }, @@ -76,9 +76,9 @@ "@metamask/gas-fee-controller": "^26.2.2", "@metamask/json-rpc-engine": "^10.5.0", "@metamask/messenger-cli": "^0.2.0", - "@ts-bridge/cli": "^0.6.3", + "@ts-bridge/cli": "^0.6.4", "@types/eslint": "^9.6.1", - "@types/jest": "^26.0.24", + "@types/jest": "^29.5.14", "@types/lodash": "^4.14.194", "@types/node": "^18.19.17", "eslint": "^9.39.1", diff --git a/yarn.lock b/yarn.lock index 3b5e7694..20203946 100644 --- a/yarn.lock +++ b/yarn.lock @@ -617,7 +617,7 @@ __metadata: languageName: node linkType: hard -"@ethereumjs/tx@npm:^5.2.1, @ethereumjs/tx@npm:^5.4.0": +"@ethereumjs/tx@npm:^5.4.0": version: 5.4.0 resolution: "@ethereumjs/tx@npm:5.4.0" dependencies: @@ -640,7 +640,7 @@ __metadata: languageName: node linkType: hard -"@ethereumjs/util@npm:^9.0.2, @ethereumjs/util@npm:^9.1.0": +"@ethereumjs/util@npm:^9.1.0": version: 9.1.0 resolution: "@ethereumjs/util@npm:9.1.0" dependencies: @@ -1325,19 +1325,6 @@ __metadata: languageName: node linkType: hard -"@jest/types@npm:^26.6.2": - version: 26.6.2 - resolution: "@jest/types@npm:26.6.2" - dependencies: - "@types/istanbul-lib-coverage": ^2.0.0 - "@types/istanbul-reports": ^3.0.0 - "@types/node": "*" - "@types/yargs": ^15.0.0 - chalk: ^4.0.0 - checksum: a0bd3d2f22f26ddb23f41fddf6e6a30bf4fab2ce79ec1cb6ce6fdfaf90a72e00f4c71da91ec61e13db3b10c41de22cf49d07c57ff2b59171d64b29f909c1d8d6 - languageName: node - linkType: hard - "@jest/types@npm:^29.6.3": version: 29.6.3 resolution: "@jest/types@npm:29.6.3" @@ -2420,8 +2407,8 @@ __metadata: dependencies: "@arethetypeswrong/cli": ^0.18.2 "@babel/runtime": ^7.24.1 - "@ethereumjs/tx": ^5.2.1 - "@ethereumjs/util": ^9.0.2 + "@ethereumjs/tx": ^5.4.0 + "@ethereumjs/util": ^9.1.0 "@ethersproject/bytes": ^5.7.0 "@ethersproject/keccak256": ^5.8.0 "@ethersproject/transactions": ^5.7.0 @@ -2447,12 +2434,12 @@ __metadata: "@metamask/superstruct": ^3.1.0 "@metamask/transaction-controller": ^68.0.0 "@metamask/utils": ^11.11.0 - "@ts-bridge/cli": ^0.6.3 + "@ts-bridge/cli": ^0.6.4 "@types/eslint": ^9.6.1 - "@types/jest": ^26.0.24 + "@types/jest": ^29.5.14 "@types/lodash": ^4.14.194 "@types/node": ^18.19.17 - bignumber.js: ^9.0.1 + bignumber.js: ^9.1.2 eslint: ^9.39.1 eslint-config-prettier: ^9.1.0 eslint-import-resolver-typescript: ^3.6.3 @@ -2462,7 +2449,7 @@ __metadata: eslint-plugin-n: ^17.10.3 eslint-plugin-prettier: ^5.2.1 eslint-plugin-promise: ^7.1.0 - fast-json-patch: ^3.1.0 + fast-json-patch: ^3.1.1 isomorphic-fetch: ^3.0.0 jest: ^29.7.0 lodash: ^4.17.21 @@ -3177,9 +3164,9 @@ __metadata: languageName: node linkType: hard -"@ts-bridge/cli@npm:^0.6.3": - version: 0.6.3 - resolution: "@ts-bridge/cli@npm:0.6.3" +"@ts-bridge/cli@npm:^0.6.4": + version: 0.6.4 + resolution: "@ts-bridge/cli@npm:0.6.4" dependencies: "@ts-bridge/resolver": ^0.2.0 chalk: ^5.3.0 @@ -3190,7 +3177,7 @@ __metadata: bin: ts-bridge: ./dist/index.js tsbridge: ./dist/index.js - checksum: e2d9937d60bcde168937ee6d9d25a2e8343fbf2eee084cf9449ea6ec1101da9f7ab21709e118ec26d5284d3ccd6d13d3c978fce7b4d68bdc6b141e69fb125fcf + checksum: cfd27c89d0bfcb547d804d8067844f3f93ac158f5938411d5861a2241500ceeb6dae4b7ffef78e391cd418200c48da862109468985031d9a2c21040944897390 languageName: node linkType: hard @@ -3341,13 +3328,13 @@ __metadata: languageName: node linkType: hard -"@types/jest@npm:^26.0.24": - version: 26.0.24 - resolution: "@types/jest@npm:26.0.24" +"@types/jest@npm:^29.5.14": + version: 29.5.14 + resolution: "@types/jest@npm:29.5.14" dependencies: - jest-diff: ^26.0.0 - pretty-format: ^26.0.0 - checksum: ae39675412f08d884926254e9b12bfd2b5a4e4d204c94d3148cb942174a474930d0c60540133c968f22241d4712b7940c96cbc883096eb326a4d5b206fb78bd0 + expect: ^29.0.0 + pretty-format: ^29.0.0 + checksum: 18dba4623f26661641d757c63da2db45e9524c9be96a29ef713c703a9a53792df9ecee9f7365a0858ddbd6440d98fe6b65ca67895ca5884b73cbc7ffc11f3838 languageName: node linkType: hard @@ -3434,15 +3421,6 @@ __metadata: languageName: node linkType: hard -"@types/yargs@npm:^15.0.0": - version: 15.0.15 - resolution: "@types/yargs@npm:15.0.15" - dependencies: - "@types/yargs-parser": "*" - checksum: 3420f6bcc508a895ef91858f8e6de975c710e4498cf6ed293f1174d3f1ad56edb4ab8481219bf6190f64a3d4115fab1d13ab3edc90acd54fba7983144040e446 - languageName: node - linkType: hard - "@types/yargs@npm:^17.0.8": version: 17.0.32 resolution: "@types/yargs@npm:17.0.32" @@ -3876,7 +3854,7 @@ __metadata: languageName: node linkType: hard -"ansi-regex@npm:^5.0.0, ansi-regex@npm:^5.0.1": +"ansi-regex@npm:^5.0.1": version: 5.0.1 resolution: "ansi-regex@npm:5.0.1" checksum: 2aa4bb54caf2d622f1afdad09441695af2a83aa3fe8b8afa581d205e57ed4261c183c4d3877cee25794443fde5876417d859c108078ab788d6af7e4fe52eb66b @@ -4254,7 +4232,7 @@ __metadata: languageName: node linkType: hard -"bignumber.js@npm:^9.0.1, bignumber.js@npm:^9.1.2": +"bignumber.js@npm:^9.1.2": version: 9.1.2 resolution: "bignumber.js@npm:9.1.2" checksum: 582c03af77ec9cb0ebd682a373ee6c66475db94a4325f92299621d544aa4bd45cb45fd60001610e94aef8ae98a0905fa538241d9638d4422d57abbeeac6fadaf @@ -5036,13 +5014,6 @@ __metadata: languageName: node linkType: hard -"diff-sequences@npm:^26.6.2": - version: 26.6.2 - resolution: "diff-sequences@npm:26.6.2" - checksum: 79af871776ef149a7ff3345d6b1bf37fe6e81f68632aa5542787851f6f60fba19b0be22fdd1e06046f56ae7382763ccfe94a982c39ee72bd107aef435ecbc0cf - languageName: node - linkType: hard - "diff-sequences@npm:^29.6.3": version: 29.6.3 resolution: "diff-sequences@npm:29.6.3" @@ -5728,7 +5699,7 @@ __metadata: languageName: node linkType: hard -"expect@npm:^29.7.0": +"expect@npm:^29.0.0, expect@npm:^29.7.0": version: 29.7.0 resolution: "expect@npm:29.7.0" dependencies: @@ -5793,7 +5764,7 @@ __metadata: languageName: node linkType: hard -"fast-json-patch@npm:^3.1.0, fast-json-patch@npm:^3.1.1": +"fast-json-patch@npm:^3.1.1": version: 3.1.1 resolution: "fast-json-patch@npm:3.1.1" checksum: c4525b61b2471df60d4b025b4118b036d99778a93431aa44d1084218182841d82ce93056f0f3bbd731a24e6a8e69820128adf1873eb2199a26c62ef58d137833 @@ -6919,18 +6890,6 @@ __metadata: languageName: node linkType: hard -"jest-diff@npm:^26.0.0": - version: 26.6.2 - resolution: "jest-diff@npm:26.6.2" - dependencies: - chalk: ^4.0.0 - diff-sequences: ^26.6.2 - jest-get-type: ^26.3.0 - pretty-format: ^26.6.2 - checksum: d00d297f31e1ac0252127089892432caa7a11c69bde29cf3bb6c7a839c8afdb95cf1fd401f9df16a4422745da2e6a5d94b428b30666a2540c38e1c5699915c2d - languageName: node - linkType: hard - "jest-diff@npm:^29.7.0": version: 29.7.0 resolution: "jest-diff@npm:29.7.0" @@ -6979,13 +6938,6 @@ __metadata: languageName: node linkType: hard -"jest-get-type@npm:^26.3.0": - version: 26.3.0 - resolution: "jest-get-type@npm:26.3.0" - checksum: 1cc6465ae4f5e880be22ba52fd270fa64c21994915f81b41f8f7553a7957dd8e077cc8d03035de9412e2d739f8bad6a032ebb5dab5805692a5fb9e20dd4ea666 - languageName: node - linkType: hard - "jest-get-type@npm:^29.6.3": version: 29.6.3 resolution: "jest-get-type@npm:29.6.3" @@ -8565,19 +8517,7 @@ __metadata: languageName: node linkType: hard -"pretty-format@npm:^26.0.0, pretty-format@npm:^26.6.2": - version: 26.6.2 - resolution: "pretty-format@npm:26.6.2" - dependencies: - "@jest/types": ^26.6.2 - ansi-regex: ^5.0.0 - ansi-styles: ^4.0.0 - react-is: ^17.0.1 - checksum: e3b808404d7e1519f0df1aa1f25cee0054ab475775c6b2b8c5568ff23194a92d54bf93274139b6f584ca70fd773be4eaa754b0e03f12bb0a8d1426b07f079976 - languageName: node - linkType: hard - -"pretty-format@npm:^29.7.0": +"pretty-format@npm:^29.0.0, pretty-format@npm:^29.7.0": version: 29.7.0 resolution: "pretty-format@npm:29.7.0" dependencies: @@ -8690,13 +8630,6 @@ __metadata: languageName: node linkType: hard -"react-is@npm:^17.0.1": - version: 17.0.2 - resolution: "react-is@npm:17.0.2" - checksum: 9d6d111d8990dc98bc5402c1266a808b0459b5d54830bbea24c12d908b536df7883f268a7868cfaedde3dd9d4e0d574db456f84d2e6df9c4526f99bb4b5344d8 - languageName: node - linkType: hard - "react-is@npm:^18.0.0": version: 18.3.1 resolution: "react-is@npm:18.3.1" From 5fad1c873d744aad20e9ee9b01f1493816830aca Mon Sep 17 00:00:00 2001 From: Salah-Eddine Saakoun Date: Fri, 12 Jun 2026 20:57:44 +0200 Subject: [PATCH 2/2] chore: link changelog entries to PR #597 --- CHANGELOG.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0350a7d3..a18d18d2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,10 +13,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed -- Bump `@ethereumjs/tx` from `^5.2.1` to `^5.4.0` ([#TBD](https://github.com/MetaMask/smart-transactions-controller/pull/TBD)) -- Bump `@ethereumjs/util` from `^9.0.2` to `^9.1.0` ([#TBD](https://github.com/MetaMask/smart-transactions-controller/pull/TBD)) -- Bump `bignumber.js` from `^9.0.1` to `^9.1.2` ([#TBD](https://github.com/MetaMask/smart-transactions-controller/pull/TBD)) -- Bump `fast-json-patch` from `^3.1.0` to `^3.1.1` ([#TBD](https://github.com/MetaMask/smart-transactions-controller/pull/TBD)) +- Bump `@ethereumjs/tx` from `^5.2.1` to `^5.4.0` ([#597](https://github.com/MetaMask/smart-transactions-controller/pull/597)) +- Bump `@ethereumjs/util` from `^9.0.2` to `^9.1.0` ([#597](https://github.com/MetaMask/smart-transactions-controller/pull/597)) +- Bump `bignumber.js` from `^9.0.1` to `^9.1.2` ([#597](https://github.com/MetaMask/smart-transactions-controller/pull/597)) +- Bump `fast-json-patch` from `^3.1.0` to `^3.1.1` ([#597](https://github.com/MetaMask/smart-transactions-controller/pull/597)) - Bump `@metamask/controller-utils` from `^12.1.0` to `^12.2.0` ([#590](https://github.com/MetaMask/smart-transactions-controller/pull/590)) - Bump `@metamask/profile-sync-controller` from `^28.1.0` to `^28.1.1` ([#590](https://github.com/MetaMask/smart-transactions-controller/pull/590)) - Bump `@metamask/remote-feature-flag-controller` from `^4.2.1` to `^4.2.2` ([#590](https://github.com/MetaMask/smart-transactions-controller/pull/590))