From fb37c6b2d2086cf7fdc1c5f31f62410029adc728 Mon Sep 17 00:00:00 2001 From: legobeat <109787230+legobeat@users.noreply.github.com> Date: Fri, 22 Sep 2023 03:05:19 +0000 Subject: [PATCH] Drop support for Node.js v14 (#102) * BREAKING: deprecate nodejs 14,15,17,19 * ci: run on nodejs 18,20 instead of 14 * nvmrc: v14 -> v18 --- .github/workflows/build-test.yml | 2 +- .nvmrc | 2 +- package.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml index ee0bc30..5c3e4e4 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-test.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-20.04 strategy: matrix: - node-version: [14.x, 16.x] + node-version: [16.x, 18.x, 20.x] steps: - uses: actions/checkout@v2 - name: Use Node.js ${{ matrix.node-version }} diff --git a/.nvmrc b/.nvmrc index 958b5a3..3f430af 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -v14 +v18 diff --git a/package.json b/package.json index ccd22f5..5ec6768 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "description": "[json-rpc-engine](https://github.com/MetaMask/json-rpc-engine) middleware implementing ethereum filter methods. Backed by an [eth-block-tracker](https://github.com/MetaMask/eth-block-tracker) and web3 provider interface (`web3.currentProvider`).", "main": "index.js", "engines": { - "node": ">=14.0.0" + "node": "^16.20 || ^18.16 || >=20" }, "scripts": { "build": "echo 'this does nothing'",