Skip to content

Commit 0f063d9

Browse files
authored
Bump required Node.js version from 16 to 20 (#723)
* Bump required Node.js version from 16 to 20 * Update readme's, CI, and tsconfig * Undo formatting * Set azure-store version to 1.0.0 so it will be bumped to 2.0.0 too * Add changeset * Require >=20.19.0
1 parent 4a0fe1c commit 0f063d9

File tree

16 files changed

+38
-46
lines changed

16 files changed

+38
-46
lines changed

.changeset/perfect-rats-type.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
"@tus/azure-store": major
3+
"@tus/file-store": major
4+
"@tus/gcs-store": major
5+
"@tus/s3-store": major
6+
"@tus/server": major
7+
"@tus/utils": minor
8+
---
9+
10+
Change required Node.js version from 16 to 20.19.0

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ concurrency: ${{ github.workflow }}--${{ github.ref }}
1616

1717
jobs:
1818
main:
19-
name: Node.js LTS
19+
name: Node.js 20
2020
runs-on: ubuntu-latest
2121

2222
steps:
@@ -33,7 +33,7 @@ jobs:
3333
- name: Install Node.js
3434
uses: actions/setup-node@v3
3535
with:
36-
node-version: lts/*
36+
node-version: 20.19
3737

3838
- name: Install dependencies
3939
run: npm ci --no-fund --no-audit

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ All packages are fully typed with TypeScript.
124124

125125
## Compatibility
126126

127-
All packages require Node.js 16.0+.
127+
All packages require Node.js >=20.19.0.
128128

129129
## Contribute
130130

package-lock.json

Lines changed: 7 additions & 25 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/azure-store/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Azure Store based on the Append Blob Client [Azure Blob AppendBlobClient](https:
1616

1717
## Install
1818

19-
In Node.js (16.0+), install with npm:
19+
In Node.js >=20.19.0, install with npm:
2020

2121
```bash
2222
npm install @tus/azure-store
@@ -84,7 +84,7 @@ This package is fully typed with TypeScript.
8484

8585
## Compatibility
8686

87-
This package requires Node.js 16.0+.
87+
This package requires Node.js >=20.19.0.
8888

8989
## Contribute
9090

packages/azure-store/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"$schema": "https://json.schemastore.org/package.json",
33
"name": "@tus/azure-store",
4-
"version": "0.1.3",
4+
"version": "1.0.0",
55
"description": "Azure blob storage for @tus/server",
66
"main": "dist/index.js",
77
"homepage": "https://github.com/tus/tus-node-server#readme",
@@ -31,6 +31,6 @@
3131
"should": "^13.2.3"
3232
},
3333
"engines": {
34-
"node": ">=16"
34+
"node": ">=20.19.0"
3535
}
3636
}

packages/file-store/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
## Install
2222

23-
In Node.js (16.0+), install with npm:
23+
In Node.js >=20.19.0, install with npm:
2424

2525
```bash
2626
npm install @tus/file-store
@@ -124,7 +124,7 @@ This package is fully typed with TypeScript.
124124

125125
## Compatibility
126126

127-
This package requires Node.js 16.0+.
127+
This package requires Node.js >=20.19.0.
128128

129129
## Contribute
130130

packages/file-store/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,6 @@
2828
"@redis/client": "^1.6.0"
2929
},
3030
"engines": {
31-
"node": ">=16"
31+
"node": ">=20.19.0"
3232
}
3333
}

packages/gcs-store/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
## Install
1919

20-
In Node.js (16.0+), install with npm:
20+
In Node.js >=20.19.0, install with npm:
2121

2222
```bash
2323
npm install @tus/gcs-store
@@ -74,7 +74,7 @@ This package is fully typed with TypeScript.
7474

7575
## Compatibility
7676

77-
This package requires Node.js 16.0+.
77+
This package requires Node.js >=20.19.0.
7878

7979
## Contribute
8080

packages/gcs-store/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,6 @@
3535
"@google-cloud/storage": "^7.15.2"
3636
},
3737
"engines": {
38-
"node": ">=16"
38+
"node": ">=20.19.0"
3939
}
4040
}

0 commit comments

Comments
 (0)