Skip to content

Commit

Permalink
Update to Node 20
Browse files Browse the repository at this point in the history
This aligns with the update
in the terriajs and TerriaMap
repositories.
  • Loading branch information
pjonsson committed Feb 23, 2025
1 parent 53d334c commit daf0cea
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
strategy:
fail-fast: false
matrix:
node-version: [16.x, 18.x, 20.x, 22.x]
node-version: [20.x, 22.x, 23.x]

steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 2 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
### Next version

* Require Node 20.

### 4.0.1

* Fixed proxied upstream POST request being aborted when the stream associated with the downstream request is closed on Node v16+. This will now again correctly be triggered only when the socket is closed early.
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "NodeJS server for TerriaJS, consisting of a CORS proxy, proj4 CRS lookup service, and express static server.",
"engineStrict": true,
"engines": {
"node": ">=12.0.0"
"node": ">=20.0.0"
},
"resolutions": {
"underscore": "^1.12.1"
Expand Down

0 comments on commit daf0cea

Please sign in to comment.