deps: Require Node.js 12.17.0 or later
This makes it possible to use dynamic `import()`.pull/5378/head
parent
151f954fea
commit
1e604add99
|
@ -47,6 +47,7 @@
|
|||
|
||||
### Compatibility changes
|
||||
|
||||
* Node.js v12.17.0 or later is now required.
|
||||
* The default login session expiration (applicable if `requireAuthentication` is
|
||||
`true`) changed from never to 10 days after the user leaves.
|
||||
|
||||
|
|
|
@ -32,7 +32,7 @@ Etherpad is extremely flexible providing you the means to modify it to solve wha
|
|||
# Installation
|
||||
|
||||
## Requirements
|
||||
- [Node.js](https://nodejs.org/) >= **12.13.0**.
|
||||
- [Node.js](https://nodejs.org/) >= **12.17.0**.
|
||||
|
||||
## GNU/Linux and other UNIX-like systems
|
||||
|
||||
|
|
|
@ -225,7 +225,7 @@ publish your plugin.
|
|||
"author": "USERNAME (REAL NAME) <MAIL@EXAMPLE.COM>",
|
||||
"contributors": [],
|
||||
"dependencies": {"MODULE": "0.3.20"},
|
||||
"engines": {"node": ">=12.13.0"}
|
||||
"engines": {"node": ">=12.17.0"}
|
||||
}
|
||||
```
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
"description": "Internal tool for generating Node.js API docs",
|
||||
"version": "0.0.0",
|
||||
"engines": {
|
||||
"node": ">=12.13.0"
|
||||
"node": ">=12.17.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"marked": "^2.0.0"
|
||||
|
|
|
@ -172,7 +172,7 @@ if (autoPush) {
|
|||
});
|
||||
|
||||
await updateDeps(parsedPackageJSON, 'engines', {
|
||||
node: '>=12.13.0',
|
||||
node: '>=12.17.0',
|
||||
});
|
||||
|
||||
if (parsedPackageJSON.eslintConfig == null) parsedPackageJSON.eslintConfig = {};
|
||||
|
|
|
@ -41,8 +41,8 @@ if (settings.dumpOnUncleanExit) {
|
|||
* any modules that require newer versions of NodeJS
|
||||
*/
|
||||
const NodeVersion = require('./utils/NodeVersion');
|
||||
NodeVersion.enforceMinNodeVersion('12.13.0');
|
||||
NodeVersion.checkDeprecationStatus('12.13.0', '1.8.14');
|
||||
NodeVersion.enforceMinNodeVersion('12.17.0');
|
||||
NodeVersion.checkDeprecationStatus('12.17.0', '1.9.0');
|
||||
|
||||
const UpdateCheck = require('./utils/UpdateCheck');
|
||||
const db = require('./db/DB');
|
||||
|
|
|
@ -236,7 +236,7 @@
|
|||
"root": true
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=12.13.0",
|
||||
"node": ">=12.17.0",
|
||||
"npm": ">=5.5.1"
|
||||
},
|
||||
"repository": {
|
||||
|
|
Loading…
Reference in New Issue