From 1c00199d4149635257b13ca67b7b0a24f07611f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gustaf=20R=C3=A4ntil=C3=A4?= Date: Sun, 1 Oct 2023 14:24:18 +0200 Subject: [PATCH] feat(node): require minimum Node 18 BREAKING CHANGE: Dropped support for Node 14 and 16 (although it probably still works) --- .github/workflows/branches.yml | 2 -- .github/workflows/master.yml | 2 -- README.md | 2 ++ package.json | 2 +- 4 files changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/branches.yml b/.github/workflows/branches.yml index ff17f15..6ae6afd 100644 --- a/.github/workflows/branches.yml +++ b/.github/workflows/branches.yml @@ -17,8 +17,6 @@ jobs: fail-fast: false matrix: node-version: - - 14.x - - 16.x - 18.x - 20.x steps: diff --git a/.github/workflows/master.yml b/.github/workflows/master.yml index 0486f36..5b65148 100644 --- a/.github/workflows/master.yml +++ b/.github/workflows/master.yml @@ -15,8 +15,6 @@ jobs: strategy: matrix: node-version: - - 14.x - - 16.x - 18.x - 20.x steps: diff --git a/README.md b/README.md index 18d4e94..6a4f8c7 100644 --- a/README.md +++ b/README.md @@ -30,6 +30,8 @@ Uses libphonenumber v8.13.22 - The return value is like `toJSON( )` on v3 - v5: - Dropped Node 12 support + - v6: + - Dropped Node 16 support ## Comparison with other libraries diff --git a/package.json b/package.json index a58a681..b3170f8 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ "url": "https://github.com/grantila/awesome-phonenumber.git" }, "engines": { - "node": ">=14" + "node": ">=18" }, "main": "./index.js", "types": "./index.d.ts",