{"action":"created","issue":{"url":"https://api.github.com/repos/carbon-design-system/carbon-components-react/issues/638","repository_url":"https://api.github.com/repos/carbon-design-system/carbon-components-react","labels_url":"https://api.github.com/repos/carbon-design-system/carbon-components-react/issues/638/labels{/name}","comments_url":"https://api.github.com/repos/carbon-design-system/carbon-components-react/issues/638/comments","events_url":"https://api.github.com/repos/carbon-design-system/carbon-components-react/issues/638/events","html_url":"https://github.com/carbon-design-system/carbon-components-react/issues/638","id":299091820,"number":638,"title":"Object.values isn't transpiled to be compatible with Node 6","user":{"login":"jyxia","id":8486315,"avatar_url":"https://avatars3.githubusercontent.com/u/8486315?v=4","gravatar_id":"","url":"https://api.github.com/users/jyxia","html_url":"https://github.com/jyxia","followers_url":"https://api.github.com/users/jyxia/followers","following_url":"https://api.github.com/users/jyxia/following{/other_user}","gists_url":"https://api.github.com/users/jyxia/gists{/gist_id}","starred_url":"https://api.github.com/users/jyxia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jyxia/subscriptions","organizations_url":"https://api.github.com/users/jyxia/orgs","repos_url":"https://api.github.com/users/jyxia/repos","events_url":"https://api.github.com/users/jyxia/events{/privacy}","received_events_url":"https://api.github.com/users/jyxia/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-02-21T19:10:30Z","updated_at":"2018-02-21T20:03:16Z","closed_at":null,"author_association":"NONE","body":"\r\n> Is this issue related to a specific component?\r\n\r\nTableHeader.js and this [line](https://github.com/carbon-design-system/carbon-components-react/blob/e7cb836d369031278f0d4487ce2a61509d0ffb14/src/components/DataTable/TableHeader.js#L93)\r\n\r\n> What did you expect to happen? What happened instead? What would you like to see changed?\r\n\r\n`Object.values` got transpiled\r\n\r\n\r\n> What browser are you working in?\r\n\r\nNode 6\r\n\r\n\r\n> What version of the Carbon Design System are you using?\r\n\r\n8.9.2\r\n\r\n\r\n> What offering/product do you work on? Any pressing ship or release dates we should be aware of?\r\n\r\nCloud subscriptions"},"comment":{"url":"https://api.github.com/repos/carbon-design-system/carbon-components-react/issues/comments/367452984","html_url":"https://github.com/carbon-design-system/carbon-components-react/issues/638#issuecomment-367452984","issue_url":"https://api.github.com/repos/carbon-design-system/carbon-components-react/issues/638","id":367452984,"user":{"login":"joshblack","id":3901764,"avatar_url":"https://avatars1.githubusercontent.com/u/3901764?v=4","gravatar_id":"","url":"https://api.github.com/users/joshblack","html_url":"https://github.com/joshblack","followers_url":"https://api.github.com/users/joshblack/followers","following_url":"https://api.github.com/users/joshblack/following{/other_user}","gists_url":"https://api.github.com/users/joshblack/gists{/gist_id}","starred_url":"https://api.github.com/users/joshblack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joshblack/subscriptions","organizations_url":"https://api.github.com/users/joshblack/orgs","repos_url":"https://api.github.com/users/joshblack/repos","events_url":"https://api.github.com/users/joshblack/events{/privacy}","received_events_url":"https://api.github.com/users/joshblack/received_events","type":"User","site_admin":false},"created_at":"2018-02-21T20:03:16Z","updated_at":"2018-02-21T20:03:16Z","author_association":"OWNER","body":"You're totally right, `Object#values` is an ES2017 proposal feature and isn't supported in some of our target browsers.\r\n\r\nHowever, if you examine the `babel-preset-2017` package [here](https://github.com/babel/babel/blob/master/packages/babel-preset-es2017/src/index.js), you'll notice that it doesn't provide a transform for this language feature. \r\n\r\nSImilary, if you search the supported babel packages [here](https://github.com/babel/babel/tree/master/packages), you'll see that there is no transform available at all in Babel for this language feature.\r\n\r\nHowever, using `babel-polyfill` and `babel-preset-env` will polyfill your environment based on usage. In the case of running in Node, that's where `core-js` will come in to help polyfill the environment.\r\n\r\nHope that helps! Let me know if I'm misunderstanding something here 😄 "}}
{"actor":{"display_login":"joshblack"}}