Support Node.js 20 again (#3431)

* Support >= Node.js 20.4.0

* Improve the Node.js warning, ban 20.0 to 20.3

* Update

* Minor
This commit is contained in:
Louis Lam
2023-07-17 13:17:00 +08:00
committed by GitHub
parent baf5613dfa
commit 25c8196641
4 changed files with 20 additions and 11 deletions

3
package-lock.json generated
View File

@@ -62,6 +62,7 @@
"qs": "~6.10.4",
"redbean-node": "~0.3.0",
"redis": "~4.5.1",
"semver": "^7.5.4",
"socket.io": "~4.6.1",
"socket.io-client": "~4.6.1",
"socks-proxy-agent": "6.1.1",
@@ -134,7 +135,7 @@
"whatwg-url": "~12.0.1"
},
"engines": {
"node": "14.* || 16.* || 18.*"
"node": "14.* || 16.* || 18.* || >= 20.4.0"
}
},
"node_modules/@aashutoshrathi/word-wrap": {