{"action":"created","issue":{"url":"https://api.github.com/repos/PrismarineJS/node-minecraft-protocol/issues/319","labels_url":"https://api.github.com/repos/PrismarineJS/node-minecraft-protocol/issues/319/labels{/name}","comments_url":"https://api.github.com/repos/PrismarineJS/node-minecraft-protocol/issues/319/comments","events_url":"https://api.github.com/repos/PrismarineJS/node-minecraft-protocol/issues/319/events","html_url":"https://github.com/PrismarineJS/node-minecraft-protocol/pull/319","id":127170468,"number":319,"title":"Use native node.js ES6 support","user":{"login":"deathcap","id":5897956,"avatar_url":"https://avatars.githubusercontent.com/u/5897956?v=3","gravatar_id":"","url":"https://api.github.com/users/deathcap","html_url":"https://github.com/deathcap","followers_url":"https://api.github.com/users/deathcap/followers","following_url":"https://api.github.com/users/deathcap/following{/other_user}","gists_url":"https://api.github.com/users/deathcap/gists{/gist_id}","starred_url":"https://api.github.com/users/deathcap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deathcap/subscriptions","organizations_url":"https://api.github.com/users/deathcap/orgs","repos_url":"https://api.github.com/users/deathcap/repos","events_url":"https://api.github.com/users/deathcap/events{/privacy}","received_events_url":"https://api.github.com/users/deathcap/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2016-01-18T07:38:47Z","updated_at":"2016-01-31T05:58:41Z","closed_at":"2016-01-31T05:58:41Z","pull_request":{"url":"https://api.github.com/repos/PrismarineJS/node-minecraft-protocol/pulls/319","html_url":"https://github.com/PrismarineJS/node-minecraft-protocol/pull/319","diff_url":"https://github.com/PrismarineJS/node-minecraft-protocol/pull/319.diff","patch_url":"https://github.com/PrismarineJS/node-minecraft-protocol/pull/319.patch"},"body":"Now that ES6 is gaining more widespread adoption, including in Node and modern browsers, this PR attempts to use in node-minecraft-protocol natively, instead of through gulp/babel.\r\n\r\nRequires enabling experimental in-progress V8 flags, so this is probably premature, but might be worth doing at some point (unless we want to always use newer ES features through babel, e.g., ES7 when ES6 is well-supported, then ES8 when ES7, etc.).\r\n\r\nNode.js ES6 documentation: https://nodejs.org/en/docs/es6/"},"comment":{"url":"https://api.github.com/repos/PrismarineJS/node-minecraft-protocol/issues/comments/177406873","html_url":"https://github.com/PrismarineJS/node-minecraft-protocol/pull/319#issuecomment-177406873","issue_url":"https://api.github.com/repos/PrismarineJS/node-minecraft-protocol/issues/319","id":177406873,"user":{"login":"deathcap","id":5897956,"avatar_url":"https://avatars.githubusercontent.com/u/5897956?v=3","gravatar_id":"","url":"https://api.github.com/users/deathcap","html_url":"https://github.com/deathcap","followers_url":"https://api.github.com/users/deathcap/followers","following_url":"https://api.github.com/users/deathcap/following{/other_user}","gists_url":"https://api.github.com/users/deathcap/gists{/gist_id}","starred_url":"https://api.github.com/users/deathcap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deathcap/subscriptions","organizations_url":"https://api.github.com/users/deathcap/orgs","repos_url":"https://api.github.com/users/deathcap/repos","events_url":"https://api.github.com/users/deathcap/events{/privacy}","received_events_url":"https://api.github.com/users/deathcap/received_events","type":"User","site_admin":false},"created_at":"2016-01-31T05:58:41Z","updated_at":"2016-01-31T05:58:41Z","body":"Closing for now, I still see the babel/gulp build process as a pain point, but I guess I'll see about improving the specific issues, and/or wait until full ES6 in v8/node/chrome. For my new projects at least, I think I'll stick to the currently well-supported ES6 subset (without babel/gulp), but I agree for node-minecraft-protocol, reverting from full ES6 to a smaller subset seems like a step backwards. Could be revisited once ES6 is mode widespread."}}