Skip to content

Commit

Permalink
Revert "Drop support for Node 14 and 16 (#628)"
Browse files Browse the repository at this point in the history
This reverts commit 65f0660.
  • Loading branch information
Acconut committed Dec 8, 2023
1 parent 7fc3631 commit f268088
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,15 @@ jobs:
suite: 'puppeteer'
- desc: 'Types'
suite: 'types'
- desc: 'Node.js 14'
suite: 'node'
node: 14
- desc: 'Node.js 16'
suite: 'node'
node: 16
- desc: 'Node.js 18'
suite: 'node'
node: 18
- desc: 'Node.js 20'
suite: 'node'
node: 20
name: ${{ matrix.desc }}
steps:
- name: Check out sources
Expand All @@ -36,7 +39,7 @@ jobs:
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node || 20 }}
node-version: ${{ matrix.node || 16 }}
- name: Install dependencies
uses: sergioramos/yarn-actions/install@v6
with:
Expand Down
2 changes: 1 addition & 1 deletion docs/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ who provide their great service glady for Open Source project for free.

## Node.js support

tus-js-client is tested and known to work in Node.js v18 or newer.
tus-js-client is tested and known to work in Node.js v14 or newer.

Since Node's environment is quite different than a browser's runtime and
provides other capabilities but also restrictions, tus-js-client will have a
Expand Down
3 changes: 0 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@
"./lib/node/index.js": "./lib/browser/index.js"
},
"types": "./lib/index.d.ts",
"engines": {
"node": ">=18"
},
"repository": {
"type": "git",
"url": "https://github.com/tus/tus-js-client.git"
Expand Down

0 comments on commit f268088

Please sign in to comment.