Closed
Description
New Issue Checklist
- Report security issues confidentially.
- Any contribution is under this license.
- Before posting search existing issues.
Issue Description
The post install script makes the installation fail if the min. Node version in package.json is higher than the environment Node version. However, it regex-parses the engine.node
value instead of properly semver-parsing it to properly handle any possible semver notation.
Line 4 in 9282e34
The current string is parsed incorrect so that the required min. Node version is 18.19:
Lines 141 to 143 in 9282e34
This also points to a larger issue with the Parse Server engine.node
value, because only specifying the major version means that Parse Server is compatible with Node 18.0.0, which may not even be the case as it has never been tested with that exact version.
Environment
Server
- Parse Server version:
7.2.0