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 spread to support node >=8.0.0 <8.6.0 #164

Merged
merged 1 commit into from
Jul 2, 2019

Conversation

ecmarsh
Copy link
Contributor

@ecmarsh ecmarsh commented Jul 2, 2019

Low priority fix: Change object spread back to Object.assign since engine.node is >=8.

Another package on node 8 dependent on update-notifier was failing at the notify() script with Unexpected token ... and not showing their "please upgrade node" warning. Node>=8.6 compiled ok, but everything below that resulted in the same error. Was going to open an issue there and PR, but decided just to PR here because there's only one instance of the object spreading and seemed like a better fix in case any other users were using lower 8x versions.

xo default rule is "error" on prefer-object-spread (which I'm sure you're aware as a member), so I turned that rule off in package.json to complete the tests. I left the warn "no warning comments" alone.

@SBoudrias SBoudrias merged commit f9d168a into yeoman:master Jul 2, 2019
@SBoudrias
Copy link
Member

Thanks! Sorry for the trouble

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.

2 participants