From d5969bc0c4f3a890d9fce111f2478739c90b092f Mon Sep 17 00:00:00 2001 From: Jannis R Date: Wed, 29 Dec 2021 16:56:19 +0100 Subject: [PATCH] =?UTF-8?q?Node=2016+=20=F0=9F=92=A5=F0=9F=92=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/test.yml | 6 +++--- docs/migrating-to-6.md | 5 +++++ package.json | 2 +- 3 files changed, 9 insertions(+), 4 deletions(-) create mode 100644 docs/migrating-to-6.md diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 7ee0feb8..03b7ad07 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -7,7 +7,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node-version: [10.x, 12.x, 14.x, 16.x, 18.x] + node-version: [16.x, 18.x] steps: - name: checkout uses: actions/checkout@v2 @@ -25,7 +25,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node-version: [10.x, 12.x, 14.x, 16.x, 18.x] + node-version: [16.x, 18.x] steps: - name: checkout uses: actions/checkout@v2 @@ -43,7 +43,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node-version: [10.x] + node-version: [16.x] steps: - name: checkout uses: actions/checkout@v2 diff --git a/docs/migrating-to-6.md b/docs/migrating-to-6.md new file mode 100644 index 00000000..843987be --- /dev/null +++ b/docs/migrating-to-6.md @@ -0,0 +1,5 @@ +# Migrating to `hafas-client@5` + +## If you use Node.js <16… + +…migrate to Node `16` ("Gallium"), sorry. [Node `10`, `12` & `14` are out of (active) LTS now](https://nodejs.org/en/about/releases/). diff --git a/package.json b/package.json index db5186bd..34f20826 100644 --- a/package.json +++ b/package.json @@ -41,7 +41,7 @@ "http" ], "engines": { - "node": ">=10" + "node": ">=16" }, "dependencies": { "@derhuerst/br2nl": "^1.0.0",