From 9197c52d384ee2e50f3273d709fd596c0b77a89a Mon Sep 17 00:00:00 2001 From: legobt <6wbvkn0j@anonaddy.me> Date: Wed, 2 Oct 2024 09:14:46 +0000 Subject: [PATCH] drop support for legacy Node.js versions 16, 21 --- package.json | 5 ++--- yarn.lock | 28 +++++++++++++++------------- 2 files changed, 17 insertions(+), 16 deletions(-) diff --git a/package.json b/package.json index b7b0d85..53a963e 100644 --- a/package.json +++ b/package.json @@ -50,7 +50,7 @@ "@metamask/eslint-config-typescript": "^11.1.0", "@types/ethereumjs-tx": "^1.0.1", "@types/jest": "^29.5.0", - "@types/node": "^18.15.10", + "@types/node": "~18.18.14", "@types/randombytes": "^2.0.0", "@typescript-eslint/eslint-plugin": "^5.57.0", "@typescript-eslint/parser": "^5.57.0", @@ -70,9 +70,8 @@ "typedoc": "^0.25.1", "typescript": "~4.8.4" }, - "packageManager": "yarn@3.3.0", "engines": { - "node": "^16.20 || ^18.16 || >=20" + "node": "^18.18 || ^20.14 || >=22" }, "publishConfig": { "access": "public", diff --git a/yarn.lock b/yarn.lock index f7b98ff..948ca3d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1012,7 +1012,7 @@ __metadata: "@metamask/utils": ^9.0.0 "@types/ethereumjs-tx": ^1.0.1 "@types/jest": ^29.5.0 - "@types/node": ^18.15.10 + "@types/node": ~18.18.14 "@types/randombytes": ^2.0.0 "@typescript-eslint/eslint-plugin": ^5.57.0 "@typescript-eslint/parser": ^5.57.0 @@ -1233,20 +1233,13 @@ __metadata: languageName: node linkType: hard -"@scure/base@npm:^1.1.3": +"@scure/base@npm:^1.1.3, @scure/base@npm:~1.1.0": version: 1.1.7 resolution: "@scure/base@npm:1.1.7" checksum: d9084be9a2f27971df1684af9e40bb750e86f549345e1bb3227fb61673c0c83569c92c1cb0a4ddccb32650b39d3cd3c145603b926ba751c9bc60c27317549b20 languageName: node linkType: hard -"@scure/base@npm:~1.1.0": - version: 1.1.1 - resolution: "@scure/base@npm:1.1.1" - checksum: b4fc810b492693e7e8d0107313ac74c3646970c198bbe26d7332820886fa4f09441991023ec9aa3a2a51246b74409ab5ebae2e8ef148bbc253da79ac49130309 - languageName: node - linkType: hard - "@scure/bip32@npm:1.3.1": version: 1.3.1 resolution: "@scure/bip32@npm:1.3.1" @@ -1469,10 +1462,12 @@ __metadata: languageName: node linkType: hard -"@types/node@npm:*, @types/node@npm:^18.15.10": - version: 18.15.10 - resolution: "@types/node@npm:18.15.10" - checksum: 9aeae0b683eda82892def5315812bdee3f1a28c4898b7e70f8e2514564538b16c4dccbe8339c1266f8fc1d707a48f152689264a854f5ebc2eba5011e793612d9 +"@types/node@npm:*, @types/node@npm:~18.18.14": + version: 18.18.14 + resolution: "@types/node@npm:18.18.14" + dependencies: + undici-types: ~5.26.4 + checksum: 3a77e6819e50fd22196b08d542433e1513c855f4993a200bc0e7be076445c61ce2a9e5f7f202f060c46130b2b2f98643461fb7999f874475e6bb322c4534c580 languageName: node linkType: hard @@ -6896,6 +6891,13 @@ __metadata: languageName: node linkType: hard +"undici-types@npm:~5.26.4": + version: 5.26.5 + resolution: "undici-types@npm:5.26.5" + checksum: 3192ef6f3fd5df652f2dc1cd782b49d6ff14dc98e5dced492aa8a8c65425227da5da6aafe22523c67f035a272c599bb89cfe803c1db6311e44bed3042fc25487 + languageName: node + linkType: hard + "unique-filename@npm:^2.0.0": version: 2.0.1 resolution: "unique-filename@npm:2.0.1"