diff --git a/constraints.pro b/constraints.pro index f8dfea6ca7..53563d5ab4 100644 --- a/constraints.pro +++ b/constraints.pro @@ -384,7 +384,7 @@ gen_enforced_dependency(WorkspaceCwd, DependencyIdent, CorrectPeerDependencyRang ). % All packages must specify a minimum Node version of 18. -gen_enforced_field(WorkspaceCwd, 'engines.node', '>=18.18 || >=20'). +gen_enforced_field(WorkspaceCwd, 'engines.node', '^18.18 || >=20'). % All published packages are public. gen_enforced_field(WorkspaceCwd, 'publishConfig.access', 'public') :- diff --git a/package.json b/package.json index 2f5cde06be..c244be1171 100644 --- a/package.json +++ b/package.json @@ -85,7 +85,7 @@ }, "packageManager": "yarn@3.3.0", "engines": { - "node": ">=18.18 || >=20" + "node": "^18.18 || >=20" }, "lavamoat": { "allowScripts": { diff --git a/packages/accounts-controller/package.json b/packages/accounts-controller/package.json index 9a48787b74..a9615c2623 100644 --- a/packages/accounts-controller/package.json +++ b/packages/accounts-controller/package.json @@ -59,7 +59,7 @@ "@metamask/snaps-controllers": "^4.0.0" }, "engines": { - "node": ">=18.18 || >=20" + "node": "^18.18 || >=20" }, "publishConfig": { "access": "public", diff --git a/packages/address-book-controller/package.json b/packages/address-book-controller/package.json index 6e37097812..f448299fdb 100644 --- a/packages/address-book-controller/package.json +++ b/packages/address-book-controller/package.json @@ -46,7 +46,7 @@ "typescript": "~4.8.4" }, "engines": { - "node": ">=18.18 || >=20" + "node": "^18.18 || >=20" }, "publishConfig": { "access": "public", diff --git a/packages/announcement-controller/package.json b/packages/announcement-controller/package.json index e3cbbbe710..92e507addd 100644 --- a/packages/announcement-controller/package.json +++ b/packages/announcement-controller/package.json @@ -44,7 +44,7 @@ "typescript": "~4.8.4" }, "engines": { - "node": ">=18.18 || >=20" + "node": "^18.18 || >=20" }, "publishConfig": { "access": "public", diff --git a/packages/approval-controller/package.json b/packages/approval-controller/package.json index 02c632e598..9fa474ebe1 100644 --- a/packages/approval-controller/package.json +++ b/packages/approval-controller/package.json @@ -48,7 +48,7 @@ "typescript": "~4.8.4" }, "engines": { - "node": ">=18.18 || >=20" + "node": "^18.18 || >=20" }, "publishConfig": { "access": "public", diff --git a/packages/assets-controllers/package.json b/packages/assets-controllers/package.json index f7849c55ee..6e848a1d71 100644 --- a/packages/assets-controllers/package.json +++ b/packages/assets-controllers/package.json @@ -83,7 +83,7 @@ "@metamask/preferences-controller": "^7.0.0" }, "engines": { - "node": ">=18.18 || >=20" + "node": "^18.18 || >=20" }, "publishConfig": { "access": "public", diff --git a/packages/base-controller/package.json b/packages/base-controller/package.json index f6b4072a12..5685c69ab0 100644 --- a/packages/base-controller/package.json +++ b/packages/base-controller/package.json @@ -47,7 +47,7 @@ "typescript": "~4.8.4" }, "engines": { - "node": ">=18.18 || >=20" + "node": "^18.18 || >=20" }, "publishConfig": { "access": "public", diff --git a/packages/build-utils/package.json b/packages/build-utils/package.json index 876b90a073..98a1626132 100644 --- a/packages/build-utils/package.json +++ b/packages/build-utils/package.json @@ -46,7 +46,7 @@ "typescript": "~4.8.4" }, "engines": { - "node": ">=18.18 || >=20" + "node": "^18.18 || >=20" }, "publishConfig": { "access": "public", diff --git a/packages/composable-controller/package.json b/packages/composable-controller/package.json index 24633c1471..ebcb6ae1c6 100644 --- a/packages/composable-controller/package.json +++ b/packages/composable-controller/package.json @@ -46,7 +46,7 @@ "typescript": "~4.8.4" }, "engines": { - "node": ">=18.18 || >=20" + "node": "^18.18 || >=20" }, "publishConfig": { "access": "public", diff --git a/packages/controller-utils/package.json b/packages/controller-utils/package.json index 660f840f0d..40dc855ba1 100644 --- a/packages/controller-utils/package.json +++ b/packages/controller-utils/package.json @@ -52,7 +52,7 @@ "typescript": "~4.8.4" }, "engines": { - "node": ">=18.18 || >=20" + "node": "^18.18 || >=20" }, "publishConfig": { "access": "public", diff --git a/packages/ens-controller/package.json b/packages/ens-controller/package.json index b38b584013..6073e85780 100644 --- a/packages/ens-controller/package.json +++ b/packages/ens-controller/package.json @@ -53,7 +53,7 @@ "@metamask/network-controller": "^17.2.0" }, "engines": { - "node": ">=18.18 || >=20" + "node": "^18.18 || >=20" }, "publishConfig": { "access": "public", diff --git a/packages/eth-json-rpc-provider/package.json b/packages/eth-json-rpc-provider/package.json index 6800caa2ed..ec66eaa703 100644 --- a/packages/eth-json-rpc-provider/package.json +++ b/packages/eth-json-rpc-provider/package.json @@ -54,7 +54,7 @@ }, "packageManager": "yarn@3.3.0", "engines": { - "node": ">=18.18 || >=20" + "node": "^18.18 || >=20" }, "publishConfig": { "access": "public", diff --git a/packages/gas-fee-controller/package.json b/packages/gas-fee-controller/package.json index 0264ada2d9..b408798c4a 100644 --- a/packages/gas-fee-controller/package.json +++ b/packages/gas-fee-controller/package.json @@ -60,7 +60,7 @@ "@metamask/network-controller": "^17.2.0" }, "engines": { - "node": ">=18.18 || >=20" + "node": "^18.18 || >=20" }, "publishConfig": { "access": "public", diff --git a/packages/json-rpc-engine/package.json b/packages/json-rpc-engine/package.json index 987173fb4b..29b454e5b0 100644 --- a/packages/json-rpc-engine/package.json +++ b/packages/json-rpc-engine/package.json @@ -59,7 +59,7 @@ }, "packageManager": "yarn@3.3.0", "engines": { - "node": ">=18.18 || >=20" + "node": "^18.18 || >=20" }, "publishConfig": { "access": "public", diff --git a/packages/json-rpc-middleware-stream/package.json b/packages/json-rpc-middleware-stream/package.json index 92b4959689..4d9c790e05 100644 --- a/packages/json-rpc-middleware-stream/package.json +++ b/packages/json-rpc-middleware-stream/package.json @@ -51,7 +51,7 @@ "webextension-polyfill-ts": "^0.26.0" }, "engines": { - "node": ">=18.18 || >=20" + "node": "^18.18 || >=20" }, "publishConfig": { "access": "public", diff --git a/packages/keyring-controller/package.json b/packages/keyring-controller/package.json index 6c0e8fda11..f4f68be49c 100644 --- a/packages/keyring-controller/package.json +++ b/packages/keyring-controller/package.json @@ -64,7 +64,7 @@ "uuid": "^8.3.2" }, "engines": { - "node": ">=18.18 || >=20" + "node": "^18.18 || >=20" }, "publishConfig": { "access": "public", diff --git a/packages/logging-controller/package.json b/packages/logging-controller/package.json index 4fd4c7d0d6..0cbd6c0cd8 100644 --- a/packages/logging-controller/package.json +++ b/packages/logging-controller/package.json @@ -46,7 +46,7 @@ "typescript": "~4.8.4" }, "engines": { - "node": ">=18.18 || >=20" + "node": "^18.18 || >=20" }, "publishConfig": { "access": "public", diff --git a/packages/message-manager/package.json b/packages/message-manager/package.json index c8b9c52a66..6bda7d195f 100644 --- a/packages/message-manager/package.json +++ b/packages/message-manager/package.json @@ -51,7 +51,7 @@ "typescript": "~4.8.4" }, "engines": { - "node": ">=18.18 || >=20" + "node": "^18.18 || >=20" }, "publishConfig": { "access": "public", diff --git a/packages/name-controller/package.json b/packages/name-controller/package.json index febf3062cb..4f300f227a 100644 --- a/packages/name-controller/package.json +++ b/packages/name-controller/package.json @@ -47,7 +47,7 @@ "typescript": "~4.8.4" }, "engines": { - "node": ">=18.18 || >=20" + "node": "^18.18 || >=20" }, "publishConfig": { "access": "public", diff --git a/packages/network-controller/package.json b/packages/network-controller/package.json index cb7bf7568e..252de6bc2f 100644 --- a/packages/network-controller/package.json +++ b/packages/network-controller/package.json @@ -64,7 +64,7 @@ "typescript": "~4.8.4" }, "engines": { - "node": ">=18.18 || >=20" + "node": "^18.18 || >=20" }, "publishConfig": { "access": "public", diff --git a/packages/notification-controller/package.json b/packages/notification-controller/package.json index fc48e5dbf0..31b0159a70 100644 --- a/packages/notification-controller/package.json +++ b/packages/notification-controller/package.json @@ -46,7 +46,7 @@ "typescript": "~4.8.4" }, "engines": { - "node": ">=18.18 || >=20" + "node": "^18.18 || >=20" }, "publishConfig": { "access": "public", diff --git a/packages/permission-controller/package.json b/packages/permission-controller/package.json index f559eeff74..4a685f2c53 100644 --- a/packages/permission-controller/package.json +++ b/packages/permission-controller/package.json @@ -56,7 +56,7 @@ "@metamask/approval-controller": "^5.1.2" }, "engines": { - "node": ">=18.18 || >=20" + "node": "^18.18 || >=20" }, "publishConfig": { "access": "public", diff --git a/packages/permission-log-controller/package.json b/packages/permission-log-controller/package.json index 5278204303..ee9bb972b8 100644 --- a/packages/permission-log-controller/package.json +++ b/packages/permission-log-controller/package.json @@ -49,7 +49,7 @@ "typescript": "~4.8.4" }, "engines": { - "node": ">=18.18 || >=20" + "node": "^18.18 || >=20" }, "publishConfig": { "access": "public", diff --git a/packages/phishing-controller/package.json b/packages/phishing-controller/package.json index a44ba4a29d..9315e65bdb 100644 --- a/packages/phishing-controller/package.json +++ b/packages/phishing-controller/package.json @@ -50,7 +50,7 @@ "typescript": "~4.8.4" }, "engines": { - "node": ">=18.18 || >=20" + "node": "^18.18 || >=20" }, "publishConfig": { "access": "public", diff --git a/packages/polling-controller/package.json b/packages/polling-controller/package.json index eeb4510c5f..0ba70d0ae0 100644 --- a/packages/polling-controller/package.json +++ b/packages/polling-controller/package.json @@ -54,7 +54,7 @@ "@metamask/network-controller": "^17.2.0" }, "engines": { - "node": ">=18.18 || >=20" + "node": "^18.18 || >=20" }, "publishConfig": { "access": "public", diff --git a/packages/preferences-controller/package.json b/packages/preferences-controller/package.json index 8dacddfb49..ada3a57114 100644 --- a/packages/preferences-controller/package.json +++ b/packages/preferences-controller/package.json @@ -50,7 +50,7 @@ "@metamask/keyring-controller": "^12.2.0" }, "engines": { - "node": ">=18.18 || >=20" + "node": "^18.18 || >=20" }, "publishConfig": { "access": "public", diff --git a/packages/queued-request-controller/package.json b/packages/queued-request-controller/package.json index df1e5cf92d..b61f6be097 100644 --- a/packages/queued-request-controller/package.json +++ b/packages/queued-request-controller/package.json @@ -61,7 +61,7 @@ "@metamask/selected-network-controller": "^7.0.1" }, "engines": { - "node": ">=18.18 || >=20" + "node": "^18.18 || >=20" }, "publishConfig": { "access": "public", diff --git a/packages/rate-limit-controller/package.json b/packages/rate-limit-controller/package.json index 0987703ebd..bc4c0412ec 100644 --- a/packages/rate-limit-controller/package.json +++ b/packages/rate-limit-controller/package.json @@ -45,7 +45,7 @@ "typescript": "~4.8.4" }, "engines": { - "node": ">=18.18 || >=20" + "node": "^18.18 || >=20" }, "publishConfig": { "access": "public", diff --git a/packages/selected-network-controller/package.json b/packages/selected-network-controller/package.json index eba458c48e..3e7be77565 100644 --- a/packages/selected-network-controller/package.json +++ b/packages/selected-network-controller/package.json @@ -55,7 +55,7 @@ "@metamask/network-controller": "^17.2.0" }, "engines": { - "node": ">=18.18 || >=20" + "node": "^18.18 || >=20" }, "publishConfig": { "access": "public", diff --git a/packages/signature-controller/package.json b/packages/signature-controller/package.json index 196621c6ed..28c9b8a70a 100644 --- a/packages/signature-controller/package.json +++ b/packages/signature-controller/package.json @@ -58,7 +58,7 @@ "@metamask/logging-controller": "^2.0.2" }, "engines": { - "node": ">=18.18 || >=20" + "node": "^18.18 || >=20" }, "publishConfig": { "access": "public", diff --git a/packages/transaction-controller/package.json b/packages/transaction-controller/package.json index 19e934e913..182e83bc13 100644 --- a/packages/transaction-controller/package.json +++ b/packages/transaction-controller/package.json @@ -72,7 +72,7 @@ "@metamask/network-controller": "^17.2.0" }, "engines": { - "node": ">=18.18 || >=20" + "node": "^18.18 || >=20" }, "publishConfig": { "access": "public", diff --git a/packages/user-operation-controller/package.json b/packages/user-operation-controller/package.json index 4128f29e65..e61efd9d91 100644 --- a/packages/user-operation-controller/package.json +++ b/packages/user-operation-controller/package.json @@ -67,7 +67,7 @@ "@metamask/transaction-controller": "^21.2.0" }, "engines": { - "node": ">=18.18 || >=20" + "node": "^18.18 || >=20" }, "publishConfig": { "access": "public",