Skip to content

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 sindresorhus:master Jul 2, 2019
@SBoudrias
Copy link
Contributor

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