{"action":"created","comment":{"url":"https://api.github.com/repos/facebookincubator/create-react-app/pulls/comments/82655352","pull_request_review_id":3548194,"id":82655352,"diff_hunk":"@@ -61,14 +53,42 @@ if (env === 'development' || env === 'test') {\n     require.resolve('babel-plugin-transform-react-jsx-self')\n   ]);\n }\n-if (env === 'production') {\n-  // Optimization: hoist JSX that never changes out of render()\n-  // Disabled because of issues:\n-  // * https://github.com/facebookincubator/create-react-app/issues/525\n-  // * https://phabricator.babeljs.io/search/query/pCNlnC2xzwzx/\n-  // * https://github.com/babel/babel/issues/4516\n-  // TODO: Enable again when these issues are resolved.\n-  // plugins.push.apply(plugins, [\n-  //   require.resolve('babel-plugin-transform-react-constant-elements')\n-  // ]);\n+\n+if (env === 'test') {\n+  module.exports = {\n+    presets: [\n+      [require('babel-preset-env').default, {\n+        \"targets\": {\n+        \"node\": parseInt(process.versions.node),","path":"packages/babel-preset-react-app/index.js","position":55,"original_position":55,"commit_id":"5ee2eb4f7b69d7292881e966da1bab5de653decb","original_commit_id":"5ee2eb4f7b69d7292881e966da1bab5de653decb","user":{"login":"gaearon","id":810438,"avatar_url":"https://avatars.githubusercontent.com/u/810438?v=3","gravatar_id":"","url":"https://api.github.com/users/gaearon","html_url":"https://github.com/gaearon","followers_url":"https://api.github.com/users/gaearon/followers","following_url":"https://api.github.com/users/gaearon/following{/other_user}","gists_url":"https://api.github.com/users/gaearon/gists{/gist_id}","starred_url":"https://api.github.com/users/gaearon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gaearon/subscriptions","organizations_url":"https://api.github.com/users/gaearon/orgs","repos_url":"https://api.github.com/users/gaearon/repos","events_url":"https://api.github.com/users/gaearon/events{/privacy}","received_events_url":"https://api.github.com/users/gaearon/received_events","type":"User","site_admin":false},"body":"1. Let's change this to `parseFloat` as we discussed to fix features introduced in minor Node releases.\r\n2. This line misses an indentation.","created_at":"2016-10-10T18:12:24Z","updated_at":"2016-10-10T18:12:28Z","html_url":"https://github.com/facebookincubator/create-react-app/pull/878#discussion_r82655352","pull_request_url":"https://api.github.com/repos/facebookincubator/create-react-app/pulls/878","_links":{"self":{"href":"https://api.github.com/repos/facebookincubator/create-react-app/pulls/comments/82655352"},"html":{"href":"https://github.com/facebookincubator/create-react-app/pull/878#discussion_r82655352"},"pull_request":{"href":"https://api.github.com/repos/facebookincubator/create-react-app/pulls/878"}}},"pull_request":{"url":"https://api.github.com/repos/facebookincubator/create-react-app/pulls/878","id":88578480,"html_url":"https://github.com/facebookincubator/create-react-app/pull/878","diff_url":"https://github.com/facebookincubator/create-react-app/pull/878.diff","patch_url":"https://github.com/facebookincubator/create-react-app/pull/878.patch","issue_url":"https://api.github.com/repos/facebookincubator/create-react-app/issues/878","number":878,"state":"open","locked":false,"title":"Disable ES2015 transforms based on node version using babel-preset-env","user":{"login":"shubheksha","id":7693422,"avatar_url":"https://avatars.githubusercontent.com/u/7693422?v=3","gravatar_id":"","url":"https://api.github.com/users/shubheksha","html_url":"https://github.com/shubheksha","followers_url":"https://api.github.com/users/shubheksha/followers","following_url":"https://api.github.com/users/shubheksha/following{/other_user}","gists_url":"https://api.github.com/users/shubheksha/gists{/gist_id}","starred_url":"https://api.github.com/users/shubheksha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shubheksha/subscriptions","organizations_url":"https://api.github.com/users/shubheksha/orgs","repos_url":"https://api.github.com/users/shubheksha/repos","events_url":"https://api.github.com/users/shubheksha/events{/privacy}","received_events_url":"https://api.github.com/users/shubheksha/received_events","type":"User","site_admin":false},"body":"Fixes #863 ","created_at":"2016-10-09T11:54:22Z","updated_at":"2016-10-10T18:12:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a4b66fb41bb074ce6792e66bb8f442659a025e2f","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/facebookincubator/create-react-app/pulls/878/commits","review_comments_url":"https://api.github.com/repos/facebookincubator/create-react-app/pulls/878/comments","review_comment_url":"https://api.github.com/repos/facebookincubator/create-react-app/pulls/comments{/number}","comments_url":"https://api.github.com/repos/facebookincubator/create-react-app/issues/878/comments","statuses_url":"https://api.github.com/repos/facebookincubator/create-react-app/statuses/5ee2eb4f7b69d7292881e966da1bab5de653decb","head":{"label":"shubheksha:fix/863","ref":"fix/863","sha":"5ee2eb4f7b69d7292881e966da1bab5de653decb","user":{"login":"shubheksha","id":7693422,"avatar_url":"https://avatars.githubusercontent.com/u/7693422?v=3","gravatar_id":"","url":"https://api.github.com/users/shubheksha","html_url":"https://github.com/shubheksha","followers_url":"https://api.github.com/users/shubheksha/followers","following_url":"https://api.github.com/users/shubheksha/following{/other_user}","gists_url":"https://api.github.com/users/shubheksha/gists{/gist_id}","starred_url":"https://api.github.com/users/shubheksha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shubheksha/subscriptions","organizations_url":"https://api.github.com/users/shubheksha/orgs","repos_url":"https://api.github.com/users/shubheksha/repos","events_url":"https://api.github.com/users/shubheksha/events{/privacy}","received_events_url":"https://api.github.com/users/shubheksha/received_events","type":"User","site_admin":false},"repo":{"id":69174015,"name":"create-react-app","full_name":"shubheksha/create-react-app","owner":{"login":"shubheksha","id":7693422,"avatar_url":"https://avatars.githubusercontent.com/u/7693422?v=3","gravatar_id":"","url":"https://api.github.com/users/shubheksha","html_url":"https://github.com/shubheksha","followers_url":"https://api.github.com/users/shubheksha/followers","following_url":"https://api.github.com/users/shubheksha/following{/other_user}","gists_url":"https://api.github.com/users/shubheksha/gists{/gist_id}","starred_url":"https://api.github.com/users/shubheksha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shubheksha/subscriptions","organizations_url":"https://api.github.com/users/shubheksha/orgs","repos_url":"https://api.github.com/users/shubheksha/repos","events_url":"https://api.github.com/users/shubheksha/events{/privacy}","received_events_url":"https://api.github.com/users/shubheksha/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/shubheksha/create-react-app","description":"Create React apps with no build configuration.","fork":true,"url":"https://api.github.com/repos/shubheksha/create-react-app","forks_url":"https://api.github.com/repos/shubheksha/create-react-app/forks","keys_url":"https://api.github.com/repos/shubheksha/create-react-app/keys{/key_id}","collaborators_url":"https://api.github.com/repos/shubheksha/create-react-app/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/shubheksha/create-react-app/teams","hooks_url":"https://api.github.com/repos/shubheksha/create-react-app/hooks","issue_events_url":"https://api.github.com/repos/shubheksha/create-react-app/issues/events{/number}","events_url":"https://api.github.com/repos/shubheksha/create-react-app/events","assignees_url":"https://api.github.com/repos/shubheksha/create-react-app/assignees{/user}","branches_url":"https://api.github.com/repos/shubheksha/create-react-app/branches{/branch}","tags_url":"https://api.github.com/repos/shubheksha/create-react-app/tags","blobs_url":"https://api.github.com/repos/shubheksha/create-react-app/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/shubheksha/create-react-app/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/shubheksha/create-react-app/git/refs{/sha}","trees_url":"https://api.github.com/repos/shubheksha/create-react-app/git/trees{/sha}","statuses_url":"https://api.github.com/repos/shubheksha/create-react-app/statuses/{sha}","languages_url":"https://api.github.com/repos/shubheksha/create-react-app/languages","stargazers_url":"https://api.github.com/repos/shubheksha/create-react-app/stargazers","contributors_url":"https://api.github.com/repos/shubheksha/create-react-app/contributors","subscribers_url":"https://api.github.com/repos/shubheksha/create-react-app/subscribers","subscription_url":"https://api.github.com/repos/shubheksha/create-react-app/subscription","commits_url":"https://api.github.com/repos/shubheksha/create-react-app/commits{/sha}","git_commits_url":"https://api.github.com/repos/shubheksha/create-react-app/git/commits{/sha}","comments_url":"https://api.github.com/repos/shubheksha/create-react-app/comments{/number}","issue_comment_url":"https://api.github.com/repos/shubheksha/create-react-app/issues/comments{/number}","contents_url":"https://api.github.com/repos/shubheksha/create-react-app/contents/{+path}","compare_url":"https://api.github.com/repos/shubheksha/create-react-app/compare/{base}...{head}","merges_url":"https://api.github.com/repos/shubheksha/create-react-app/merges","archive_url":"https://api.github.com/repos/shubheksha/create-react-app/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/shubheksha/create-react-app/downloads","issues_url":"https://api.github.com/repos/shubheksha/create-react-app/issues{/number}","pulls_url":"https://api.github.com/repos/shubheksha/create-react-app/pulls{/number}","milestones_url":"https://api.github.com/repos/shubheksha/create-react-app/milestones{/number}","notifications_url":"https://api.github.com/repos/shubheksha/create-react-app/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/shubheksha/create-react-app/labels{/name}","releases_url":"https://api.github.com/repos/shubheksha/create-react-app/releases{/id}","deployments_url":"https://api.github.com/repos/shubheksha/create-react-app/deployments","created_at":"2016-09-25T15:49:26Z","updated_at":"2016-09-25T15:49:28Z","pushed_at":"2016-10-09T20:11:29Z","git_url":"git://github.com/shubheksha/create-react-app.git","ssh_url":"git@github.com:shubheksha/create-react-app.git","clone_url":"https://github.com/shubheksha/create-react-app.git","svn_url":"https://github.com/shubheksha/create-react-app","homepage":null,"size":983,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"facebookincubator:master","ref":"master","sha":"c6428eaff91fd8dc71e20e9a3f6f38106f08ab7c","user":{"login":"facebookincubator","id":19538647,"avatar_url":"https://avatars.githubusercontent.com/u/19538647?v=3","gravatar_id":"","url":"https://api.github.com/users/facebookincubator","html_url":"https://github.com/facebookincubator","followers_url":"https://api.github.com/users/facebookincubator/followers","following_url":"https://api.github.com/users/facebookincubator/following{/other_user}","gists_url":"https://api.github.com/users/facebookincubator/gists{/gist_id}","starred_url":"https://api.github.com/users/facebookincubator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/facebookincubator/subscriptions","organizations_url":"https://api.github.com/users/facebookincubator/orgs","repos_url":"https://api.github.com/users/facebookincubator/repos","events_url":"https://api.github.com/users/facebookincubator/events{/privacy}","received_events_url":"https://api.github.com/users/facebookincubator/received_events","type":"Organization","site_admin":false},"repo":{"id":63537249,"name":"create-react-app","full_name":"facebookincubator/create-react-app","owner":{"login":"facebookincubator","id":19538647,"avatar_url":"https://avatars.githubusercontent.com/u/19538647?v=3","gravatar_id":"","url":"https://api.github.com/users/facebookincubator","html_url":"https://github.com/facebookincubator","followers_url":"https://api.github.com/users/facebookincubator/followers","following_url":"https://api.github.com/users/facebookincubator/following{/other_user}","gists_url":"https://api.github.com/users/facebookincubator/gists{/gist_id}","starred_url":"https://api.github.com/users/facebookincubator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/facebookincubator/subscriptions","organizations_url":"https://api.github.com/users/facebookincubator/orgs","repos_url":"https://api.github.com/users/facebookincubator/repos","events_url":"https://api.github.com/users/facebookincubator/events{/privacy}","received_events_url":"https://api.github.com/users/facebookincubator/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/facebookincubator/create-react-app","description":"Create React apps with no build configuration.","fork":false,"url":"https://api.github.com/repos/facebookincubator/create-react-app","forks_url":"https://api.github.com/repos/facebookincubator/create-react-app/forks","keys_url":"https://api.github.com/repos/facebookincubator/create-react-app/keys{/key_id}","collaborators_url":"https://api.github.com/repos/facebookincubator/create-react-app/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/facebookincubator/create-react-app/teams","hooks_url":"https://api.github.com/repos/facebookincubator/create-react-app/hooks","issue_events_url":"https://api.github.com/repos/facebookincubator/create-react-app/issues/events{/number}","events_url":"https://api.github.com/repos/facebookincubator/create-react-app/events","assignees_url":"https://api.github.com/repos/facebookincubator/create-react-app/assignees{/user}","branches_url":"https://api.github.com/repos/facebookincubator/create-react-app/branches{/branch}","tags_url":"https://api.github.com/repos/facebookincubator/create-react-app/tags","blobs_url":"https://api.github.com/repos/facebookincubator/create-react-app/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/facebookincubator/create-react-app/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/facebookincubator/create-react-app/git/refs{/sha}","trees_url":"https://api.github.com/repos/facebookincubator/create-react-app/git/trees{/sha}","statuses_url":"https://api.github.com/repos/facebookincubator/create-react-app/statuses/{sha}","languages_url":"https://api.github.com/repos/facebookincubator/create-react-app/languages","stargazers_url":"https://api.github.com/repos/facebookincubator/create-react-app/stargazers","contributors_url":"https://api.github.com/repos/facebookincubator/create-react-app/contributors","subscribers_url":"https://api.github.com/repos/facebookincubator/create-react-app/subscribers","subscription_url":"https://api.github.com/repos/facebookincubator/create-react-app/subscription","commits_url":"https://api.github.com/repos/facebookincubator/create-react-app/commits{/sha}","git_commits_url":"https://api.github.com/repos/facebookincubator/create-react-app/git/commits{/sha}","comments_url":"https://api.github.com/repos/facebookincubator/create-react-app/comments{/number}","issue_comment_url":"https://api.github.com/repos/facebookincubator/create-react-app/issues/comments{/number}","contents_url":"https://api.github.com/repos/facebookincubator/create-react-app/contents/{+path}","compare_url":"https://api.github.com/repos/facebookincubator/create-react-app/compare/{base}...{head}","merges_url":"https://api.github.com/repos/facebookincubator/create-react-app/merges","archive_url":"https://api.github.com/repos/facebookincubator/create-react-app/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/facebookincubator/create-react-app/downloads","issues_url":"https://api.github.com/repos/facebookincubator/create-react-app/issues{/number}","pulls_url":"https://api.github.com/repos/facebookincubator/create-react-app/pulls{/number}","milestones_url":"https://api.github.com/repos/facebookincubator/create-react-app/milestones{/number}","notifications_url":"https://api.github.com/repos/facebookincubator/create-react-app/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/facebookincubator/create-react-app/labels{/name}","releases_url":"https://api.github.com/repos/facebookincubator/create-react-app/releases{/id}","deployments_url":"https://api.github.com/repos/facebookincubator/create-react-app/deployments","created_at":"2016-07-17T14:55:11Z","updated_at":"2016-10-10T18:06:57Z","pushed_at":"2016-10-10T15:17:22Z","git_url":"git://github.com/facebookincubator/create-react-app.git","ssh_url":"git@github.com:facebookincubator/create-react-app.git","clone_url":"https://github.com/facebookincubator/create-react-app.git","svn_url":"https://github.com/facebookincubator/create-react-app","homepage":null,"size":2322,"stargazers_count":12754,"watchers_count":12754,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1016,"mirror_url":null,"open_issues_count":89,"forks":1016,"open_issues":89,"watchers":12754,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/facebookincubator/create-react-app/pulls/878"},"html":{"href":"https://github.com/facebookincubator/create-react-app/pull/878"},"issue":{"href":"https://api.github.com/repos/facebookincubator/create-react-app/issues/878"},"comments":{"href":"https://api.github.com/repos/facebookincubator/create-react-app/issues/878/comments"},"review_comments":{"href":"https://api.github.com/repos/facebookincubator/create-react-app/pulls/878/comments"},"review_comment":{"href":"https://api.github.com/repos/facebookincubator/create-react-app/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/facebookincubator/create-react-app/pulls/878/commits"},"statuses":{"href":"https://api.github.com/repos/facebookincubator/create-react-app/statuses/5ee2eb4f7b69d7292881e966da1bab5de653decb"}}}}
{"actor":{"display_login":"gaearon"}}