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

Remove object rest operator to support Node.js 8 #15

Closed
wants to merge 1 commit into from

Conversation

bet4it
Copy link

@bet4it bet4it commented Jun 22, 2019

Object rest operator was introduced in ES2018, and was not fully supported in Node.js 8 until 8.6.0:
https://node.green/#ES2018-features-object-rest-spread-properties

Hope we can keep compatibility with all the Node.js 8 version.
We can revert this commit when we drop support of Node.js 8.

@sindresorhus
Copy link
Owner

As a Node.js user, you're expected to upgrade minor versions of Node.j 8 for both import security fixes and feature improvements. This is nothing new.

@bet4it
Copy link
Author

bet4it commented Jun 22, 2019

Yeah, everything you said is right, but Hyper 2 use Node.js 8.2.1 and Hyper 3 is not stable enough, so my Hyper plugin wants to keep compatibility with both Hyper 2 and Hyper 3 🙃

@bet4it bet4it deleted the nodejs8 branch June 22, 2019 09: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