From ee02a92c297bb8465d2ead9a107bf450077f0e08 Mon Sep 17 00:00:00 2001 From: legobt <6wbvkn0j@anonaddy.me> Date: Thu, 5 Sep 2024 09:40:12 +0000 Subject: [PATCH 1/3] chore: indicate supported node engine in manifest --- package.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package.json b/package.json index 613f01f..751d2c0 100644 --- a/package.json +++ b/package.json @@ -5,6 +5,9 @@ "repository": "https://github.com/ethereum/js-ethereum-cryptography", "license": "MIT", "main": "./index.js", + "engines": { + "node": "^16.20 || ^18 || ^20 || >=22" + }, "files": [ "bip39/*.js", "bip39/*.d.ts", From d666349ada1e4ff83ce3a26d3b66a4575e3a751f Mon Sep 17 00:00:00 2001 From: legobt <6wbvkn0j@anonaddy.me> Date: Thu, 5 Sep 2024 09:40:26 +0000 Subject: [PATCH 2/3] ci: test on node.js v16 --- .github/workflows/nodejs.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 2504ef9..5a1a6b8 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -11,6 +11,7 @@ jobs: fail-fast: false matrix: node: + - 16 - 18 - 20 # TODO: Unpin to `22` once parcel incomaptibility with 22.7+ is resolved From 38f5b0a1cd95424efc46b1e517c61c93b1d0417e Mon Sep 17 00:00:00 2001 From: legobt <6wbvkn0j@anonaddy.me> Date: Fri, 6 Sep 2024 02:53:46 +0000 Subject: [PATCH 3/3] support Node.js v16.0.0, v19, v21 --- .github/workflows/nodejs.yml | 2 ++ package.json | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 5a1a6b8..b74d8c7 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -11,7 +11,9 @@ jobs: fail-fast: false matrix: node: + - 16.0.0 - 16 + - 18.0.0 - 18 - 20 # TODO: Unpin to `22` once parcel incomaptibility with 22.7+ is resolved diff --git a/package.json b/package.json index 751d2c0..4954559 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "license": "MIT", "main": "./index.js", "engines": { - "node": "^16.20 || ^18 || ^20 || >=22" + "node": "16.x || >= 18.0.0" }, "files": [ "bip39/*.js",