notum-cz / strapi-plugin-record-locking

This plugin provides the functionality to prevent data loss in cases where multiple users are simultaneously editing the same record within STRAPI v4.
20 stars 7 forks source link

chore: Support for Node.js 18 #15

Closed ihmpavel closed 1 year ago

ihmpavel commented 1 year ago

Strapi supports Node version 18 since version 4.3.9, commit https://github.com/strapi/strapi/pull/14350.

In the project running Node 18 we are unable to install @notum-cz/strapi-plugin-record-locking, because in package.json is limited maximum Node version 16

  "engines": {
    "node": ">=12.x.x <=16.x.x",
    "npm": ">=6.0.0"
  },

To match Strapi we should use

  "engines": {
    "node": ">=14.19.1 <=18.x.x",
    "npm": ">=6.0.0"
  },

⚠️ The project is lacking package-lock.json, yarn.lock or other lock file.