Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[IMP] tooling: makes 16.11 the minimum required Node.js version
Starting with Odoo 16.1, the ECMAScript version supported by Odoo has been bumped to ES2022, but support for all ES2022 features has only been achieved with Node.js 16.11*, making it the minimum required version to run Odoo. This commit updates the package.json to make this requirement explicit, preventing from using the tooling with an outdated version of Node.js, which would otherwise result in an unclear syntax error. *: From all the features added in ES2022, support for static initialization blocks is the latest to have been added, in Node.js 16.11, according to MDN's compatibility data. closes odoo#163881 X-original-commit: d4b90e8 Signed-off-by: Samuel Degueldre (sad) <sad@odoo.com>
- Loading branch information