diff --git a/.github/workflows/build-lint-test.yml b/.github/workflows/build-lint-test.yml index 8e82268f..bcab1c3a 100644 --- a/.github/workflows/build-lint-test.yml +++ b/.github/workflows/build-lint-test.yml @@ -24,7 +24,7 @@ jobs: - prepare strategy: matrix: - node-version: [16.x, 18.x, 20.x] + node-version: [18.x, 20.x, 22.x] steps: - uses: actions/checkout@v3 - name: Use Node.js ${{ matrix.node-version }} @@ -49,7 +49,7 @@ jobs: - prepare strategy: matrix: - node-version: [16.x, 18.x, 20.x] + node-version: [18.x, 20.x, 22.x] steps: - uses: actions/checkout@v3 - name: Use Node.js ${{ matrix.node-version }} @@ -80,7 +80,7 @@ jobs: - prepare strategy: matrix: - node-version: [16.x, 18.x, 20.x] + node-version: [18.x, 20.x, 22.x] steps: - uses: actions/checkout@v3 - name: Use Node.js ${{ matrix.node-version }} diff --git a/.nvmrc b/.nvmrc index 3f430af8..b009dfb9 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -v18 +lts/* diff --git a/package.json b/package.json index 032e19dc..9bb9756f 100644 --- a/package.json +++ b/package.json @@ -50,7 +50,7 @@ "@metamask/eslint-config-typescript": "^12.1.0", "@types/btoa": "^1.2.3", "@types/jest": "^27.4.1", - "@types/node": "^17.0.23", + "@types/node": "^18.16", "@types/pify": "^5.0.2", "@typescript-eslint/eslint-plugin": "^5.42.1", "@typescript-eslint/parser": "^5.42.1", @@ -72,7 +72,7 @@ }, "packageManager": "yarn@3.2.1", "engines": { - "node": "^16.20 || ^18.16 || >=20" + "node": "^18.16 || ^20 || >=22" }, "publishConfig": { "access": "public", diff --git a/yarn.lock b/yarn.lock index 9d238af7..c6f74ec0 100644 --- a/yarn.lock +++ b/yarn.lock @@ -961,7 +961,7 @@ __metadata: "@types/bn.js": ^5.1.5 "@types/btoa": ^1.2.3 "@types/jest": ^27.4.1 - "@types/node": ^17.0.23 + "@types/node": ^18.16 "@types/pify": ^5.0.2 "@typescript-eslint/eslint-plugin": ^5.42.1 "@typescript-eslint/parser": ^5.42.1 @@ -1454,17 +1454,12 @@ __metadata: languageName: node linkType: hard -"@types/node@npm:*": - version: 18.7.18 - resolution: "@types/node@npm:18.7.18" - checksum: 8aec61f0f96e2a69ce51f1f40f949ca578bbb4fe05d7c0b8ce3aeeb848e90f755837f17f6ac132ca404d974fe9b2974150ad3b4984fc9dc7c3ceddb10bae0167 - languageName: node - linkType: hard - -"@types/node@npm:^17.0.23": - version: 17.0.45 - resolution: "@types/node@npm:17.0.45" - checksum: aa04366b9103b7d6cfd6b2ef64182e0eaa7d4462c3f817618486ea0422984c51fc69fd0d436eae6c9e696ddfdbec9ccaa27a917f7c2e8c75c5d57827fe3d95e8 +"@types/node@npm:*, @types/node@npm:^18.16": + version: 18.19.34 + resolution: "@types/node@npm:18.19.34" + dependencies: + undici-types: ~5.26.4 + checksum: ae6369baa1529ec3564da29611ec7eb8ccb219080d717292151b6b899820d25290243d01c9240f11a63d1a42e47198cd6310fab67b6d17bea723221fea07b644 languageName: node linkType: hard @@ -6819,6 +6814,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"