{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/jest/issues/5122","repository_url":"https://api.github.com/repos/facebook/jest","labels_url":"https://api.github.com/repos/facebook/jest/issues/5122/labels{/name}","comments_url":"https://api.github.com/repos/facebook/jest/issues/5122/comments","events_url":"https://api.github.com/repos/facebook/jest/issues/5122/events","html_url":"https://github.com/facebook/jest/issues/5122","id":283024498,"number":5122,"title":"How to use Jest for Node.js projects","user":{"login":"ai","id":19343,"avatar_url":"https://avatars1.githubusercontent.com/u/19343?v=4","gravatar_id":"","url":"https://api.github.com/users/ai","html_url":"https://github.com/ai","followers_url":"https://api.github.com/users/ai/followers","following_url":"https://api.github.com/users/ai/following{/other_user}","gists_url":"https://api.github.com/users/ai/gists{/gist_id}","starred_url":"https://api.github.com/users/ai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ai/subscriptions","organizations_url":"https://api.github.com/users/ai/orgs","repos_url":"https://api.github.com/users/ai/repos","events_url":"https://api.github.com/users/ai/events{/privacy}","received_events_url":"https://api.github.com/users/ai/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-12-18T21:21:20Z","updated_at":"2017-12-18T21:43:35Z","closed_at":"2017-12-18T21:25:09Z","author_association":"NONE","body":"**TLTR:** since Node.js 4 is still supported many companies use it and many Node.js projects (including PostCSS, Autoprefixer, Browserslist) must support it. What is a solution for them?\r\n\r\n1. Node.js 4 is not like Node.js 0.12. It is still supported and it is OK to still use it in production until April 2018.\r\n2. If you are developing popular Node.js library you must support all current Node.js version.\r\n3. If you support some version you should run tests for this Node.js version of Travis CI. It is the only way to be sure that you didn’t brake Node.js 4 support accidentally.\r\n\r\nOf course, it is OK to run the only Node.js 9 on Travis CI for client-side projects like Jest. But Node.js projects is different.\r\n\r\nWhat is your recommendation for the big Node.js project? Stick on Jest 21 until August 2018?"},"comment":{"url":"https://api.github.com/repos/facebook/jest/issues/comments/352567092","html_url":"https://github.com/facebook/jest/issues/5122#issuecomment-352567092","issue_url":"https://api.github.com/repos/facebook/jest/issues/5122","id":352567092,"user":{"login":"cpojer","id":13352,"avatar_url":"https://avatars0.githubusercontent.com/u/13352?v=4","gravatar_id":"","url":"https://api.github.com/users/cpojer","html_url":"https://github.com/cpojer","followers_url":"https://api.github.com/users/cpojer/followers","following_url":"https://api.github.com/users/cpojer/following{/other_user}","gists_url":"https://api.github.com/users/cpojer/gists{/gist_id}","starred_url":"https://api.github.com/users/cpojer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpojer/subscriptions","organizations_url":"https://api.github.com/users/cpojer/orgs","repos_url":"https://api.github.com/users/cpojer/repos","events_url":"https://api.github.com/users/cpojer/events{/privacy}","received_events_url":"https://api.github.com/users/cpojer/received_events","type":"User","site_admin":false},"created_at":"2017-12-18T21:43:35Z","updated_at":"2017-12-18T21:43:35Z","author_association":"CONTRIBUTOR","body":"You'll have to ask the folks working on jsdom about that. Jest frequently segfaults on Node 4 which was fixed in later versions of Node. I generally don't recommend using Node 4 (for Jest) and would encourage you to push your company to upgrade to a later version which is about 2x faster, more stable and likely more secure.\r\n\r\nPlease note that it doesn't matter to this project which versions of Node.js are LTS. At Facebook, we only use the latest LTS release or unstable version. I'd even go so far as to drop support for Node 6 but I understand that's taking it a bit far for some folks, and it isn't causing major issues for us right now (like, segfaults)."}}
{"actor":{"display_login":"cpojer"}}