From a86462e764428a395937d3c5f42a483fb2527637 Mon Sep 17 00:00:00 2001 From: Matt Travi Date: Sun, 24 Sep 2023 08:56:12 -0500 Subject: [PATCH] feat(node-versions): dropped support for node v16 and v19 BREAKING CHANGE: support of node versions v16 and v19 has been dropped --- .github/workflows/test.yml | 5 +++-- .nvmrc | 1 + package-lock.json | 2 +- package.json | 2 +- 4 files changed, 6 insertions(+), 4 deletions(-) create mode 100644 .nvmrc diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 45cca59..96174cd 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -16,8 +16,9 @@ jobs: matrix: node-version: # minimal required version - - 16.14 - - 18 + - 18.17 + - 20.6.1 + - 20 runs-on: ubuntu-latest diff --git a/.nvmrc b/.nvmrc new file mode 100644 index 0000000..3f430af --- /dev/null +++ b/.nvmrc @@ -0,0 +1 @@ +v18 diff --git a/package-lock.json b/package-lock.json index deb10c6..bc13f38 100644 --- a/package-lock.json +++ b/package-lock.json @@ -20,7 +20,7 @@ "tempy": "3.1.0" }, "engines": { - "node": "^16.14 || >=18" + "node": "^18.17 || >=20.6.1" } }, "node_modules/@bcoe/v8-coverage": { diff --git a/package.json b/package.json index 517ca78..d3d2d2b 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,7 @@ "tempy": "3.1.0" }, "engines": { - "node": "^16.14 || >=18" + "node": "^18.17 || >=20.6.1" }, "files": [ "index.js",