diff --git a/.github/workflows/lint-build-test.yml b/.github/workflows/lint-build-test.yml index 3bd49469380..2f5f9ba0722 100644 --- a/.github/workflows/lint-build-test.yml +++ b/.github/workflows/lint-build-test.yml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node-version: [18.x, 20.x, 22.x, 24.x] + node-version: [22.x, 24.x] outputs: child-workspace-package-names: ${{ steps.workspace-package-names.outputs.child-workspace-package-names }} merge-base: ${{ steps.fetch-merge-base.outputs.merge-base }} @@ -269,35 +269,8 @@ jobs: # The following `test-*` jobs are duplicated because a single job may only # create a maximum of 256 matrix combinations, and we have more than 256 total # test combinations across all Node.js versions. - test-18: - name: Test (18.x) - runs-on: ubuntu-latest - if: needs.prepare.outputs.package-names != '[]' - needs: prepare - strategy: - fail-fast: false - matrix: - package-name: ${{ fromJson(needs.prepare.outputs.package-names) }} - steps: - - name: Checkout and setup environment - uses: MetaMask/action-checkout-and-setup@v3 - with: - is-high-risk-environment: false - persist-credentials: false - node-version: 18.x - - run: yarn workspace "$PACKAGE_NAME" run test - env: - PACKAGE_NAME: ${{ matrix.package-name }} - - name: Require clean working directory - shell: bash - run: | - if ! git diff --exit-code; then - echo "Working tree dirty at end of job" - exit 1 - fi - - test-20: - name: Test (20.x) + test-22: + name: Test (22.x) runs-on: ubuntu-latest if: needs.prepare.outputs.package-names != '[]' needs: prepare @@ -311,7 +284,7 @@ jobs: with: is-high-risk-environment: false persist-credentials: false - node-version: 20.x + node-version: 22.x - run: yarn workspace "$PACKAGE_NAME" run test env: PACKAGE_NAME: ${{ matrix.package-name }} @@ -323,8 +296,8 @@ jobs: exit 1 fi - test-22: - name: Test (22.x) + test-24: + name: Test (24.x) runs-on: ubuntu-latest if: needs.prepare.outputs.package-names != '[]' needs: prepare @@ -338,7 +311,7 @@ jobs: with: is-high-risk-environment: false persist-credentials: false - node-version: 22.x + node-version: 24.x - run: yarn workspace "$PACKAGE_NAME" run test env: PACKAGE_NAME: ${{ matrix.package-name }} @@ -378,7 +351,7 @@ jobs: strategy: fail-fast: false matrix: - node-version: [20.x, 22.x, 24.x] + node-version: [22.x, 24.x] steps: - name: Checkout and setup environment uses: MetaMask/action-checkout-and-setup@v3 diff --git a/package.json b/package.json index e28c861b543..e37536e7ef5 100644 --- a/package.json +++ b/package.json @@ -79,7 +79,7 @@ "@ts-bridge/cli": "^0.6.4", "@types/jest": "^30.0.0", "@types/lodash": "^4.14.191", - "@types/node": "^16.18.54", + "@types/node": "^22.13.14", "@types/semver": "^7", "@typescript-eslint/eslint-plugin": "^8.48.0", "@typescript-eslint/parser": "^8.48.0", @@ -127,7 +127,7 @@ "pre-push": "yarn lint" }, "engines": { - "node": "^18.18 || >=20" + "node": "^22.14.0 || ^24" }, "packageManager": "yarn@4.16.0+sha256.ba05224324578801b9cc98170d64aa50b9a36733b440fb0942306da3fbbdc7d1", "lavamoat": { diff --git a/packages/account-tree-controller/CHANGELOG.md b/packages/account-tree-controller/CHANGELOG.md index 61952797717..2900fb052be 100644 --- a/packages/account-tree-controller/CHANGELOG.md +++ b/packages/account-tree-controller/CHANGELOG.md @@ -13,6 +13,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed +- **BREAKING:** Bump minimum Node.js version to 22 ([#9976](https://github.com/MetaMask/core/pull/9976)) - Bump `@metamask/accounts-controller` from `^39.1.0` to `^39.1.1` ([#9969](https://github.com/MetaMask/core/pull/9969)) - Bump `@metamask/utils` from `^11.11.0` to `^11.12.0` ([#10076](https://github.com/MetaMask/core/pull/10076)) diff --git a/packages/account-tree-controller/package.json b/packages/account-tree-controller/package.json index 7021e9b35ab..cd2340a8493 100644 --- a/packages/account-tree-controller/package.json +++ b/packages/account-tree-controller/package.json @@ -91,6 +91,6 @@ "webextension-polyfill": "^0.10.0 || ^0.11.0 || ^0.12.0" }, "engines": { - "node": "^18.18 || >=20" + "node": "^22.14.0 || ^24" } } diff --git a/packages/accounts-controller/CHANGELOG.md b/packages/accounts-controller/CHANGELOG.md index 67107bc2c9f..2ccb0c94024 100644 --- a/packages/accounts-controller/CHANGELOG.md +++ b/packages/accounts-controller/CHANGELOG.md @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed +- **BREAKING:** Bump minimum Node.js version to 22 ([#9976](https://github.com/MetaMask/core/pull/9976)) - Bump `@metamask/utils` from `^11.11.0` to `^11.12.0` ([#10076](https://github.com/MetaMask/core/pull/10076)) ## [39.1.1] diff --git a/packages/accounts-controller/package.json b/packages/accounts-controller/package.json index ab4f51b77f9..07475eaf2ca 100644 --- a/packages/accounts-controller/package.json +++ b/packages/accounts-controller/package.json @@ -93,6 +93,6 @@ "webextension-polyfill": "^0.10.0 || ^0.11.0 || ^0.12.0" }, "engines": { - "node": "^18.18 || >=20" + "node": "^22.14.0 || ^24" } } diff --git a/packages/address-book-controller/CHANGELOG.md b/packages/address-book-controller/CHANGELOG.md index b23254f19f4..7ccf23e3495 100644 --- a/packages/address-book-controller/CHANGELOG.md +++ b/packages/address-book-controller/CHANGELOG.md @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed +- **BREAKING:** Bump minimum Node.js version to 22 ([#9976](https://github.com/MetaMask/core/pull/9976)) - Bump `@metamask/utils` from `^11.9.0` to `^11.12.0` ([#9074](https://github.com/MetaMask/core/pull/9074), [#10076](https://github.com/MetaMask/core/pull/10076)) - Bump `@metamask/controller-utils` from `^12.0.0` to `^12.3.0` ([#8774](https://github.com/MetaMask/core/pull/8774), [#9058](https://github.com/MetaMask/core/pull/9058), [#9083](https://github.com/MetaMask/core/pull/9083), [#9218](https://github.com/MetaMask/core/pull/9218)) - Bump `@metamask/messenger` from `^1.2.0` to `^2.0.0` ([#9392](https://github.com/MetaMask/core/pull/9392)) diff --git a/packages/address-book-controller/package.json b/packages/address-book-controller/package.json index a0fbed1ac4f..0dec0ea28e6 100644 --- a/packages/address-book-controller/package.json +++ b/packages/address-book-controller/package.json @@ -73,6 +73,6 @@ "typescript": "~5.3.3" }, "engines": { - "node": "^18.18 || >=20" + "node": "^22.14.0 || ^24" } } diff --git a/packages/ai-controllers/CHANGELOG.md b/packages/ai-controllers/CHANGELOG.md index ffaa06c3bef..be9a905338c 100644 --- a/packages/ai-controllers/CHANGELOG.md +++ b/packages/ai-controllers/CHANGELOG.md @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed +- **BREAKING:** Bump minimum Node.js version to 22 ([#9976](https://github.com/MetaMask/core/pull/9976)) - Bump `@metamask/utils` from `^11.11.0` to `^11.12.0` ([#10076](https://github.com/MetaMask/core/pull/10076)) ## [1.0.0] diff --git a/packages/ai-controllers/package.json b/packages/ai-controllers/package.json index f177ab0ef8f..8431dacfb8d 100644 --- a/packages/ai-controllers/package.json +++ b/packages/ai-controllers/package.json @@ -73,6 +73,6 @@ "typescript": "~5.3.3" }, "engines": { - "node": "^18.18 || >=20" + "node": "^22.14.0 || ^24" } } diff --git a/packages/analytics-controller/CHANGELOG.md b/packages/analytics-controller/CHANGELOG.md index 96197d3ce09..156632a911b 100644 --- a/packages/analytics-controller/CHANGELOG.md +++ b/packages/analytics-controller/CHANGELOG.md @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed +- **BREAKING:** Bump minimum Node.js version to 22 ([#9976](https://github.com/MetaMask/core/pull/9976)) - Bump `@metamask/utils` from `^11.11.0` to `^11.12.0` ([#10076](https://github.com/MetaMask/core/pull/10076)) ## [2.0.0] diff --git a/packages/analytics-controller/package.json b/packages/analytics-controller/package.json index a16bea628d0..a634b8c87cb 100644 --- a/packages/analytics-controller/package.json +++ b/packages/analytics-controller/package.json @@ -76,6 +76,6 @@ "typescript": "~5.3.3" }, "engines": { - "node": "^18.18 || >=20" + "node": "^22.14.0 || ^24" } } diff --git a/packages/analytics-data-regulation-controller/CHANGELOG.md b/packages/analytics-data-regulation-controller/CHANGELOG.md index d9de907e51f..5f5a677672f 100644 --- a/packages/analytics-data-regulation-controller/CHANGELOG.md +++ b/packages/analytics-data-regulation-controller/CHANGELOG.md @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed +- **BREAKING:** Bump minimum Node.js version to 22 ([#9976](https://github.com/MetaMask/core/pull/9976)) - Bump `@metamask/utils` from `^11.9.0` to `^11.12.0` ([#9074](https://github.com/MetaMask/core/pull/9074), [#10076](https://github.com/MetaMask/core/pull/10076)) - Bump `@metamask/controller-utils` from `^11.19.0` to `^12.3.0` ([#8344](https://github.com/MetaMask/core/pull/8344), [#8755](https://github.com/MetaMask/core/pull/8755), [#8774](https://github.com/MetaMask/core/pull/8774), [#9058](https://github.com/MetaMask/core/pull/9058), [#9083](https://github.com/MetaMask/core/pull/9083), [#9218](https://github.com/MetaMask/core/pull/9218)) - Bump `@metamask/messenger` from `^1.1.0` to `^2.0.0` ([#8373](https://github.com/MetaMask/core/pull/8373), [#8632](https://github.com/MetaMask/core/pull/8632), [#9392](https://github.com/MetaMask/core/pull/9392)) diff --git a/packages/analytics-data-regulation-controller/package.json b/packages/analytics-data-regulation-controller/package.json index 9ae0d5dbbba..8b0f8c17d7b 100644 --- a/packages/analytics-data-regulation-controller/package.json +++ b/packages/analytics-data-regulation-controller/package.json @@ -74,6 +74,6 @@ "typescript": "~5.3.3" }, "engines": { - "node": "^18.18 || >=20" + "node": "^22.14.0 || ^24" } } diff --git a/packages/announcement-controller/CHANGELOG.md b/packages/announcement-controller/CHANGELOG.md index f81878d8ce7..6316cc63f3f 100644 --- a/packages/announcement-controller/CHANGELOG.md +++ b/packages/announcement-controller/CHANGELOG.md @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed +- **BREAKING:** Bump minimum Node.js version to 22 ([#9976](https://github.com/MetaMask/core/pull/9976)) - Bump `@metamask/messenger` from `^1.0.0` to `^2.0.0` ([#8364](https://github.com/MetaMask/core/pull/8364), [#8373](https://github.com/MetaMask/core/pull/8373), [#8632](https://github.com/MetaMask/core/pull/8632), [#9392](https://github.com/MetaMask/core/pull/9392)) - Bump `@metamask/base-controller` from `^9.0.1` to `^9.1.0` ([#8457](https://github.com/MetaMask/core/pull/8457)) diff --git a/packages/announcement-controller/package.json b/packages/announcement-controller/package.json index a525df3583e..1d23381c2f2 100644 --- a/packages/announcement-controller/package.json +++ b/packages/announcement-controller/package.json @@ -71,6 +71,6 @@ "typescript": "~5.3.3" }, "engines": { - "node": "^18.18 || >=20" + "node": "^22.14.0 || ^24" } } diff --git a/packages/app-metadata-controller/CHANGELOG.md b/packages/app-metadata-controller/CHANGELOG.md index f5790c9ced5..03fe6dca488 100644 --- a/packages/app-metadata-controller/CHANGELOG.md +++ b/packages/app-metadata-controller/CHANGELOG.md @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed +- **BREAKING:** Bump minimum Node.js version to 22 ([#9976](https://github.com/MetaMask/core/pull/9976)) - Bump `@metamask/messenger` from `^1.0.0` to `^2.0.0` ([#8364](https://github.com/MetaMask/core/pull/8364), [#8373](https://github.com/MetaMask/core/pull/8373), [#8632](https://github.com/MetaMask/core/pull/8632), [#9392](https://github.com/MetaMask/core/pull/9392)) - Bump `@metamask/base-controller` from `^9.0.1` to `^9.1.0` ([#8457](https://github.com/MetaMask/core/pull/8457)) diff --git a/packages/app-metadata-controller/package.json b/packages/app-metadata-controller/package.json index 0e9cd734451..d0e875757ee 100644 --- a/packages/app-metadata-controller/package.json +++ b/packages/app-metadata-controller/package.json @@ -69,6 +69,6 @@ "typescript": "~5.3.3" }, "engines": { - "node": "^18.18 || >=20" + "node": "^22.14.0 || ^24" } } diff --git a/packages/approval-controller/CHANGELOG.md b/packages/approval-controller/CHANGELOG.md index 1d75a959c9f..408b22a14f7 100644 --- a/packages/approval-controller/CHANGELOG.md +++ b/packages/approval-controller/CHANGELOG.md @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed +- **BREAKING:** Bump minimum Node.js version to 22 ([#9976](https://github.com/MetaMask/core/pull/9976)) - Bump `@metamask/utils` from `^11.9.0` to `^11.12.0` ([#9074](https://github.com/MetaMask/core/pull/9074), [#10076](https://github.com/MetaMask/core/pull/10076)) - Bump `@metamask/messenger` from `^1.2.0` to `^2.0.0` ([#9392](https://github.com/MetaMask/core/pull/9392)) diff --git a/packages/approval-controller/package.json b/packages/approval-controller/package.json index 913f9abe538..961c5f287a7 100644 --- a/packages/approval-controller/package.json +++ b/packages/approval-controller/package.json @@ -74,6 +74,6 @@ "typescript": "~5.3.3" }, "engines": { - "node": "^18.18 || >=20" + "node": "^22.14.0 || ^24" } } diff --git a/packages/assets-controller/CHANGELOG.md b/packages/assets-controller/CHANGELOG.md index 6316791c6ef..41a50f56ff2 100644 --- a/packages/assets-controller/CHANGELOG.md +++ b/packages/assets-controller/CHANGELOG.md @@ -14,6 +14,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed +- **BREAKING:** Bump minimum Node.js version to 22 ([#9976](https://github.com/MetaMask/core/pull/9976)) - Bump `@metamask/phishing-controller` from `^17.4.0` to `^17.4.1` ([#10080](https://github.com/MetaMask/core/pull/10080)) - **BREAKING:** `AssetsControllerMessenger` now requires `AccountTreeController:isInitialized`, `ClientController:getState`, and `KeyringController:isUnlocked` so lifecycle checks read controller state on demand instead of mirroring it from events ([#10059](https://github.com/MetaMask/core/pull/10059)) - Hosts that restrict which actions flow through the `AssetsController` messenger must delegate these three actions diff --git a/packages/assets-controller/package.json b/packages/assets-controller/package.json index 7f1d95c551e..fb156ca3efc 100644 --- a/packages/assets-controller/package.json +++ b/packages/assets-controller/package.json @@ -102,6 +102,6 @@ "typescript": "~5.3.3" }, "engines": { - "node": "^18.18 || >=20" + "node": "^22.14.0 || ^24" } } diff --git a/packages/assets-controllers/CHANGELOG.md b/packages/assets-controllers/CHANGELOG.md index d44e0eac632..b788e35da62 100644 --- a/packages/assets-controllers/CHANGELOG.md +++ b/packages/assets-controllers/CHANGELOG.md @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed +- **BREAKING:** Bump minimum Node.js version to 22 ([#9976](https://github.com/MetaMask/core/pull/9976)) - Bump `@metamask/phishing-controller` from `^17.4.0` to `^17.4.1` ([#10080](https://github.com/MetaMask/core/pull/10080)) - Bump `@metamask/remote-feature-flag-controller` from `^6.0.0` to `^6.1.0` ([#9980](https://github.com/MetaMask/core/pull/9980)) - Bump `@metamask/transaction-controller` from `^69.6.1` to `^69.8.0` ([#10046](https://github.com/MetaMask/core/pull/10046), [#10080](https://github.com/MetaMask/core/pull/10080)) diff --git a/packages/assets-controllers/package.json b/packages/assets-controllers/package.json index 3371c81eaf0..98618fb35e5 100644 --- a/packages/assets-controllers/package.json +++ b/packages/assets-controllers/package.json @@ -114,7 +114,7 @@ "@ts-bridge/cli": "^0.6.4", "@types/jest": "^30.0.0", "@types/lodash": "^4.14.191", - "@types/node": "^16.18.54", + "@types/node": "^22.13.14", "deepmerge": "^4.2.2", "jest": "^30.4.2", "jest-environment-jsdom": "^30.4.1", @@ -131,6 +131,6 @@ "webextension-polyfill": "^0.10.0 || ^0.11.0 || ^0.12.0" }, "engines": { - "node": "^18.18 || >=20" + "node": "^22.14.0 || ^24" } } diff --git a/packages/authenticated-user-storage/CHANGELOG.md b/packages/authenticated-user-storage/CHANGELOG.md index 322a697481b..ec532f69eab 100644 --- a/packages/authenticated-user-storage/CHANGELOG.md +++ b/packages/authenticated-user-storage/CHANGELOG.md @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed +- **BREAKING:** Bump minimum Node.js version to 22 ([#9976](https://github.com/MetaMask/core/pull/9976)) - Bump `@metamask/utils` from `^11.11.0` to `^11.12.0` ([#10076](https://github.com/MetaMask/core/pull/10076)) ### Removed diff --git a/packages/authenticated-user-storage/package.json b/packages/authenticated-user-storage/package.json index f00b9c853ec..0eb78271e45 100644 --- a/packages/authenticated-user-storage/package.json +++ b/packages/authenticated-user-storage/package.json @@ -75,6 +75,6 @@ "typescript": "~5.3.3" }, "engines": { - "node": "^18.18 || >=20" + "node": "^22.14.0 || ^24" } } diff --git a/packages/base-controller/CHANGELOG.md b/packages/base-controller/CHANGELOG.md index 6a9423092e3..4193480481d 100644 --- a/packages/base-controller/CHANGELOG.md +++ b/packages/base-controller/CHANGELOG.md @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed +- **BREAKING:** Bump minimum Node.js version to 22 ([#9976](https://github.com/MetaMask/core/pull/9976)) - Bump `@metamask/utils` from `^11.9.0` to `^11.12.0` ([#9074](https://github.com/MetaMask/core/pull/9074), [#10076](https://github.com/MetaMask/core/pull/10076)) - Bump `@metamask/messenger` from `^1.1.1` to `^2.0.0` ([#8632](https://github.com/MetaMask/core/pull/8632), [#9392](https://github.com/MetaMask/core/pull/9392)) diff --git a/packages/base-controller/package.json b/packages/base-controller/package.json index c09713e7253..af0e30f4264 100644 --- a/packages/base-controller/package.json +++ b/packages/base-controller/package.json @@ -69,6 +69,6 @@ "typescript": "~5.3.3" }, "engines": { - "node": "^18.18 || >=20" + "node": "^22.14.0 || ^24" } } diff --git a/packages/base-data-service/CHANGELOG.md b/packages/base-data-service/CHANGELOG.md index 0cfa9bf8d00..a0af23fee9f 100644 --- a/packages/base-data-service/CHANGELOG.md +++ b/packages/base-data-service/CHANGELOG.md @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed +- **BREAKING:** Bump minimum Node.js version to 22 ([#9976](https://github.com/MetaMask/core/pull/9976)) - Bump `@metamask/utils` from `^11.11.0` to `^11.12.0` ([#10076](https://github.com/MetaMask/core/pull/10076)) ### Fixed diff --git a/packages/base-data-service/package.json b/packages/base-data-service/package.json index 10f587b677d..e3bc214a9b8 100644 --- a/packages/base-data-service/package.json +++ b/packages/base-data-service/package.json @@ -80,6 +80,6 @@ "typescript": "~5.3.3" }, "engines": { - "node": "^18.18 || >=20" + "node": "^22.14.0 || ^24" } } diff --git a/packages/bitcoin-regtest-up/CHANGELOG.md b/packages/bitcoin-regtest-up/CHANGELOG.md index 29eb0135d41..fc7469d006b 100644 --- a/packages/bitcoin-regtest-up/CHANGELOG.md +++ b/packages/bitcoin-regtest-up/CHANGELOG.md @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Changed + +- **BREAKING:** Bump minimum Node.js version to 22 ([#9976](https://github.com/MetaMask/core/pull/9976)) + ## [1.0.0] ### Added diff --git a/packages/bitcoin-regtest-up/package.json b/packages/bitcoin-regtest-up/package.json index dfc8d44e055..eb587cef1df 100644 --- a/packages/bitcoin-regtest-up/package.json +++ b/packages/bitcoin-regtest-up/package.json @@ -71,6 +71,6 @@ "typescript": "~5.3.3" }, "engines": { - "node": "^18.18 || >=20" + "node": "^22.14.0 || ^24" } } diff --git a/packages/bridge-controller/CHANGELOG.md b/packages/bridge-controller/CHANGELOG.md index 173074c2cd2..a3ecf4ac620 100644 --- a/packages/bridge-controller/CHANGELOG.md +++ b/packages/bridge-controller/CHANGELOG.md @@ -18,6 +18,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed +- **BREAKING:** Bump minimum Node.js version to 22 ([#9976](https://github.com/MetaMask/core/pull/9976)) - Bump `@metamask/assets-controller` from `^14.0.2` to `^14.0.3` ([#10042](https://github.com/MetaMask/core/pull/10042)) - Bump `@metamask/transaction-controller` from `^69.6.1` to `^69.8.0` ([#10046](https://github.com/MetaMask/core/pull/10046), [#10080](https://github.com/MetaMask/core/pull/10080)) - Bump `@metamask/utils` from `^11.11.0` to `^11.12.0` ([#10076](https://github.com/MetaMask/core/pull/10076)) diff --git a/packages/bridge-controller/package.json b/packages/bridge-controller/package.json index e49c50185e0..084557aff0f 100644 --- a/packages/bridge-controller/package.json +++ b/packages/bridge-controller/package.json @@ -98,6 +98,6 @@ "typescript": "~5.3.3" }, "engines": { - "node": "^18.18 || >=20" + "node": "^22.14.0 || ^24" } } diff --git a/packages/bridge-status-controller/CHANGELOG.md b/packages/bridge-status-controller/CHANGELOG.md index 2a87d6b0adb..b3da18e3beb 100644 --- a/packages/bridge-status-controller/CHANGELOG.md +++ b/packages/bridge-status-controller/CHANGELOG.md @@ -16,6 +16,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed +- **BREAKING:** Bump minimum Node.js version to 22 ([#9976](https://github.com/MetaMask/core/pull/9976)) - Bump `@metamask/bridge-controller` from `^80.1.0` to `^80.1.1` ([#10035](https://github.com/MetaMask/core/pull/10035)) - Bump `@metamask/transaction-controller` from `^69.6.1` to `^69.8.0` ([#10046](https://github.com/MetaMask/core/pull/10046), [#10080](https://github.com/MetaMask/core/pull/10080)) - Bump `@metamask/utils` from `^11.11.0` to `^11.12.0` ([#10076](https://github.com/MetaMask/core/pull/10076)) diff --git a/packages/bridge-status-controller/package.json b/packages/bridge-status-controller/package.json index 6da7c2dd7b0..39a8d70e392 100644 --- a/packages/bridge-status-controller/package.json +++ b/packages/bridge-status-controller/package.json @@ -87,6 +87,6 @@ "typescript": "~5.3.3" }, "engines": { - "node": "^18.18 || >=20" + "node": "^22.14.0 || ^24" } } diff --git a/packages/build-utils/CHANGELOG.md b/packages/build-utils/CHANGELOG.md index bbcfaa9223f..d997d587aeb 100644 --- a/packages/build-utils/CHANGELOG.md +++ b/packages/build-utils/CHANGELOG.md @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed +- **BREAKING:** Bump minimum Node.js version to 22 ([#9976](https://github.com/MetaMask/core/pull/9976)) - Bump `@metamask/utils` from `^11.8.1` to `^11.12.0` ([#7511](https://github.com/MetaMask/core/pull/7511), [#9074](https://github.com/MetaMask/core/pull/9074), [#10076](https://github.com/MetaMask/core/pull/10076)) ## [3.0.4] diff --git a/packages/build-utils/package.json b/packages/build-utils/package.json index 2a21236987f..fea86fc72b4 100644 --- a/packages/build-utils/package.json +++ b/packages/build-utils/package.json @@ -69,6 +69,6 @@ "typescript": "~5.3.3" }, "engines": { - "node": "^18.18 || >=20" + "node": "^22.14.0 || ^24" } } diff --git a/packages/chain-agnostic-permission/CHANGELOG.md b/packages/chain-agnostic-permission/CHANGELOG.md index 58472bbabca..5d125c1ce34 100644 --- a/packages/chain-agnostic-permission/CHANGELOG.md +++ b/packages/chain-agnostic-permission/CHANGELOG.md @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed +- **BREAKING:** Bump minimum Node.js version to 22 ([#9976](https://github.com/MetaMask/core/pull/9976)) - Bump `@metamask/utils` from `^11.11.0` to `^11.12.0` ([#10076](https://github.com/MetaMask/core/pull/10076)) ## [1.7.0] diff --git a/packages/chain-agnostic-permission/package.json b/packages/chain-agnostic-permission/package.json index 94133b83826..abf7877a35d 100644 --- a/packages/chain-agnostic-permission/package.json +++ b/packages/chain-agnostic-permission/package.json @@ -74,6 +74,6 @@ "typescript": "~5.3.3" }, "engines": { - "node": "^18.18 || >=20" + "node": "^22.14.0 || ^24" } } diff --git a/packages/chomp-api-service/CHANGELOG.md b/packages/chomp-api-service/CHANGELOG.md index 07c6508a222..29035e8d6aa 100644 --- a/packages/chomp-api-service/CHANGELOG.md +++ b/packages/chomp-api-service/CHANGELOG.md @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed +- **BREAKING:** Bump minimum Node.js version to 22 ([#9976](https://github.com/MetaMask/core/pull/9976)) - Bump `@metamask/utils` from `^11.11.0` to `^11.12.0` ([#10076](https://github.com/MetaMask/core/pull/10076)) ## [4.0.1] diff --git a/packages/chomp-api-service/package.json b/packages/chomp-api-service/package.json index b1af612e145..a90fd2408a8 100644 --- a/packages/chomp-api-service/package.json +++ b/packages/chomp-api-service/package.json @@ -74,6 +74,6 @@ "typescript": "~5.3.3" }, "engines": { - "node": "^18.18 || >=20" + "node": "^22.14.0 || ^24" } } diff --git a/packages/claims-controller/CHANGELOG.md b/packages/claims-controller/CHANGELOG.md index a86374ffeb7..2b51f2a1b88 100644 --- a/packages/claims-controller/CHANGELOG.md +++ b/packages/claims-controller/CHANGELOG.md @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed +- **BREAKING:** Bump minimum Node.js version to 22 ([#9976](https://github.com/MetaMask/core/pull/9976)) - Bump `@metamask/utils` from `^11.11.0` to `^11.12.0` ([#10076](https://github.com/MetaMask/core/pull/10076)) ## [0.6.1] diff --git a/packages/claims-controller/package.json b/packages/claims-controller/package.json index bd56f8d318c..b2a3622d4ab 100644 --- a/packages/claims-controller/package.json +++ b/packages/claims-controller/package.json @@ -78,6 +78,6 @@ "typescript": "~5.3.3" }, "engines": { - "node": "^18.18 || >=20" + "node": "^22.14.0 || ^24" } } diff --git a/packages/client-controller/CHANGELOG.md b/packages/client-controller/CHANGELOG.md index 45b53576c1f..53290fe64b6 100644 --- a/packages/client-controller/CHANGELOG.md +++ b/packages/client-controller/CHANGELOG.md @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed +- **BREAKING:** Bump minimum Node.js version to 22 ([#9976](https://github.com/MetaMask/core/pull/9976)) - Bump `@metamask/messenger` from `^1.0.0` to `^2.0.0` ([#8364](https://github.com/MetaMask/core/pull/8364), [#8373](https://github.com/MetaMask/core/pull/8373), [#8632](https://github.com/MetaMask/core/pull/8632), [#9392](https://github.com/MetaMask/core/pull/9392)) - Bump `@metamask/base-controller` from `^9.0.1` to `^9.1.0` ([#8457](https://github.com/MetaMask/core/pull/8457)) diff --git a/packages/client-controller/package.json b/packages/client-controller/package.json index 6dc63fee15b..f176f128595 100644 --- a/packages/client-controller/package.json +++ b/packages/client-controller/package.json @@ -72,6 +72,6 @@ "typescript": "~5.3.3" }, "engines": { - "node": "^18.18 || >=20" + "node": "^22.14.0 || ^24" } } diff --git a/packages/client-utils/CHANGELOG.md b/packages/client-utils/CHANGELOG.md index 420a9a3f390..6cfc98bae05 100644 --- a/packages/client-utils/CHANGELOG.md +++ b/packages/client-utils/CHANGELOG.md @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed +- **BREAKING:** Bump minimum Node.js version to 22 ([#9976](https://github.com/MetaMask/core/pull/9976)) - Bump `@metamask/transaction-controller` from `^69.6.0` to `^69.8.0` ([#9969](https://github.com/MetaMask/core/pull/9969), [#10080](https://github.com/MetaMask/core/pull/10080), [#10046](https://github.com/MetaMask/core/pull/10046)) - Bump `@metamask/utils` from `^11.11.0` to `^11.12.0` ([#10076](https://github.com/MetaMask/core/pull/10076)) diff --git a/packages/client-utils/package.json b/packages/client-utils/package.json index 900dcaf1ca9..8b2421f2162 100644 --- a/packages/client-utils/package.json +++ b/packages/client-utils/package.json @@ -78,6 +78,6 @@ "typescript": "~5.3.3" }, "engines": { - "node": "^18.18 || >=20" + "node": "^22.14.0 || ^24" } } diff --git a/packages/compliance-controller/CHANGELOG.md b/packages/compliance-controller/CHANGELOG.md index 3f655ccca76..4a45092b5b0 100644 --- a/packages/compliance-controller/CHANGELOG.md +++ b/packages/compliance-controller/CHANGELOG.md @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed +- **BREAKING:** Bump minimum Node.js version to 22 ([#9976](https://github.com/MetaMask/core/pull/9976)) - Bump `@metamask/utils` from `^11.9.0` to `^11.12.0` ([#9074](https://github.com/MetaMask/core/pull/9074), [#10076](https://github.com/MetaMask/core/pull/10076)) - Bump `@metamask/controller-utils` from `^12.1.0` to `^12.3.0` ([#9058](https://github.com/MetaMask/core/pull/9058), [#9083](https://github.com/MetaMask/core/pull/9083), [#9218](https://github.com/MetaMask/core/pull/9218)) - Bump `@metamask/messenger` from `^1.2.0` to `^2.0.0` ([#9392](https://github.com/MetaMask/core/pull/9392)) diff --git a/packages/compliance-controller/package.json b/packages/compliance-controller/package.json index 2bdb8922c0b..88dd4e6c72e 100644 --- a/packages/compliance-controller/package.json +++ b/packages/compliance-controller/package.json @@ -76,6 +76,6 @@ "typescript": "~5.3.3" }, "engines": { - "node": "^18.18 || >=20" + "node": "^22.14.0 || ^24" } } diff --git a/packages/composable-controller/CHANGELOG.md b/packages/composable-controller/CHANGELOG.md index bc5c4a8e41f..ee9c5707bf7 100644 --- a/packages/composable-controller/CHANGELOG.md +++ b/packages/composable-controller/CHANGELOG.md @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed +- **BREAKING:** Bump minimum Node.js version to 22 ([#9976](https://github.com/MetaMask/core/pull/9976)) - Bump `@metamask/json-rpc-engine` from `^10.2.4` to `^10.3.0` ([#8661](https://github.com/MetaMask/core/pull/8661)) - Bump `@metamask/messenger` from `^1.0.0` to `^2.0.0` ([#8364](https://github.com/MetaMask/core/pull/8364), [#8373](https://github.com/MetaMask/core/pull/8373), [#8632](https://github.com/MetaMask/core/pull/8632), [#9392](https://github.com/MetaMask/core/pull/9392)) - Bump `@metamask/base-controller` from `^9.0.1` to `^9.1.0` ([#8457](https://github.com/MetaMask/core/pull/8457)) diff --git a/packages/composable-controller/package.json b/packages/composable-controller/package.json index 95e8c1cce5c..3ebeef552e1 100644 --- a/packages/composable-controller/package.json +++ b/packages/composable-controller/package.json @@ -71,6 +71,6 @@ "typescript": "~5.3.3" }, "engines": { - "node": "^18.18 || >=20" + "node": "^22.14.0 || ^24" } } diff --git a/packages/config-registry-controller/CHANGELOG.md b/packages/config-registry-controller/CHANGELOG.md index 6a86c228787..7c771f02815 100644 --- a/packages/config-registry-controller/CHANGELOG.md +++ b/packages/config-registry-controller/CHANGELOG.md @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed +- **BREAKING:** Bump minimum Node.js version to 22 ([#9976](https://github.com/MetaMask/core/pull/9976)) - Bump `@metamask/remote-feature-flag-controller` from `^6.0.0` to `^6.1.0` ([#9980](https://github.com/MetaMask/core/pull/9980)) - Bump `@metamask/utils` from `^11.11.0` to `^11.12.0` ([#10076](https://github.com/MetaMask/core/pull/10076)) diff --git a/packages/config-registry-controller/package.json b/packages/config-registry-controller/package.json index 09266724e38..ff461ccbaa0 100644 --- a/packages/config-registry-controller/package.json +++ b/packages/config-registry-controller/package.json @@ -81,6 +81,6 @@ "typescript": "~5.3.3" }, "engines": { - "node": "^18.18 || >=20" + "node": "^22.14.0 || ^24" } } diff --git a/packages/connectivity-controller/CHANGELOG.md b/packages/connectivity-controller/CHANGELOG.md index b35813866c8..95ec3cdfda9 100644 --- a/packages/connectivity-controller/CHANGELOG.md +++ b/packages/connectivity-controller/CHANGELOG.md @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Changed + +- **BREAKING:** Bump minimum Node.js version to 22 ([#9976](https://github.com/MetaMask/core/pull/9976)) + ## [0.3.0] ### Added diff --git a/packages/connectivity-controller/package.json b/packages/connectivity-controller/package.json index eff0dab23f5..392d5ff49b1 100644 --- a/packages/connectivity-controller/package.json +++ b/packages/connectivity-controller/package.json @@ -72,6 +72,6 @@ "typescript": "~5.3.3" }, "engines": { - "node": "^18.18 || >=20" + "node": "^22.14.0 || ^24" } } diff --git a/packages/controller-utils/CHANGELOG.md b/packages/controller-utils/CHANGELOG.md index 2b332384237..5ccedff7a94 100644 --- a/packages/controller-utils/CHANGELOG.md +++ b/packages/controller-utils/CHANGELOG.md @@ -13,6 +13,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed +- **BREAKING:** Bump minimum Node.js version to 22 ([#9976](https://github.com/MetaMask/core/pull/9976)) - Bump `@metamask/utils` from `^11.11.0` to `^11.12.0` ([#10076](https://github.com/MetaMask/core/pull/10076)) ### Deprecated diff --git a/packages/controller-utils/package.json b/packages/controller-utils/package.json index 59feee6048e..6c43606f1fc 100644 --- a/packages/controller-utils/package.json +++ b/packages/controller-utils/package.json @@ -86,6 +86,6 @@ "@babel/runtime": "^7.0.0" }, "engines": { - "node": "^18.18 || >=20" + "node": "^22.14.0 || ^24" } } diff --git a/packages/core-backend/CHANGELOG.md b/packages/core-backend/CHANGELOG.md index daee102f61b..7159243e602 100644 --- a/packages/core-backend/CHANGELOG.md +++ b/packages/core-backend/CHANGELOG.md @@ -14,6 +14,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed +- **BREAKING:** Bump minimum Node.js version to 22 ([#9976](https://github.com/MetaMask/core/pull/9976)) - Bump `@metamask/remote-feature-flag-controller` from `^6.0.0` to `^6.1.0` ([#9980](https://github.com/MetaMask/core/pull/9980)) - Bump `@metamask/utils` from `^11.11.0` to `^11.12.0` ([#10076](https://github.com/MetaMask/core/pull/10076)) diff --git a/packages/core-backend/package.json b/packages/core-backend/package.json index 7224dd6be7e..59001bd5568 100644 --- a/packages/core-backend/package.json +++ b/packages/core-backend/package.json @@ -81,6 +81,6 @@ "typescript": "~5.3.3" }, "engines": { - "node": "^18.18 || >=20" + "node": "^22.14.0 || ^24" } } diff --git a/packages/cryptography/package.json b/packages/cryptography/package.json index 25ac3d9298f..ce76d7e0ef1 100644 --- a/packages/cryptography/package.json +++ b/packages/cryptography/package.json @@ -67,6 +67,6 @@ "typescript": "~5.3.3" }, "engines": { - "node": "^18.18 || >=20" + "node": "^22.14.0 || ^24" } } diff --git a/packages/delegation-controller/CHANGELOG.md b/packages/delegation-controller/CHANGELOG.md index 367584822d7..8f0ca6ddf3d 100644 --- a/packages/delegation-controller/CHANGELOG.md +++ b/packages/delegation-controller/CHANGELOG.md @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed +- **BREAKING:** Bump minimum Node.js version to 22 ([#9976](https://github.com/MetaMask/core/pull/9976)) - Bump `@metamask/utils` from `^11.9.0` to `^11.12.0` ([#9074](https://github.com/MetaMask/core/pull/9074), [#10076](https://github.com/MetaMask/core/pull/10076)) - Bump `@metamask/keyring-controller` from `^27.0.0` to `^27.1.1` ([#9129](https://github.com/MetaMask/core/pull/9129), [#9791](https://github.com/MetaMask/core/pull/9791)) - Bump `@metamask/messenger` from `^1.2.0` to `^2.0.0` ([#9392](https://github.com/MetaMask/core/pull/9392)) diff --git a/packages/delegation-controller/package.json b/packages/delegation-controller/package.json index b4d07f7bce1..73bcafb210a 100644 --- a/packages/delegation-controller/package.json +++ b/packages/delegation-controller/package.json @@ -73,6 +73,6 @@ "typescript": "~5.3.3" }, "engines": { - "node": "^18.18 || >=20" + "node": "^22.14.0 || ^24" } } diff --git a/packages/earn-controller/CHANGELOG.md b/packages/earn-controller/CHANGELOG.md index 429142f05a1..b16acd7f939 100644 --- a/packages/earn-controller/CHANGELOG.md +++ b/packages/earn-controller/CHANGELOG.md @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed +- **BREAKING:** Bump minimum Node.js version to 22 ([#9976](https://github.com/MetaMask/core/pull/9976)) - Bump `@metamask/transaction-controller` from `^69.7.0` to `^69.8.0` ([#10080](https://github.com/MetaMask/core/pull/10080)) ## [12.2.6] diff --git a/packages/earn-controller/package.json b/packages/earn-controller/package.json index 8f91d53ff49..9fb9a49da9c 100644 --- a/packages/earn-controller/package.json +++ b/packages/earn-controller/package.json @@ -80,6 +80,6 @@ "typescript": "~5.3.3" }, "engines": { - "node": "^18.18 || >=20" + "node": "^22.14.0 || ^24" } } diff --git a/packages/eip-5792-middleware/CHANGELOG.md b/packages/eip-5792-middleware/CHANGELOG.md index 2d1d8d10f5d..04398051efa 100644 --- a/packages/eip-5792-middleware/CHANGELOG.md +++ b/packages/eip-5792-middleware/CHANGELOG.md @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed +- **BREAKING:** Bump minimum Node.js version to 22 ([#9976](https://github.com/MetaMask/core/pull/9976)) - Bump `@metamask/transaction-controller` from `^69.0.0` to `^69.8.0` ([#9568](https://github.com/MetaMask/core/pull/9568), [#10080](https://github.com/MetaMask/core/pull/10080), [#9589](https://github.com/MetaMask/core/pull/9589), [#9593](https://github.com/MetaMask/core/pull/9593), [#9693](https://github.com/MetaMask/core/pull/9693), [#9735](https://github.com/MetaMask/core/pull/9735), [#9780](https://github.com/MetaMask/core/pull/9780), [#9798](https://github.com/MetaMask/core/pull/9798), [#9823](https://github.com/MetaMask/core/pull/9823), [#9960](https://github.com/MetaMask/core/pull/9960), [#9969](https://github.com/MetaMask/core/pull/9969), [#10046](https://github.com/MetaMask/core/pull/10046)) - Bump `@metamask/superstruct` from `^3.1.0` to `^3.4.1` ([#9754](https://github.com/MetaMask/core/pull/9754)) - Bump `@metamask/utils` from `^11.11.0` to `^11.12.0` ([#10076](https://github.com/MetaMask/core/pull/10076)) diff --git a/packages/eip-5792-middleware/package.json b/packages/eip-5792-middleware/package.json index 1ea85965645..5320bd52cf5 100644 --- a/packages/eip-5792-middleware/package.json +++ b/packages/eip-5792-middleware/package.json @@ -77,6 +77,6 @@ "typescript": "~5.3.3" }, "engines": { - "node": "^18.18 || >=20" + "node": "^22.14.0 || ^24" } } diff --git a/packages/eip-7702-internal-rpc-middleware/CHANGELOG.md b/packages/eip-7702-internal-rpc-middleware/CHANGELOG.md index 4e7081fac94..df37d42b496 100644 --- a/packages/eip-7702-internal-rpc-middleware/CHANGELOG.md +++ b/packages/eip-7702-internal-rpc-middleware/CHANGELOG.md @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed +- **BREAKING:** Bump minimum Node.js version to 22 ([#9976](https://github.com/MetaMask/core/pull/9976)) - Bump `@metamask/utils` from `^11.9.0` to `^11.12.0` ([#9074](https://github.com/MetaMask/core/pull/9074), [#10076](https://github.com/MetaMask/core/pull/10076)) - Bump `@metamask/controller-utils` from `^12.0.0` to `^12.3.0` ([#8774](https://github.com/MetaMask/core/pull/8774), [#9058](https://github.com/MetaMask/core/pull/9058), [#9083](https://github.com/MetaMask/core/pull/9083), [#9218](https://github.com/MetaMask/core/pull/9218)) - Bump `@metamask/superstruct` from `^3.1.0` to `^3.4.1` ([#9754](https://github.com/MetaMask/core/pull/9754)) diff --git a/packages/eip-7702-internal-rpc-middleware/package.json b/packages/eip-7702-internal-rpc-middleware/package.json index 9ddac991900..a52f68a9acb 100644 --- a/packages/eip-7702-internal-rpc-middleware/package.json +++ b/packages/eip-7702-internal-rpc-middleware/package.json @@ -71,6 +71,6 @@ "typescript": "~5.3.3" }, "engines": { - "node": "^18.18 || >=20" + "node": "^22.14.0 || ^24" } } diff --git a/packages/eip1193-permission-middleware/CHANGELOG.md b/packages/eip1193-permission-middleware/CHANGELOG.md index 147814091c4..96283a676df 100644 --- a/packages/eip1193-permission-middleware/CHANGELOG.md +++ b/packages/eip1193-permission-middleware/CHANGELOG.md @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed +- **BREAKING:** Bump minimum Node.js version to 22 ([#9976](https://github.com/MetaMask/core/pull/9976)) - Bump `@metamask/utils` from `^11.9.0` to `^11.12.0` ([#9074](https://github.com/MetaMask/core/pull/9074), [#10076](https://github.com/MetaMask/core/pull/10076)) - Bump `@metamask/controller-utils` from `^12.0.0` to `^12.3.0` ([#8774](https://github.com/MetaMask/core/pull/8774), [#9058](https://github.com/MetaMask/core/pull/9058), [#9083](https://github.com/MetaMask/core/pull/9083), [#9218](https://github.com/MetaMask/core/pull/9218)) - Bump `@metamask/chain-agnostic-permission` from `^1.6.1` to `^1.6.2` ([#9103](https://github.com/MetaMask/core/pull/9103)) diff --git a/packages/eip1193-permission-middleware/package.json b/packages/eip1193-permission-middleware/package.json index 00dc31ebc31..67736f6013b 100644 --- a/packages/eip1193-permission-middleware/package.json +++ b/packages/eip1193-permission-middleware/package.json @@ -74,6 +74,6 @@ "typescript": "~5.3.3" }, "engines": { - "node": "^18.18 || >=20" + "node": "^22.14.0 || ^24" } } diff --git a/packages/eth-block-tracker/CHANGELOG.md b/packages/eth-block-tracker/CHANGELOG.md index 7a1bfd23218..905d04bdc75 100644 --- a/packages/eth-block-tracker/CHANGELOG.md +++ b/packages/eth-block-tracker/CHANGELOG.md @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed +- **BREAKING:** Bump minimum Node.js version to 22 ([#9976](https://github.com/MetaMask/core/pull/9976)) - Bump `@metamask/utils` from `^11.9.0` to `^11.12.0` ([#9074](https://github.com/MetaMask/core/pull/9074), [#10076](https://github.com/MetaMask/core/pull/10076)) - Bump `@metamask/json-rpc-engine` from `^10.2.4` to `^10.3.0` ([#8661](https://github.com/MetaMask/core/pull/8661)) - Bump `@metamask/eth-json-rpc-provider` from `^6.0.0` to `^6.0.1` ([#8317](https://github.com/MetaMask/core/pull/8317)) diff --git a/packages/eth-block-tracker/package.json b/packages/eth-block-tracker/package.json index 5ed9a8f9a80..162f5bf14d2 100644 --- a/packages/eth-block-tracker/package.json +++ b/packages/eth-block-tracker/package.json @@ -75,6 +75,6 @@ "typescript": "~5.3.3" }, "engines": { - "node": "^18.18 || >=20" + "node": "^22.14.0 || ^24" } } diff --git a/packages/eth-json-rpc-middleware/CHANGELOG.md b/packages/eth-json-rpc-middleware/CHANGELOG.md index ef046fd60ef..a35f826fe4c 100644 --- a/packages/eth-json-rpc-middleware/CHANGELOG.md +++ b/packages/eth-json-rpc-middleware/CHANGELOG.md @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed +- **BREAKING:** Bump minimum Node.js version to 22 ([#9976](https://github.com/MetaMask/core/pull/9976)) - Bump `@metamask/utils` from `^11.11.0` to `^11.12.0` ([#10076](https://github.com/MetaMask/core/pull/10076)) ## [24.0.2] diff --git a/packages/eth-json-rpc-middleware/package.json b/packages/eth-json-rpc-middleware/package.json index 5ff687d0013..50cdbbe0dfc 100644 --- a/packages/eth-json-rpc-middleware/package.json +++ b/packages/eth-json-rpc-middleware/package.json @@ -78,7 +78,7 @@ "typescript": "~5.3.3" }, "engines": { - "node": "^18.18 || >=20" + "node": "^22.14.0 || ^24" }, "lavamoat": { "allowScripts": { diff --git a/packages/eth-json-rpc-provider/CHANGELOG.md b/packages/eth-json-rpc-provider/CHANGELOG.md index 8348191d6ff..5038d99ca75 100644 --- a/packages/eth-json-rpc-provider/CHANGELOG.md +++ b/packages/eth-json-rpc-provider/CHANGELOG.md @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed +- **BREAKING:** Bump minimum Node.js version to 22 ([#9976](https://github.com/MetaMask/core/pull/9976)) - Bump `@metamask/utils` from `^11.9.0` to `^11.12.0` ([#9074](https://github.com/MetaMask/core/pull/9074), [#10076](https://github.com/MetaMask/core/pull/10076)) - Bump `@metamask/json-rpc-engine` from `^10.2.4` to `^10.5.0` ([#8661](https://github.com/MetaMask/core/pull/8661), [#8746](https://github.com/MetaMask/core/pull/8746), [#8753](https://github.com/MetaMask/core/pull/8753)) diff --git a/packages/eth-json-rpc-provider/package.json b/packages/eth-json-rpc-provider/package.json index 2f09e27fa12..926a8e318b3 100644 --- a/packages/eth-json-rpc-provider/package.json +++ b/packages/eth-json-rpc-provider/package.json @@ -74,7 +74,7 @@ "typescript": "~5.3.3" }, "engines": { - "node": "^18.18 || >=20" + "node": "^22.14.0 || ^24" }, "lavamoat": { "allowScripts": { diff --git a/packages/foundryup/CHANGELOG.md b/packages/foundryup/CHANGELOG.md index f6ce1417dc3..2616264724b 100644 --- a/packages/foundryup/CHANGELOG.md +++ b/packages/foundryup/CHANGELOG.md @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Changed + +- **BREAKING:** Bump minimum Node.js version to 22 ([#9976](https://github.com/MetaMask/core/pull/9976)) + ## [1.0.1] ### Fixed diff --git a/packages/foundryup/package.json b/packages/foundryup/package.json index 4ab1f0c17f3..a465a17ad2f 100644 --- a/packages/foundryup/package.json +++ b/packages/foundryup/package.json @@ -71,6 +71,6 @@ "yaml": "^2.3.4" }, "engines": { - "node": "^18.18 || >=20" + "node": "^22.14.0 || ^24" } } diff --git a/packages/gas-fee-controller/CHANGELOG.md b/packages/gas-fee-controller/CHANGELOG.md index e77963dc6aa..89e3187cbfa 100644 --- a/packages/gas-fee-controller/CHANGELOG.md +++ b/packages/gas-fee-controller/CHANGELOG.md @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed +- **BREAKING:** Bump minimum Node.js version to 22 ([#9976](https://github.com/MetaMask/core/pull/9976)) - Bump `@metamask/utils` from `^11.11.0` to `^11.12.0` ([#10076](https://github.com/MetaMask/core/pull/10076)) ## [26.3.2] diff --git a/packages/gas-fee-controller/package.json b/packages/gas-fee-controller/package.json index 9996fcd6c69..8aa6316fe40 100644 --- a/packages/gas-fee-controller/package.json +++ b/packages/gas-fee-controller/package.json @@ -88,6 +88,6 @@ "@babel/runtime": "^7.0.0" }, "engines": { - "node": "^18.18 || >=20" + "node": "^22.14.0 || ^24" } } diff --git a/packages/gator-permissions-controller/CHANGELOG.md b/packages/gator-permissions-controller/CHANGELOG.md index 4b7f8472979..a850629803c 100644 --- a/packages/gator-permissions-controller/CHANGELOG.md +++ b/packages/gator-permissions-controller/CHANGELOG.md @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed +- **BREAKING:** Bump minimum Node.js version to 22 ([#9976](https://github.com/MetaMask/core/pull/9976)) - Bump `@metamask/transaction-controller` from `^69.6.1` to `^69.8.0` ([#10046](https://github.com/MetaMask/core/pull/10046), [#10080](https://github.com/MetaMask/core/pull/10080)) - Bump `@metamask/utils` from `^11.11.0` to `^11.12.0` ([#10076](https://github.com/MetaMask/core/pull/10076)) diff --git a/packages/gator-permissions-controller/package.json b/packages/gator-permissions-controller/package.json index 44fb2dc4a02..bc3ab7b055a 100644 --- a/packages/gator-permissions-controller/package.json +++ b/packages/gator-permissions-controller/package.json @@ -83,7 +83,7 @@ "typescript": "~5.3.3" }, "engines": { - "node": "^18.18 || >=20" + "node": "^22.14.0 || ^24" }, "lavamoat": { "allowScripts": { diff --git a/packages/geolocation-controller/CHANGELOG.md b/packages/geolocation-controller/CHANGELOG.md index 847aa091d48..391dad333cf 100644 --- a/packages/geolocation-controller/CHANGELOG.md +++ b/packages/geolocation-controller/CHANGELOG.md @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Changed + +- **BREAKING:** Bump minimum Node.js version to 22 ([#9976](https://github.com/MetaMask/core/pull/9976)) + ## [1.0.0] ### Changed diff --git a/packages/geolocation-controller/package.json b/packages/geolocation-controller/package.json index f20e31aa972..e5e5b13b11a 100644 --- a/packages/geolocation-controller/package.json +++ b/packages/geolocation-controller/package.json @@ -72,6 +72,6 @@ "typescript": "~5.3.3" }, "engines": { - "node": "^18.18 || >=20" + "node": "^22.14.0 || ^24" } } diff --git a/packages/java-tron-up/CHANGELOG.md b/packages/java-tron-up/CHANGELOG.md index b983a9bfc34..f64bf24d90a 100644 --- a/packages/java-tron-up/CHANGELOG.md +++ b/packages/java-tron-up/CHANGELOG.md @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Changed + +- **BREAKING:** Bump minimum Node.js version to 22 ([#9976](https://github.com/MetaMask/core/pull/9976)) + ## [1.0.0] ### Added diff --git a/packages/java-tron-up/package.json b/packages/java-tron-up/package.json index 6d66d1451ef..f0346a45e65 100644 --- a/packages/java-tron-up/package.json +++ b/packages/java-tron-up/package.json @@ -71,6 +71,6 @@ "typescript": "~5.3.3" }, "engines": { - "node": "^18.18 || >=20" + "node": "^22.14.0 || ^24" } } diff --git a/packages/json-rpc-engine/CHANGELOG.md b/packages/json-rpc-engine/CHANGELOG.md index 210ce2f1379..b9978710904 100644 --- a/packages/json-rpc-engine/CHANGELOG.md +++ b/packages/json-rpc-engine/CHANGELOG.md @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed +- **BREAKING:** Bump minimum Node.js version to 22 ([#9976](https://github.com/MetaMask/core/pull/9976)) - Bump `@metamask/utils` from `^11.9.0` to `^11.12.0` ([#9074](https://github.com/MetaMask/core/pull/9074), [#10076](https://github.com/MetaMask/core/pull/10076)) - Bump `@metamask/messenger` from `^1.2.0` to `^2.0.0` ([#9392](https://github.com/MetaMask/core/pull/9392)) diff --git a/packages/json-rpc-engine/package.json b/packages/json-rpc-engine/package.json index 28dbdc47fee..14e1b95ae0e 100644 --- a/packages/json-rpc-engine/package.json +++ b/packages/json-rpc-engine/package.json @@ -89,7 +89,7 @@ "typescript": "~5.3.3" }, "engines": { - "node": "^18.18 || >=20" + "node": "^22.14.0 || ^24" }, "lavamoat": { "allowScripts": { diff --git a/packages/json-rpc-middleware-stream/CHANGELOG.md b/packages/json-rpc-middleware-stream/CHANGELOG.md index 073d230db07..3e1c543e80c 100644 --- a/packages/json-rpc-middleware-stream/CHANGELOG.md +++ b/packages/json-rpc-middleware-stream/CHANGELOG.md @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed +- **BREAKING:** Bump minimum Node.js version to 22 ([#9976](https://github.com/MetaMask/core/pull/9976)) - Bump `@metamask/utils` from `^11.8.1` to `^11.12.0` ([#7511](https://github.com/MetaMask/core/pull/7511), [#9074](https://github.com/MetaMask/core/pull/9074), [#10076](https://github.com/MetaMask/core/pull/10076)) - Bump `@metamask/json-rpc-engine` from `^10.1.1` to `^10.5.0` ([#7202](https://github.com/MetaMask/core/pull/7202), [#7642](https://github.com/MetaMask/core/pull/7642), [#7856](https://github.com/MetaMask/core/pull/7856), [#8078](https://github.com/MetaMask/core/pull/8078), [#8317](https://github.com/MetaMask/core/pull/8317), [#8661](https://github.com/MetaMask/core/pull/8661), [#8746](https://github.com/MetaMask/core/pull/8746), [#8753](https://github.com/MetaMask/core/pull/8753)) diff --git a/packages/json-rpc-middleware-stream/package.json b/packages/json-rpc-middleware-stream/package.json index d484d459627..1b5d67c6766 100644 --- a/packages/json-rpc-middleware-stream/package.json +++ b/packages/json-rpc-middleware-stream/package.json @@ -74,6 +74,6 @@ "webextension-polyfill-ts": "^0.26.0" }, "engines": { - "node": "^18.18 || >=20" + "node": "^22.14.0 || ^24" } } diff --git a/packages/keyring-controller/CHANGELOG.md b/packages/keyring-controller/CHANGELOG.md index b337df693b2..16f30dd05fb 100644 --- a/packages/keyring-controller/CHANGELOG.md +++ b/packages/keyring-controller/CHANGELOG.md @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed +- **BREAKING:** Bump minimum Node.js version to 22 ([#9976](https://github.com/MetaMask/core/pull/9976)) - Bump `@metamask/eth-sig-util` from `^8.2.0` to `^9.0.0` ([#9999](https://github.com/MetaMask/core/pull/9999)) - Bump `@metamask/utils` from `^11.11.0` to `^11.12.0` ([#10076](https://github.com/MetaMask/core/pull/10076)) diff --git a/packages/keyring-controller/jest.config.js b/packages/keyring-controller/jest.config.js index 01ada25d53f..02289944e6f 100644 --- a/packages/keyring-controller/jest.config.js +++ b/packages/keyring-controller/jest.config.js @@ -23,7 +23,4 @@ module.exports = merge(baseConfig, { statements: 99.18, }, }, - - // These tests rely on the Crypto API - testEnvironment: '/jest.environment.js', }); diff --git a/packages/keyring-controller/jest.environment.js b/packages/keyring-controller/jest.environment.js deleted file mode 100644 index abe104a6a81..00000000000 --- a/packages/keyring-controller/jest.environment.js +++ /dev/null @@ -1,18 +0,0 @@ -const { TestEnvironment } = require('jest-environment-node'); - -/** - * KeyringController depends on @noble/hashes, which as of 1.3.2 relies on the - * Web Crypto API in Node and browsers. - */ -class CustomTestEnvironment extends TestEnvironment { - async setup() { - await super.setup(); - if (typeof this.global.crypto === 'undefined') { - // Only used for testing. - // eslint-disable-next-line n/no-unsupported-features/node-builtins - this.global.crypto = require('crypto').webcrypto; - } - } -} - -module.exports = CustomTestEnvironment; diff --git a/packages/keyring-controller/package.json b/packages/keyring-controller/package.json index 31103fa9855..736452f5c6a 100644 --- a/packages/keyring-controller/package.json +++ b/packages/keyring-controller/package.json @@ -84,7 +84,6 @@ "@types/jest": "^30.0.0", "deepmerge": "^4.2.2", "jest": "^30.4.2", - "jest-environment-node": "^30.4.1", "ts-jest": "^29.4.11", "tsx": "^4.20.5", "typedoc": "^0.25.13", @@ -93,7 +92,7 @@ "uuid": "^8.3.2" }, "engines": { - "node": "^18.18 || >=20" + "node": "^22.14.0 || ^24" }, "lavamoat": { "allowScripts": { diff --git a/packages/kyc-controller/CHANGELOG.md b/packages/kyc-controller/CHANGELOG.md index 893ef6ee44c..ed00d947c18 100644 --- a/packages/kyc-controller/CHANGELOG.md +++ b/packages/kyc-controller/CHANGELOG.md @@ -30,6 +30,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed +- **BREAKING:** Bump minimum Node.js version to 22 ([#9976](https://github.com/MetaMask/core/pull/9976)) - **BREAKING:** Rename `KycController` state field `accessToken` to `moonpayAccessToken` (MoonPay Auth-frame access token; `KycService.checkKycRequired` still accepts an `accessToken` parameter). ([#10062](https://github.com/MetaMask/core/pull/10062)) - **BREAKING:** Rename `KycController` state field `sessionToken` to `moonpaySessionToken` (MoonPay Check-frame session token; the Check-frame URL query parameter remains `sessionToken`). ([#10062](https://github.com/MetaMask/core/pull/10062)) - **BREAKING:** Replace persisted `termsAcceptedAt`, `acceptedDisclaimerIds`, and `termsAcceptedVendor` with `vendorDisclaimersAccepted`: a fixed map with `moonpay: { termsAcceptedAt } | null` and `iron: { disclaimerIds } | null` keys (default `{ moonpay: null, iron: null }`). ([#10062](https://github.com/MetaMask/core/pull/10062)) diff --git a/packages/kyc-controller/package.json b/packages/kyc-controller/package.json index 079edf29be3..6377103cea3 100644 --- a/packages/kyc-controller/package.json +++ b/packages/kyc-controller/package.json @@ -88,6 +88,6 @@ "typescript": "~5.3.3" }, "engines": { - "node": "^18.18 || >=20" + "node": "^22.14.0 || ^24" } } diff --git a/packages/local-node-utils/CHANGELOG.md b/packages/local-node-utils/CHANGELOG.md index a6197a256d6..6c0971b6ba7 100644 --- a/packages/local-node-utils/CHANGELOG.md +++ b/packages/local-node-utils/CHANGELOG.md @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Changed + +- **BREAKING:** Bump minimum Node.js version to 22 ([#9976](https://github.com/MetaMask/core/pull/9976)) + ## [1.0.0] ### Added diff --git a/packages/local-node-utils/package.json b/packages/local-node-utils/package.json index 575f2286b30..32d7d0c8375 100644 --- a/packages/local-node-utils/package.json +++ b/packages/local-node-utils/package.json @@ -71,6 +71,6 @@ "typescript": "~5.3.3" }, "engines": { - "node": "^18.18 || >=20" + "node": "^22.14.0 || ^24" } } diff --git a/packages/logging-controller/CHANGELOG.md b/packages/logging-controller/CHANGELOG.md index 7fcfc817bfa..cae05dc493d 100644 --- a/packages/logging-controller/CHANGELOG.md +++ b/packages/logging-controller/CHANGELOG.md @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed +- **BREAKING:** Bump minimum Node.js version to 22 ([#9976](https://github.com/MetaMask/core/pull/9976)) - Bump `@metamask/utils` from `^11.11.0` to `^11.12.0` ([#10076](https://github.com/MetaMask/core/pull/10076)) ## [9.0.0] diff --git a/packages/logging-controller/package.json b/packages/logging-controller/package.json index df47060856e..f71dec728cd 100644 --- a/packages/logging-controller/package.json +++ b/packages/logging-controller/package.json @@ -73,6 +73,6 @@ "typescript": "~5.3.3" }, "engines": { - "node": "^18.18 || >=20" + "node": "^22.14.0 || ^24" } } diff --git a/packages/message-manager/CHANGELOG.md b/packages/message-manager/CHANGELOG.md index 57712bfb78c..bb071a6f08a 100644 --- a/packages/message-manager/CHANGELOG.md +++ b/packages/message-manager/CHANGELOG.md @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed +- **BREAKING:** Bump minimum Node.js version to 22 ([#9976](https://github.com/MetaMask/core/pull/9976)) - Bump `@metamask/utils` from `^11.9.0` to `^11.12.0` ([#9074](https://github.com/MetaMask/core/pull/9074), [#10076](https://github.com/MetaMask/core/pull/10076)) - Bump `@metamask/controller-utils` from `^12.0.0` to `^12.3.0` ([#8774](https://github.com/MetaMask/core/pull/8774), [#9058](https://github.com/MetaMask/core/pull/9058), [#9083](https://github.com/MetaMask/core/pull/9083), [#9218](https://github.com/MetaMask/core/pull/9218)) - Bump `@metamask/messenger` from `^1.2.0` to `^2.0.0` ([#9392](https://github.com/MetaMask/core/pull/9392)) diff --git a/packages/message-manager/package.json b/packages/message-manager/package.json index b12366cf7d0..39d11e1c2a0 100644 --- a/packages/message-manager/package.json +++ b/packages/message-manager/package.json @@ -75,6 +75,6 @@ "typescript": "~5.3.3" }, "engines": { - "node": "^18.18 || >=20" + "node": "^22.14.0 || ^24" } } diff --git a/packages/messenger-cli/CHANGELOG.md b/packages/messenger-cli/CHANGELOG.md index 4f0871bb3e6..ca24d38770c 100644 --- a/packages/messenger-cli/CHANGELOG.md +++ b/packages/messenger-cli/CHANGELOG.md @@ -14,6 +14,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed +- **BREAKING:** Bump minimum Node.js version to 22 ([#9976](https://github.com/MetaMask/core/pull/9976)) - Bump `@metamask/utils` from `^11.9.0` to `^11.12.0` ([#9074](https://github.com/MetaMask/core/pull/9074), [#10076](https://github.com/MetaMask/core/pull/10076)) ## [0.2.0] diff --git a/packages/messenger-cli/package.json b/packages/messenger-cli/package.json index e0cbc27832d..c3ff3bdb2c1 100644 --- a/packages/messenger-cli/package.json +++ b/packages/messenger-cli/package.json @@ -71,6 +71,6 @@ } }, "engines": { - "node": "^18.18 || >=20" + "node": "^22.14.0 || ^24" } } diff --git a/packages/messenger/CHANGELOG.md b/packages/messenger/CHANGELOG.md index c0b538ae9fc..2ca351baeb2 100644 --- a/packages/messenger/CHANGELOG.md +++ b/packages/messenger/CHANGELOG.md @@ -15,6 +15,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed +- **BREAKING:** Bump minimum Node.js version to 22 ([#9976](https://github.com/MetaMask/core/pull/9976)) - Bump `@metamask/utils` from `^11.11.0` to `^11.12.0` ([#10076](https://github.com/MetaMask/core/pull/10076)) ### Fixed diff --git a/packages/messenger/package.json b/packages/messenger/package.json index 7bb7f8f8d16..ed68dfec313 100644 --- a/packages/messenger/package.json +++ b/packages/messenger/package.json @@ -77,6 +77,6 @@ "typescript": ">=5.0.0" }, "engines": { - "node": "^18.18 || >=20" + "node": "^22.14.0 || ^24" } } diff --git a/packages/money-account-api-data-service/CHANGELOG.md b/packages/money-account-api-data-service/CHANGELOG.md index 560d18b83c2..f4fd9c0a91b 100644 --- a/packages/money-account-api-data-service/CHANGELOG.md +++ b/packages/money-account-api-data-service/CHANGELOG.md @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed +- **BREAKING:** Bump minimum Node.js version to 22 ([#9976](https://github.com/MetaMask/core/pull/9976)) - Bump `@metamask/utils` from `^11.11.0` to `^11.12.0` ([#10076](https://github.com/MetaMask/core/pull/10076)) ## [0.4.1] diff --git a/packages/money-account-api-data-service/package.json b/packages/money-account-api-data-service/package.json index dd3a392d9ae..d9fa910596b 100644 --- a/packages/money-account-api-data-service/package.json +++ b/packages/money-account-api-data-service/package.json @@ -76,6 +76,6 @@ "typescript": "~5.3.3" }, "engines": { - "node": "^18.18 || >=20" + "node": "^22.14.0 || ^24" } } diff --git a/packages/money-account-balance-service/CHANGELOG.md b/packages/money-account-balance-service/CHANGELOG.md index c5f73b943a8..83158c4b176 100644 --- a/packages/money-account-balance-service/CHANGELOG.md +++ b/packages/money-account-balance-service/CHANGELOG.md @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed +- **BREAKING:** Bump minimum Node.js version to 22 ([#9976](https://github.com/MetaMask/core/pull/9976)) - Bump `@metamask/remote-feature-flag-controller` from `^6.0.0` to `^6.1.0` ([#9980](https://github.com/MetaMask/core/pull/9980)) - Bump `@metamask/utils` from `^11.11.0` to `^11.12.0` ([#10076](https://github.com/MetaMask/core/pull/10076)) diff --git a/packages/money-account-balance-service/package.json b/packages/money-account-balance-service/package.json index f6298648a2a..2f7df9e231b 100644 --- a/packages/money-account-balance-service/package.json +++ b/packages/money-account-balance-service/package.json @@ -81,6 +81,6 @@ "typescript": "~5.3.3" }, "engines": { - "node": "^18.18 || >=20" + "node": "^22.14.0 || ^24" } } diff --git a/packages/money-account-controller/CHANGELOG.md b/packages/money-account-controller/CHANGELOG.md index 8249b7783e9..490497c0679 100644 --- a/packages/money-account-controller/CHANGELOG.md +++ b/packages/money-account-controller/CHANGELOG.md @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed +- **BREAKING:** Bump minimum Node.js version to 22 ([#9976](https://github.com/MetaMask/core/pull/9976)) - Bump `@metamask/accounts-controller` from `^39.0.7` to `^39.1.1` ([#9807](https://github.com/MetaMask/core/pull/9807), [#9969](https://github.com/MetaMask/core/pull/9969)) ## [1.0.0] diff --git a/packages/money-account-controller/package.json b/packages/money-account-controller/package.json index bf51959f706..0ae04bd03c0 100644 --- a/packages/money-account-controller/package.json +++ b/packages/money-account-controller/package.json @@ -78,6 +78,6 @@ "typescript": "~5.3.3" }, "engines": { - "node": "^18.18 || >=20" + "node": "^22.14.0 || ^24" } } diff --git a/packages/money-account-upgrade-controller/CHANGELOG.md b/packages/money-account-upgrade-controller/CHANGELOG.md index d9fe3406497..c4b2b7a1c60 100644 --- a/packages/money-account-upgrade-controller/CHANGELOG.md +++ b/packages/money-account-upgrade-controller/CHANGELOG.md @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed +- **BREAKING:** Bump minimum Node.js version to 22 ([#9976](https://github.com/MetaMask/core/pull/9976)) - Bump `@metamask/authenticated-user-storage` from `^3.0.1` to `^3.0.2` ([#9972](https://github.com/MetaMask/core/pull/9972)) - Bump `@metamask/chomp-api-service` from `^4.0.0` to `^4.0.1` ([#9972](https://github.com/MetaMask/core/pull/9972)) - Bump `@metamask/utils` from `^11.11.0` to `^11.12.0` ([#10076](https://github.com/MetaMask/core/pull/10076)) diff --git a/packages/money-account-upgrade-controller/jest.config.js b/packages/money-account-upgrade-controller/jest.config.js index f5ba61687a0..1c5314007e1 100644 --- a/packages/money-account-upgrade-controller/jest.config.js +++ b/packages/money-account-upgrade-controller/jest.config.js @@ -20,5 +20,4 @@ module.exports = merge(baseConfig, { statements: 100, }, }, - testEnvironment: '/jest.environment.js', }); diff --git a/packages/money-account-upgrade-controller/jest.environment.js b/packages/money-account-upgrade-controller/jest.environment.js deleted file mode 100644 index a2ab37baeba..00000000000 --- a/packages/money-account-upgrade-controller/jest.environment.js +++ /dev/null @@ -1,18 +0,0 @@ -const { TestEnvironment } = require('jest-environment-node'); - -/** - * Some transitive dependencies rely on the Web Crypto API, which is not - * exposed as a global by jest-environment-node. - */ -class CustomTestEnvironment extends TestEnvironment { - async setup() { - await super.setup(); - if (typeof this.global.crypto === 'undefined') { - // Only used for testing. - // eslint-disable-next-line n/no-unsupported-features/node-builtins - this.global.crypto = require('crypto').webcrypto; - } - } -} - -module.exports = CustomTestEnvironment; diff --git a/packages/money-account-upgrade-controller/package.json b/packages/money-account-upgrade-controller/package.json index a1cb6ce7539..5f3c2d75a86 100644 --- a/packages/money-account-upgrade-controller/package.json +++ b/packages/money-account-upgrade-controller/package.json @@ -72,7 +72,6 @@ "@types/jest": "^30.0.0", "deepmerge": "^4.2.2", "jest": "^30.4.2", - "jest-environment-node": "^30.4.1", "ts-jest": "^29.4.11", "tsx": "^4.20.5", "typedoc": "^0.25.13", @@ -80,6 +79,6 @@ "typescript": "~5.3.3" }, "engines": { - "node": "^18.18 || >=20" + "node": "^22.14.0 || ^24" } } diff --git a/packages/money-account-utils/CHANGELOG.md b/packages/money-account-utils/CHANGELOG.md index a012cdedec9..d04264e117c 100644 --- a/packages/money-account-utils/CHANGELOG.md +++ b/packages/money-account-utils/CHANGELOG.md @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed +- **BREAKING:** Bump minimum Node.js version to 22 ([#9976](https://github.com/MetaMask/core/pull/9976)) - Bump `@metamask/transaction-controller` from `^69.4.0` to `^69.8.0` ([#9780](https://github.com/MetaMask/core/pull/9780), [#10080](https://github.com/MetaMask/core/pull/10080), [#9798](https://github.com/MetaMask/core/pull/9798), [#9823](https://github.com/MetaMask/core/pull/9823), [#9960](https://github.com/MetaMask/core/pull/9960), [#9969](https://github.com/MetaMask/core/pull/9969), [#10046](https://github.com/MetaMask/core/pull/10046)) - Bump `@metamask/utils` from `^11.11.0` to `^11.12.0` ([#10076](https://github.com/MetaMask/core/pull/10076)) diff --git a/packages/money-account-utils/package.json b/packages/money-account-utils/package.json index 94ee04e94f8..a9b75054dbc 100644 --- a/packages/money-account-utils/package.json +++ b/packages/money-account-utils/package.json @@ -74,6 +74,6 @@ "typescript": "~5.3.3" }, "engines": { - "node": "^18.18 || >=20" + "node": "^22.14.0 || ^24" } } diff --git a/packages/multichain-account-service/CHANGELOG.md b/packages/multichain-account-service/CHANGELOG.md index 5ba7c6d5455..98290d449a2 100644 --- a/packages/multichain-account-service/CHANGELOG.md +++ b/packages/multichain-account-service/CHANGELOG.md @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed +- **BREAKING:** Bump minimum Node.js version to 22 ([#9976](https://github.com/MetaMask/core/pull/9976)) - Bump `@metamask/accounts-controller` from `^39.1.0` to `^39.1.1` ([#9969](https://github.com/MetaMask/core/pull/9969)) - Bump `@metamask/utils` from `^11.11.0` to `^11.12.0` ([#10076](https://github.com/MetaMask/core/pull/10076)) diff --git a/packages/multichain-account-service/package.json b/packages/multichain-account-service/package.json index b349aa1b5ab..31ef3204acd 100644 --- a/packages/multichain-account-service/package.json +++ b/packages/multichain-account-service/package.json @@ -99,6 +99,6 @@ "webextension-polyfill": "^0.10.0 || ^0.11.0 || ^0.12.0" }, "engines": { - "node": "^18.18 || >=20" + "node": "^22.14.0 || ^24" } } diff --git a/packages/multichain-api-middleware/CHANGELOG.md b/packages/multichain-api-middleware/CHANGELOG.md index 3074c2ff612..7acf76bec37 100644 --- a/packages/multichain-api-middleware/CHANGELOG.md +++ b/packages/multichain-api-middleware/CHANGELOG.md @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed +- **BREAKING:** Bump minimum Node.js version to 22 ([#9976](https://github.com/MetaMask/core/pull/9976)) - Bump `@metamask/utils` from `^11.11.0` to `^11.12.0` ([#10076](https://github.com/MetaMask/core/pull/10076)) ## [4.0.3] diff --git a/packages/multichain-api-middleware/package.json b/packages/multichain-api-middleware/package.json index 5704cda5a1f..95229e441c9 100644 --- a/packages/multichain-api-middleware/package.json +++ b/packages/multichain-api-middleware/package.json @@ -83,6 +83,6 @@ "typescript": "~5.3.3" }, "engines": { - "node": "^18.18 || >=20" + "node": "^22.14.0 || ^24" } } diff --git a/packages/multichain-network-controller/CHANGELOG.md b/packages/multichain-network-controller/CHANGELOG.md index 20185e2afaa..4563b16558d 100644 --- a/packages/multichain-network-controller/CHANGELOG.md +++ b/packages/multichain-network-controller/CHANGELOG.md @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed +- **BREAKING:** Bump minimum Node.js version to 22 ([#9976](https://github.com/MetaMask/core/pull/9976)) - Bump `@metamask/utils` from `^11.11.0` to `^11.12.0` ([#10076](https://github.com/MetaMask/core/pull/10076)) ## [3.2.4] diff --git a/packages/multichain-network-controller/package.json b/packages/multichain-network-controller/package.json index 9ece33b4a24..1d3f449b792 100644 --- a/packages/multichain-network-controller/package.json +++ b/packages/multichain-network-controller/package.json @@ -85,6 +85,6 @@ "typescript": "~5.3.3" }, "engines": { - "node": "^18.18 || >=20" + "node": "^22.14.0 || ^24" } } diff --git a/packages/multichain-transactions-controller/CHANGELOG.md b/packages/multichain-transactions-controller/CHANGELOG.md index 7e93b50cd5a..acf5819043b 100644 --- a/packages/multichain-transactions-controller/CHANGELOG.md +++ b/packages/multichain-transactions-controller/CHANGELOG.md @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed +- **BREAKING:** Bump minimum Node.js version to 22 ([#9976](https://github.com/MetaMask/core/pull/9976)) - Bump `@metamask/accounts-controller` from `^39.0.7` to `^39.1.1` ([#9807](https://github.com/MetaMask/core/pull/9807), [#9969](https://github.com/MetaMask/core/pull/9969)) - Bump `@metamask/utils` from `^11.11.0` to `^11.12.0` ([#10076](https://github.com/MetaMask/core/pull/10076)) diff --git a/packages/multichain-transactions-controller/package.json b/packages/multichain-transactions-controller/package.json index 4e0f127f182..e347775c9a0 100644 --- a/packages/multichain-transactions-controller/package.json +++ b/packages/multichain-transactions-controller/package.json @@ -84,6 +84,6 @@ "typescript": "~5.3.3" }, "engines": { - "node": "^18.18 || >=20" + "node": "^22.14.0 || ^24" } } diff --git a/packages/name-controller/CHANGELOG.md b/packages/name-controller/CHANGELOG.md index e078285a5b7..b4e653de0d5 100644 --- a/packages/name-controller/CHANGELOG.md +++ b/packages/name-controller/CHANGELOG.md @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed +- **BREAKING:** Bump minimum Node.js version to 22 ([#9976](https://github.com/MetaMask/core/pull/9976)) - Bump `@metamask/utils` from `^11.9.0` to `^11.12.0` ([#9074](https://github.com/MetaMask/core/pull/9074), [#10076](https://github.com/MetaMask/core/pull/10076)) - Bump `@metamask/controller-utils` from `^12.0.0` to `^12.3.0` ([#8774](https://github.com/MetaMask/core/pull/8774), [#9058](https://github.com/MetaMask/core/pull/9058), [#9083](https://github.com/MetaMask/core/pull/9083), [#9218](https://github.com/MetaMask/core/pull/9218)) - Bump `@metamask/messenger` from `^1.2.0` to `^2.0.0` ([#9392](https://github.com/MetaMask/core/pull/9392)) diff --git a/packages/name-controller/package.json b/packages/name-controller/package.json index cf8d04fefc4..b016c8dd726 100644 --- a/packages/name-controller/package.json +++ b/packages/name-controller/package.json @@ -75,6 +75,6 @@ "typescript": "~5.3.3" }, "engines": { - "node": "^18.18 || >=20" + "node": "^22.14.0 || ^24" } } diff --git a/packages/network-connection-banner-controller/CHANGELOG.md b/packages/network-connection-banner-controller/CHANGELOG.md index aa2f81432c5..b0aeb9fe0d1 100644 --- a/packages/network-connection-banner-controller/CHANGELOG.md +++ b/packages/network-connection-banner-controller/CHANGELOG.md @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed +- **BREAKING:** Bump minimum Node.js version to 22 ([#9976](https://github.com/MetaMask/core/pull/9976)) - Bump `@metamask/utils` from `^11.11.0` to `^11.12.0` ([#10076](https://github.com/MetaMask/core/pull/10076)) ## [0.2.1] diff --git a/packages/network-connection-banner-controller/package.json b/packages/network-connection-banner-controller/package.json index 3b8ef775cac..c3d7d0569c6 100644 --- a/packages/network-connection-banner-controller/package.json +++ b/packages/network-connection-banner-controller/package.json @@ -78,6 +78,6 @@ "typescript": "~5.3.3" }, "engines": { - "node": "^18.18 || >=20" + "node": "^22.14.0 || ^24" } } diff --git a/packages/network-controller/CHANGELOG.md b/packages/network-controller/CHANGELOG.md index 2dc94f5421b..af99f851b36 100644 --- a/packages/network-controller/CHANGELOG.md +++ b/packages/network-controller/CHANGELOG.md @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed +- **BREAKING:** Bump minimum Node.js version to 22 ([#9976](https://github.com/MetaMask/core/pull/9976)) - Bump `@metamask/remote-feature-flag-controller` from `^6.0.0` to `^6.1.0` ([#9980](https://github.com/MetaMask/core/pull/9980)) - Bump `@metamask/eth-json-rpc-middleware` from `^24.0.1` to `^24.0.2` ([#10040](https://github.com/MetaMask/core/pull/10040)) - Bump `@metamask/utils` from `^11.11.0` to `^11.12.0` ([#10076](https://github.com/MetaMask/core/pull/10076)) diff --git a/packages/network-controller/package.json b/packages/network-controller/package.json index 8796a7755a7..25e00ec1d3e 100644 --- a/packages/network-controller/package.json +++ b/packages/network-controller/package.json @@ -103,6 +103,6 @@ "typescript": "~5.3.3" }, "engines": { - "node": "^18.18 || >=20" + "node": "^22.14.0 || ^24" } } diff --git a/packages/network-enablement-controller/CHANGELOG.md b/packages/network-enablement-controller/CHANGELOG.md index fb45734cee0..15580311bfc 100644 --- a/packages/network-enablement-controller/CHANGELOG.md +++ b/packages/network-enablement-controller/CHANGELOG.md @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed +- **BREAKING:** Bump minimum Node.js version to 22 ([#9976](https://github.com/MetaMask/core/pull/9976)) - Bump `@metamask/transaction-controller` from `^69.6.1` to `^69.8.0` ([#10046](https://github.com/MetaMask/core/pull/10046), [#10080](https://github.com/MetaMask/core/pull/10080)) - Bump `@metamask/utils` from `^11.11.0` to `^11.12.0` ([#10076](https://github.com/MetaMask/core/pull/10076)) diff --git a/packages/network-enablement-controller/package.json b/packages/network-enablement-controller/package.json index 5a0f4f5d57b..a8e70c605e0 100644 --- a/packages/network-enablement-controller/package.json +++ b/packages/network-enablement-controller/package.json @@ -80,6 +80,6 @@ "typescript": "~5.3.3" }, "engines": { - "node": "^18.18 || >=20" + "node": "^22.14.0 || ^24" } } diff --git a/packages/notification-services-controller/CHANGELOG.md b/packages/notification-services-controller/CHANGELOG.md index bae2820e832..591abaf5662 100644 --- a/packages/notification-services-controller/CHANGELOG.md +++ b/packages/notification-services-controller/CHANGELOG.md @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Changed + +- **BREAKING:** Bump minimum Node.js version to 22 ([#9976](https://github.com/MetaMask/core/pull/9976)) + ## [27.0.0] ### Changed diff --git a/packages/notification-services-controller/jest.environment.js b/packages/notification-services-controller/jest.environment.js index f67bb89df5d..6912db1b177 100644 --- a/packages/notification-services-controller/jest.environment.js +++ b/packages/notification-services-controller/jest.environment.js @@ -17,12 +17,6 @@ class CustomTestEnvironment extends TestEnvironment { this.global.TextDecoder = TextDecoder; this.global.ArrayBuffer = ArrayBuffer; this.global.Uint8Array = Uint8Array; - - if (typeof this.global.crypto === 'undefined') { - // jest runs in a node environment, so need to polyfil webAPIs - // eslint-disable-next-line n/no-unsupported-features/node-builtins - this.global.crypto = require('crypto').webcrypto; - } } } diff --git a/packages/notification-services-controller/package.json b/packages/notification-services-controller/package.json index 58fcdf1369a..8ba45b0d3e6 100644 --- a/packages/notification-services-controller/package.json +++ b/packages/notification-services-controller/package.json @@ -143,6 +143,6 @@ "typescript": "~5.3.3" }, "engines": { - "node": "^18.18 || >=20" + "node": "^22.14.0 || ^24" } } diff --git a/packages/passkey-controller/CHANGELOG.md b/packages/passkey-controller/CHANGELOG.md index bb06e87a5d6..1f64eaa4242 100644 --- a/packages/passkey-controller/CHANGELOG.md +++ b/packages/passkey-controller/CHANGELOG.md @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed +- **BREAKING:** Bump minimum Node.js version to 22 ([#9976](https://github.com/MetaMask/core/pull/9976)) - Bump `@metamask/utils` from `^11.11.0` to `^11.12.0` ([#10076](https://github.com/MetaMask/core/pull/10076)) ## [3.1.0] diff --git a/packages/passkey-controller/jest.config.js b/packages/passkey-controller/jest.config.js index b402d0883c2..0f5e11a7b84 100644 --- a/packages/passkey-controller/jest.config.js +++ b/packages/passkey-controller/jest.config.js @@ -7,7 +7,6 @@ const displayName = path.basename(__dirname); module.exports = merge(baseConfig, { displayName, - testEnvironment: '/jest.environment.js', coverageThreshold: { global: { branches: 99.27, diff --git a/packages/passkey-controller/jest.environment.js b/packages/passkey-controller/jest.environment.js deleted file mode 100644 index c3b47d5c246..00000000000 --- a/packages/passkey-controller/jest.environment.js +++ /dev/null @@ -1,17 +0,0 @@ -const { TestEnvironment } = require('jest-environment-node'); - -/** - * Passkey orchestration uses the Web Crypto API (`crypto.getRandomValues`) in Node tests. - */ -class CustomTestEnvironment extends TestEnvironment { - async setup() { - await super.setup(); - if (typeof this.global.crypto === 'undefined') { - // Only used for testing. - // eslint-disable-next-line n/no-unsupported-features/node-builtins - this.global.crypto = require('crypto').webcrypto; - } - } -} - -module.exports = CustomTestEnvironment; diff --git a/packages/passkey-controller/package.json b/packages/passkey-controller/package.json index be9640e7bea..0d158a7e2d5 100644 --- a/packages/passkey-controller/package.json +++ b/packages/passkey-controller/package.json @@ -72,7 +72,6 @@ "@types/jest": "^30.0.0", "deepmerge": "^4.2.2", "jest": "^30.4.2", - "jest-environment-node": "^30.4.1", "ts-jest": "^29.4.11", "tsx": "^4.20.5", "typedoc": "^0.25.13", @@ -80,6 +79,6 @@ "typescript": "~5.3.3" }, "engines": { - "node": "^18.18 || >=20" + "node": "^22.14.0 || ^24" } } diff --git a/packages/permission-controller/CHANGELOG.md b/packages/permission-controller/CHANGELOG.md index fcbdf217e2f..9d93f092a1c 100644 --- a/packages/permission-controller/CHANGELOG.md +++ b/packages/permission-controller/CHANGELOG.md @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed +- **BREAKING:** Bump minimum Node.js version to 22 ([#9976](https://github.com/MetaMask/core/pull/9976)) - Bump `@metamask/utils` from `^11.9.0` to `^11.12.0` ([#9074](https://github.com/MetaMask/core/pull/9074), [#10076](https://github.com/MetaMask/core/pull/10076)) - Bump `@metamask/controller-utils` from `^12.0.0` to `^12.3.0` ([#8774](https://github.com/MetaMask/core/pull/8774), [#9058](https://github.com/MetaMask/core/pull/9058), [#9083](https://github.com/MetaMask/core/pull/9083), [#9218](https://github.com/MetaMask/core/pull/9218)) - Bump `@metamask/approval-controller` from `^9.0.1` to `^9.0.2` ([#9058](https://github.com/MetaMask/core/pull/9058)) diff --git a/packages/permission-controller/package.json b/packages/permission-controller/package.json index 0c445701ea3..2be01330905 100644 --- a/packages/permission-controller/package.json +++ b/packages/permission-controller/package.json @@ -80,6 +80,6 @@ "typescript": "~5.3.3" }, "engines": { - "node": "^18.18 || >=20" + "node": "^22.14.0 || ^24" } } diff --git a/packages/permission-log-controller/CHANGELOG.md b/packages/permission-log-controller/CHANGELOG.md index 5e1953010af..2808f8bdba7 100644 --- a/packages/permission-log-controller/CHANGELOG.md +++ b/packages/permission-log-controller/CHANGELOG.md @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed +- **BREAKING:** Bump minimum Node.js version to 22 ([#9976](https://github.com/MetaMask/core/pull/9976)) - Bump `@metamask/utils` from `^11.9.0` to `^11.12.0` ([#9074](https://github.com/MetaMask/core/pull/9074), [#10076](https://github.com/MetaMask/core/pull/10076)) - Bump `@metamask/json-rpc-engine` from `^10.2.4` to `^10.5.0` ([#8661](https://github.com/MetaMask/core/pull/8661), [#8746](https://github.com/MetaMask/core/pull/8746), [#8753](https://github.com/MetaMask/core/pull/8753)) - Bump `@metamask/messenger` from `^1.0.0` to `^2.0.0` ([#8364](https://github.com/MetaMask/core/pull/8364), [#8373](https://github.com/MetaMask/core/pull/8373), [#8632](https://github.com/MetaMask/core/pull/8632), [#9392](https://github.com/MetaMask/core/pull/9392)) diff --git a/packages/permission-log-controller/package.json b/packages/permission-log-controller/package.json index 9381537b89c..b24aa825e53 100644 --- a/packages/permission-log-controller/package.json +++ b/packages/permission-log-controller/package.json @@ -76,6 +76,6 @@ "typescript": "~5.3.3" }, "engines": { - "node": "^18.18 || >=20" + "node": "^22.14.0 || ^24" } } diff --git a/packages/perps-controller/CHANGELOG.md b/packages/perps-controller/CHANGELOG.md index 59f73c128f2..1101e31d3e4 100644 --- a/packages/perps-controller/CHANGELOG.md +++ b/packages/perps-controller/CHANGELOG.md @@ -13,6 +13,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed +- **BREAKING:** Bump minimum Node.js version to 22 ([#9976](https://github.com/MetaMask/core/pull/9976)) - Bump `@metamask/transaction-controller` from `^69.7.0` to `^69.8.0` ([#10080](https://github.com/MetaMask/core/pull/10080)) - Bump `@metamask/utils` from `^11.11.0` to `^11.12.0` ([#10076](https://github.com/MetaMask/core/pull/10076)) diff --git a/packages/perps-controller/package.json b/packages/perps-controller/package.json index 0f67753a7a1..847ba5193ce 100644 --- a/packages/perps-controller/package.json +++ b/packages/perps-controller/package.json @@ -130,6 +130,6 @@ "viem": "^2.55.8" }, "engines": { - "node": "^18.18 || >=20" + "node": "^22.14.0 || ^24" } } diff --git a/packages/phishing-controller/CHANGELOG.md b/packages/phishing-controller/CHANGELOG.md index 3e1c34b6124..aae877003b7 100644 --- a/packages/phishing-controller/CHANGELOG.md +++ b/packages/phishing-controller/CHANGELOG.md @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Changed + +- **BREAKING:** Bump minimum Node.js version to 22 ([#9976](https://github.com/MetaMask/core/pull/9976)) + ## [17.4.1] ### Changed @@ -266,7 +270,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Bump `@metamask/base-controller` from `^8.0.1` to `^8.4.0` ([#6284](https://github.com/MetaMask/core/pull/6284), [#6355](https://github.com/MetaMask/core/pull/6355), [#6465](https://github.com/MetaMask/core/pull/6465), [#6632](https://github.com/MetaMask/core/pull/6632)) - Bump `@metamask/controller-utils` from `^11.11.0` to `^11.14.0` ([#6303](https://github.com/MetaMask/core/pull/6303), [#6620](https://github.com/MetaMask/core/pull/6620), [#6629](https://github.com/MetaMask/core/pull/6629)) - - Bump `@noble/hashes` from `^1.4.0` to `^1.8.0` ([#6101](https://github.com/MetaMask/core/pull/6101)) ## [13.1.0] diff --git a/packages/phishing-controller/package.json b/packages/phishing-controller/package.json index 455b3c13134..e91d5922ad1 100644 --- a/packages/phishing-controller/package.json +++ b/packages/phishing-controller/package.json @@ -80,6 +80,6 @@ "typescript": "~5.3.3" }, "engines": { - "node": "^18.18 || >=20" + "node": "^22.14.0 || ^24" } } diff --git a/packages/platform-api-docs/CHANGELOG.md b/packages/platform-api-docs/CHANGELOG.md index 6e3cfcc96a2..32701fa0718 100644 --- a/packages/platform-api-docs/CHANGELOG.md +++ b/packages/platform-api-docs/CHANGELOG.md @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed +- **BREAKING:** Bump minimum Node.js version to 22 ([#9976](https://github.com/MetaMask/core/pull/9976)) - Speed up documentation generation by loading source files in bulk instead of one at a time ([#9990](https://github.com/MetaMask/core/pull/9990)) - Bump `@metamask/utils` from `^11.11.0` to `^11.12.0` ([#10076](https://github.com/MetaMask/core/pull/10076)) diff --git a/packages/platform-api-docs/package.json b/packages/platform-api-docs/package.json index ee0976ce058..b0d52be93b2 100644 --- a/packages/platform-api-docs/package.json +++ b/packages/platform-api-docs/package.json @@ -60,7 +60,7 @@ "@metamask/auto-changelog": "^6.1.0", "@ts-bridge/cli": "^0.6.4", "@types/jest": "^30.0.0", - "@types/node": "^16.18.54", + "@types/node": "^22.13.14", "@types/npm-which": "^3", "@types/react": "^19.0.0", "@types/yargs": "^17.0.32", @@ -71,6 +71,6 @@ "typescript": "~5.3.3" }, "engines": { - "node": "^18.18 || >=20" + "node": "^22.14.0 || ^24" } } diff --git a/packages/platform-api-docs/src/cli.ts b/packages/platform-api-docs/src/cli.ts index bd1d62a0ce3..577c9e0d51e 100644 --- a/packages/platform-api-docs/src/cli.ts +++ b/packages/platform-api-docs/src/cli.ts @@ -110,10 +110,6 @@ async function setupSite(outDir: string): Promise { console.log(`\nSetting up Docusaurus site in ${outDir}...`); - // `fs.cp` has been available since Node 16.7 and only got the "stable" - // marker in 22.3 — it's functional throughout our supported Node range - // (`^18.18 || >=20`), even though the linter flags the older versions. - // eslint-disable-next-line n/no-unsupported-features/node-builtins await fs.cp(siteDir, outDir, { recursive: true, filter: (source) => !skip.has(path.basename(source)), diff --git a/packages/polling-controller/CHANGELOG.md b/packages/polling-controller/CHANGELOG.md index f23eb254fc0..c8d396ec484 100644 --- a/packages/polling-controller/CHANGELOG.md +++ b/packages/polling-controller/CHANGELOG.md @@ -13,6 +13,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed +- **BREAKING:** Bump minimum Node.js version to 22 ([#9976](https://github.com/MetaMask/core/pull/9976)) - Bump `@metamask/network-controller` from `^35.0.0` to `^35.0.1` ([#9758](https://github.com/MetaMask/core/pull/9758)) - Bump `@metamask/utils` from `^11.11.0` to `^11.12.0` ([#10076](https://github.com/MetaMask/core/pull/10076)) diff --git a/packages/polling-controller/package.json b/packages/polling-controller/package.json index 212b89a8fca..2cfc8d1095d 100644 --- a/packages/polling-controller/package.json +++ b/packages/polling-controller/package.json @@ -73,6 +73,6 @@ "typescript": "~5.3.3" }, "engines": { - "node": "^18.18 || >=20" + "node": "^22.14.0 || ^24" } } diff --git a/packages/preferences-controller/CHANGELOG.md b/packages/preferences-controller/CHANGELOG.md index 6a20f6ccbb6..84ad4951418 100644 --- a/packages/preferences-controller/CHANGELOG.md +++ b/packages/preferences-controller/CHANGELOG.md @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed +- **BREAKING:** Bump minimum Node.js version to 22 ([#9976](https://github.com/MetaMask/core/pull/9976)) - Bump `@metamask/utils` from `^11.9.0` to `^11.11.0` ([#9074](https://github.com/MetaMask/core/pull/9074)) - Bump `@metamask/messenger` from `^1.0.0` to `^2.0.0` ([#8364](https://github.com/MetaMask/core/pull/8364), [#8373](https://github.com/MetaMask/core/pull/8373), [#8632](https://github.com/MetaMask/core/pull/8632), [#9392](https://github.com/MetaMask/core/pull/9392)) - Bump `@metamask/base-controller` from `^9.0.1` to `^9.1.0` ([#8457](https://github.com/MetaMask/core/pull/8457)) diff --git a/packages/preferences-controller/package.json b/packages/preferences-controller/package.json index ce5882f657a..47d7120f053 100644 --- a/packages/preferences-controller/package.json +++ b/packages/preferences-controller/package.json @@ -72,6 +72,6 @@ "typescript": "~5.3.3" }, "engines": { - "node": "^18.18 || >=20" + "node": "^22.14.0 || ^24" } } diff --git a/packages/profile-metrics-controller/CHANGELOG.md b/packages/profile-metrics-controller/CHANGELOG.md index 4b71836b9b9..10e2211ad45 100644 --- a/packages/profile-metrics-controller/CHANGELOG.md +++ b/packages/profile-metrics-controller/CHANGELOG.md @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed +- **BREAKING:** Bump minimum Node.js version to 22 ([#9976](https://github.com/MetaMask/core/pull/9976)) - Bump `@metamask/transaction-controller` from `^69.4.0` to `^69.8.0` ([#9780](https://github.com/MetaMask/core/pull/9780), [#10080](https://github.com/MetaMask/core/pull/10080), [#9798](https://github.com/MetaMask/core/pull/9798), [#9823](https://github.com/MetaMask/core/pull/9823), [#9960](https://github.com/MetaMask/core/pull/9960), [#9969](https://github.com/MetaMask/core/pull/9969), [#10046](https://github.com/MetaMask/core/pull/10046)) - Bump `@metamask/superstruct` from `^3.1.0` to `^3.4.1` ([#9754](https://github.com/MetaMask/core/pull/9754)) - Bump `@metamask/accounts-controller` from `^39.0.6` to `^39.1.1` ([#9791](https://github.com/MetaMask/core/pull/9791), [#9807](https://github.com/MetaMask/core/pull/9807), [#9969](https://github.com/MetaMask/core/pull/9969)) diff --git a/packages/profile-metrics-controller/package.json b/packages/profile-metrics-controller/package.json index 06025bc4d43..be09230ca19 100644 --- a/packages/profile-metrics-controller/package.json +++ b/packages/profile-metrics-controller/package.json @@ -86,6 +86,6 @@ "typescript": "~5.3.3" }, "engines": { - "node": "^18.18 || >=20" + "node": "^22.14.0 || ^24" } } diff --git a/packages/profile-sync-controller/CHANGELOG.md b/packages/profile-sync-controller/CHANGELOG.md index 48b54489ee5..74e069caf74 100644 --- a/packages/profile-sync-controller/CHANGELOG.md +++ b/packages/profile-sync-controller/CHANGELOG.md @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed +- **BREAKING:** Bump minimum Node.js version to 22 ([#9976](https://github.com/MetaMask/core/pull/9976)) - **BREAKING:** Derive auth and user-storage message-signing keys natively via SIP-6 from HD keyring seeds instead of calling `@metamask/message-signing-snap` through `SnapController`. `AuthenticationController` and `UserStorageController` now require `KeyringController:withKeyringV2Unsafe` and no longer call `SnapController:handleRequest`. The message-signing snap remains for Portfolio / external origins ([#9824](https://github.com/MetaMask/core/pull/9824)) - Derive native SIP-6 keys with `@noble/hashes` HMAC-SHA-512 instead of Web Crypto, so auth works on React Native, whose SubtleCrypto cannot HMAC. - Resolve HD entropy source IDs from `KeyringController` instead of the message-signing snap (`getBearerToken` primary ID, `performSignIn` SRP enumeration) ([#9794](https://github.com/MetaMask/core/pull/9794)) diff --git a/packages/profile-sync-controller/jest.environment.js b/packages/profile-sync-controller/jest.environment.js index 2e6fb2965b7..e4b95026d29 100644 --- a/packages/profile-sync-controller/jest.environment.js +++ b/packages/profile-sync-controller/jest.environment.js @@ -18,11 +18,6 @@ class CustomTestEnvironment extends TestEnvironment { this.global.TextDecoder = TextDecoder; this.global.ArrayBuffer = ArrayBuffer; this.global.Uint8Array = Uint8Array; - - if (typeof this.global.crypto === 'undefined') { - // eslint-disable-next-line n/no-unsupported-features/node-builtins - this.global.crypto = require('crypto').webcrypto; - } } } diff --git a/packages/profile-sync-controller/package.json b/packages/profile-sync-controller/package.json index 4e17af21e0d..499f01d7da2 100644 --- a/packages/profile-sync-controller/package.json +++ b/packages/profile-sync-controller/package.json @@ -149,7 +149,7 @@ "webextension-polyfill": "^0.10.0 || ^0.11.0 || ^0.12.0" }, "engines": { - "node": "^18.18 || >=20" + "node": "^22.14.0 || ^24" }, "lavamoat": { "allowScripts": {} diff --git a/packages/ramps-controller/CHANGELOG.md b/packages/ramps-controller/CHANGELOG.md index d61b6aa2e9b..db69428e802 100644 --- a/packages/ramps-controller/CHANGELOG.md +++ b/packages/ramps-controller/CHANGELOG.md @@ -13,6 +13,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Add `RampsController` autoramp last-seen cursor and Money Account wallet registration: persisted `autoramps` state, `createAutoramp` / `refreshAutoramp(s)` / `applyAutorampStatusFromPush`, `registerMoneyAccountWallet`, and `RampsController:autorampStatusChanged`. MoonPay remains the source of truth; hosts should call `refreshAutoramps` on resume to catch webhooks missed while the app was closed. Hosts must delegate `RAMPS_CONTROLLER_REQUIRED_CONTROLLER_ACTIONS` (`AuthenticationController:getSessionProfile`, `KeyringController:signPersonalMessage`, `RemoteFeatureFlagController:getState`) plus the NeoBank actions listed in `RAMPS_CONTROLLER_REQUIRED_SERVICE_ACTIONS`. ([#10032](https://github.com/MetaMask/core/pull/10032)) +### Changed + +- **BREAKING:** Bump minimum Node.js version to 22 ([#9976](https://github.com/MetaMask/core/pull/9976)) + ## [20.2.0] ### Added diff --git a/packages/ramps-controller/package.json b/packages/ramps-controller/package.json index 65c885df3d5..f7d66e0c4c3 100644 --- a/packages/ramps-controller/package.json +++ b/packages/ramps-controller/package.json @@ -76,6 +76,6 @@ "typescript": "~5.3.3" }, "engines": { - "node": "^18.18 || >=20" + "node": "^22.14.0 || ^24" } } diff --git a/packages/rate-limit-controller/CHANGELOG.md b/packages/rate-limit-controller/CHANGELOG.md index d55af2c41c4..3428ce2a523 100644 --- a/packages/rate-limit-controller/CHANGELOG.md +++ b/packages/rate-limit-controller/CHANGELOG.md @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed +- **BREAKING:** Bump minimum Node.js version to 22 ([#9976](https://github.com/MetaMask/core/pull/9976)) - Bump `@metamask/utils` from `^11.9.0` to `^11.12.0` ([#9074](https://github.com/MetaMask/core/pull/9074), [#10076](https://github.com/MetaMask/core/pull/10076)) - Bump `@metamask/messenger` from `^1.0.0` to `^2.0.0` ([#8364](https://github.com/MetaMask/core/pull/8364), [#8373](https://github.com/MetaMask/core/pull/8373), [#8632](https://github.com/MetaMask/core/pull/8632), [#9392](https://github.com/MetaMask/core/pull/9392)) - Bump `@metamask/base-controller` from `^9.0.1` to `^9.1.0` ([#8457](https://github.com/MetaMask/core/pull/8457)) diff --git a/packages/rate-limit-controller/package.json b/packages/rate-limit-controller/package.json index 21ad7c9fd32..5a5b4406431 100644 --- a/packages/rate-limit-controller/package.json +++ b/packages/rate-limit-controller/package.json @@ -71,6 +71,6 @@ "typescript": "~5.3.3" }, "engines": { - "node": "^18.18 || >=20" + "node": "^22.14.0 || ^24" } } diff --git a/packages/react-data-query/CHANGELOG.md b/packages/react-data-query/CHANGELOG.md index 336906ecf80..a2a137d968f 100644 --- a/packages/react-data-query/CHANGELOG.md +++ b/packages/react-data-query/CHANGELOG.md @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed +- **BREAKING:** Bump minimum Node.js version to 22 ([#9976](https://github.com/MetaMask/core/pull/9976)) - Bump `@metamask/utils` from `^11.11.0` to `^11.12.0` ([#10076](https://github.com/MetaMask/core/pull/10076)) ## [1.0.0] diff --git a/packages/react-data-query/package.json b/packages/react-data-query/package.json index 865158bc0bc..7a7d1107e8b 100644 --- a/packages/react-data-query/package.json +++ b/packages/react-data-query/package.json @@ -85,6 +85,6 @@ } }, "engines": { - "node": "^18.18 || >=20" + "node": "^22.14.0 || ^24" } } diff --git a/packages/remote-feature-flag-controller/CHANGELOG.md b/packages/remote-feature-flag-controller/CHANGELOG.md index a78753a1bde..9ff93aa9255 100644 --- a/packages/remote-feature-flag-controller/CHANGELOG.md +++ b/packages/remote-feature-flag-controller/CHANGELOG.md @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed +- **BREAKING:** Bump minimum Node.js version to 22 ([#9976](https://github.com/MetaMask/core/pull/9976)) - Bump `@metamask/utils` from `^11.11.0` to `^11.12.0` ([#10076](https://github.com/MetaMask/core/pull/10076)) ## [6.1.0] diff --git a/packages/remote-feature-flag-controller/package.json b/packages/remote-feature-flag-controller/package.json index 35f0edc51c7..bb01c656746 100644 --- a/packages/remote-feature-flag-controller/package.json +++ b/packages/remote-feature-flag-controller/package.json @@ -76,6 +76,6 @@ "typescript": "~5.3.3" }, "engines": { - "node": "^18.18 || >=20" + "node": "^22.14.0 || ^24" } } diff --git a/packages/sample-controllers/CHANGELOG.md b/packages/sample-controllers/CHANGELOG.md index 0883caa19e2..449006ffbda 100644 --- a/packages/sample-controllers/CHANGELOG.md +++ b/packages/sample-controllers/CHANGELOG.md @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed +- **BREAKING:** Bump minimum Node.js version to 22 ([#9976](https://github.com/MetaMask/core/pull/9976)) - Bump `@metamask/utils` from `^11.11.0` to `^11.12.0` ([#10076](https://github.com/MetaMask/core/pull/10076)) ## [5.0.6] diff --git a/packages/sample-controllers/package.json b/packages/sample-controllers/package.json index 43a2b2a5593..003b91b150a 100644 --- a/packages/sample-controllers/package.json +++ b/packages/sample-controllers/package.json @@ -78,6 +78,6 @@ "typescript": "~5.3.3" }, "engines": { - "node": "^18.18 || >=20" + "node": "^22.14.0 || ^24" } } diff --git a/packages/seedless-onboarding-controller/CHANGELOG.md b/packages/seedless-onboarding-controller/CHANGELOG.md index eb101fee7a6..c472e873de9 100644 --- a/packages/seedless-onboarding-controller/CHANGELOG.md +++ b/packages/seedless-onboarding-controller/CHANGELOG.md @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed +- **BREAKING:** Bump minimum Node.js version to 22 ([#9976](https://github.com/MetaMask/core/pull/9976)) - Bump `@metamask/keyring-controller` from `^27.1.0` to `^27.1.1` ([#9791](https://github.com/MetaMask/core/pull/9791)) - Bump `@metamask/utils` from `^11.11.0` to `^11.12.0` ([#10076](https://github.com/MetaMask/core/pull/10076)) diff --git a/packages/seedless-onboarding-controller/jest.config.js b/packages/seedless-onboarding-controller/jest.config.js index b279b2830f8..ff67b94d816 100644 --- a/packages/seedless-onboarding-controller/jest.config.js +++ b/packages/seedless-onboarding-controller/jest.config.js @@ -23,7 +23,4 @@ module.exports = merge(baseConfig, { statements: 100, }, }, - - // These tests rely on the Crypto API - testEnvironment: '/jest.environment.js', }); diff --git a/packages/seedless-onboarding-controller/jest.environment.js b/packages/seedless-onboarding-controller/jest.environment.js deleted file mode 100644 index 96293a73a3f..00000000000 --- a/packages/seedless-onboarding-controller/jest.environment.js +++ /dev/null @@ -1,17 +0,0 @@ -const { TestEnvironment } = require('jest-environment-node'); - -/** - * SeedlessOnboardingController depends on @noble/hashes, which as of 1.7.1 relies on the - * Web Crypto API in Node and browsers. - */ -class CustomTestEnvironment extends TestEnvironment { - async setup() { - await super.setup(); - if (typeof this.global.crypto === 'undefined') { - // eslint-disable-next-line n/no-unsupported-features/node-builtins -- this is a test environment - this.global.crypto = require('crypto').webcrypto; - } - } -} - -module.exports = CustomTestEnvironment; diff --git a/packages/seedless-onboarding-controller/package.json b/packages/seedless-onboarding-controller/package.json index b5aa0becacb..5e36d7095b7 100644 --- a/packages/seedless-onboarding-controller/package.json +++ b/packages/seedless-onboarding-controller/package.json @@ -77,7 +77,6 @@ "@types/json-stable-stringify-without-jsonify": "^1.0.2", "deepmerge": "^4.2.2", "jest": "^30.4.2", - "jest-environment-node": "^30.4.1", "nock": "^13.3.1", "ts-jest": "^29.4.11", "tsx": "^4.20.5", @@ -86,7 +85,7 @@ "typescript": "~5.3.3" }, "engines": { - "node": "^18.18 || >=20" + "node": "^22.14.0 || ^24" }, "lavamoat": { "allowScripts": { diff --git a/packages/selected-network-controller/CHANGELOG.md b/packages/selected-network-controller/CHANGELOG.md index f2ca307940f..430a1afc9e5 100644 --- a/packages/selected-network-controller/CHANGELOG.md +++ b/packages/selected-network-controller/CHANGELOG.md @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed +- **BREAKING:** Bump minimum Node.js version to 22 ([#9976](https://github.com/MetaMask/core/pull/9976)) - Bump `@metamask/utils` from `^11.11.0` to `^11.12.0` ([#10076](https://github.com/MetaMask/core/pull/10076)) ## [26.1.7] diff --git a/packages/selected-network-controller/package.json b/packages/selected-network-controller/package.json index 80a98c9f78b..0d62f1dbc2a 100644 --- a/packages/selected-network-controller/package.json +++ b/packages/selected-network-controller/package.json @@ -80,6 +80,6 @@ "typescript": "~5.3.3" }, "engines": { - "node": "^18.18 || >=20" + "node": "^22.14.0 || ^24" } } diff --git a/packages/sentinel-api-service/CHANGELOG.md b/packages/sentinel-api-service/CHANGELOG.md index 7072d446e72..6c9b79f39ec 100644 --- a/packages/sentinel-api-service/CHANGELOG.md +++ b/packages/sentinel-api-service/CHANGELOG.md @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed +- **BREAKING:** Bump minimum Node.js version to 22 ([#9976](https://github.com/MetaMask/core/pull/9976)) - Bump `@metamask/utils` from `^11.11.0` to `^11.12.0` ([#10076](https://github.com/MetaMask/core/pull/10076)) ## [1.0.1] diff --git a/packages/sentinel-api-service/package.json b/packages/sentinel-api-service/package.json index a32f82f827e..769833fe298 100644 --- a/packages/sentinel-api-service/package.json +++ b/packages/sentinel-api-service/package.json @@ -76,6 +76,6 @@ "typescript": "~5.3.3" }, "engines": { - "node": "^18.18 || >=20" + "node": "^22.14.0 || ^24" } } diff --git a/packages/shield-controller/CHANGELOG.md b/packages/shield-controller/CHANGELOG.md index 35d8287c46c..5bd58450624 100644 --- a/packages/shield-controller/CHANGELOG.md +++ b/packages/shield-controller/CHANGELOG.md @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed +- **BREAKING:** Bump minimum Node.js version to 22 ([#9976](https://github.com/MetaMask/core/pull/9976)) - Bump `@metamask/transaction-controller` from `^69.6.1` to `^69.8.0` ([#10046](https://github.com/MetaMask/core/pull/10046), [#10080](https://github.com/MetaMask/core/pull/10080)) - Bump `@metamask/utils` from `^11.11.0` to `^11.12.0` ([#10076](https://github.com/MetaMask/core/pull/10076)) diff --git a/packages/shield-controller/package.json b/packages/shield-controller/package.json index fc21b932fdf..c06f97bee5e 100644 --- a/packages/shield-controller/package.json +++ b/packages/shield-controller/package.json @@ -84,7 +84,7 @@ "uuid": "^8.3.2" }, "engines": { - "node": "^18.18 || >=20" + "node": "^22.14.0 || ^24" }, "lavamoat": { "allowScripts": { diff --git a/packages/signature-controller/CHANGELOG.md b/packages/signature-controller/CHANGELOG.md index 16f1f7c0861..c84c40f709c 100644 --- a/packages/signature-controller/CHANGELOG.md +++ b/packages/signature-controller/CHANGELOG.md @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed +- **BREAKING:** Bump minimum Node.js version to 22 ([#9976](https://github.com/MetaMask/core/pull/9976)) - Bump `@metamask/eth-sig-util` from `^8.2.0` to `^9.0.0` ([#9999](https://github.com/MetaMask/core/pull/9999)) - Bump `@metamask/utils` from `^11.11.0` to `^11.12.0` ([#10076](https://github.com/MetaMask/core/pull/10076)) diff --git a/packages/signature-controller/package.json b/packages/signature-controller/package.json index cb75ce13f12..655ddb93990 100644 --- a/packages/signature-controller/package.json +++ b/packages/signature-controller/package.json @@ -83,6 +83,6 @@ "typescript": "~5.3.3" }, "engines": { - "node": "^18.18 || >=20" + "node": "^22.14.0 || ^24" } } diff --git a/packages/smart-transactions-controller/CHANGELOG.md b/packages/smart-transactions-controller/CHANGELOG.md index 7d0a65c6d58..eece27df4ee 100644 --- a/packages/smart-transactions-controller/CHANGELOG.md +++ b/packages/smart-transactions-controller/CHANGELOG.md @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed +- **BREAKING:** Bump minimum Node.js version to 22 ([#9976](https://github.com/MetaMask/core/pull/9976)) - Bump `@metamask/transaction-controller` from `^69.6.1` to `^69.8.0` ([#10046](https://github.com/MetaMask/core/pull/10046), [#10080](https://github.com/MetaMask/core/pull/10080)) - Bump `@metamask/utils` from `^11.11.0` to `^11.12.0` ([#10076](https://github.com/MetaMask/core/pull/10076)) diff --git a/packages/smart-transactions-controller/package.json b/packages/smart-transactions-controller/package.json index 7fe92a27130..a494bd93e30 100644 --- a/packages/smart-transactions-controller/package.json +++ b/packages/smart-transactions-controller/package.json @@ -89,6 +89,6 @@ "typescript": "~5.3.3" }, "engines": { - "node": "^18.18 || >=20" + "node": "^22.14.0 || ^24" } } diff --git a/packages/snap-account-service/CHANGELOG.md b/packages/snap-account-service/CHANGELOG.md index a17cceb609f..c11250ea163 100644 --- a/packages/snap-account-service/CHANGELOG.md +++ b/packages/snap-account-service/CHANGELOG.md @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed +- **BREAKING:** Bump minimum Node.js version to 22 ([#9976](https://github.com/MetaMask/core/pull/9976)) - Bump `@metamask/utils` from `^11.11.0` to `^11.12.0` ([#10076](https://github.com/MetaMask/core/pull/10076)) ## [2.1.2] diff --git a/packages/snap-account-service/package.json b/packages/snap-account-service/package.json index 67df3bb665b..18961694201 100644 --- a/packages/snap-account-service/package.json +++ b/packages/snap-account-service/package.json @@ -81,6 +81,6 @@ "typescript": "~5.3.3" }, "engines": { - "node": "^18.18 || >=20" + "node": "^22.14.0 || ^24" } } diff --git a/packages/social-controllers/CHANGELOG.md b/packages/social-controllers/CHANGELOG.md index bb03a1c297f..0b7b9847844 100644 --- a/packages/social-controllers/CHANGELOG.md +++ b/packages/social-controllers/CHANGELOG.md @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Changed + +- **BREAKING:** Bump minimum Node.js version to 22 ([#9976](https://github.com/MetaMask/core/pull/9976)) + ## [2.8.0] ### Added diff --git a/packages/social-controllers/package.json b/packages/social-controllers/package.json index a9f344aa06e..4c0e0dff245 100644 --- a/packages/social-controllers/package.json +++ b/packages/social-controllers/package.json @@ -75,6 +75,6 @@ "typescript": "~5.3.3" }, "engines": { - "node": "^18.18 || >=20" + "node": "^22.14.0 || ^24" } } diff --git a/packages/solana-test-validator-up/CHANGELOG.md b/packages/solana-test-validator-up/CHANGELOG.md index e57892ba85d..854b66c5bab 100644 --- a/packages/solana-test-validator-up/CHANGELOG.md +++ b/packages/solana-test-validator-up/CHANGELOG.md @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Changed + +- **BREAKING:** Bump minimum Node.js version to 22 ([#9976](https://github.com/MetaMask/core/pull/9976)) + ## [1.0.0] ### Added diff --git a/packages/solana-test-validator-up/package.json b/packages/solana-test-validator-up/package.json index a485ba0c6d0..3e0cee63644 100644 --- a/packages/solana-test-validator-up/package.json +++ b/packages/solana-test-validator-up/package.json @@ -71,6 +71,6 @@ "typescript": "~5.3.3" }, "engines": { - "node": "^18.18 || >=20" + "node": "^22.14.0 || ^24" } } diff --git a/packages/stellar-quickstart-up/CHANGELOG.md b/packages/stellar-quickstart-up/CHANGELOG.md index b518709c7b8..7d3ae898bdb 100644 --- a/packages/stellar-quickstart-up/CHANGELOG.md +++ b/packages/stellar-quickstart-up/CHANGELOG.md @@ -7,4 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Changed + +- **BREAKING:** Bump minimum Node.js version to 22 ([#9976](https://github.com/MetaMask/core/pull/9976)) + [Unreleased]: https://github.com/MetaMask/core/ diff --git a/packages/stellar-quickstart-up/package.json b/packages/stellar-quickstart-up/package.json index 951440b417e..33a3c170510 100644 --- a/packages/stellar-quickstart-up/package.json +++ b/packages/stellar-quickstart-up/package.json @@ -67,6 +67,6 @@ "typescript": "~5.3.3" }, "engines": { - "node": "^18.18 || >=20" + "node": "^22.14.0 || ^24" } } diff --git a/packages/storage-service/CHANGELOG.md b/packages/storage-service/CHANGELOG.md index 4b8dfd758a6..e6c103975cf 100644 --- a/packages/storage-service/CHANGELOG.md +++ b/packages/storage-service/CHANGELOG.md @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed +- **BREAKING:** Bump minimum Node.js version to 22 ([#9976](https://github.com/MetaMask/core/pull/9976)) - Bump `@metamask/utils` from `^11.9.0` to `^11.12.0` ([#9074](https://github.com/MetaMask/core/pull/9074), [#10076](https://github.com/MetaMask/core/pull/10076)) - Bump `@metamask/messenger` from `^1.2.0` to `^2.0.0` ([#9392](https://github.com/MetaMask/core/pull/9392)) diff --git a/packages/storage-service/package.json b/packages/storage-service/package.json index 82bdd837c4b..f0ccd775d77 100644 --- a/packages/storage-service/package.json +++ b/packages/storage-service/package.json @@ -71,6 +71,6 @@ "typescript": "~5.3.3" }, "engines": { - "node": "^18.18 || >=20" + "node": "^22.14.0 || ^24" } } diff --git a/packages/subscription-controller/CHANGELOG.md b/packages/subscription-controller/CHANGELOG.md index a4eb042f69a..8dc1050ecea 100644 --- a/packages/subscription-controller/CHANGELOG.md +++ b/packages/subscription-controller/CHANGELOG.md @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed +- **BREAKING:** Bump minimum Node.js version to 22 ([#9976](https://github.com/MetaMask/core/pull/9976)) - Bump `@metamask/transaction-controller` from `^69.6.1` to `^69.8.0` ([#10046](https://github.com/MetaMask/core/pull/10046), [#10080](https://github.com/MetaMask/core/pull/10080)) - Bump `@metamask/utils` from `^11.11.0` to `^11.12.0` ([#10076](https://github.com/MetaMask/core/pull/10076)) diff --git a/packages/subscription-controller/package.json b/packages/subscription-controller/package.json index 4a0ff223d87..5b73fcb2dad 100644 --- a/packages/subscription-controller/package.json +++ b/packages/subscription-controller/package.json @@ -80,6 +80,6 @@ "typescript": "~5.3.3" }, "engines": { - "node": "^18.18 || >=20" + "node": "^22.14.0 || ^24" } } diff --git a/packages/transaction-controller/CHANGELOG.md b/packages/transaction-controller/CHANGELOG.md index 5c2913b6fe9..a21d58d0e03 100644 --- a/packages/transaction-controller/CHANGELOG.md +++ b/packages/transaction-controller/CHANGELOG.md @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Changed + +- **BREAKING:** Bump minimum Node.js version to 22 ([#9976](https://github.com/MetaMask/core/pull/9976)) + ## [69.8.0] ### Added diff --git a/packages/transaction-controller/package.json b/packages/transaction-controller/package.json index 7dabc34646c..58c7c9b92b4 100644 --- a/packages/transaction-controller/package.json +++ b/packages/transaction-controller/package.json @@ -94,7 +94,7 @@ "@ts-bridge/cli": "^0.6.4", "@types/bn.js": "^5.1.5", "@types/jest": "^30.0.0", - "@types/node": "^16.18.54", + "@types/node": "^22.13.14", "deepmerge": "^4.2.2", "immer": "^9.0.6", "jest": "^30.4.2", @@ -111,6 +111,6 @@ "@metamask/eth-block-tracker": ">=9" }, "engines": { - "node": "^18.18 || >=20" + "node": "^22.14.0 || ^24" } } diff --git a/packages/transaction-pay-controller/CHANGELOG.md b/packages/transaction-pay-controller/CHANGELOG.md index 23457af289f..1a14b608890 100644 --- a/packages/transaction-pay-controller/CHANGELOG.md +++ b/packages/transaction-pay-controller/CHANGELOG.md @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed +- **BREAKING:** Bump minimum Node.js version to 22 ([#9976](https://github.com/MetaMask/core/pull/9976)) - Bump `@metamask/transaction-controller` from `^69.7.0` to `^69.8.0` ([#10080](https://github.com/MetaMask/core/pull/10080)) - Bump `@metamask/utils` from `^11.11.0` to `^11.12.0` ([#10076](https://github.com/MetaMask/core/pull/10076)) diff --git a/packages/transaction-pay-controller/package.json b/packages/transaction-pay-controller/package.json index d3c4b1356c7..8bec81ada3b 100644 --- a/packages/transaction-pay-controller/package.json +++ b/packages/transaction-pay-controller/package.json @@ -91,6 +91,6 @@ "typescript": "~5.3.3" }, "engines": { - "node": "^18.18 || >=20" + "node": "^22.14.0 || ^24" } } diff --git a/packages/user-operation-controller/CHANGELOG.md b/packages/user-operation-controller/CHANGELOG.md index 3faa7dcf1fc..92c26ec8836 100644 --- a/packages/user-operation-controller/CHANGELOG.md +++ b/packages/user-operation-controller/CHANGELOG.md @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed +- **BREAKING:** Bump minimum Node.js version to 22 ([#9976](https://github.com/MetaMask/core/pull/9976)) - Bump `@metamask/transaction-controller` from `^69.6.1` to `^69.8.0` ([#10046](https://github.com/MetaMask/core/pull/10046), [#10080](https://github.com/MetaMask/core/pull/10080)) - Bump `@metamask/utils` from `^11.11.0` to `^11.12.0` ([#10076](https://github.com/MetaMask/core/pull/10076)) diff --git a/packages/user-operation-controller/package.json b/packages/user-operation-controller/package.json index 814799a39ef..aa015a4290f 100644 --- a/packages/user-operation-controller/package.json +++ b/packages/user-operation-controller/package.json @@ -91,6 +91,6 @@ "@metamask/eth-block-tracker": ">=9" }, "engines": { - "node": "^18.18 || >=20" + "node": "^22.14.0 || ^24" } } diff --git a/packages/wallet-cli/CHANGELOG.md b/packages/wallet-cli/CHANGELOG.md index af23f4d6a02..c65c12c8b9a 100644 --- a/packages/wallet-cli/CHANGELOG.md +++ b/packages/wallet-cli/CHANGELOG.md @@ -27,6 +27,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed +- **BREAKING:** Bump minimum Node.js version to 22 ([#9976](https://github.com/MetaMask/core/pull/9976)) - The daemon client (`sendCommand`) now retries only on `ECONNREFUSED`, not `ECONNRESET`, since a reset can drop after the daemon has already acted on a request — re-sending could execute a non-idempotent action (e.g. a transaction broadcast) twice ([#9608](https://github.com/MetaMask/core/pull/9608)) - `--password` / `MM_WALLET_PASSWORD` is now optional on `mm daemon start`; on subsequent runs, omitting it starts the daemon with a locked keyring, and the persisted vault is auto-unlocked when a password is supplied ([#8821](https://github.com/MetaMask/core/pull/8821)) - The daemon RPC server now validates `params` against each handler's superstruct before dispatch, returning a `-32602 invalidParams` error on mismatch instead of passing raw params to the handler ([#8846](https://github.com/MetaMask/core/pull/8846)) diff --git a/packages/wallet-cli/package.json b/packages/wallet-cli/package.json index 735df797d91..cd7bee7acaf 100644 --- a/packages/wallet-cli/package.json +++ b/packages/wallet-cli/package.json @@ -85,6 +85,6 @@ "topicSeparator": " " }, "engines": { - "node": ">=20" + "node": "^22.14.0 || ^24" } } diff --git a/packages/wallet-framework-docs/package.json b/packages/wallet-framework-docs/package.json index 6399ac41204..ebc2e8ed354 100644 --- a/packages/wallet-framework-docs/package.json +++ b/packages/wallet-framework-docs/package.json @@ -67,6 +67,6 @@ "typescript": "~5.3.3" }, "engines": { - "node": "^18.18 || >=20" + "node": "^22.14.0 || ^24" } } diff --git a/packages/wallet/CHANGELOG.md b/packages/wallet/CHANGELOG.md index e1ed662f0d3..54bd3bbda91 100644 --- a/packages/wallet/CHANGELOG.md +++ b/packages/wallet/CHANGELOG.md @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed +- **BREAKING:** Bump minimum Node.js version to 22 ([#9976](https://github.com/MetaMask/core/pull/9976)) - Bump `@metamask/claims-controller` from `^0.6.0` to `^0.6.1` ([#9972](https://github.com/MetaMask/core/pull/9972)) - Bump `@metamask/shield-controller` from `^6.0.0` to `^6.0.1` ([#9972](https://github.com/MetaMask/core/pull/9972)) - Bump `@metamask/subscription-controller` from `^8.0.0` to `^8.0.1` ([#9972](https://github.com/MetaMask/core/pull/9972)) diff --git a/packages/wallet/package.json b/packages/wallet/package.json index 7904f3abd83..4c2691492ff 100644 --- a/packages/wallet/package.json +++ b/packages/wallet/package.json @@ -91,6 +91,6 @@ "typescript": "~5.3.3" }, "engines": { - "node": "^18.18 || >=20" + "node": "^22.14.0 || ^24" } } diff --git a/packages/wallet/src/Wallet.test.ts b/packages/wallet/src/Wallet.test.ts index d8b24b7c2b4..2ffc6db1922 100644 --- a/packages/wallet/src/Wallet.test.ts +++ b/packages/wallet/src/Wallet.test.ts @@ -8,7 +8,6 @@ import { } from '@metamask/shield-controller'; import { InMemoryStorageAdapter } from '@metamask/storage-service'; import { Json } from '@metamask/utils'; -import { webcrypto } from 'crypto'; import MockEncryptor from '../../keyring-controller/tests/mocks/mockEncryptor.js'; import * as initializationModule from './initialization/initialization.js'; @@ -58,19 +57,6 @@ async function setupWallet(): Promise { } describe('Wallet', () => { - beforeAll(() => { - // We can remove this once we drop Node 18 - // eslint-disable-next-line n/no-unsupported-features/node-builtins - globalThis.crypto ??= webcrypto as typeof globalThis.crypto; - - // eslint-disable-next-line no-restricted-syntax - if (!('CryptoKey' in globalThis)) { - Object.defineProperty(globalThis, 'CryptoKey', { - value: webcrypto.CryptoKey, - }); - } - }); - it('exposes state', async () => { const wallet = await setupWallet(); const { state } = wallet; diff --git a/packages/wallet/src/initialization/instances/keyring-controller/encryptor.test.ts b/packages/wallet/src/initialization/instances/keyring-controller/encryptor.test.ts index 29e75a0b2d4..011736efc7c 100644 --- a/packages/wallet/src/initialization/instances/keyring-controller/encryptor.test.ts +++ b/packages/wallet/src/initialization/instances/keyring-controller/encryptor.test.ts @@ -1,21 +1,6 @@ -import { webcrypto } from 'crypto'; - import { encryptorFactory } from './encryptor.js'; describe('encryptorFactory', () => { - beforeAll(() => { - // We can remove this once we drop Node 18 - // eslint-disable-next-line n/no-unsupported-features/node-builtins - globalThis.crypto ??= webcrypto as typeof globalThis.crypto; - - // eslint-disable-next-line no-restricted-syntax - if (!('CryptoKey' in globalThis)) { - Object.defineProperty(globalThis, 'CryptoKey', { - value: webcrypto.CryptoKey, - }); - } - }); - const encryptor = encryptorFactory(600_000); it('encrypts/decrypts using a password', async () => { diff --git a/yarn.config.cjs b/yarn.config.cjs index 2b55c2fd360..fd44537397a 100644 --- a/yarn.config.cjs +++ b/yarn.config.cjs @@ -262,15 +262,8 @@ module.exports = defineConfig({ expectYarnPackageManager(workspace); } - // All packages must specify a minimum Node.js version of 18.18. - // @metamask/wallet-cli depends on `better-sqlite3`, which only ships - // prebuilt binaries for Node 20+; bumping its declared minimum keeps the - // engines field honest. - if (workspace.ident === '@metamask/wallet-cli') { - expectWorkspaceField(workspace, 'engines.node', '>=20'); - } else { - expectWorkspaceField(workspace, 'engines.node', '^18.18 || >=20'); - } + // All packages must specify a minimum Node.js version of 22. + expectWorkspaceField(workspace, 'engines.node', '^22.14.0 || ^24'); // All non-root public packages should be published to the NPM registry; // all non-root private packages should not. diff --git a/yarn.lock b/yarn.lock index 16ede8012a3..d5e28b0ffaa 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5916,7 +5916,7 @@ __metadata: "@types/bn.js": "npm:^5.1.5" "@types/jest": "npm:^30.0.0" "@types/lodash": "npm:^4.14.191" - "@types/node": "npm:^16.18.54" + "@types/node": "npm:^22.13.14" "@types/uuid": "npm:^8.3.0" async-mutex: "npm:^0.5.0" bitcoin-address-validation: "npm:^2.2.3" @@ -6529,7 +6529,7 @@ __metadata: "@ts-bridge/cli": "npm:^0.6.4" "@types/jest": "npm:^30.0.0" "@types/lodash": "npm:^4.14.191" - "@types/node": "npm:^16.18.54" + "@types/node": "npm:^22.13.14" "@types/semver": "npm:^7" "@typescript-eslint/eslint-plugin": "npm:^8.48.0" "@typescript-eslint/parser": "npm:^8.48.0" @@ -7427,7 +7427,6 @@ __metadata: ethereumjs-wallet: "npm:^1.0.1" immer: "npm:^9.0.6" jest: "npm:^30.4.2" - jest-environment-node: "npm:^30.4.1" lodash: "npm:^4.17.21" ts-jest: "npm:^29.4.11" tsx: "npm:^4.20.5" @@ -7798,7 +7797,6 @@ __metadata: "@types/jest": "npm:^30.0.0" deepmerge: "npm:^4.2.2" jest: "npm:^30.4.2" - jest-environment-node: "npm:^30.4.1" ts-jest: "npm:^29.4.11" tsx: "npm:^4.20.5" typedoc: "npm:^0.25.13" @@ -8189,7 +8187,6 @@ __metadata: async-mutex: "npm:^0.5.0" deepmerge: "npm:^4.2.2" jest: "npm:^30.4.2" - jest-environment-node: "npm:^30.4.1" ts-jest: "npm:^29.4.11" tsx: "npm:^4.20.5" typedoc: "npm:^0.25.13" @@ -8350,7 +8347,7 @@ __metadata: "@metamask/utils": "npm:^11.12.0" "@ts-bridge/cli": "npm:^0.6.4" "@types/jest": "npm:^30.0.0" - "@types/node": "npm:^16.18.54" + "@types/node": "npm:^22.13.14" "@types/npm-which": "npm:^3" "@types/react": "npm:^19.0.0" "@types/yargs": "npm:^17.0.32" @@ -8698,7 +8695,6 @@ __metadata: async-mutex: "npm:^0.5.0" deepmerge: "npm:^4.2.2" jest: "npm:^30.4.2" - jest-environment-node: "npm:^30.4.1" nock: "npm:^13.3.1" ts-jest: "npm:^29.4.11" tsx: "npm:^4.20.5" @@ -9201,7 +9197,7 @@ __metadata: "@ts-bridge/cli": "npm:^0.6.4" "@types/bn.js": "npm:^5.1.5" "@types/jest": "npm:^30.0.0" - "@types/node": "npm:^16.18.54" + "@types/node": "npm:^22.13.14" async-mutex: "npm:^0.5.0" bignumber.js: "npm:^9.1.2" bn.js: "npm:^5.2.1" @@ -11914,7 +11910,16 @@ __metadata: languageName: node linkType: hard -"@types/node@npm:*, @types/node@npm:22.7.5, @types/node@npm:>=12.12.47, @types/node@npm:>=13.7.0": +"@types/node@npm:*, @types/node@npm:>=12.12.47, @types/node@npm:>=13.7.0, @types/node@npm:^22.13.14": + version: 22.20.1 + resolution: "@types/node@npm:22.20.1" + dependencies: + undici-types: "npm:~6.21.0" + checksum: 10/0949e49d0383569ebd1222a2f65a9adb9328a6a6dbed459a02cdb37c61147755386c004c4ffbe436de59f5859df1774b1dd6bf168f7aeee46884bb190e0c384f + languageName: node + linkType: hard + +"@types/node@npm:22.7.5": version: 22.7.5 resolution: "@types/node@npm:22.7.5" dependencies: @@ -11923,13 +11928,6 @@ __metadata: languageName: node linkType: hard -"@types/node@npm:^16.18.54": - version: 16.18.106 - resolution: "@types/node@npm:16.18.106" - checksum: 10/1970719a048bfc56554f8e132e8e5292c197d6e023d334190b0d3817a05a12bfb6537eaa24778ddb695d2073195f0545e5a4b6bcaf81b656994bbca39f349c3b - languageName: node - linkType: hard - "@types/node@npm:^17.0.5": version: 17.0.45 resolution: "@types/node@npm:17.0.45" @@ -26889,6 +26887,13 @@ __metadata: languageName: node linkType: hard +"undici-types@npm:~6.21.0": + version: 6.21.0 + resolution: "undici-types@npm:6.21.0" + checksum: 10/ec8f41aa4359d50f9b59fa61fe3efce3477cc681908c8f84354d8567bb3701fafdddf36ef6bff307024d3feb42c837cf6f670314ba37fc8145e219560e473d14 + languageName: node + linkType: hard + "undici@npm:^6.23.0": version: 6.28.0 resolution: "undici@npm:6.28.0"