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

Explicitly require node 6 #1082

Merged
merged 1 commit into from Oct 27, 2019
Merged

Conversation

shadowspawn
Copy link
Collaborator

Pull Request

Related issue is #1045.

Problem

I was already suggested we only officially support from node 8, but concerned that people might be broken when we started using new features in later versions of Commander 4.x unless we enforced it from the start. However, it is relevant straight away! I used class for addition of CommanderError which requires node 6.

Solution

Specify that node 6 is required in engines field of package.json so user should hopefully get a warning when install if using an older versions of node. (There were bugs in some versions of npm which meant the warning is not displayed, fixed in npm 6.12.0 and higher.)

@shadowspawn shadowspawn added this to the v4.0.0 milestone Oct 27, 2019
Copy link
Collaborator

@abetomo abetomo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How nice!

@abetomo abetomo merged commit 2ef5401 into tj:develop Oct 27, 2019
@shadowspawn shadowspawn deleted the feature/engines_node6 branch October 28, 2019 05:16
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

Successfully merging this pull request may close these issues.

None yet

2 participants