From dc290b6ab46f6c0542395e4b0c513254f7c4e72a Mon Sep 17 00:00:00 2001 From: ehmicky Date: Sun, 22 Oct 2023 20:03:45 +0100 Subject: [PATCH] Drop support for Node 16 --- .github/workflows/main.yml | 6 +++--- package.json | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 1ed55d5..a768beb 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -10,12 +10,12 @@ jobs: fail-fast: false matrix: node-version: + - 21 - 20 - 18 - - 16 steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} - run: npm install diff --git a/package.json b/package.json index bfd9a00..59d1b4d 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,7 @@ "default": "./source/index.js" }, "engines": { - "node": ">=16" + "node": ">=18" }, "scripts": { "benchmark": "node benchmarks/index.js", @@ -43,11 +43,11 @@ "concat" ], "devDependencies": { - "@types/node": "^20.5.0", + "@types/node": "^20.8.9", "ava": "^5.3.1", - "precise-now": "^2.0.0", + "precise-now": "^3.0.0", "stream-json": "^1.8.0", - "tsd": "^0.28.1", + "tsd": "^0.29.0", "xo": "^0.56.0" } }