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.js v4, v5 support #51

Merged
merged 5 commits into from
Jan 19, 2017
Merged

Node.js v4, v5 support #51

merged 5 commits into from
Jan 19, 2017

Conversation

TooTallNate
Copy link
Collaborator

For node v4, v5

For node v4, v5
Otherwise node v4 complains about using `Class`
But `let` usage is ok for v4 still
@TooTallNate TooTallNate changed the title don't use destructuring Node.js v4, v5 support Jan 19, 2017
@leo leo merged commit 64c2213 into master Jan 19, 2017
@leo leo deleted the fix/dont-use-destructuring branch January 19, 2017 19:40
leo pushed a commit that referenced this pull request May 1, 2022
* don't use destructuring

For node v4, v5

* add "use strict"

Otherwise node v4 complains about using `Class`

* don't use destructuring again

But `let` usage is ok for v4 still

* fix lint

* allow node >= 4.0.0 in "engines" field

Fixes warning from npm
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