Skip to content
This repository has been archived by the owner on Jan 28, 2024. It is now read-only.

Commit

Permalink
chore!: drop support for node 14 and 16 (#995)
Browse files Browse the repository at this point in the history
BREAKING CHANGE: minimum required version of node increased from 14.17.0 to 18.12.1
  • Loading branch information
Fdawgs authored Nov 17, 2022
1 parent 41ffe36 commit 3ab6633
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module.exports = {
env: {
es2020: true,
es2022: true,
node: true,
},
extends: [
Expand All @@ -14,7 +14,7 @@ module.exports = {
"prettier",
],
parserOptions: {
ecmaVersion: 2020,
ecmaVersion: 2022,
},
plugins: [
"import",
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ jobs:
if: github.event.pull_request.draft == false
strategy:
matrix:
node-version: [14, 16, 18]
node-version: [18]
os: [macos-latest, ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:lts-alpine
FROM node:18-alpine

# Workdir
WORKDIR /usr/app
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Single sign-on for a user using access tokens from a Keycloak server instance ca
These are only required if running the API outside of Docker:

- [Git](https://git-scm.com/) (to install unregistered dependencies)
- [Node.js](https://nodejs.org/en/) >=14.17.0
- [Node.js](https://nodejs.org/en/) >=18.12.1

## Setup

Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"license": "MIT",
"author": "Frazer Smith <[email protected]>",
"engines": {
"node": ">=14.17.0"
"node": ">=18.12.1"
},
"scripts": {
"benchmark": "autocannon -a 1000 \"https://0.0.0.0:3000/redirect?patient=https://fhir.nhs.uk/Id/nhs-number|9449304513&birthdate=1934-10-23&location=https://fhir.nhs.uk/Id/ods-organization-code|RA4&practitioner=https://sider.nhs.uk/auth|[email protected]\"",
Expand Down

0 comments on commit 3ab6633

Please sign in to comment.