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

Replace object spread operator with Object.assign #1054

Closed
wants to merge 1 commit into from

Conversation

jacoblee93
Copy link

@jacoblee93 jacoblee93 commented Oct 27, 2020

This preserves Node 6 support, as the spread operator is not supported for objects until Node 8.

This preserves Node 6 support, as the spread operator is not supported for objects until Node 8.
@CLAassistant
Copy link

CLAassistant commented Oct 27, 2020

CLA assistant check
All committers have signed the CLA.

@jacoblee93
Copy link
Author

jacoblee93 commented Oct 27, 2020

This was introduced in a minor version update in #1041

@remi-stripe
Copy link
Contributor

@jacoblee93 Since stripe-node only supports Node 8, 10 and higher as of the last major version, we likely shouldn't merge this since it'd reintroduce the assumption that we support Node 6. Does that work for you if we just close this PR?

@ctrudeau-stripe
Copy link
Contributor

We're closing this as we have no intention of fixing this because node6 is EOL.

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.

5 participants