Clarify that Node.js v16 will also work

This commit is contained in:
Eric Eastwood 2022-02-16 17:11:09 -06:00
parent 8160b6d928
commit 8482c1b667
2 changed files with 3 additions and 3 deletions

View File

@ -27,5 +27,5 @@ the maintenance burden of supporting more event types in Hydrogen.
## Prerequisites
- Node.js v17
- We only need v17 because it includes `require('crypto').webcrypto`
- Node.js v16
- We only need v16 because it includes [`require('crypto').webcrypto.subtle`](https://nodejs.org/docs/latest-v16.x/api/webcrypto.html#cryptosubtle) for [Matrix encryption (olm) which can't be disabled in Hydrogen](https://github.com/vector-im/hydrogen-web/issues/579) yet.

View File

@ -11,7 +11,7 @@
"prettier": "prettier"
},
"engines" : {
"node" : ">=17.0.0"
"node" : ">=16.0.0"
},
"devDependencies": {
"eslint": "^8.8.0",