Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Node version requirement of v12 is a bit too high #22

Open
kenotron opened this issue Mar 22, 2022 · 1 comment
Open

Node version requirement of v12 is a bit too high #22

kenotron opened this issue Mar 22, 2022 · 1 comment

Comments

@kenotron
Copy link

Hello! We have a repo that would like to use cpupro which uses this package. However, the engine version requirement has stopped our adoption (Microsoft Teams). Is there any chance to bump DOWN the requirement to somewhere lower? We currently have node 12.14.1...

@lahmatiy
Copy link
Owner

That's a little bit tricky. Since clap is dual package (with support for ESM & CJS), there is important a stable support for ESM & exports field in package.json in Node.js. This support was stabilised in 12.20, 14.13.0 и 15.0.0 versions according to my experiments and investigations. So that's not possible to bump down requirements with no changing structure of the package.

Node.js 12.14 is pretty old. I believe you should force the bumping of version at least up to 12.22, better to 14 or 16, because the end of life for Node.js 12 is at the end of April 2022.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants