From 8482c1b66764572ec770a32e8fedf7aeadef0875 Mon Sep 17 00:00:00 2001 From: Eric Eastwood Date: Wed, 16 Feb 2022 17:11:09 -0600 Subject: [PATCH] Clarify that Node.js v16 will also work --- README.md | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 7bf6270..aa39c8e 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/package.json b/package.json index 553e7dc..e388514 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ "prettier": "prettier" }, "engines" : { - "node" : ">=17.0.0" + "node" : ">=16.0.0" }, "devDependencies": { "eslint": "^8.8.0",